I have just bought a Neo4, since it can hold 4096 bit RSA. My primary key is 4096 bits, and is the only key that can sign other keys, which is called "certify" in GPG language (_and_ sign key as well, just to make the confusion complete).
What I have done is put my secret part of my primary key to the signing slot of the Yubikey. I now try to use it to sign other keys, but GPG2 cannot find the secret part. So apparently it cannot link the public part of the key to the secret part, which is on the Yubikey. I thought "gpg2 --card-status" would fix this, but apparently not.
What might confuse GPG is that some of the secret keys are on one Yubikey (a Neo3), while the primary secret key is on another Yubikey (Neo4). Could this cause confusion?
$ gpg2 --list-keys /home/mats/.gnupg/pubring.gpg ----------------------------- pub 4096R/AEA6A954 2015-10-18 uid [ unknown] Mats G. Liljegren <mats@mexit.se> uid [ unknown] Mats G. Liljegren (Enea Software AB) <mats.liljegren@enea.com> uid [ unknown] Mats G. Liljegren <liljegren.mats@gmail.com> sub 2048R/667841C4 2015-10-18 [expires: 2020-10-16] sub 2048R/98DEC8A5 2015-10-18 [expires: 2020-10-16] sub 2048R/81DA6635 2015-10-18 [expires: 2020-10-16]
$ gpg2 --list-secret-keys /home/mats/.gnupg/secring.gpg ----------------------------- sec# 4096R/AEA6A954 2015-10-18 uid Mats G. Liljegren (Enea Software AB) <mats.liljegren@enea.com> uid Mats G. Liljegren <mats@mexit.se> uid Mats G. Liljegren <liljegren.mats@gmail.com> ssb> 2048R/667841C4 2015-10-18 ssb> 2048R/98DEC8A5 2015-10-18 ssb> 2048R/81DA6635 2015-10-18
|