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

Secure storage #28

Open
olanod opened this issue Jul 15, 2022 · 2 comments
Open

Secure storage #28

olanod opened this issue Jul 15, 2022 · 2 comments

Comments

@olanod
Copy link

olanod commented Jul 15, 2022

Would a "secure storage" abstraction fit in this repo? My initial use case is something rather high level to store and retrieve secrets by a generic key but happy to hear more ideas of what this kind of API should look like.

@MathiasKoch
Copy link
Collaborator

I think some more context on your usecase would be needed in order to answer this? What is it about "secure" storage that cannot be solved using the current set of traits? I for one am storing secrets just fine using a simple abstraction on top of the current traits?

@olanod
Copy link
Author

olanod commented Jul 19, 2022

My use case is that, storing/retrieving some secrets by a key(AsRef<[u8]>). I get you can probably implement anything with the current traits but not only a key/value store abstraction wouldn't hurt since it's a common pattern but also making sure the store is secure/encrypted would be event better. It could simply be a marker trait similar to how rand_core::CryptoRng doesn't do anything other than signaling that a given generator is cryptographically secure.

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

No branches or pull requests

2 participants