mirror of
https://github.com/keepassxreboot/keepassxc.git
synced 2025-04-06 05:57:37 +03:00
SSH Agent: Track which database owns a key for remove-on-lock
Fixes #4532
This commit is contained in:
parent
9e17d52e8e
commit
a1b4a3f8b7
6 changed files with 60 additions and 37 deletions
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue