Incorrect general key info, for key on Yubikey NEO

Peter Lebbing peter at digitalbrains.com
Wed May 6 12:00:20 CEST 2015


On 06/05/15 11:29, Werner Koch wrote:
> What gpg version is that?

I can confirm this behaviour with multiple versions.

On a Debian wheezy/oldstable, normal gnupg2 package, with surgically
altered secret key such that the primary key is on one card, and the
subkeys are on another:

--------------------- 8< ------------ >8 ---------------------
$ gpg2 --version
gpg (GnuPG) 2.0.19
libgcrypt 1.5.0
[...]
$ gpg2 --card-status
Application ID ...: D2760001240102000005000002410000
Version ..........: 2.0
Manufacturer .....: ZeitControl
Serial number ....: 00000241
[...]
Signature key ....: 6500 8DC2 20AA E2A2 574D  6CD5 969E 018F DE6C DCA1
      created ....: 2009-11-12 13:15:07
Encryption key....: 2E0F 8C51 BC77 58A3 3795  79D9 26F7 563E 73A3 3BEE
      created ....: 2009-11-12 13:15:36
Authentication key: A87C F55C 8435 36F3 1CBC  C63C 4FBB CA40 B65D 8246
      created ....: 2009-12-05 13:59:13
General key info..: pub  2048R/DE6CDCA1 2009-11-12 Peter Lebbing
<peter at digitalbrains.com>
sec>  2048R/DE500B3E  created: 2009-11-12  expires: 2015-10-27
                      card-no: 0005 00000274
ssb>  2048R/DE6CDCA1  created: 2009-11-12  expires: 2015-10-27
                      card-no: 0005 00000241
ssb>  2048R/73A33BEE  created: 2009-11-12  expires: 2015-10-27
                      card-no: 0005 00000241
ssb>  2048R/B65D8246  created: 2009-12-05  expires: 2015-10-27
                      card-no: 0005 00000241
--------------------- 8< ------------ >8 ---------------------

And on a Debian jessie/stable, gnupg2 package from experimental:

--------------------- 8< ------------ >8 ---------------------
$ gpg2 --version
gpg (GnuPG) 2.1.2
libgcrypt 1.6.3
[...]
$ gpg2 --card-status

Application ID ...: D2760001240102000005000011120000
Version ..........: 2.0
Manufacturer .....: ZeitControl
Serial number ....: 00001112
[...]
Signature key ....: 6500 8DC2 20AA E2A2 574D  6CD5 969E 018F DE6C DCA1
      created ....: 2009-11-12 13:15:07
Encryption key....: 2E0F 8C51 BC77 58A3 3795  79D9 26F7 563E 73A3 3BEE
      created ....: 2009-11-12 13:15:36
Authentication key: [none]
General key info..: pub  rsa2048/DE6CDCA1 2009-11-12 Peter Lebbing
<peter at digitalb
.com>
sec   rsa2048/DE500B3E  created: 2009-11-12  expires: 2015-10-27
ssb   rsa2048/DE6CDCA1  created: 2009-11-12  expires: 2015-10-27
ssb   rsa2048/73A33BEE  created: 2009-11-12  expires: 2015-10-27
ssb   rsa2048/B65D8246  created: 2009-12-05  expires: 2015-10-27
--------------------- 8< ------------ >8 ---------------------

This latter installation also uses the card with serial 274 for the
primary key.

HTH,

Peter.

-- 
I use the GNU Privacy Guard (GnuPG) in combination with Enigmail.
You can send me encrypted mail if you want some privacy.
My key is available at <http://digitalbrains.com/2012/openpgp-key-peter>



More information about the Gnupg-users mailing list