Re: Broken random number generator
Hello,
Jeffrey Walton, le lun. 12 août 2019 04:30:09 -0400, a ecrit:
> I'm trying to setup a machine to investigate this failure of Crypto++
> (https://buildd.debian.org/status/fetch.php?pkg=libcrypto%2B%2B&arch=hurd-i386&ver=5.6.4-9&stamp=1565561714&raw=0):
>
> Testing operating system provided nonblocking random number generator...
> FAILED: 100000 generated bytes compressed to 98749 bytes by DEFLATE
We haven't implemented real collection of hardware entropy, both
/dev/random and /dev/urandom use a pseudo-random generator, so I'm not
surprised that it can be compressed a bit.
> Some Python package complained it failed to get random numbers.
>
> And GnuTLS failed to initialize due to the random number generator.
Do you have both /dev/random and /dev/urandom? You may have to re-run
dpkg-reconfigure hurd
to fix them.
Samuel
Reply to: