1
0
Fork 0
mirror of git://git.gnupg.org/gnupg.git synced 2025-07-02 22:46:30 +02:00

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.
This commit is contained in:
Werner Koch 2017-07-20 17:27:48 +02:00
parent bddc2e04f1
commit 165cdd8121
No known key found for this signature in database
GPG key ID: E3FDFF218E45B72B
7 changed files with 90 additions and 12 deletions

View file

@ -241,8 +241,7 @@ described here.
The origin of the key or the user ID. This is an integer
optionally followed by a space and an URL. This goes along with
the previous field. The values are not yet defined.
the previous field. The URL is quoted in C style.
** Special fields