mirror of
git://git.gnupg.org/gnupg.git
synced 2025-07-03 22:56:33 +02:00
gpg: Add option --with-subkey-fingerprint.
* g10/gpg.c (oWithSubkeyFingerprint): New. (opts): Add --with-subkey-fingerprint[s]. (main): Set that option. * g10/options.h (struct opt): Add 'with_subkey_fingerprint'. * g10/keylist.c (list_keyblock_print): Print subkey fingerprint. (print_fingerprint): Tweak printing to use compact format if desirable. Signed-off-by: Werner Koch <wk@gnupg.org>
This commit is contained in:
parent
b047388d57
commit
1d1cb86694
5 changed files with 37 additions and 5 deletions
11
doc/gpg.texi
11
doc/gpg.texi
|
@ -342,7 +342,8 @@ fingerprints. This is the same output as @option{--list-keys} but with
|
|||
the additional output of a line with the fingerprint. May also be
|
||||
combined with @option{--list-sigs} or @option{--check-sigs}. If this
|
||||
command is given twice, the fingerprints of all secondary keys are
|
||||
listed too.
|
||||
listed too. This command also forces pretty printing of fingerprints
|
||||
if the keyid format has been set to "none".
|
||||
|
||||
@item --list-packets
|
||||
@opindex list-packets
|
||||
|
@ -2276,6 +2277,14 @@ allow to convey suitable information for elliptic curves.
|
|||
Same as the command @option{--fingerprint} but changes only the format
|
||||
of the output and may be used together with another command.
|
||||
|
||||
@item --with-subkey-fingerprint
|
||||
@opindex with-subkey-fingerprint
|
||||
If a fingerprint is printed for the primary key, this option forces
|
||||
printing of the fingerprint for all subkeys. This could also be
|
||||
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-icao-spelling
|
||||
@opindex with-icao-spelling
|
||||
Print the ICAO spelling of the fingerprint in addition to the hex digits.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue