agherzan / yubikey-full-disk-encryption

Use YubiKey to unlock a LUKS partition
Apache License 2.0
808 stars 50 forks source link

add compatibility with encryptssh #105

Closed xhenner closed 4 months ago

xhenner commented 5 months ago

Having to type a long passphrase is not always very easy. I prefer to log into my linux system from another computer or phone, and use a password manager to copy/paste the decryption phrase. Or sometimes, I want to be able to boot my computer from afar, when I cannot plug my yubikey in it

For that, I use dropbear and encryptssh from mkinitcpio-utils

The issue is that encryptssh is lost when ykfde did successfully opened my disk. To fix it, I just touch /.done, which encryptssh use to know that the luks volume is opened.

That way, in the normal setup, when my yubikey is plugged, the boot is automatic, but if it's not, I can start my computer from afar.

Vincent43 commented 4 months ago

thx