-
-
Notifications
You must be signed in to change notification settings - Fork 1.7k
SSH agent keys get removed even when other databases are closed #4532
Copy link
Copy link
Closed
Labels
Description
Expected Behavior
SSH agent keys from databases B, C, D... should not be removed from the key agent when database A is closed. Only keys from database A should be removed.
Current Behavior
When closing database A, SSH agent keys from database B (or any other database) registered with the key agent are removed.
Possible Solution
Check from which database an agent key derives from, and remove only those that come from the database that is being closed.
Steps to Reproduce
- Create and open databases A and B
- Create an entry in database B with a "SSH Agent" key and click "Add to agent"
- Check the key list in the SSH agent (e.g. Pageant on Windows)
- Close database A
- Check the key list in the SSH agent
Context
Every time any database is closed, all keys from the other databases need to be manually re-added to the key agent.
Debug Info
KeePassXC - Version 2.5.3
Revision: f8c962b
Qt 5.13.2
Debugging mode is disabled.
Operating system: Windows 10 (10.0)
CPU architecture: x86_64
Kernel: winnt 10.0.18363
Enabled extensions:
- Auto-Type
- Browser Integration
- SSH Agent
- KeeShare (signed and unsigned sharing)
- YubiKey
Cryptographic libraries:
libgcrypt 1.8.5
Reactions are currently unavailable