Yubikey: Difference between revisions
imported>Kaliumxyz amention to include support for all current yubico yubikey products |
imported>MrVanDalo No edit summary |
||
Line 50: | Line 50: | ||
The image can be created with the [https://github.com/nix-community/nixos-generators nixos-generator tool] | The image can be created with the [https://github.com/nix-community/nixos-generators nixos-generator tool] | ||
and depending on the image copied onto a usb stick or executed directly using <code>kexec</code> | and depending on the image copied onto a usb stick or executed directly using <code>kexec</code> | ||
== Multiple Keys == | |||
If you want to use multiple keys with GPG you have to do this routine when swapping the key | |||
# <code>killall gpg-agent</code> | |||
# <code>rm -r ~/.gnupg/private-keys-v1.d/</code> | |||
# Plug in the new YubiKey | |||
# <code>gpg --card-status</code> (optional, to see if key is visibile) |