1
0
mirror of git://git.gnupg.org/gnupg.git synced 2024-06-06 23:17:47 +02:00

dirmngr: Ask keyservers to provide the key fingerprints

* dirmngr/ks-engine-hkp.c (ks_hkp_search): Add "fingerprint=on" to
request URL.
--

Some keyservers, e.g. keyserver.ubuntu.com (Hockeypuck), do not
provide the key fingerprints by default. Therefore, we ask for the
fingerprints explicitly.

GnuPG-bug-id: 5741
(cherry picked from commit c7fa4c7f8b)
This commit is contained in:
Ingo Klöcker 2021-12-16 16:34:50 +01:00 committed by Werner Koch
parent ee8f1c10a7
commit 22e8dc7927
No known key found for this signature in database
GPG Key ID: E3FDFF218E45B72B

View File

@ -1533,7 +1533,7 @@ ks_hkp_search (ctrl_t ctrl, parsed_uri_t uri, const char *pattern,
xfree (request);
request = strconcat (hostport,
"/pks/lookup?op=index&options=mr&search=",
"/pks/lookup?op=index&options=mr&fingerprint=on&search=",
searchkey,
NULL);
xfree (searchkey);