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

Clearing secrets from memory #45

Open
iancoleman opened this issue Mar 8, 2022 · 0 comments
Open

Clearing secrets from memory #45

iancoleman opened this issue Mar 8, 2022 · 0 comments
Labels
enhancement New feature or request

Comments

@iancoleman
Copy link
Contributor

Following on from #42 (comment)

I don't think this is enough to securely erase the secret from memory. I think what this is doing is that it's changing a pointer to point to the new Fr::zero(), and then lets rust reclaim the old Fr secret eventually.

lets log an issue and we can investigate a Zeroize impl in upstream blstrs

Let's be sure to revisit this.

@iancoleman iancoleman added the enhancement New feature or request label Mar 8, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant