Page MenuHome GnuPG

Kleopatra: Highlight if no valid encryption subkey exists
Open, NormalPublic

Description

If a keypair does have at least one encryption subkey, but none of them is valid, it should be highlighted in the certificate list that something is not as it should.

Edited 2025-05-06:
This should be done by:

  • adding as icon a crossed out lock
  • in VSD versions use an orange background
  • in the details view, we show the info "no usable encryption subkey." in the "Status:" line after the current information (which is e.g. certified)

Event Timeline

ebo triaged this task as Normal priority.Nov 19 2024, 2:56 PM
ebo created this task.

This addresses the same problem as T5950. We should either merge the tickets or just close T5950 (which was more of a support ticket and the reporter has fixed their problem) with reference to this ticket.

T6109 is also closely related and I think it would be addressed by this ticket.

ebo renamed this task from Kleopatra: Highlight if no valid encryption subkey exists to Draft: Kleopatra: Highlight if no valid encryption subkey exists.Mar 7 2025, 11:28 AM

There was another customer wish for this, RT #34722

We decided to

  • use an icon of a crossed out lock to symbolize the missing encryption key. This is shown at the beginning of the line for the certificate.
  • orange color as background
  • in the details window add text after the current "status" line (after e.g. "certified", "expired",…) : "no valid encryption subkey". This info location could possibly be used for other similar cases.
ebo renamed this task from Draft: Kleopatra: Highlight if no valid encryption subkey exists to Kleopatra: Highlight if no valid encryption subkey exists.Tue, May 6, 11:50 AM
ebo updated the task description. (Show Details)

For the icon:

lock: https://invent.kde.org/frameworks/breeze-icons/-/blob/master/icons/actions/22/document-encrypted.svg
crossed-out lock (with zz): https://invent.kde.org/frameworks/breeze-icons/-/blob/master/icons/status/22/system-suspend-inhibited.svg

The crossed-out lock uses the style that is used for many Breeze icons to cross an icon out. So maybe we should just remove the "zz" from the lock.