slackbuilds_ponce/system/bit-babbler/README

30 lines
1.1 KiB
Text
Raw Normal View History

The BitBabbler is a hardware-based True Random Number generator
(TRNG). It is offered in both "White" and "Black" varieties that are
functionally almost identical apart from throughput and cost. This
package installs the software necessary to control and perform basic
health checks on connected BB devices.
After installing the package, "groupadd bit-babbler", or adjust
/etc/udev/rules.d/90-bit-babbler.rules to use an existing group (e.g.,
wheel or adm) that will have permissions for the BB devices in your
system.
Typically, you'll probably want your BitBabbler device(s) to start
feeding entropy to the kernel at boot. Include these lines in
/etc/rc.d/rc.local:
# Start BitBabbler TRNG.
if [ -x /etc/rc.d/rc.seedd ]; then
. /etc/rc.d/rc.seedd start
fi
It is also a good idea to stop your BB device from feeding entropy to
the kernel before capturing the random number seed on shutdown/reboot.
Put these lines in /etc/rc.d/rc.local_shutdown, which you'll need to
create if it doesn't already exist:
# Stop BitBabbler TRNG.
if [ -x /etc/rc.d/rc.seedd ]; then
. /etc/rc.d/rc.seedd stop
fi