diff options
author | Werner Koch <wk@gnupg.org> | 2017-07-20 17:27:48 +0200 |
---|---|---|
committer | Werner Koch <wk@gnupg.org> | 2017-07-20 18:13:40 +0200 |
commit | 165cdd8121bbf80bfe2da071539d3578630f198f (patch) | |
tree | 878fc9f6f81d5d86a31362fb044a159ae9afc274 /g10/options.h | |
parent | common: New function print_utf9_string. (diff) | |
download | gnupg2-165cdd8121bbf80bfe2da071539d3578630f198f.tar.xz gnupg2-165cdd8121bbf80bfe2da071539d3578630f198f.zip |
gpg: New option --with-key-origin.
* g10/getkey.c (parse_key_origin): Factor list out as ...
(key_origin_list): new struct.
(key_origin_string): New.
* g10/gpg.c (oWithKeyOrigin): New const.
(opts): New option --with-key-origin.
(main): Implement option.
* g10/options.h (struct opt): New flag with_key_origin.
* g10/keylist.c (list_keyblock_print): Print key origin info.
(list_keyblock_colon): Ditto.
Diffstat (limited to '')
-rw-r--r-- | g10/options.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/g10/options.h b/g10/options.h index 5bb506e52..21249e9ea 100644 --- a/g10/options.h +++ b/g10/options.h @@ -85,6 +85,7 @@ struct int with_tofu_info; /* Option --with-tofu_info active. */ int with_secret; /* Option --with-secret active. */ int with_wkd_hash; /* Option --with-wkd-hash. */ + int with_key_origin; /* Option --with-key-origin. */ int fingerprint; /* list fingerprints */ int list_sigs; /* list signatures */ int no_armor; |