Home GnuPG
Diffusion GnuPG 88e766d3915c

g10: Select a secret key by checking availability under gpg-agent.

Description

g10: Select a secret key by checking availability under gpg-agent.

* g10/getkey.c (finish_lookup): Add WANT_SECRET argument to confirm
by agent_probe_secret_key.
(get_pubkey_fromfile, lookup): Supply WANT_SECRET argument.

(cherry picked from commit 0a76611294998ae34b9d9ebde484ef8ad3a9a3a6)

  • GnuPG-bug-id: T1967
  • Signed-off-by: NIIBE Yutaka <gniibe@fsij.org>

Details

Provenance
gniibeAuthored on Sep 26 2017, 4:02 AM
wernerCommitted on Feb 22 2018, 10:42 AM
Parents
rGcf006cbf7338: doc: Clarify -export-secret-key-p12
Branches
Unknown
Tags
Unknown
Tasks
T1967: GnuPG should select a key for signing without trying to use missing subkeys