dlech / KeeAgent

ssh agent plugin for KeePass 2.x
http://lechnology.com/software/keeagent
Other
534 stars 35 forks source link

Fix UnlockOnActivity for concurrent requests #338

Closed ExtraClock closed 2 years ago

ExtraClock commented 2 years ago

Hello!

Here is a fix for scenario when database is locked and multiple requests are being sent to the agent. For example, if you have a git repo with multiple ssh remotes, and you do a "fetch all remotes" in your IDE.

It is easily reproduced with multiple ssh-add -l commands thrown at the agent.

Behavior before fix:

Behavior after fix:

dlech commented 2 years ago

Thanks!