-
-
Notifications
You must be signed in to change notification settings - Fork 1.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Improve error when inputting incorrect password #813
Comments
I agree with this, but not the wording |
updated the example of new wording. obviously feel free to propose your own :) |
@mfc @droidmonkey what about |
Invalid credentials provided... |
yeah i think not mentioning the database potentially being corrupted would be a good idea. there are a lot of other potential things that may be wrong, but they are all highly unlikely compared to invalid credentials being provided. |
The message might add "database is corrupt" at the end after 3 failed tries. |
I would add it add first try, just not as the first thing. |
Telling an end user that their database might be corrupt when they enter the wrong password is terrifying for them. Can we not distinguish between a corrupt database and an incorrect password? |
No, we can't. |
Could we? :) |
@macau23 No, If you try to decrypt a database with a wrong password, the decryption will work just fine but the output will be just garbage, the same thing happen if you use a correct password on a corrupt database, garbage output |
So there can't be a checksum on the encrypted database? |
I think the simplest solution is just improve the language of the error text. I think @droidmonkey's suggestion works best: If the database is indeed corrupt, the user is not going to know what to do with that information anyway, and will need to go online to search for information about it. If you want to add database checksum functionality I see that as an enhancement, and if it is seen as worthwhile it can be implemented at some point. But that should probably be a separate ticket. For a simple solution to this big UX problem I think changing to error text to |
Since it is hard or impossible to distinguish between a corrupted password file or a password file which you provide incorrect credentials to, I would suggest the following:
Since we hash the encrypted file, this should not be a security concern. And since you already keep a list of recently used files, I see no privacy issues either. |
Seems just an overcomplicated solution for a very simple UX problem. My 2 cent:
|
I was thinking the same. Keep it simple. |
hi folks, given there is agreement on the language change and it is one string (maybe the most important string), could this be bumped up in priority? or could you point me to the part of the code where this exists and I will create pull request? would be nice to have it done within 2 years of it being reported, thanks. |
I got it covered, this issue got lost in the forest. Thanks for pinging |
great, thanks @droidmonkey |
We should also show a warning if capslock is enabled. |
* Reduced wording and confusion * Streamlined delivery format * Fix #813
This is a hold-over from KeePassX and now that we have responsive developers it would be great to improve it.
Expected Behavior
When you input the wrong password, it should tell you you inputted the incorrect password.
Current Behavior
When you input the wrong password, you get:
Unable to open the database. Wrong key or database file is corrupt.
Noticeably absent from that is the possibility you inputted the wrong password. I have found many new KeePassX users confused by this error message and think that their database is corrupt because it is not immediately evident that they may have inputted the wrong password.Possible Solution
Change the error text, for instance to:
Unable to open the database. Invalid credentials provided.
Debug Info
KeePassXC - 2.2.0
Revision: caa49a8
The text was updated successfully, but these errors were encountered: