Page MenuHome GnuPG

Kleopatra: wrong claim of update in WKD for keys with no mail address
Testing, NormalPublic

Description

If you have checked the option "Query certificate directories of providers for all user IDs" then updating a certificate in Kleopatra which has no mail address will result in the message "The certificate has been updated." regarding the query to WKD.

As the certificate is not in any WKD, this statement can not be true.

Details

Version
Version 3.2.2.2405000+git~ (Gpg4win-4.3.2-beta35)

Event Timeline

ikloecker triaged this task as Normal priority.
ikloecker moved this task from Restricted Project Column to Restricted Project Column on the Restricted Project board.

Backported for VSD 3.3.

If one or more keys are refreshed and none of the keys has non-revoked user IDs with email addresses then Kleopatra shouldn't report a result for WKD anymore.

Other changes:

  • If no key is found on the keyserver then "was/were not found" is reported. Previously, this was only reported when refreshing one key.
  • If no key is found via WKD then "was/were not found" is reported. Previously, "was/were updated" was reported.

Note:

  • If one keyserver-only key (e.g. without email address) and one WKD-only key are refreshed then we still report "were updated" for keyserver and WKD. I think that's less confusing than reporting "were updated" for the keyserver and "was updated" for the keyserver. After all, the user refreshed two keys so they expect a result for two keys (plural). We should consider removing the separate reporting for keyserver and WKD. Most users won't care and will just be confused by this.
ebo moved this task from Restricted Project Column to Restricted Project Column on the Restricted Project board.Jul 17 2024, 12:29 PM

works now, Version 3.2.2.2405000+git~ (Gpg4win-4.3.2-beta41)

And I agree, we need a change regarding the information. But I would prefer an information similar as for the import of certificates which would mean more info instead of less. But that would be for another ticket.