[pkg-gnupg-maint] Bug#795334: If --local-user matches the default key, it should be used

Bas Wijnen wijnen at debian.org
Thu Aug 13 00:42:14 UTC 2015


Package: gnupg
Version: 1.4.19-3
Severity: minor
Tags: upstream

I have an old key which is not revoked, and a new one that I use for signing
everything.  I have set the new key as default in gnupg.conf.  When I call gpg
--local-user="my name" (or more specifically, when debsign calls it that way),
it selects the old key instead of the new one (I'm guessing it just selects the
first key that matches the name).  It is counterintuitive that it chooses the
wrong key after I set the default properly.

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

Kernel: Linux 4.0.0-2-amd64 (SMP w/2 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)

Versions of packages gnupg depends on:
ii  gpgv          1.4.19-3
ii  libbz2-1.0    1.0.6-8
ii  libc6         2.19-19
ii  libreadline6  6.3-8+b3
ii  libusb-0.1-4  2:0.1.12-27
ii  zlib1g        1:1.2.8.dfsg-2+b1

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

Versions of packages gnupg suggests:
pn  gnupg-doc     <none>
ii  imagemagick   8:6.8.9.9-5
ii  libpcsclite1  1.8.14-1
pn  parcimonie    <none>

-- no debconf information



More information about the pkg-gnupg-maint mailing list