waywardgeek / infnoise

The world's easiest TRNG to get right
Creative Commons Zero v1.0 Universal
723 stars 99 forks source link

Support for rngd(8) #6

Open atoponce opened 9 years ago

atoponce commented 9 years ago

More of a wishlist, but I don't see how to add it as a HRNGDEVICE for rngd(8). Possible?

alphazo commented 9 years ago

+1 so we can use it to feed /dev/random so all applications can benefit from the better entropy.

waywardgeek commented 7 years ago

I find rngd too buggy and scary for my taste. For example, by default it only uses Intel's RDRAND data and never reads from an Infnoise device, because RDRAND is so fast, it fills the entropy pool before any other TRNG has a chance to do anything.

atoponce commented 7 years ago

It will only use RDRAND if you've loaded the kernel module and it is being exported as /dev/hwrng.

waywardgeek commented 7 years ago

Which is true by default on Ubuntu 14.04, IIRC. Scarry stuff.

atoponce commented 7 years ago

If RDRAND is available, the kernel is already using it to reseed the CRNG when the module is loaded. rngd(8) isn't needed.