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
3.10.2 changes for master #1219
Conversation
The CI faliure shows that some generated main.ml now initialize the random device multiple times (there are multiple random devices) -- this is not good. This needs to be investigated and fixed before merge! |
For information, the random devices involved are:
|
Thanks for looking into this @TheLortex. My intuition is that we should use There's still a question about flexibility and what the default should be, in case a user wants a custom "default time" / "default clock" / "default random", how would they pass it through -- I'm not sure where (and when) to discuss this. OTOH from a security perspective, since entropy is (with mirage-crypto-rng) only fed to a single RNG, we should ensure that Mirage only ever generates a single "real RNG". |
IMHO good to be merged. |
CI-wise, this is looking good. The mirage-skeleton PR mirage/mirage-skeleton#299 fixes the remaining errors. |
@TheLortex great. Feel free to merge then. For mirage-skeleton, I used to rebase & force-push the |
Thanks both! |
This embeds the changes of 3.10.2 for master, namely #1218 and #1209. Superseeds #1216.