urandom-seed: go back to seeding with shell script temporarily
authorJason A. Donenfeld <Jason@zx2c4.com>
Mon, 11 Apr 2022 22:53:49 +0000 (00:53 +0200)
committerPetr Štetiar <ynezz@true.cz>
Thu, 14 Apr 2022 08:12:34 +0000 (10:12 +0200)
commita001630a1aafa224f854fa3ea7589ecefb6e01ae
tree9941037631f2533bd433ac494e5fc54d816e5287
parent9a22943eb2670303393a2103f47fae312f484bd2
urandom-seed: go back to seeding with shell script temporarily

This reverts commit 2edc017a6e0cb92b72b768aaa46c6d336ad84eff.

We shouldn't be using a shell script here, but the SeedRNG integration
into OpenWRT requires a bit more thought. Etienne raised some important
points immediately after this was merged and planned to send some follow
up commits, but became busy with other things. The points he raised are
important enough that we should actually back this out until it's ready
to go, and then merge it as a cohesive unit. So let's revert this for
now, and come back to it later on.

Cc: Etienne Champetier <champetier.etienne@gmail.com>
Cc: Petr Štetiar <ynezz@true.cz>
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
package/system/urandom-seed/Makefile
package/system/urandom-seed/files/etc/init.d/urandom_seed
package/system/urandom-seed/files/lib/preinit/81_urandom_seed
package/system/urandom-seed/files/sbin/urandom_seed [new file with mode: 0755]
package/system/urandom-seed/seedrng.c [deleted file]