Bug 177348

Summary: Cancel in the "password change" dialog is returning "Successfully changed password"
Product: [Applications] kleopatra Reporter: Christof Kälin <ckpinguin>
Component: generalAssignee: Marc Mutz <mutz>
Status: RESOLVED WORKSFORME    
Severity: normal CC: kdepim-bugs
Priority: NOR    
Version: 2.0.0   
Target Milestone: ---   
Platform: unspecified   
OS: Linux   
Latest Commit: Version Fixed In:

Description Christof Kälin 2008-12-09 23:34:20 UTC
Version:           2.0.0 (using 4.1.3 (KDE 4.1.3), 4.1.3-3.fc10 Fedora)
Compiler:          gcc
OS:                Linux (i686) release 2.6.27.5-117.fc10.i686

I saw it in German, but I suppose it's in all languages. If you choose "change password" for your key for example and then press Cancel, you get a "Successfully changed password" back, which is just not true and confuses the user.
It should be nothing at all (just abort) or "Process cancelled" or so.
Comment 1 Marc Mutz 2008-12-11 15:37:59 UTC
We are aware of this. It's a backend problem:
$ gpg --batch --edit <key> passwd save && echo yes || echo no
[cancel the pinentry]
yes

On Linux, we could leave the "save" off, but that doesn't work on Windows (due to a bug in gpg, I guess). The correct solution would be to use the edit interactor mechanism of gpgme, or fix gpg. We're currently hoping for a backend fix.