dlech / KeeAgent

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

Ignore keepass databases without SSH keys #312

Open molnarti opened 3 years ago

molnarti commented 3 years ago

I am using multiple databases in Keepass and most of them are normally locked as are used rarely and do contain any ssh keys. However when windows OpenSSH client is requesting a key from KeeAgent, it attempts to unlock all my databases, even if they contain no SSH keys, which is very annoying.

It would be great if KeeAgent would look only in databases that contain the relevant keys and not in all databases.

dlech commented 2 years ago

How can KeeAgent know if a database contains keys or not if the database is locked (encrypted and unreadable)?

molnarti commented 2 years ago

maybe not trying to open a further rdatabase after a match has been already found in an open database? providing a database whitelist in the plugin settings? i am sure there are other options as well.