Currently
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.
Expected
Most servers return a list including fingerprints, but some only respond with key-ids.
This can be reproduced using the following request:
/pks/lookup?op=vindex&options=mr&search=GPGTools%20Team
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 (192.146.137.98)
sends key-id be default: pgpkeys.hu (37.17.173.9)
Here is the required patch for dirmngr (patch by mento@gpgtools.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.