Page MenuHome GnuPG

Kleopatra: add disable/enable certificate in context menu
Testing, NormalPublic

Description

It was decided to add an action to disable/enable a certificate in the context menu of the certificate list. It should go after "Change Certification Power" as it is similar.

The following command should be used: https://dev.gnupg.org/rG21f7ad563d9bcb6d295e8f313f29b14238e7481f

I'm not sure about the name of that action. Maybe simply "Disable/Enable"?

Event Timeline

ebo triaged this task as Normal priority.Jul 31 2024, 3:48 PM
ebo created this task.
TobiasFella moved this task from Restricted Project Column to Restricted Project Column on the Restricted Project board.Aug 12 2024, 12:00 PM
TobiasFella set External Link to https://invent.kde.org/pim/kleopatra/-/merge_requests/267.
TobiasFella changed the task status from Open to Testing.Aug 12 2024, 1:51 PM

Backported for VSD 3.3

ebo moved this task from Restricted Project Column to Restricted Project Column on the Restricted Project board.Oct 1 2024, 3:55 PM

gpg4win-Beta-70: works.
I disabled a certificate, it was not shown anymore in the "all" view. Change to the "Disabled" filter and enabled it again -> it shows again with the "All" filter.
Disabling a private certificate does not allow it for signing and not for encrypting to it. It is also not offered for these any more.
But verifying files which were signed by it works.

The only thing which is not as I would expect it: the certificate with secret key is not listed with a bold font, which would be the usual presentation, if the secret key exists locally or on a known card.
Is this something which can not be handled otherwise? Because the certificate is deactivated we can not know if the secret key exists locally?
Because if not, I would like to see this information.

You mean that a disabled certificate with secret key isn't listed with bold font? That's probably because we have an appearance filter for disabled certificates which takes precedence.

ebo moved this task from Restricted Project Column to Restricted Project Column on the Restricted Project board.Fri, Nov 8, 8:49 AM

Yeah. so lets ditch that appearance filter. But that's for ticket T7217. So I'm setting this ticket to done for 4win.

Removing the appearance filter won't fix own disabled certificates not being bold; the problem here is that the "My certificates" filter doesn't trigger at all anymore for disabled certificates

ebo moved this task from Restricted Project Column to Restricted Project Column on the Restricted Project board.Fri, Nov 8, 1:16 PM

Backported for VSD 3.3