Skip to content

YubiKey

YubiKeys are used for OpenPGP, SSH FIDO2 keys, sudo authentication, LUKS2, and age recovery workflows.

Inspect card state:

Terminal window
gpg --card-status

Manage card settings:

Terminal window
gpg --card-edit
Terminal window
ykman fido access change-pin
Terminal window
ssh-keygen -t ed25519-sk -N "" -C "johnson@mimir" -f ~/.ssh/id_mimir
Terminal window
sudo systemd-cryptenroll --fido2-device=auto /dev/<device>

For the original compact notes, see docs/YUBIKEY.md.