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
|
@ -384,6 +384,9 @@ keystrlen(void)
|
|||
|
||||
switch(format)
|
||||
{
|
||||
case KF_NONE:
|
||||
return 0;
|
||||
|
||||
case KF_SHORT:
|
||||
return 8;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue