has anyone had any luck encrypting their root partition and unlocking it with a yubikey on boot? im tired of typing in the passphrase on my laptop on boot.
has anyone had any luck encrypting their root partition and unlocking it with a yubikey on boot? im tired of typing in the passphrase on my laptop on boot.
It depends on your bootloader for the decryption piece. for arch its not too bad, your two basic steps with systemd are
So for arch number 1 looks like
and number 2 is putting sd-encrypt as a bootloader (mkinitcpio) module and then updating crypttab
heres a decent tutorial: https://mhdez.com/posts/unlocking-encrypted-linux-with-a-yubikey/