-
Notifications
You must be signed in to change notification settings - Fork 53
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
windows support for entropy devices #135
Comments
My (rather vague) idea was that this is the Can you even compile the library on Windows without significant problems? How about the current master, which uses the system-wide endian-related headers? How important is this use-case? In general, Windows are nowhere on my radar. But if this really matters, I can whip up an entropy module that seeds with Crypto API or its NG. |
@pqwy in OCaml, the |
Nocrypto_entropy_unix is failing at startup on windows. See mirleft/ocaml-nocrypto#135
The endian issue is fixed in #161. My fork with that endian fix builds fine on Windows but I hit this issue. If there are any pointers on how i would add a Windows entorpy implementation I would be super happy. This seems to be the last blocker for getting tls to build and work on Windows. |
Is there any plan to support entropy devices for windows? The current code for initialising entropy does this:
which obviously fails at runtime on windows. That would be great to fail at compile time instead (or to add the relevant constraints in the opam file).
I guess my best option for now on is are to somehow use
mirage-entropy
.The text was updated successfully, but these errors were encountered: