Yubikey Recommendations #373
Replies: 1 comment 6 replies
-
|
the easiest way (imo) is to use the openpgp module, this guide should help: https://wiki.gentoo.org/wiki/YubiKey/GPG see also: https://support.yubico.com/s/article/Using-Your-YubiKey-with-OpenPGP https://github.com/drduh/YubiKey-Guide?tab=readme-ov-file#prepare-gnupg I'd recommend using the version on the gentoo wiki when it's back up, I think it should be simple and only have the required steps. There are a few ways you can manage gpg keys on a yubikey, but I think it's best to keep the certification key off the device and well protected, then you can "keytocard" the keys you generate on your system to send them to the yubikey You can either add this key to your luks header before encrypting it, or do something like decrypt it into a fifo/named pipe for use with cryptsetup (I think this is on the wiki for the full disk encryption article but the wiki is down rn) Once you do this, you can set the key type to gpg in ugrd and add the public key: https://github.com/desultory/ugrd/blob/main/examples/yubikey.toml#L19-L21 |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
I have never used a yubikey before, but I have one and want to integrate it into my boot process. Do you have any documentation you would recommend for going about this, specifically on gentoo? I see that there is a section on the docs configuration page, but I was hoping to find advice on the initial disk setup and encryption.
Beta Was this translation helpful? Give feedback.
All reactions