-
-
Notifications
You must be signed in to change notification settings - Fork 1.7k
File not found warning immediately replaced when key file not found #741
Copy link
Copy link
Closed
Milestone
Description
When a key file is not found at the path specified, a less than helpful dialogue is shown:
Unable to open the database.
Wrong key or database file is corrupt.
Expected Behavior
A dialogue showing that the key file was not found.
Can't open key file:
No such file or directory
Current Behavior
Currently the dialogue that should be shown is flashed for about a quarter of a second and then replaced with:
Unable to open the database.
Wrong key or database file is corrupt.
It is very easy to miss the actual cause of the failure because of this.
Possible Solution
The first error (file not found) should trump the second. This suggests to me that an ENOENT error condition is being ignored and keepassxc is forging ahead and failing again.
Steps to Reproduce (for bugs)
- Create a database with a password and key file.
- Attempt to open the database with a bad path to the key file.
Context
Was looking into replacing keepassx for the reasons that this fork exists.
Debug Info
KeePassXC - 2.2.0 / 7580c38
Revision: caa49a8 / 7580c38
Libraries:
- Qt 5.5.1
- libgcrypt 1.6.5
Operating system: Ubuntu 16.04.2 LTS
CPU architecture: x86_64
Kernel: linux 4.4.0-81-generic
Enabled extensions:
- Auto-Type
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels