You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Last used key files and security keys (yubikey etc) are not always remembered and considered, even if this setting is active.
In fact, it is only remembered and used when "Load previously open databases on startup" is checked.
Steps to Reproduce
I aactivate the checkbox "Load previously open databases on startup" in settings.
I activate the checkbox "Remember database key files and security dongles".
I manually open and unlock databases, one of them requires a hardware security key.
I close KeePassXC.
Open KeePassXC (hardware security key is plugged in).
All databases are opened again, when I enter my password the security key is preselected.
I DEactivate the checkbox "Load previously open databases on startup" in settings.
I close opened databases.
I restart KeePassXC.
I manually open and unlock a database that references other databases in the "AutoOpen" folder.
Actual Behavior
The referenced database is auto-opened, the password field prefilled but the "Hardware Key"-field is populated, but not pre-selected (see yellow circled section in animated screenshot). My hardware security key is plugged in. The Database is not auto-opened, instead KeepassCX gives an error notification about wrong HMAC.
Expected Behavior
The separated checkboxes indicate that the second setting will be considered indepently of the first.
Hence, when manually opening a database that KeePassXC remembers a hardware security dongle for, the security key should be preselected, if the hardware security key is plugged in.
Note
If fixing this would not be intended behaviour for one or the other reason, the checkboxes in settings would have to be linked to each other and labelled more clearly. I'd prefer the expected behaviour, though.
knobhead
changed the title
Setting RememberLastKeyFiles=true only taken into account for OpenPreviousDatabasesOnStartup, not AutoOpened databases
Setting RememberLastKeyFiles=true only taken into account for OpenPreviousDatabasesOnStartup, not AutoOpened databases
Oct 11, 2023
Overview
Last used key files and security keys (yubikey etc) are not always remembered and considered, even if this setting is active.
In fact, it is only remembered and used when "Load previously open databases on startup" is checked.
Steps to Reproduce
Actual Behavior
The referenced database is auto-opened, the password field prefilled but the "Hardware Key"-field is populated, but not pre-selected (see yellow circled section in animated screenshot). My hardware security key is plugged in. The Database is not auto-opened, instead KeepassCX gives an error notification about wrong HMAC.
Expected Behavior
The separated checkboxes indicate that the second setting will be considered indepently of the first.
Hence, when manually opening a database that KeePassXC remembers a hardware security dongle for, the security key should be preselected, if the hardware security key is plugged in.
Note
If fixing this would not be intended behaviour for one or the other reason, the checkboxes in settings would have to be linked to each other and labelled more clearly. I'd prefer the expected behaviour, though.
Context
KeePassXC - Version 2.7.6
Revision: dd21def
Qt 5.15.10
Debugging mode is disabled.
Operating system: Windows 10 Version 2009
CPU architecture: x86_64
Kernel: winnt 10.0.19045
Enabled extensions:
Cryptographic libraries:
Please note this is NOT a duplicate of #8745.
🙏 Thanks for your work for KeePassXC, really appreciated! 👍
The text was updated successfully, but these errors were encountered: