summaryrefslogtreecommitdiffstats
path: root/doc
diff options
context:
space:
mode:
authorWerner Koch <wk@gnupg.org>2019-08-21 10:19:16 +0200
committerWerner Koch <wk@gnupg.org>2019-08-21 14:13:51 +0200
commitc97c2e578dd173ef5e7916a3aa539b3a65a7d86d (patch)
tree23e93484755c055249ad110cd9b15a9fddd8d5cf /doc
parentscd: Fix check_application_conflict. (diff)
downloadgnupg2-c97c2e578dd173ef5e7916a3aa539b3a65a7d86d.tar.xz
gnupg2-c97c2e578dd173ef5e7916a3aa539b3a65a7d86d.zip
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 c185f6dfbd1bfd809369da789239a371e9d1610e) This was first added to the 2.2 branch.
Diffstat (limited to 'doc')
-rw-r--r--doc/gpg.texi7
1 files changed, 7 insertions, 0 deletions
diff --git a/doc/gpg.texi b/doc/gpg.texi
index b01fe246b..212defe0c 100644
--- a/doc/gpg.texi
+++ b/doc/gpg.texi
@@ -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 *******************************