Bug 297820 - Users should be prompted for a new password when entering a new one
Summary: Users should be prompted for a new password when entering a new one
Status: RESOLVED FIXED
Alias: None
Product: ark
Classification: Applications
Component: general (show other bugs)
Version: unspecified
Platform: unspecified All
: NOR normal
Target Milestone: ---
Assignee: Raphael Kubo da Costa
URL:
Keywords: junior-jobs
Depends on:
Blocks:
 
Reported: 2012-04-10 04:45 UTC by Raphael Kubo da Costa
Modified: 2015-05-30 17:19 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In: 15.07.80


Attachments
Romain's patch (2.21 KB, application/octet-stream)
2012-04-10 04:45 UTC, Raphael Kubo da Costa
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Raphael Kubo da Costa 2012-04-10 04:45:02 UTC
Created attachment 70280 [details]
Romain's patch

Romain Jarosz emailed me a few months ago with a patch to make Ark query users for the archive password when it is entered incorrectly.

The current behavior is quite annoying: if a wrong password is entered, it can never be reset throughout Ark's lifetime. Plus, the dialog showing that a wrong password has been entered has different messages (and icons) depending on whether the incorrect password has been entered when listing a header-compressed archive or during extraction.

Romain's patch does solve the problem with the password never being asked again, but the other deficiencies pointed out above should be fixed as well. Bonus points if this is unit tested :-)
Comment 1 Ragnar Thomsen 2015-05-30 17:19:47 UTC
Git commit 8492cc21b5a45eb047109b754906a551de061065 by Ragnar Thomsen.
Committed on 30/05/2015 at 17:03.
Pushed by rthomsen into branch 'frameworks'.

Fix password never being asked again after a wrong one has been entered

Previously, if the user entered a wrong password for a password-
protected archive, Ark would remember that a wrong password had been
entered and had to be closed down to allow entering the password again.

This commit fixes this issue by presenting the "Enter password" dialog
again when the user attempts some action that requires access to the
password-protected files.
FIXED-IN: 15.07.80
REVIEW: 123358

M  +10   -2    kerfuffle/cliinterface.cpp
M  +1    -1    part/part.cpp

http://commits.kde.org/ark/8492cc21b5a45eb047109b754906a551de061065