Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add info about initramfs #3

Open
karlkashofer opened this issue Dec 28, 2020 · 1 comment
Open

add info about initramfs #3

karlkashofer opened this issue Dec 28, 2020 · 1 comment

Comments

@karlkashofer
Copy link

Hi !

I implemented decrypt_keyctl on my debian server with encrypted root and several other encrypted disks.
I am asked for the passphrase in the initramfs, but as its not mounting the other disks while in initrd, i get asked for the passphrase again after booting commences.

This can be avoided by asking to decrypt all disks while in initramfs, by adding "initramfs" to the crypttab parameters:

md1_crypt UUID=xx cryptvols: luks,keyscript=decrypt_keyctl,initramfs
raid6 UUID=xx cryptvols luks,keyscript=decrypt_keyctl,initramfs
scratch UUID=xx cryptvols luks,keyscript=decrypt_keyctl,initramfs

Then all disks are opened with the cached passphrase while in initramfs.

Could you add this info to readme.md ?

@gebi
Copy link
Owner

gebi commented Dec 29, 2020

Hi @karlkashofer

thx for the heads up :), i've not used this in a long time, can you please submit a pull request with your changes?
thx!

btw... what else would be nice to make the integration easier? any annoyances you hit?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants