OtpKeyProv plugin: in open DB dialog, Key File doesn't allow OTP sometimes
A lightweight and easy-to-use password manager
Brought to you by:
dreichl
After several times I successfully open and close a database protected with OtpKeyProv, Key File field in Open Database dialog doesn't show an option for OTP, only "(None)". And there's no obvious option to re-enable it in that dialog.
Full restart of KeePass solves the problem.
Keepass version 2.25, Windows 7 x64. OtpKeyProv 2.2.0.0.
Should be filed under Bug Reports instead. My fault.
Update": looks like the real workaround is to just wait for half-/full minute, and OTP appears.
But how can we avoid waiting altogether?
This could have happened if you have an extremely slow (network) drive. By default the option to search for key files on all (non-removable) drives is enabled, and a slow drive could have delayed the display of key provider plugins.
I've now added multi-threading to this code. All drives are scanned in parallel and the key files are added to the combobox asynchronously. With this, key provider plugins appear immediately, even if a slow drive is present.
Here's the latest development snapshot for testing:
http://keepass.info/filepool/KeePass_140330.zip
Thanks and best regards,
Dominik
Dominik, thanks! Indeed, now OTP plugin appear immediately.