Skip to main content

Yubikey Nutzung

Yubikey GPG

Zu PGP siehe [[tut:openpgp|hier]]

E-Mail 2 Yubikeys

Having created two (or more Yubikeys) with the same GPG key (as described above) where the stubs are pointing to the second Yubikey.

Insert the first Yubikey (which has a different serial number) and run the following command:

$   gpg-connect-agent "scd serialno" "learn --force" /bye

GPG will then scan your first Yubikey for GPG keys and recreate the stubs to point to the GPG keyID and Yubikey Serial number of this first Yubikey. To return to using the second Yubikey just repeat (insert other Yubikey and re-run command).