Page MenuHome GnuPG

Draft: Kleopatra: give better feedback for key refresh
Open, NormalPublic

Description

Left over task from T6739:

The current notification regarding the update of a key is suboptimal for updates of multiple keys.

This is how it looks currently:

I think we should restructure the feedback.
Maybe make it similar the message we use for key imports, only listing "number of certificates updated", "number of certificates unchanged" and additionally "number of certificates not found".
We could possibly also include information on how many were updated from WKD resp. a keyserver.

Details

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

Event Timeline

aheinecke added a subscriber: aheinecke.

Ok, well in the days were did not have that much development power on Kleopatra and GpgME refresh keys just took the lazy part and offered the gpg output in a window. I still think that can be useful (e.g. diagnostics) to have as an additional details button. Especially in case of errors. What very often happens here is that the online access gets blocked somehow maybe even only to some servers. I am not sure if the numbers are really a helpful information. Please keep in mind: What do we want to inform the user about? If the user just sees some numbers is this really helpful? I think the user might want to either see which certificates were updated and which werent or if there were any problems updating. Personally I would find the information "what" changed the most important but that seems to me like too much icing on the cake. Like

  • Changed expiry: foo@bar.baz <0xbadbeef> boo@bar.baz <0xa....>
  • New signatures:

....

  • Changed subkeys:

....

With the imports I also find the imported certificates tab more useful then the number. Since I think that adding full blown keylist views would be a bit of an overkill I personally would probably just use an expandable widget in the notification and work with lists of updated users ids / summary lines.

But since this also would be some custom code maybe it would be better to show a full list view of the updated certificates?

With the imports I also find the imported certificates tab more useful then the number. Since I think that adding full blown keylist views would be a bit of an overkill I personally would probably just use an expandable widget in the notification and work with lists of updated users ids / summary lines.

But since this also would be some custom code maybe it would be better to show a full list view of the updated certificates?

We pretty much already have the infrastructure for that for the Imported Certificates tab. Since this is conceptually a very similar operation, i think it makes sense to do the same here.
We could then also show the number of processed/imported certificates in the dialog for more alignment with the behavior of the import command