Work at SourceForge, help us to make it a better place! We have an immediate need for a Support Technician in our San Francisco or Denver office.

Close

#1829 OtpKeyProv plugin: in open DB dialog, Key File doesn't allow OTP sometimes

KeePass_2.x
closed
nobody
None
5
2014-04-01
2014-02-19
Yurkennis
No

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.

Discussion

  • Yurkennis
    Yurkennis
    2014-02-19

    Should be filed under Bug Reports instead. My fault.

     
  • Yurkennis
    Yurkennis
    2014-03-27

    Update": looks like the real workaround is to just wait for half-/full minute, and OTP appears.
    But how can we avoid waiting altogether?

     
  • Dominik Reichl
    Dominik Reichl
    2014-03-30

    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 Reichl
    Dominik Reichl
    2014-03-30

    • status: open --> closed
    • Group: KeePass --> KeePass_2.x
     
  • Yurkennis
    Yurkennis
    2014-04-01

    Dominik, thanks! Indeed, now OTP plugin appear immediately.