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

Allow binary data to be used for passwords #174

Closed
brotskydotcom opened this issue Jun 20, 2024 · 0 comments
Closed

Allow binary data to be used for passwords #174

brotskydotcom opened this issue Jun 20, 2024 · 0 comments

Comments

@brotskydotcom
Copy link
Collaborator

Since all of the underlying platform stores support storing Vec data in credentials, it seems wasteful to force clients to encode such data as UTF-8 strings. Please add generic APIs for get_password_blob and set_password_blob that allow storing and retrieving Vec<u8> data in the most efficient way for each store.

brotskydotcom added a commit to brotskydotcom/keyring-rs that referenced this issue Jul 7, 2024
1. Add set_secret and get_secret entries to credentials and keystores and tests.
2. Rename delete_password to delete_credential everywhere.

This fixes hwchen#174.
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

1 participant