#722 ✓released
steve

cross-link for GnuPG T4354: dirmngr should send "fingerprint=on" to keyservers

Reported by steve | January 30th, 2019 @ 11:12 AM | in 2.2.17 (closed)

https://dev.gnupg.org/T4354

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.

Comments and changes to this ticket

  • steve

    steve February 20th, 2019 @ 11:15 AM

    • State changed from “waiting” to “released”
    • Milestone set to 2.2.17

    Kristian responded in gnupg tracker: "So, the keyserver operator had thrown in a hockeypuck server in the pool, causing this.. While the keyserver remains in the exclude list until confirmation it has been resolved, that explains the behavior and it has been made clear that separate software needs to use different names in the future. In any case, marking this resolved"

  • steve

Please Sign in or create a free account to add a new ticket.

With your very own profile, you can contribute to projects, track your activity, watch tickets, receive and update tickets through your email and much more.

New-ticket Create new ticket

Create your profile

Help contribute to this project by taking a few moments to create your personal profile. Create your profile ยป

Shared Ticket Bins

People watching this ticket

Pages