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

Added unlock_all method #73

Merged
merged 1 commit into from
Jun 6, 2024
Merged

Added unlock_all method #73

merged 1 commit into from
Jun 6, 2024

Conversation

nikarh
Copy link
Contributor

@nikarh nikarh commented Apr 28, 2024

Hi,

This PR adds a new method to async SecretService and its blocking counterpart.

Motivation - some secret service implementations such as KeePassXc have a security setting that enables interactive unlocking by showing a notification that must be manually confirmed on unlock. With it set, when this crate is used to search for 10 secrets and unlock them in a loop via item.unlock() this leads to 10 interactive notifications. This PR makes it possible to unlock several secrets with a single interactive notification.

@complexspaces complexspaces merged commit 762ff80 into hwchen:master Jun 6, 2024
4 checks passed
@complexspaces
Copy link
Collaborator

Thank you for the PR! I rebased your branch on the latest master so CI could run again.

I'm hoping to have this out in a release shortly.

@complexspaces
Copy link
Collaborator

This is now published as v3.1.0 on crates.io.

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

Successfully merging this pull request may close these issues.

None yet

2 participants