Upgraded to 2.6.0-beta1, and when the database gets locked for some extended period of time, the touchID session is forgotten
Upon the threshold expiring, hitting enter on the password field without any data, should have popped up the prompt to allow TouchID to open the DB - this doesn't happen.
Keepassxc bypasses the TouchID mechanism for unlocking the db, instead tries to open the db with an empty password.
KeePassXC - Version 2.6.0-beta1
Build Type: PreRelease
Revision: e5b0219
Qt 5.14.1
Debugging mode is disabled.
Operating system: macOS 10.15
CPU architecture: x86_64
Kernel: darwin 19.5.0
Enabled extensions:
Cryptographic libraries:
libgcrypt 1.8.5
Operating System: macOS
Desktop Env:
Windowing System:
Update - not sure - need to repeat - but, I dont know if I can set it up correctly:
After posting the above, I followed these steps:
1) Toggled on and then off the Preferences > Security > Timeout section, make sure that the "Forget TouchID after inactivity..."
2) kept keepassxc open, and closed the lid of my laptop
3) Opened just now (approx 2hrs later).
4) Hit enter in the blank password field - and it worked as expected ie the "TouchID" prompt dialog popped up!
So, though the issue is "fixed", it might mean that for a db that is being upgraded from an older version of KeepassXC, the default settings and/or how they are read/parsed is somehow incorrect - please check that logic.
I'm not seeing any obvious issues in the configuration code.
Found the problem:
Should be config()->get(Config::Security_ResetTouchId).toBool()
Truly appreciate the very fast turnaround on this!!!
Can we get a new pre-release candidate with this fix please?
we are going to roll right into a release.
@droidmonkey - when can we get a release with this fix please? Right now, I have to either keep the db open all the time, or forced to enter a really long master password each time I want to unlock it.
Release is tomorrow