KeePassXC 2.7.7 does not prompt for password when --keyfile
flag is specified
#10552
Labels
Milestone
--keyfile
flag is specified
#10552
Overview
I have tried specifying the keyfile location using the following command:
My database has both keyfile and password set up.
In 2.7.6, the above command prompted KeePassXC for a password while keeping the keyfile location intact.
But in 2.7.7, KeePassXC simply assumes the database doesn't have any password set and directly attempts to unlock the database (which failed).
After the failed attempt, KeePassXC removes the history of keyfile location I specified in the command line.
Then I have to specify the password and repick the keyfile again to unlock the database.
Steps to Reproduce
--keyfile
flagExpected Behavior
KeePassXC should prompt the user for Database password after specifying
--keyfile
flag when running from the terminal.Actual Behavior
KeePassXC 2.7.7 directly attempts to unlock the database and assumes the database is only keyfile-encrypted. When the database is both password- and keyfile encrypted, KeePassXC 2.7.7 simply fails to unlock and removes any keyfile location previously specified in the
--keyfile
flag. (Thus, the user is forced to repick the keyfile again, manually using the file selector dialog.)Context
N/A
Debug info
KeePassXC - Version 2.7.7
Revision: 68e2dd8
Qt 5.15.13
Debugging mode is disabled.
Operating system: Arch Linux
CPU architecture: x86_64
Kernel: linux 6.8.2-arch2-1
Enabled extensions:
Cryptographic libraries:
Computer environment
Operating System: Linux
Desktop Env: N/A (using i3-gaps without DE)
Windowing System: X11
The text was updated successfully, but these errors were encountered: