-
-
Notifications
You must be signed in to change notification settings - Fork 1.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
SSH agent keys get removed even when other databases are closed #4532
Comments
We don't currently track the database a key was added from which causes this issue. It either needs to be "hacked" in as an extra argument to Whatever the final solution is the corner case of not having a database when adding a key (however unlikely) needs to be accounted for. |
Recommend tying it to the Database UUID. |
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
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:
Cryptographic libraries:
libgcrypt 1.8.5
The text was updated successfully, but these errors were encountered: