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:
parent
9c719c9c1f
commit
2c6092bc5d
2 changed files with 40 additions and 22 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue