-
Notifications
You must be signed in to change notification settings - Fork 190
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
SecureZeroMemory with RtlGenRandom and Warnings #70
Comments
Nope, this crate specifically implements one function: pub fn getrandom(dest: &mut [u8]) -> Result<(), Error> and that's it. Things like Both securely managing secrets in memory and generating good random bytes are tricky problems, but they are different problems. Keeping them in separate crates seems to be the best bet.
I think discussion around this are best handled in #65 (so that everyone involved will see it). |
Yes, I'll close the issue and any further discussion can be done on #65 |
Not sure if this is the correct place to discuss this or whether this is a problem at all.
In Microsoft's documentation for RtlGenRandom, it states:
Is this done/called automatically in this crate?
Also, it has a warning:
And CryptGenRandom is deprecated. I already read the issue thread about why you don't want to use BCryptGenRandom rn because it doesn't support Windows XP, but I honestly think the change should be made soon. BCryptGenRandom works on minimum of Windows Vista.
The text was updated successfully, but these errors were encountered: