immortalwrt/package
Jason A. Donenfeld 0e7d1e8c22 urandom-seed: 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 OpenWRT
and tweaked as needed: <https://git.zx2c4.com/seedrng/about/>.

This commit imports it into the urandom-seed package and wires up the
init scripts to call it. This also is a significant improvement over the
current init script, which does not robustly handle cleaning up of seeds
and syncing to prevent reuse. Additionally, the existing script creates
a new seed immediately after writing an old one, which means that the
amount of entropy might actually regress, due to failing to credit the
old seed.

Closes: https://github.com/openwrt/openwrt/issues/9570
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
Signed-off-by: Petr Štetiar <ynezz@true.cz> [fixed missing INSTALL_DIR]
2022-04-04 17:18:08 +08:00
..
base-files base-files: sysupgrade: fixes not found error 2022-04-02 00:38:40 +08:00
boot tfa-layerscape: fix build on systems without openssl headers 2022-01-01 17:32:22 +08:00
devel strace: Update to version 5.16 2022-02-18 18:32:40 +08:00
emortal autocore: add ethtool back for x86 2022-03-22 01:26:41 +08:00
firmware cypress-firmware: drop several packages 2022-03-27 21:37:49 +08:00
kernel kernel/modules: inet-diag: fix loading module 2022-03-29 04:48:30 +08:00
libs libs/zlib: fix implicit function declaration warning 2022-04-04 17:17:09 +08:00
network uqmi: set CID during 'query-data-status' operation 2022-03-17 11:00:33 +08:00
system urandom-seed: use seedrng for seeding the random number generator 2022-04-04 17:18:08 +08:00
utils usbmode: update to version 2022-02-24 2022-02-28 16:11:03 +08:00
Makefile build: fix opkg install step for large package selection 2021-05-12 23:27:23 +08:00