Single GPG key and multiple yubikeys

Kristian Fiskerstrand kristian.fiskerstrand at sumptuouscapital.com
Thu Feb 25 15:48:16 CET 2016


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512

On 02/25/2016 02:38 PM, Richard Genthner wrote:
> So I have a single gpg key for work with 3 sub keys. I have copied
> it to a yubikey nano just fine. Removed the yubi and removed my gpg
> key and then reimported the gpg key and inserted yubikey number two
> and did keytocard again for the second yubikey. When ever I do
> 
> ssh -l git github.com
> 
> gpg-agent[99732]: chan_10 -> SETDESC Please remove the current card
> and insert the one with serial number:%0A%0A 
> "D2760001240102010006041632600000"
> 
> which is the nano. It seems that even killing the gpg-agent and 
> inserting the other yubikey doesn't seem to work. Suggestions?

Delete the stubs and do gpg --card-status to learn of the new smartcard


- -- 
- ----------------------------
Kristian Fiskerstrand
Blog: https://blog.sumptuouscapital.com
Twitter: @krifisk
- ----------------------------
Public OpenPGP key at hkp://pool.sks-keyservers.net
fpr:94CB AFDD 3034 5109 5618 35AA 0B7F 8B60 E3ED FAE3
- ----------------------------
Aquila non capit muscas
The eagle does not hunt flies
-----BEGIN PGP SIGNATURE-----

iQEcBAEBCgAGBQJWzxQsAAoJECULev7WN52FVoIIAMSkMuc0/v01e9qHYsC7GL+K
eVbUBKtZlmOQIhigVs9dU5hXYVMs9kGLDkCmPQJ8M38VzkpELtwOXUiZq7Bm/4rn
5NEvzL+PBbHfYo+yAn5ddhUv/usQP3dxVjKNDAF7vsf7arETiddDcuz3xJ6xdDaJ
A3DlqfTAMqzZaOi0iSMMniXcyn/YsMzoB+WXF0FAKzWZQRuh/BOdfV9h/jZTRShe
4WKP26KBwCKViJQGfOzdwIfsSUG54eCh5nL+sMmkBBR942hDQceLcJtw1QRLZc5e
0lZqQrVHciJRSOClL4Tr8T5lp2dlVGVb2QepMfsFZNX1JXVBqkgCnBCId/EIxKQ=
=xZws
-----END PGP SIGNATURE-----



More information about the Gnupg-users mailing list