Skip to content
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: option in application settings to remove all keys on closing keepassxc #10811

Open
tzeumer opened this issue May 26, 2024 · 2 comments

Comments

@tzeumer
Copy link

tzeumer commented May 26, 2024

Summary

Currently, one has three options to remove a SSH key. Either manually selecting "Remove from agent" (for each key) or by a timeout or by using the option "Remove key from agent when database is closed/locked".

It'd be great if that last option could be made into two distinct options:

  1. "Remove key from agent when database is locked"
  2. "Remove key from agent when database is closed"

Context

For me, it's a good balance between security and convenience to keep the keys loaded while KeePassXC is running—locked or unlocked. But it feels counterintuitive that this is still the case when I close the program. Or that I would have to remember to remove them (all) manually before closing the app.

@droidmonkey
Copy link
Member

droidmonkey commented May 26, 2024

From our perspective, there is no difference between closed and locked. We should just remove the "closed" wording in there.

It would make sense at the application level, however, to have an option in the overall ssh agent to remove all keys on closing keepassxc itself.

@droidmonkey droidmonkey closed this as not planned Won't fix, can't repro, duplicate, stale May 26, 2024
@droidmonkey droidmonkey reopened this May 26, 2024
@droidmonkey droidmonkey changed the title SSH agent: distinct options for "Remove key from agent when database is closed/locked" SSH agent: option in application settings to remove all keys on closing keepassxc May 26, 2024
@tzeumer
Copy link
Author

tzeumer commented May 26, 2024

It would make sense at the application level, however, to have an option in the overall ssh agent to remove all keys on closing keepassxc itself.

Sorry, I described the issue badly. But that's exactly what I meant. Thank you for considering it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants