注意:

The Funtoo Linux project has transitioned to "Hobby Mode" and this wiki is now read-only.

User talk:Pnoecker/full disk encryption

From Funtoo
Revision as of 17:39, January 14, 2023 by Pnoecker (talk | contribs) (i don't know about encrypt hooks or none of that.)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

https://wiki.gentoo.org/wiki/Dm-crypt_full_disk_encryption yup why would we do that? https://wiki.archlinux.org/title/dm-crypt/Encrypting_an_entire_system#Avoiding_having_to_enter_the_passphrase_twice

FAFO keyfile decryption

root # mkdir /etc/keys
root # dd if=/dev/urandom of=/etc/keys/enc.key bs=1 count=4096
root # cryptsetup luksAddKey /dev/sdX3 /etc/keys/enc.key

then setup grub to load the key file, or initramfs or something? does anybody do this?