aboutsummaryrefslogtreecommitdiffstats
path: root/doc/gpg.texi
diff options
context:
space:
mode:
authorWerner Koch <[email protected]>2023-09-04 14:34:55 +0000
committerWerner Koch <[email protected]>2023-09-04 14:36:51 +0000
commit1f76cbca35133969ccccfa324d633556e19a386c (patch)
tree5475d0fc7ab2801f3a761f59d84ad891d6c12054 /doc/gpg.texi
parentgpgsm: Add --always-trust feature. (diff)
downloadgnupg-1f76cbca35133969ccccfa324d633556e19a386c.tar.gz
gnupg-1f76cbca35133969ccccfa324d633556e19a386c.zip
gpg: Add option --with-v5-fingerprint
* g10/gpg.c (oWithV5Fingerprint): New. (opts): Add new option. (main): Set option. * g10/options.h (opt): Add with_v5_fingerprint. * g10/keyid.c (hash_public_key): Factor out to ... (do_hash_public_key): this. Add new arg to foce v5 style hashing. (v5_fingerprint_from_pk): New. (v5hexfingerprint): New. * g10/keylist.c (print_fingerprint): Print v5 fingerprint for v4 keys if the option is set. -- GnuPG-bug-id: 6705
Diffstat (limited to 'doc/gpg.texi')
-rw-r--r--doc/gpg.texi5
1 files changed, 5 insertions, 0 deletions
diff --git a/doc/gpg.texi b/doc/gpg.texi
index 15b3243d0..ce72afbf5 100644
--- a/doc/gpg.texi
+++ b/doc/gpg.texi
@@ -2849,6 +2849,11 @@ achieved by using the @option{--with-fingerprint} twice but by using
this option along with keyid-format "none" a compact fingerprint is
printed.
+@item --with-v5-fingerprint
+@opindex with-v5-fingerprint
+In a colon mode listing emit "fp2" lines for version 4 OpenPGP keys
+having a v5 style fingerprint of the key.
+
@item --with-icao-spelling
@opindex with-icao-spelling
Print the ICAO spelling of the fingerprint in addition to the hex digits.