mirror of
https://github.com/keepassxreboot/keepassxc.git
synced 2026-12-01 22:32:55 -08:00
SSH Agent: Track which database owns a key for remove-on-lock
Fixes #4532
This commit is contained in:
1 parent
9e17d52e8e
commit
a1b4a3f8b7
6 files changed
+60
-37
No files matched your search
@@ -699,7 +699,7 @@ void EditEntryWidget::addKeyToAgent()
|
||||
KeeAgentSettings settings;
|
||||
toKeeAgentSettings(settings);
|
||||
|
||||
if (!sshAgent()->addIdentity(key, settings)) {
|
||||
if (!sshAgent()->addIdentity(key, settings, m_db->uuid())) {
|
||||
showMessage(sshAgent()->errorString(), MessageWidget::Error);
|
||||
return;
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user