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

Safe handling of primes/candidates #15

Open
fjarri opened this issue Jan 31, 2023 · 1 comment
Open

Safe handling of primes/candidates #15

fjarri opened this issue Jan 31, 2023 · 1 comment
Labels
enhancement New feature or request

Comments

@fjarri
Copy link
Member

fjarri commented Jan 31, 2023

In many applications of this library, like RSA or Paillier encryption, the primes being checked or generated are supposed to be secret. Can we enforce the zeroization of them throughout the library? This will have to be extended into crypto-bigint as well.

@fjarri fjarri added the enhancement New feature or request label Jan 31, 2023
@ok-john
Copy link
Contributor

ok-john commented Apr 5, 2023

Do you think it's better to zeroize on drop with macros or manually zeroize?

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

2 participants