mirror of
git://git.gnupg.org/gnupg.git
synced 2025-07-02 22:46:30 +02:00
gpg: With --auto-key-retrieve prefer WKD over keyservers.
* g10/mainproc.c (check_sig_and_print): Print a hint on how to make
use of the preferred keyserver. Remove keyserver lookup just by the
keyid. Try a WKD lookup before a keyserver lookup.
--
The use of the the keyid for lookups does not make much sense anymore
since for quite some time we do have the fingerprint as part of the
signature.
GnuPG-bug-id: 4595
Signed-off-by: Werner Koch <wk@gnupg.org>
(cherry picked from commit 96bf8f4778
)
This commit is contained in:
parent
6396f8d115
commit
3242837d20
3 changed files with 84 additions and 55 deletions
|
@ -333,7 +333,7 @@ parse_keyserver_uri (const char *string,int require_scheme)
|
|||
{
|
||||
/* Three slashes means network path with a default host name.
|
||||
This is a hack because it does not crok all possible
|
||||
combiantions. We should better repalce all code bythe parser
|
||||
combinations. We should better replace all code by the parser
|
||||
from http.c. */
|
||||
keyserver->path = xstrdup (uri+2);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue