Page MenuHome GnuPG

Kleopatra: Updating key does results in "not changed" instead of "not found"
Closed, ResolvedPublic

Description

The update button in the certificate details (added in T5903) does return "The key hasn't changed." if it does not find the key it should check. Though the key wasn't changed locally - and the statement is therefore true in a sense - a user who clicks on the update button expects to check if the key was updated externally on the keyserver or a wkd.

Easiest method to reproduce:
Turn off your network connection, then click on the update button.

Event Timeline

I would ideally like a result message like "Could not connect to keyserver ks.example.org" if the server is not reachable and
"the key has not changed on keyserver ks.example.org" or "the key could not be found on keyserver ks.example.org" if one of those is true.
At least the last two not if the key was found via wkd, obviously, in that case a similar message for wkd.

And what do we return if no keyserver is configured?

And what do we return if no keyserver is configured?

In this case, the button should probably be disabled for OpenPGP keys.

aheinecke added a subscriber: aheinecke.

If no keyserver is configured GnuPG uses its default keyserver. "disable-dirmngr" would be the option to completely disable keyserver access but that is rarely used.

I am setting this to normal prio to remove it from the needs triage list and I think it is normal.

ebo renamed this task from Kleopatra: Update button in certificate details does not show when an update was not possible to Kleopatra: Updating does results in "not changed" instead of "not found".Jan 12 2024, 12:57 PM
ebo renamed this task from Kleopatra: Updating does results in "not changed" instead of "not found" to Kleopatra: Updating key does results in "not changed" instead of "not found".
TobiasFella moved this task from Restricted Project Column to Restricted Project Column on the Restricted Project board.
TobiasFella changed the task status from Open to Testing.Oct 2 2025, 12:43 PM
timegrid edited projects, added gpd5x, LDAP; removed Restricted Project.Fri, Dec 12, 2:41 PM
timegrid moved this task from Backlog to QA on the gpd5x board.
ebo moved this task from QA to Done on the gpd5x board.
ebo added a project: Restricted Project.

State in Gpg4win-5.0.0-beta446 and vsd 3.3.4 is this:


So the message is "Update Failed" for keyserver and "not found" for WKD.
In light of that the ticket is this old, I'll leave it at that instead of discussing further improvements beyond this single phrase.
These would have to go in a new ticket.

ebo moved this task from Restricted Project Column to Restricted Project Column on the Restricted Project board.Thu, Dec 18, 10:18 AM
ebo added a subscriber: timegrid.

@timegrid I would not tag this ticket with LDAP, as it is not LDAP specific