mirror of
git://git.gnupg.org/gnupg.git
synced 2025-07-02 22:46:30 +02:00
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.
Signed-off-by: Werner Koch <wk@gnupg.org>
(cherry picked from commit c185f6dfbd
)
This was first added to the 2.2 branch.
This commit is contained in:
parent
6fae96094c
commit
c97c2e578d
4 changed files with 22 additions and 1 deletions
|
@ -3516,6 +3516,13 @@ file and returns with failure if the configuration file would prevent
|
|||
@command{@gpgname} from startup. Thus it may be used to run a syntax check
|
||||
on the configuration file.
|
||||
|
||||
@c @item --use-only-openpgp-card
|
||||
@c @opindex use-only-openpgp-card
|
||||
@c Only access OpenPGP card's and no other cards. This is a hidden
|
||||
@c option which could be used in case an old use case required the
|
||||
@c OpenPGP card while several cards are avaiable. This option might be
|
||||
@c removed if it turns out that nobody requires it.
|
||||
|
||||
@end table
|
||||
|
||||
@c *******************************
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue