summaryrefslogtreecommitdiffstats
path: root/tools/gpg-card.h
diff options
context:
space:
mode:
authorWerner Koch <wk@gnupg.org>2020-02-12 11:16:41 +0100
committerWerner Koch <wk@gnupg.org>2020-02-12 11:16:41 +0100
commit2c6092bc5d794ae36cbf2f6b62337dc23f57bf3e (patch)
tree975a247e0b3f9a2503c879d0ecab512112da3d7d /tools/gpg-card.h
parentgpg: Improve key creation direct from the card. (diff)
downloadgnupg2-2c6092bc5d794ae36cbf2f6b62337dc23f57bf3e.tar.xz
gnupg2-2c6092bc5d794ae36cbf2f6b62337dc23f57bf3e.zip
card: New option --no-key-lookup.
* tools/gpg-card.h (opt): Add var no_key_lookup. * tools/gpg-card.c (oNoKeyLookup): New const. (opts): New option --no-key-lookup. (list_one_kinfo): Add arg no_key_lookup and implement. (list_all_kinfo): Add arg no_key_lookup. (list_openpgp, list_piv, list_card): Ditto. (cmd_list): New option --no-key-lookup. -- Printing the OpenPGP and X.509 keys used for a specific card key can be a lengthy operation. The new command line option and option to "list" allows to suppress that part of the output.
Diffstat (limited to 'tools/gpg-card.h')
-rw-r--r--tools/gpg-card.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/tools/gpg-card.h b/tools/gpg-card.h
index 391241686..67ecc4683 100644
--- a/tools/gpg-card.h
+++ b/tools/gpg-card.h
@@ -38,6 +38,8 @@ struct
const char *agent_program;
int autostart;
+ int no_key_lookup; /* Assume --no-key-lookup for "list". */
+
/* Options passed to the gpg-agent: */
session_env_t session_env;
char *lc_ctype;