FS#42790 - [gnupg] OpenPGP card cannot be used for signing with gnupg 2.1
Attached to Project:
Arch Linux
Opened by Thomas Bächler (brain0) - Friday, 14 November 2014, 19:02 GMT
Last edited by Thomas Bächler (brain0) - Sunday, 30 November 2014, 11:44 GMT
Opened by Thomas Bächler (brain0) - Friday, 14 November 2014, 19:02 GMT
Last edited by Thomas Bächler (brain0) - Sunday, 30 November 2014, 11:44 GMT
|
Details
With gnupg 2.1, my OpenPGP card's key cannot be used
anymore:
$ gpg -K /home/thomas/.gnupg/pubring.gpg ------------------------------- sec dsa1024/31CFFD50 2005-09-04 uid [ultimate] Thomas Bächler <thomas.baechler@gmx.de> uid [ultimate] Thomas Bächler <thomas.baechler@rwth-aachen.de> ssb elg2048/648E6F29 2005-09-04 sec rsa4096/8E4B1A25 2011-05-04 uid [ultimate] Thomas Bächler <thomas@archlinux.org> ssb rsa4096/20016BDB 2011-05-04 If I try to sign something with it, gnupg reports that there is no private key. With gnupg 2.0, I get this output: $ gpg -K /home/thomas/.gnupg/secring.gpg ------------------------------- sec 1024D/31CFFD50 2005-09-04 uid Thomas Bächler <thomas.baechler@rwth-aachen.de> uid Thomas Bächler <thomas.baechler@gmx.de> ssb 2048g/648E6F29 2005-09-04 sec 4096R/8E4B1A25 2011-05-04 uid Thomas Bächler <thomas@archlinux.org> ssb 4096R/20016BDB 2011-05-04 sec> 3072R/824B18E8 2011-11-19 Kartenseriennr. = 0005 00001085 uid Thomas Bächler (Arch Linux Master Key) <thomas@master-key.archlinux.org> ssb> 1024R/AAE53976 2011-11-19 ssb> 2048R/96A8F3F2 2011-11-19 However, the --card-status command works just fine with the new version. |
This task depends upon
With this known regression, why is this the new 'current' version?
I can use my smart card again after running
gpg-connect-agent learn /bye
once. I'd therefor suggest closing this bug and the one upstream, Thomas, if you can confirm the solution?
Maybe this change warrants a note of some sorts though? archlinux.org or .. somewhere?