keepassrpc icon indicating copy to clipboard operation
keepassrpc copied to clipboard

KeePassRPC causes Master Key dialog to open immediately after inactivity lock

Open dixonte opened this issue 5 years ago • 0 comments

Summary

I have my KeePass configured with the option 'Lock workspace after global user inactivity (seconds)' enabled. For a while now, I've been plagued by an issue where KeePass will pop up immediately after auto locking requesting that I unlock it with the master key. I've recently discovered this is because of KeePassRPC. This is quite annoying when I am watching YouTube, for example.

Another plugin I use, KeeAgent, has an option 'Unlock all databases when a client sends a request'. It would be useful if KeePassRPC had a similar option, or could otherwise cleverly decide if it actually needs to open the database or not.

Reproduction

  1. Enable 'Lock workspace after global user inactivity' and set the timeout to something low e.g. 10 seconds
  2. Make sure that KeePassRPC is installed and configured normally.
  3. Minimise KeePass to the tray and leave the PC idle for the configured period. The main KeePass window should pop up, with the master key dialog over the top.
  4. Exit KeePass.
  5. Go to the KeePass plugins directory and rename KeePassRPC.plgx to KeePassRPC.plgx.bak.
  6. Start KeePass and repeat the test. KeePass should this time lock itself silently when the timeout expires.

dixonte avatar Apr 14 '20 07:04 dixonte