/dev/random suffers entropy depletion, even with rng-tools installedElectronicsUpdated on Apr 29, 2017 View more like this | Visit Uganda, UN | Contact william hawk |
Hi Everyone,
I’m an open source developer who focuses on security libraries. I’m working on a ci20 dev board that’s using a factory Debian 7 image. The image is fully patched (apt-get update and apt-get dist-upgrade), and rng-tools is installed (apt-get install rng-tools).
The device is suffering entropy depletion. When I open the /dev/random device in blocking mode, the call to read random bytes never returns. Below is a small C program to demonstrate it, and the call to read has stalled for 4 hours.
My questions are:
* Is /dev/random the device which receives non-deterministic entropy?
* What should we be doing to ensure the health of /dev/random?
Thanks in advance.
Animated Financial Planning Video
I’m an open source developer who focuses on security libraries. I’m working on a ci20 dev board that’s using a factory Debian 7 image. The image is fully patched (apt-get update and apt-get dist-upgrade), and rng-tools is installed (apt-get install rng-tools).
The device is suffering entropy depletion. When I open the /dev/random device in blocking mode, the call to read random bytes never returns. Below is a small C program to demonstrate it, and the call to read has stalled for 4 hours.
My questions are:
* Is /dev/random the device which receives non-deterministic entropy?
* What should we be doing to ensure the health of /dev/random?
Thanks in advance.
Animated Financial Planning Video