Age | Commit message (Collapse) | Author | |
---|---|---|---|
2022-03-30 | seedrng: remove environment variables | Jason A. Donenfeld | |
Now that we have the command line arguments, there's no need for the environment variables. This fixes #511. | |||
2022-03-30 | seedrng.c: multiple cleanups | William Hubbs | |
This fixes #508. | |||
2022-03-29 | seedrng: clean up fds and avoid -1 close on exit (#509) | Jason A. Donenfeld | |
This cleans up the exit path a little bit. Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com> | |||
2022-03-26 | Use seedrng for seeding the random number generator | Jason A. Donenfeld | |
The RNG can't actually be seeded from a shell script, due to the reliance on ioctls. For this reason, the seedrng project provides a basic script meant to be copy and pasted into projects like OpenRC and tweaked as needed: https://git.zx2c4.com/seedrng/about/ This commit imports it into OpenRC and wires up /etc/init.d/urandom to call it. It shouldn't be called by other things on the system, so it lives in rc_sbindir. Closes #506. Closes #507. Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com> |