using two Yubikeys with the same key

bereska at bereska at
Sat Dec 11 13:17:57 CET 2021

Dear GnuPG Experts,

After moving the _same_ PGP keys to two Yubikeys (created on an air 
gapped live Tails USB) I have a problem using the second one.
The fist key successfully encrypt and decrypts.
But when trying to use the second Yubikey, the decryption operation of 
the file encrypted with first Yubikey prompts to insert the first 
Yubikey with serial number XXX. This kills the reason for using the 
second Yubikey.

Is there a way to tell gnupg to use the second key with the same keys 
but a different serial number YYY to decrypt the same very file?

I am using:

gpg (GnuPG) 2.2.28
libgcrypt 1.8.8
MacOS Big Sur

thank you,
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <>

More information about the Gnupg-users mailing list