Some keyservers do not behave like others when it gets to listing keys with fingerprints.
dirmngr currently doesn't add "fingerprint=on", nor has it an options to set it manually for a request.
Most servers return a list including fingerprints, but some only respond with key-ids.
This can be reproduced using the following request:
When "fingerprint=on" is added to the request, all tested keyservers return the fingerprints – which would be preferable.
Here are two keyservers to test, which are both part of the sks-keyservers.net pool:
"normal" behavior: pgpkeys.uk (18.104.22.168)
sends key-id be default: pgpkeys.hu (22.214.171.124)
Here is the required patch for dirmngr (patch by firstname.lastname@example.org):
--- a/dirmngr/ks-engine-hkp.c +++ b/dirmngr/ks-engine-hkp.c @@ -1471,7 +1471,7 @@ 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);
Thanks for considering adding this.