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/keydb.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 'g10/keydb.h')
-rw-r--r-- | g10/keydb.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/g10/keydb.h b/g10/keydb.h index 6416e634d..15345bb13 100644 --- a/g10/keydb.h +++ b/g10/keydb.h @@ -398,6 +398,7 @@ char *get_user_id_byfpr_native (ctrl_t ctrl, const byte *fpr); void release_akl(void); int parse_auto_key_locate(char *options); int parse_key_origin (char *string); +const char *key_origin_string (int origin); /*-- keyid.c --*/ int pubkey_letter( int algo ); |