mirror of
git://git.gnupg.org/gnupg.git
synced 2025-07-03 22:56:33 +02:00
* mainproc.c (check_sig_and_print): Use two different preferred keyserver
displays - one if the key is not present (to tell the user where to get the key), the other if it is present (to tell the user where the key can be refreshed). * packet.h, parse-packet.c (parse_signature): Set flag if a preferred keyserver is present. * keylist.c (list_keyblock_print): Show keyserver url in listings with list-option show-keyserver-url.
This commit is contained in:
parent
002972f63d
commit
68aa60e79c
5 changed files with 28 additions and 2 deletions
|
@ -1287,7 +1287,7 @@ check_sig_and_print( CTX c, KBNODE node )
|
|||
/* If the key still isn't found, try to inform the user where it
|
||||
can be found. */
|
||||
|
||||
if(rc==G10ERR_NO_PUBKEY && opt.verify_options&VERIFY_SHOW_KEYSERVER)
|
||||
if(rc==G10ERR_NO_PUBKEY && sig->flags.pref_ks)
|
||||
{
|
||||
const byte *p;
|
||||
int seq=0;
|
||||
|
@ -1457,6 +1457,11 @@ check_sig_and_print( CTX c, KBNODE node )
|
|||
else
|
||||
show_policy_url(sig,0,2);
|
||||
|
||||
if(opt.verify_options&VERIFY_SHOW_KEYSERVER)
|
||||
show_keyserver_url(sig,0,1);
|
||||
else
|
||||
show_keyserver_url(sig,0,2);
|
||||
|
||||
if(opt.verify_options&VERIFY_SHOW_NOTATION)
|
||||
show_notation(sig,0,1);
|
||||
else
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue