We should be using "00" to deal with alphabetical order.
Fixes: e9a126c145 ("rng-tools: start as early as possible")
Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
Raspberry Pi devices (bcm2708) need this to get from:
[ 102.310494] random: crng init done
to:
[ 12.539744] random: crng init done
Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
Work around automake demanding README with a symlink.
Add new dependency on libsysfs.
Avoid dependency on libxml, curl, openssl by disabling NIST beacon support.
We also continue to remove gcrypt, and jitterentropy is not packaged.
Remove patch that no longer cleanly applies.
If newlines in log messages are a problem, we should take it up with
upstream.
Signed-off-by: Nathaniel Wesley Filardo <nwfilardo@gmail.com>
Fixes: github #7303
fix Makefile chmod (644)
replace MD5SUM with HASH
add PKG_MIRROR_HASH when PKG_SOURCE_PROTO:=git
(PKG_SOURCE_PROTO:=svn tarballs are not reproducible for now)
Signed-off-by: Etienne Champetier <champetier.etienne@gmail.com>
lighttpd starts at priority 50, but promptly calls getrandom() on
initialization (li_rand_reseed() and li_rand_device_bytes() from
server_init()). If /dev/urandom (which getrandom() uses by default)
doesn't have sufficient entropy, this will block.
Since Openwrt runs the startup scripts serially, this can block
initialization indefinitely. I've seen 15-20 minutes typically.
Seeding the pool early on can quickly built sufficient entropy to
complete booting without blocking.
Signed-off-by: Philip Prindeville <philipp@redfish-solutions.com>
- typo in path of uci-defaults scripts
- fix init script when there is no rngd config
- convert init script to procd
Signed-off-by: Stefan Hellermann <stefan@the2masters.de>
Enabling the default configuration will pipe /dev/urandom back into
/dev/random ala the current package behavior. Because this amounts to
disabling the in-kernel entropy estimation, default disabled.
While here, uci-paramaterize the high watermark.
While here, add a pre-command hook for real RNGs that need 'stty raw'
or other such hooks. (e.g. the TrueRNG devices)
As offered in github openwrt/packages#3422, take over maintainership.
See github openwrt/packages#3142.
Signed-off-by: Nathaniel Wesley Filardo <nwfilardo@gmail.com>
* Add description to both Makefile and init script that
mentions the default of /dev/urandom as the entropy source.
* Remove the deprecated interval parameter from init script.
Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>
Edit init script to match current options.
Update copyright year.
Simplify download location.
Add myself as maintainer.
signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>