On Wed, Mar 12, 2014 at 15:19, Mark Kettenis wrote: >> I have been looking at the Neug random number generator. This is a >> $40 minimalist STM32F103 board from Japan that can be flashed with >> open source firmware to operate as a openPGP token (called Gnuk) or >> a RNG (Neug). http://www.seeedstudio.com/wiki/FST-01 >> > http://www.seeedstudio.com/depot/FST01-with-White-Enclosure-p-1279.html?cPath=6_12 > >> >> The following script in linux will set the mode then inject the >> conditioned entropy from this device into the random pool. I need a similar >> script for OpenBSD. > > Actually, you don't ;). The OpenBSD kernel will already add tty input > to the random pool. So as long as this device appears as some sort of > terminal device a simple > > cat /dev/ttyXX > /dev/null > > would do the trick ;)
dd if=/dev/ttyXX of=/dev/random would be even more awesome because it will cause a rekey. The tea leaves^W^Wentropy counters are totally bogus. You can watch them move around via sysctl kern.random if you really feel the need.

