Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | seedrng: incorporate various improvements | Jason A. Donenfeld | 2022-04-24 | 1 | -73/+120 |
| | | | | | | There have been a number of subtle improvements and cleanups to seedrng, including using openat and locking the directory fd instead of a separate lock file. Also various stylistic cleanups. | ||||
* | seedrng: fix up exit path and style | Jason A. Donenfeld | 2022-03-29 | 1 | -6/+8 |
| | | | | A few days of cooking have yielded a few trivial cleanups. | ||||
* | Use seedrng for seeding the random number generator | Jason A. Donenfeld | 2022-03-25 | 1 | -0/+436 |
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 void-runit and tweaked as needed: <https://git.zx2c4.com/seedrng/about/>. This commit imports it into void-runit and wires up the init scripts to call it. This also is a significant improvement over the current init script, which fails to remove seed files that have already been used, or to ratchet them forward. |