mirror of
git://git.gnupg.org/gnupg.git
synced 2025-07-03 22:56:33 +02:00
Print the hash algorithm in colon mode key listing.
* g10/keylist.c (list_keyblock_colon): Print digest_algo.
This commit is contained in:
parent
3f75b9ca00
commit
a4b22d8edf
3 changed files with 13 additions and 11 deletions
|
@ -1382,23 +1382,19 @@ list_keyblock_colon( KBNODE keyblock, int secret, int fpr )
|
|||
print_string( stdout, p, n, ':' );
|
||||
xfree(p);
|
||||
}
|
||||
printf (":%02x%c:", sig->sig_class,sig->flags.exportable?'x':'l');
|
||||
|
||||
printf (":%02x%c::", sig->sig_class,sig->flags.exportable?'x':'l');
|
||||
|
||||
if (opt.no_sig_cache && opt.check_sigs && fprokay)
|
||||
{
|
||||
putchar (':');
|
||||
|
||||
for (i=0; i < fplen ; i++ )
|
||||
printf ("%02X", fparray[i] );
|
||||
|
||||
putchar (':');
|
||||
}
|
||||
|
||||
printf ("\n");
|
||||
|
||||
printf (":::%d:\n", sig->digest_algo);
|
||||
|
||||
if (opt.show_subpackets)
|
||||
print_subpackets_colon (sig);
|
||||
|
||||
|
||||
/* fixme: check or list other sigs here */
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue