1
0
Fork 0
mirror of git://git.gnupg.org/gnupg.git synced 2025-07-03 22:56:33 +02:00

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.
This commit is contained in:
Werner Koch 2020-02-12 11:16:41 +01:00
parent 9c719c9c1f
commit 2c6092bc5d
No known key found for this signature in database
GPG key ID: E3FDFF218E45B72B
2 changed files with 40 additions and 22 deletions

View file

@ -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;