Do not continue with subkey when changing password fails for primary
Open, NormalPublic

Assigned To
None
Authored By
ebo
Tue, Sep 15, 9:29 AM
Subscribers

Description

How to reproduce: Start to change a keys password via gpg --edit-keyand then passwd, and then enter only wrong passwords.
Expected: Failure of action after 3 tries.
Actual behavior: After the 3 tries pinentry then asks 3 times for the password of the (first) subkey.

If one should need to change a password of a subkey, I'd expect that I could select that key (with key 1) and then change only the password of that subkey.
But actually this does exactly the same as if one had not selected a key, i.e. it does the same as above.

The behavior also shows in Kleopatra, where it confuses inexperienced users and could cause a user to unintentionally change only the password for a subkey instead of the whole key.

Details

Version
Gpg4win-5.0.1 + VSD 3.3.7

Event Timeline

ebo created this object with edit policy "Contributor (Project)".
werner triaged this task as Normal priority.Thu, Sep 17, 3:48 PM