Page MenuHome GnuPG

Kleopatra: Updating key does results in "not changed" instead of "not found"
Open, NormalPublic

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.