Home GnuPG
Diffusion GnuPG c97c2e578dd1

gpg: New option --use-only-openpgp-card

Description

gpg: New option --use-only-openpgp-card

* g10/gpg.c (opts): Add option.
(main): Set flag.
* g10/options.h: Add flags.use_only_openpgp_card.
* g10/call-agent.c (start_agent): Implement option.

With the previous patch we switch to autoselect an application
instead of requesting an openpgp card. This option allows to revert
this in case of use use cases which expected the former behaviour.

(cherry picked from commit c185f6dfbd1bfd809369da789239a371e9d1610e)
This was first added to the 2.2 branch.

  • Signed-off-by: Werner Koch <wk@gnupg.org>

Details

Provenance
wernerAuthored on Aug 21 2019, 10:19 AM
Parents
rG6fae96094c97: scd: Fix check_application_conflict.
Branches
Unknown
Tags
Unknown