Page MenuHome GnuPG

Kleopatra: Handle disabled keyserver when updating a certificate
Testing, NormalPublic


How to reproduce:

  • Set OpenPGP keyserver to none in Kleopatra's config dialog.
  • Open the details of an OpenPGP certificate and click Update.

Expected result: No keyserver lookup is performed.

Actual result: No change is reported for the keyserver lookup.

That "no change" instead of an error is reported is caused by T7036: gpgme: gpgme_op_receive_keys does not return an error if keyserver lookup is disabled, but Kleopatra should just skip the keyserver lookup if the keyserver is set to none.

Event Timeline

ikloecker triaged this task as Normal priority.Mar 11 2024, 11:41 AM
ikloecker created this task.
ikloecker moved this task from Restricted Project Column to Restricted Project Column on the Restricted Project board.
ikloecker changed the task status from Open to Testing.Mar 11 2024, 3:38 PM

Instead of "The key hasn't changed." Kleopatra now displays "The update was skipped because no keyserver is configured."

what about the case that the key has a mail address? Is WKD still checked?

Sure WKD is still checked if the conditions for an update via WKD are fulfilled.