[Pkg-gnupg-maint] Bug#682064: output of --fingerprint <keyid> and --with-fingerprint <keyfile> should be identical

Evgeni Golov evgeni at debian.org
Thu Jul 19 08:54:12 UTC 2012


Package: gnupg
Version: 1.4.12-4+b1
Severity: minor
Tags: upstream

Hi,

I think the output of
 gpg --fingerprint <keyid>
and
 gpg --with-fingerprint <exported_key.file>
should (at least try to) be identical.

This is currently not the case:
10:38 evgeni at rodo /tmp % gpg --with-fingerprint AC15B50C.asc
pub  1024D/AC15B50C 2004-12-26 Evgeni -SargentD- Golov <sargentd at die-welt.net>
      Key fingerprint = 0C04 F872 0963 ADC9 AA83  882B 24A0 1418 AC15 B50C
uid                            Evgeni Golov <evgeni at golov.eu>
uid                            Evgeni Golov <evgeni at debian.org>
uid                            Evgeni Golov <sargentd at die-welt.net>
uid                            Evgeni Golov (Debian) <evgeni at debian.org>
uid                            Evgeni Golov (30doradus) <golov at 30doradus.de>
uid                            Evgeni Golov (Jabber) <sargentd at jabber.ccc.de>
uid                            Evgeni Golov (Jabber) <sargentd at jabber.die-welt.net>
uid                            Evgeni -SargentD- Golov (Backup/Notfall EMail) <sargentd at ish.de>
uid                            Evgeni Golov (HHU Duesseldorf) <evgeni.golov at uni-duesseldorf.de>
sub  1024g/AA637FD1 2004-12-26
10:38 evgeni at rodo /tmp % gpg --fingerprint AC15B50C
pub   1024D/AC15B50C 2004-12-26
      Key fingerprint = 0C04 F872 0963 ADC9 AA83  882B 24A0 1418 AC15 B50C
uid                  Evgeni -SargentD- Golov <sargentd at die-welt.net>
uid                  Evgeni Golov <evgeni at golov.eu>
uid                  Evgeni Golov <evgeni at debian.org>
uid                  Evgeni Golov <sargentd at die-welt.net>
uid                  Evgeni Golov (Debian) <evgeni at debian.org>
uid                  Evgeni Golov (Jabber) <sargentd at jabber.die-welt.net>
uid                  Evgeni -SargentD- Golov (Backup/Notfall EMail) <sargentd at ish.de>
uid                  Evgeni Golov (HHU Duesseldorf) <evgeni.golov at uni-duesseldorf.de>
sub   1024g/AA637FD1 2004-12-26

As you can see, the first UID is printed above the fingerprint when
using --with-fingerprint. This confuses tools like gpgsigs as it does
not recognise this as an uid line and thus ignores the uid completely.

Regards
Evgeni

-- System Information:
Debian Release: wheezy/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (500, 'testing'), (1, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 3.4-trunk-amd64 (SMP w/4 CPU cores)
Locale: LANG=en_US.utf8, LC_CTYPE=en_US.utf8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages gnupg depends on:
ii  dpkg          1.16.7
ii  gpgv          1.4.12-4+b1
ii  install-info  4.13a.dfsg.1-10
ii  libbz2-1.0    1.0.6-3
ii  libc6         2.13-34
ii  libreadline6  6.2-8
ii  libusb-0.1-4  2:0.1.12-23
ii  zlib1g        1:1.2.7.dfsg-13

Versions of packages gnupg recommends:
pn  gnupg-curl     <none>
ii  libldap-2.4-2  2.4.31-1

Versions of packages gnupg suggests:
ii  eog           3.4.2-1
pn  gnupg-doc     <none>
ii  imagemagick   8:6.7.7.10-2
ii  libpcsclite1  1.8.4-1

-- no debconf information



More information about the Pkg-gnupg-maint mailing list