mirror of
git://git.gnupg.org/gnupg.git
synced 2025-07-02 22:46:30 +02:00
* sig-check.c (do_check_messages, do_check): Show keyid in error messages.
* keyserver.c (print_keyinfo): More readable key listings for --search-keys responses.
This commit is contained in:
parent
43ba6d43d7
commit
a119391e26
3 changed files with 27 additions and 16 deletions
|
@ -304,18 +304,20 @@ print_keyinfo(int count,char *keystring,KEYDB_SEARCH_DESC *desc)
|
|||
if(flags&2)
|
||||
printf(" (disabled)");
|
||||
|
||||
if(keytype[0])
|
||||
printf(" %s",keytype);
|
||||
printf("\n\t ");
|
||||
|
||||
if(keysize>0)
|
||||
printf(" %d",keysize);
|
||||
printf("%d bit ",keysize);
|
||||
|
||||
printf("\n\t created %s,",strtimestamp(createtime));
|
||||
if(keytype[0])
|
||||
printf("%s ",keytype);
|
||||
|
||||
printf("key %s, created %s",certid,strtimestamp(createtime));
|
||||
|
||||
if(expiretime>0)
|
||||
printf(" expires %s,",strtimestamp(expiretime));
|
||||
printf(", expires %s",strtimestamp(expiretime));
|
||||
|
||||
printf(" key %s\n",certid);
|
||||
printf("\n");
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
@ -347,7 +349,6 @@ keyserver_spawn(int action,STRLIST list,
|
|||
set_exec_path(GNUPG_LIBEXECDIR,opt.exec_path_set);
|
||||
#endif
|
||||
|
||||
|
||||
/* Build the filename for the helper to execute */
|
||||
command=m_alloc(strlen("gpgkeys_")+strlen(opt.keyserver_scheme)+1);
|
||||
strcpy(command,"gpgkeys_");
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue