[pkg-gnupg-maint] Bug#829246: gnupg2: fails to find signing subkey
David Bremner
bremner at debian.org
Fri Jul 1 15:37:34 UTC 2016
Package: gnupg2
Version: 2.1.13-2
Severity: normal
Tags: upstream
I have a key with an offline master, and two signing subkeys.
the first listed one is on v2 OpenGPG card. With gpg 1.4.20,
I could specify the master keyid as e.g. the default-user, and
gpg would find the key on the smartcard.
sec# rsa4096 2009-05-30 [SC]
815B63982A79F8E7C72786C4762B57BB784206AD
uid [ultimate] David Bremner <bremner at debian.org>
uid [ultimate] David Bremner <bremner at unb.ca>
uid [ultimate] David Bremner <david at tethera.net>
ssb> rsa3072 2012-08-07 [S] [expires: 2016-08-07]
ssb> rsa2048 2013-08-08 [E] [expires: 2016-08-07]
ssb> rsa2048 2013-08-08 [A] [expires: 2016-08-07]
ssb rsa3072 2013-07-30 [S] [expires: 2018-07-29]
with 2.1.11 and 2.1.13, I get
╭─ maritornes:~
╰─% gpg --local-user 815B63982A79F8E7C72786C4762B57BB784206AD --sign test.tex
File 'test.tex.gpg' exists. Overwrite? (y/N) y
gpg: signing failed: No secret key
gpg: signing failed: No secret key
whereas specifying the subkeyid works
% gpg --sign --local-user "F202971DA4A79E2C\!" test.tex
-- System Information:
Debian Release: stretch/sid
APT prefers testing
APT policy: (900, 'testing')
Architecture: amd64 (x86_64)
Kernel: Linux 4.3.0-1-amd64 (SMP w/4 CPU cores)
Locale: LANG=en_CA.UTF-8, LC_CTYPE=en_CA.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
Versions of packages gnupg2 depends on:
ii gnupg 2.1.13-2
gnupg2 recommends no packages.
gnupg2 suggests no packages.
-- no debconf information
More information about the pkg-gnupg-maint
mailing list