openwrt/package
Jason A. Donenfeld 2edc017a6e 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-03-28 09:27:56 +02:00
..
base-files ipq40xx: Support Chromium OS image-type creation 2022-03-25 18:14:13 +01:00
boot uboot-mediatek: add patch to allow accessing bootconf from Linux 2022-03-21 23:48:04 +00:00
devel strace: Update to version 5.16 2022-02-01 21:25:02 +01:00
firmware ipq40xx: update E2600AC c1/c2 board 2022-03-25 18:14:13 +01:00
kernel kernel: 5.15: add missing Kconfig symbols for NFS 2022-03-27 14:50:59 +01:00
libs libs/zlib: fix implicit function declaration warning 2022-03-28 09:27:56 +02:00
network uqmi: fix acquiring PIN status 2022-03-24 18:45:19 +00:00
system urandom-seed: use seedrng for seeding the random number generator 2022-03-28 09:27:56 +02:00
utils util-linux: add lsns 2022-03-05 21:05:45 +01:00
Makefile build: fix opkg install step for large package selection 2021-05-12 11:13:53 +02:00