4 ms·
If you're using udev, you can configure it to make /dev/random a symlink to /dev/urandom (eg. [1]). Sadly that doesn't give you the "block until seeded" behavio
by nshepperd 10y ago
If you're using udev, you can configure it to make /dev/random a symlink to /dev/urandom (eg. [1]). Sadly that doesn't give you the "block until seeded" behaviour though, and I don't know of any kernel patch doing that yet.
1. http://superuser.com/questions/309840/how-can-i-point-dev-random-to-dev-urandom http://superuser.com/questions/309840/how-can-i-point-dev-ra...
- deleted 10y ago[deleted]
- Natanael_L 10y agoYou could make a script that prevents /dev/urandom from being made available until /r/random stops blocking, to then also simultaneously create that symlink. Edit: on boot, first prevent access to /dev/urandom, then symlink it to /dev/random. Then as soon as /dev/random stops blocking, reverse the direction of the symlink. Same improved security, much simpler to use.