Home GnuPG
Diffusion GnuPG fbb2259d22e6

g10: Fix default-key selection for signing, possibly by card.

Description

g10: Fix default-key selection for signing, possibly by card.

* g10/call-agent.c (warn_version_mismatch): Revert.
(start_agent): Suppress version mismatch if relevant.
* g10/getkey.c (get_seckey_default_or_card): New.
* g10/skclist.c (build_sk_list): Use get_seckey_default_or_card.

The change of 97a2394, which prefers available card than default key
specified is too strong.

Details

Provenance
gniibeAuthored on May 22 2017, 2:27 AM
Parents
rG3713f6702646: doc: Fix spellings.
Branches
Unknown
Tags
Unknown