diff options
author | Ingo Klöcker <[email protected]> | 2021-12-16 15:34:50 +0000 |
---|---|---|
committer | Werner Koch <[email protected]> | 2022-07-26 07:46:15 +0000 |
commit | 22e8dc792702cd485408b5a8212d34a3917851ca (patch) | |
tree | c0caf6436998c2633b6dc16782ff716726a2745f | |
parent | gpg: Request keygrip of key to add via command interface (diff) | |
download | gnupg-22e8dc792702cd485408b5a8212d34a3917851ca.tar.gz gnupg-22e8dc792702cd485408b5a8212d34a3917851ca.zip |
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 c7fa4c7f8bf375e3739ef8361f38b6b31113b8bf)
-rw-r--r-- | dirmngr/ks-engine-hkp.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/dirmngr/ks-engine-hkp.c b/dirmngr/ks-engine-hkp.c index 611e536a5..ef7a71700 100644 --- a/dirmngr/ks-engine-hkp.c +++ b/dirmngr/ks-engine-hkp.c @@ -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); |