Description
YubiKey Guide is a community guide that shows how to store GnuPG and SSH credentials on a YubiKey, so that the private keys stay on the hardware and cannot be copied back out. The guide walks through buying a suitable YubiKey, preparing a hardened setup environment, downloading and verifying Debian, and creating a bootable USB device. It then covers installing the software, creating an offline Certify key, creating subkeys for signing, encryption and authentication, backing them up to encrypted offline storage, and transferring the subkeys to the YubiKey. Further sections explain using the key for encryption, signing and touch confirmation, using it for SSH through ssh-agent or the GnuPG agent with forwarding, configuring email clients such as Thunderbird, Mutt and Mailvelope, renewing and rotating subkeys, and resetting the device. The guide also covers optional hardening, network considerations and troubleshooting. It warns that YubiKey Security Key and YubiKey Bio models do not support OpenPGP and cannot be used with the guide. Because the process generates long-lived keys, the guide asks readers to follow its steps in a dedicated, hardened environment.…
Highlights
- Stores GnuPG and SSH keys on a YubiKey
- Offline Certify key and encrypted backups
- SSH and GnuPG agent forwarding
- Email clients such as Thunderbird and Mutt
- Renewal, rotation and reset steps
Ratings & Reviews
No ratings yet
Be the first to rate YubiKey-Guide.
People also visit
Yubioath Flutter
Yubico Authenticator for Desktop (Windows, macOS and Linux) and Android
YubiKey-Guide FAQ
What does the guide cover?
How to store GnuPG and SSH credentials on a YubiKey, from purchase and setup through to daily use and key renewal.
Which YubiKey models work?
Models with the OpenPGP application. The guide says the YubiKey Security Key and YubiKey Bio do not support OpenPGP and cannot be used with it.
Can the private keys be copied off the device?
No. The guide says the private keys cannot be copied back out of the device, and an offline Certify key is kept only to replace or renew them.
Where should I run the setup?
In a dedicated, hardened environment. The guide lists options from a shared computer up to an air-gapped system.
Does it cover SSH?
Yes. It covers SSH through ssh-agent or the GnuPG agent, including agent forwarding.
How many backups should I keep?
The guide recommends at least two USB drives or microSD cards for encrypted offline backups, stored in different physical locations.
What are the best YubiKey-Guide alternatives?
Popular alternatives to YubiKey-Guide include Yubikey Full Disk Encryption, Yubioath Flutter and GpgFrontend. See all YubiKey-Guide alternatives



