[OpenWrt-Devel] [PATCH 0/4] add μrngd: true RNG based on timing jitter
ynezz at true.cz
Tue May 28 02:37:48 PDT 2019
Rosen Penev <rosenp at gmail.com> [2019-05-27 19:19:53]:
> Tested this on both mt7621 and Turris Omnia. Works pretty well. Init
> gets done fast.
thanks a lot for testing, can you please reply with your Tested-by next time
so the patchwork could add this tag automatically to this patch?
> The Turris people might want something like this or they need to fix haveged
> to run earlier.
I've been recommended haveged many times (by someone from nic.cz as well), so
my initial idea was to simply give it a go and create uhaveged, but I quickly
came to the conclusion, that it won't work for OpenWrt for many reasons, which
I've already forget, but I think it wasn't truly multiplatform solution due to
some compiler/assembly magic.
Then I've simply found out, that haveged is no longer considered good
enough by the security community:
Also the use of `haveged` is recommended, which is a bad idea as this daemon
can create blocking situations during key generation effectively creating a
deadlock and thus security problems. haveged's design is from 2002, it has
never been audited, there're only papers by the original authors available.
Even Andre Seznec, one of the main HAVEGE authors stated following:
He also pointed out a security warning: with some VMs, the hardware cycles
counter is emulated and deterministic, and thus predictible. He therefore
does not recommend using HAVEGE on those systems.
so I started looking at other options and luckily enough, I've found out about
this KISS jitter RNG.
More information about the openwrt-devel