aboutsummaryrefslogtreecommitdiffstats
path: root/doc
diff options
context:
space:
mode:
authorWerner Koch <[email protected]>2017-07-20 15:27:48 +0000
committerWerner Koch <[email protected]>2017-07-20 16:13:40 +0000
commit165cdd8121bbf80bfe2da071539d3578630f198f (patch)
tree878fc9f6f81d5d86a31362fb044a159ae9afc274 /doc
parentcommon: New function print_utf9_string. (diff)
downloadgnupg-165cdd8121bbf80bfe2da071539d3578630f198f.tar.gz
gnupg-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 'doc')
-rw-r--r--doc/DETAILS3
-rw-r--r--doc/gpg.texi7
2 files changed, 8 insertions, 2 deletions
diff --git a/doc/DETAILS b/doc/DETAILS
index 28fb55a2c..0be55f4d6 100644
--- a/doc/DETAILS
+++ b/doc/DETAILS
@@ -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
diff --git a/doc/gpg.texi b/doc/gpg.texi
index 64dd50267..cae351b56 100644
--- a/doc/gpg.texi
+++ b/doc/gpg.texi
@@ -2531,6 +2531,13 @@ Print the ICAO spelling of the fingerprint in addition to the hex digits.
Include the keygrip in the key listings. In @code{--with-colons} mode
this is implicitly enable for secret keys.
+@item --with-key-origin
+@opindex with-key-origin
+Include the locally held information on the origin and last update of
+a key in a key listing. In @code{--with-colons} mode this is always
+printed. This data is currently experimental and shall not be
+considered part of the stable API.
+
@item --with-wkd-hash
@opindex with-wkd-hash
Print a Web Key Directory identifier along with each user ID in key