Bug 383958

Summary: Changing password returns that it was unable to change it, but changes anyway
Product: [Applications] kgpg Reporter: Stanislav <samik4184>
Component: generalAssignee: Rolf Eike Beer <kde>
Status: RESOLVED FIXED    
Severity: minor    
Priority: NOR    
Version First Reported In: 17.04   
Target Milestone: ---   
Platform: openSUSE   
OS: Linux   
Latest Commit: Version Fixed In: 17.08.3
Sentry Crash Report:

Description Stanislav 2017-08-24 14:57:46 UTC
Hi,
When changing password in KGpg the dialog let's you change it, but after displays popup with error saying that it was unable to change it although it in fact changes the password. Probably just a wrong return value.
Comment 1 Rolf Eike Beer 2017-10-18 17:08:35 UTC
Git commit 9b88ec6a7b9048476abb98076c96f63cc3d6e38f by Rolf Eike Beer.
Committed on 18/10/2017 at 17:04.
Pushed by dakon into branch 'Applications/17.08'.

do not flag sequence errors when using pinentry for changing passwords
FIXED-IN:17.08.3

M  +22   -7    transactions/kgpgchangepass.cpp
M  +2    -1    transactions/kgpgchangepass.h

https://commits.kde.org/kgpg/9b88ec6a7b9048476abb98076c96f63cc3d6e38f
Comment 2 Rolf Eike Beer 2017-10-18 17:08:35 UTC
Git commit b0cbbdd314a0a1eed3cc5b6c6ff9ad433cfdc2d0 by Rolf Eike Beer.
Committed on 18/10/2017 at 17:04.
Pushed by dakon into branch 'Applications/17.08'.

do not show message when password changing ends successfully

The transaction may as well end successfully when the user aborted the pinentry
dialogs multiple times, which is indistinguishable from a "real" success. So do
not show a probably wrong message.

M  +2    -1    keyinfodialog.cpp

https://commits.kde.org/kgpg/b0cbbdd314a0a1eed3cc5b6c6ff9ad433cfdc2d0