Setup of Yubikey PIV applet for age and SSH
Quick guide to correctly setup Yubikey PIV applet to use age and SSH. Yubikey PIV applet factory reset Warning: This step will erase all the keys in the PIV applet on your Yubikey and restore default PIN, PUK and management key. It does not reset the other applets such as FIDO. Install Yubikey Manager CLI (ykman), then reset your PIV applet: $ ykman piv reset -f Resetting PIV data... Success! All PIV data have been cleared from the YubiKey. Your YubiKey now has the default PIN, PUK and Management Key: PIN: 123456 PUK: 12345678 Management Key: 010203040506070801020304050607080102030405060708 Initial setup and age key setup Now that the Yubikey PIV applet is back to factory settings, we want to make some configuration changes:...