2016-06-29 0:37 GMT+02:00 Etienne Champetier <champetier.etie...@gmail.com>: > 2016-06-29 0:26 GMT+02:00 Laurent Bercot <ska-dietl...@skarnet.org>: >> On 29/06/2016 00:10, Etienne CHAMPETIER wrote: >>> >>> first user of this applet will be LEDE (OpenWrt) to save an urandom seed >>> using getrandom() (so we are sure /dev/urandom pool is initialized) >> >> >> That, or you could simply "dd if=/dev/random of=/dev/urandom bs=1 >> count=$blah" >> at boot time, in the background with something watching the PID. And those >> special snowflake services that need their precious, precious entropy can >> wait until the dd is dead before starting. > > Or everyone can switch to getrandom() because that's the right way
BTW, "dd if=/dev/random of=/dev/urandom bs=1 count=1" is already 47 bytes > >> >> -- >> Laurent >> _______________________________________________ busybox mailing list busybox@busybox.net http://lists.busybox.net/mailman/listinfo/busybox