about summary refs log tree commit diff
path: root/.gitignore
diff options
context:
space:
mode:
authorJason A. Donenfeld <Jason@zx2c4.com>2022-03-25 21:37:44 -0600
committerMichael Aldridge <aldridge.mac@gmail.com>2022-03-25 23:24:11 -0500
commit87044318e9acb741e1b74767f30cc4ae802ed398 (patch)
tree2f7f25ce34df3ad1ecc6763bedd1a7eb8e654a16 /.gitignore
parent5b18be19e3faa8eb396c0608906fbf0d755a4491 (diff)
downloadrunit-void-87044318e9acb741e1b74767f30cc4ae802ed398.tar.gz
runit-void-87044318e9acb741e1b74767f30cc4ae802ed398.tar.xz
runit-void-87044318e9acb741e1b74767f30cc4ae802ed398.zip
Use seedrng for seeding the random number generator
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.
Diffstat (limited to '.gitignore')
-rw-r--r--.gitignore1
1 files changed, 1 insertions, 0 deletions
diff --git a/.gitignore b/.gitignore
index 2440471..f0a4ed1 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1,3 +1,4 @@
 halt
 pause
 vlogger
+seedrng