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
This commit is contained in:
Ingo Klöcker 2021-12-16 16:34:50 +01:00
parent a9b95b20a8
commit c7fa4c7f8b
1 changed files with 1 additions and 1 deletions

View File

@ -1572,7 +1572,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);