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

Impl exposure_count for ExposeSecret trait? #1145

Open
jymchng opened this issue Jun 14, 2023 · 0 comments
Open

Impl exposure_count for ExposeSecret trait? #1145

jymchng opened this issue Jun 14, 2023 · 0 comments

Comments

@jymchng
Copy link

jymchng commented Jun 14, 2023

Would this idea work: of having a Guard that wraps the inner secret and keeping track of an exposure_count that returns a Result::Ok if the exposure_count is below a certain max_value when expose_secret() is called?

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

1 participant