[pkg-gnupg-maint] Bug#829246: Bug#829246: gnupg2: fails to find signing subkey

Daniel Kahn Gillmor dkg at fifthhorseman.net
Fri Jul 1 16:48:20 UTC 2016


Hi bremner--

Thanks for the report!

Just a clarification:

On Fri 2016-07-01 11:37:34 -0400, David Bremner wrote:
> 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.
 [...]
> ╭─ 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

the text of your report says "default-user" (which doesn't exist in gpg)
and the transcript says "local-user".  But i think there is also
"default-key" -- hvae you tried with both default-key and local-user ?

All the best,

              --dkg



More information about the pkg-gnupg-maint mailing list