mirror of
git://git.gnupg.org/gnupg.git
synced 2025-03-23 21:59:57 +01:00
* mainproc.c (list_node): Show signature expiration date in with-colons
sig records. * keylist.c (list_keyblock_colon), mainproc.c (list_node): Show trust sig information in with-colons sig records.
This commit is contained in:
parent
8220f3fd4d
commit
2659e53b6e
@ -1,3 +1,11 @@
|
||||
2003-01-27 David Shaw <dshaw@jabberwocky.com>
|
||||
|
||||
* mainproc.c (list_node): Show signature expiration date in
|
||||
with-colons sig records.
|
||||
|
||||
* keylist.c (list_keyblock_colon), mainproc.c (list_node): Show
|
||||
trust sig information in with-colons sig records.
|
||||
|
||||
2003-01-16 David Shaw <dshaw@jabberwocky.com>
|
||||
|
||||
* g10.c (add_group): Trim whitespace after a group name so it does
|
||||
|
@ -938,10 +938,20 @@ list_keyblock_colon( KBNODE keyblock, int secret, int fpr )
|
||||
putchar(':');
|
||||
if( sigrc != ' ' )
|
||||
putchar(sigrc);
|
||||
printf("::%d:%08lX%08lX:%s:%s:::", sig->pubkey_algo,
|
||||
(ulong)sig->keyid[0],
|
||||
(ulong)sig->keyid[1], colon_datestr_from_sig(sig),
|
||||
colon_expirestr_from_sig(sig));
|
||||
printf("::%d:%08lX%08lX:%s:%s:", sig->pubkey_algo,
|
||||
(ulong)sig->keyid[0], (ulong)sig->keyid[1],
|
||||
colon_datestr_from_sig(sig),
|
||||
colon_expirestr_from_sig(sig));
|
||||
|
||||
if(sig->trust_depth || sig->trust_value)
|
||||
printf("%d %d",sig->trust_depth,sig->trust_value);
|
||||
printf(":");
|
||||
|
||||
if(sig->trust_regexp)
|
||||
print_string(stdout,sig->trust_regexp,
|
||||
strlen(sig->trust_regexp),':');
|
||||
printf(":");
|
||||
|
||||
if( sigrc == '%' )
|
||||
printf("[%s] ", g10_errstr(rc) );
|
||||
else if( sigrc == '?' )
|
||||
|
@ -1019,9 +1019,19 @@ list_node( CTX c, KBNODE node )
|
||||
putchar(':');
|
||||
if( sigrc != ' ' )
|
||||
putchar(sigrc);
|
||||
printf("::%d:%08lX%08lX:%s::::", sig->pubkey_algo,
|
||||
(ulong)sig->keyid[0],
|
||||
(ulong)sig->keyid[1], colon_datestr_from_sig(sig));
|
||||
printf("::%d:%08lX%08lX:%s:%s:", sig->pubkey_algo,
|
||||
(ulong)sig->keyid[0], (ulong)sig->keyid[1],
|
||||
colon_datestr_from_sig(sig),
|
||||
colon_expirestr_from_sig(sig));
|
||||
|
||||
if(sig->trust_depth || sig->trust_value)
|
||||
printf("%d %d",sig->trust_depth,sig->trust_value);
|
||||
printf(":");
|
||||
|
||||
if(sig->trust_regexp)
|
||||
print_string(stdout,sig->trust_regexp,
|
||||
strlen(sig->trust_regexp),':');
|
||||
printf(":");
|
||||
}
|
||||
else
|
||||
printf("%c %08lX %s ",
|
||||
|
Loading…
x
Reference in New Issue
Block a user