Sidebar

Arch Linux

arch
Arch Linux recursive_recursion 2 weeks ago 100%
[Question] Encrypted Partition Unlock via Root Unlocking

For context: I've encrypted the swap partition with: ```bash cryptsetup -v luksFormat /dev/${DEVICE} cryptsetup luksOpen /dev/${DEVICE} swap ``` And what I want is for the user to be able to enter their password only once to decrypt their root partition which would contain a keyfile to then decrypt their swap partition. Does anyone know if this is possible? Just thought I'd ask to see if anyone's done this already ### Links: - [Dm-crypt Unlocking - With a keyfile embedded in the initramfs](https://wiki.archlinux.org/title/Dm-crypt/Device_encryption#With_a_keyfile_embedded_in_the_initramfs) - [Dm-crypt - Automated unlocking and mounting](https://wiki.archlinux.org/title/Dm-crypt/Encrypting_a_non-root_file_system#Automated_unlocking_and_mounting)

1
0
arch
Arch Linux ada 5 months ago 100%
So, I did the thing. I'm now one of you

Installed Arch this weekend. My transition is now complete :P

1
0