Page MenuHome GnuPG

Kleopatra: Allow "Change password" for private key with offline primary
Closed, ResolvedPublic

Description

Currently, we do not allow password change in Kleopatra for keys where the primary key is offline.

For users who keep their primary offline it would be a usefull feature. Especially in the case where you use a key as a shared group key. Otherwise the whole group would have to use the password given by the key-creator, as typically the (VSD) users would not be comfortable with the command line.

Event Timeline

I disabled this for offline keys because I erroneously assumed that one would need the primary key for changing the password. We can simply replace the check for the primary secret key with a check for any secret subkey that's stored on disk.

ikloecker moved this task from Restricted Project Column to Restricted Project Column on the Restricted Project board.
ikloecker changed the task status from Open to Testing.Apr 26 2024, 3:50 PM
ikloecker triaged this task as Normal priority.
ebo moved this task from Restricted Project Column to Restricted Project Column on the Restricted Project board.Oct 1 2024, 3:55 PM
ebo moved this task from Restricted Project Column to Restricted Project Column on the Restricted Project board.

Works. Tested with VS-Desktop-3.2.94.474-Beta and Gpg4win 4.4 by moving only the signature key to a smartcard and then changing the password of the certificate via the context menu.

ebo edited projects, added vsd33 (vsd-3.3.0); removed vsd33.