Contents
How do I import my YubiKey key into GPG?
To import the key on your YubiKey: Insert the YubiKey into the USB port if it is not already plugged in. Enter the GPG command: gpg –edit-key 1234ABC (where 1234ABC is the key ID of your key) Enter the command: keytocard
Can a YubiKey be used as an authentication key?
If you’re using MacGPG, view the details of your key and choose SubKeys. The YubiKey can store a signing key, an encryption key, and an authentication key. You can store your primary key on the YubiKey, but I would advise against that.
How to move the master key to the YubiKey?
The option to move keys to the YubiKey is once again under –edit-key: keytocard is a destructive operation and removes the private subkey from the local key store. Now that the subkeys are stored on the YubiKey, you should delete the master key. To do that, you need to know its keygrip:
Can you change the Admin pin on a YubiKey?
All YubiKeys share the same factory PIN, 123456, and the same admin PIN, 12345678. Because PIN is what the YubiKey asks for to use a key, you need to change it. You can either do this via Yubico’s management utility or via gpg: $ gpg2 –change-pin gpg> 1 (change PIN) gpg> 3 (change admin PIN) gpg> q
How to make my YubiKey Standard work with Linux Mint 18?
Btw, it’s a legacy/discounted Yubikey2 (model name known as Yubikey Standard) that is a non-U2F device. This is the exact look of the device: You would need to add a rule allowing some non-root users writing to your key: Check your lsusb in doubt for vendor and product ID, my key doesn’t look exactly like yours,
Can a YubiKey be used as a password for Linux?
Securely log in to your local Linux machine using Yubico OTP (One Time Password), PIV-compatible Smart Card, or Universal 2nd Factor (U2F) with the multi-protocol YubiKey. Users have the flexibility to configure strong single-factor in lieu of a password or hardware-backed two-factor authentication (2FA). Get started using Linux with the YubiKey.
How do I create a backup of my YubiKey key?
To create a backup of your key: Insert the YubiKey into the USB port if it is not already plugged in. Enter the GPG command: gpg –export-secret-key –armor 1234ABC (where 1234ABC is the key ID of your key)