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

avoid baking the RNG seed into the Wizer output #216

Merged
merged 1 commit into from
Dec 14, 2023

Conversation

dicej
Copy link

@dicej dicej commented Dec 14, 2023

This simply switches from using rand::thread_rng to rand::rngs::OsRng, directing all RNG requests straight to the host. More efficient options are possible, but I'm keeping things simple for now.

Fixes #215

@dicej dicej requested review from lann and karthik2804 December 14, 2023 19:13
This simply switches from using `rand::thread_rng` to `rand::rngs::OsRng`,
directing all RNG requests straight to the host.  More efficient options are
possible, but I'm keeping things simple for now.

Fixes spinframework#215

Signed-off-by: Joel Dice <[email protected]>
@dicej dicej merged commit c440112 into spinframework:main Dec 14, 2023
2 checks passed
@dicej dicej deleted the osrng branch December 14, 2023 19:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
2 participants