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.
You can just use any USB drive with a couple of kernel parameters. Don’t see what YubiKey is bringing to the table here. If your use case is good with that you can also install pam_usb and not have to type sudo passwords either. Remove the key and (hard if needed) power off and you’re back to a normal secure system. Been doing it for years myself.
Isn’t the main points of Yubikeys that it’s difficult to access the software keys on it?
I guess, looking at https://mhdez.com/posts/unlocking-encrypted-linux-with-a-yubikey/, it seems to still be something you have and something you know (the pin, or in the USB drive case, if you’ve enabled a password as well). OP only mentioned ‘unlocking it with a yubikey’, depends on your use case I guess. My stuff rarely gets into a position where an attacker with physical access is likely, so I prefer convenience, with the option of easily returning to a secure configuration.
im on public transit a lot and almost always have my laptop in my bag. but the likelihood of getting my laptop /and/ keyring stolen is pretty low tho
i think i understood the draw of a nitrokey or yubikey was similar to the draw of a tpm, where information (decryption keys) is almost impossible to egress off of it? im no expert tho