-
Notifications
You must be signed in to change notification settings - Fork 81
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
support for HashSet in secrecy? #1299
Comments
That's an interesting idea. If support is added I think it would be good to use a wrapper so it would be opt in so as not to leak info without cause. Can you share a possible use case for this as right now I can't actually think of one other than loading a set of secretes and not wanting to duplicate them but then how would you know which to use? The wrapper could take a hash of the incoming secret and then store that hash for later use for calls to get a hash. |
Thanks for the reply. As for the use case... we use tokens in rustypaste to allow sending/deleting paste data to/from the server. Config struct: https://github.com/orhun/rustypaste/blob/master/src/config.rs#L56 |
It might be possible to add it to |
I asked Orhun to comment. He's got a better understanding of Rust... ;-) |
That's fair, we might give |
It's currently not possible to use
HasHset<SecretString>
. How can I use a HashSet?Is there any chance that support for HashSet is added?
The text was updated successfully, but these errors were encountered: