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

Expose RAND_keep_random_devices_open() #1019

Closed
lukaslueg opened this issue Nov 22, 2018 · 1 comment
Closed

Expose RAND_keep_random_devices_open() #1019

lukaslueg opened this issue Nov 22, 2018 · 1 comment

Comments

@lukaslueg
Copy link

lukaslueg commented Nov 22, 2018

There is an issue open in cargo where open file descriptors to /dev/{u,}random leak to tests being executed by cargo. This is probably due to this commit in OpenSSL, which deliberately leaves the rand-source open in case we chroot somewhere where such sources are not available. A knob RAND_keep_random_devices_open() was introduced in the same commit, which would allow cargo to tell OpenSSL to close those file descriptors. AFAICS rust-openssl does not export this knob, which would probably solve rust-lang/cargo#6333

@lukaslueg
Copy link
Author

Thanks

matkarlg pushed a commit to matkarlg/rust-openssl that referenced this issue Aug 17, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant