rngd
Daemon to use a Hardware TRNG
Install
- All systems
-
curl cmd.cat/rngd.sh
- Debian
-
apt-get install rng-tools
- Ubuntu
-
apt-get install rng-tools
- Alpine
-
apk add rng-tools
- Arch Linux
-
pacman -S rng-tools
- Kali Linux
-
apt-get install rng-tools
- CentOS
-
yum install rng-tools
- Fedora
-
dnf install rng-tools
- Windows (WSL2)
-
sudo apt-get update
sudo apt-get install rng-tools
- Raspbian
-
apt-get install rng-tools
- Dockerfile
- dockerfile.run/rngd
- Docker
-
docker run cmd.cat/rngd rngd
powered by Commando
rng-tools
Daemon to use a Hardware TRNG
The rngd daemon acts as a bridge between a Hardware TRNG (true random number generator) such as the ones in some Intel/AMD/VIA chipsets, and the kernel's PRNG (pseudo-random number generator). It tests the data received from the TRNG using the FIPS 140-2 (2002-10-10) tests to verify that it is indeed random, and feeds the random data to the kernel entropy pool. This increases the bandwidth of the /dev/random device, from a source that does not depend on outside activity. It may also improve the quality (entropy) of the randomness of /dev/random. A TRNG kernel module such as hw_random, or some other source of true entropy that is accessible as a device or fifo, is required to use this package. This is an unofficial version of rng-tools which has been extensively modified to add multithreading and a lot of new functionality.
rng-tools5
Daemon to use a Hardware TRNG
The rngd daemon acts as a bridge between a Hardware TRNG (true random number generator) such as the ones in some Intel/AMD/VIA chipsets, and the kernel's PRNG (pseudo-random number generator). It tests the data received from the TRNG using the FIPS 140-2 (2002-10-10) tests to verify that it is indeed random, and feeds the random data to the kernel entropy pool. This increases the bandwidth of the /dev/random device, from a source that does not depend on outside activity. This may improve the behavior of systems which experience low values in /proc/sys/kernel/random/entropy_avail It may also improve the quality (entropy) of the randomness of /dev/random. A TRNG kernel module such as hw_random, or some other source of true entropy that is accessible as a device or fifo, is required to use this package. It will take advantage of the RDRAND and RDSEED instructions included in some Intel & AMD CPUs.
rng-tools-debian
daemon to use a Hardware TRNG (classic version)
The rngd daemon acts as a bridge between a Hardware TRNG (true random number generator), such as the ones in some Intel/AMD/VIA chipsets, and the kernel's PRNG (pseudo-random number generator). It tests the data received from the TRNG using the FIPS 140-2 (2002-10-10) tests to verify that it is indeed random, and feeds the random data to the kernel entropy pool. This increases the bandwidth of the /dev/random device, from a source that does not depend on outside activity. It may also improve the quality (entropy) of the randomness of /dev/random. A TRNG kernel module such as hw_random, or some other source of true entropy that is accessible as a device or fifo, is required to use this package. This is an unofficial version of rng-tools which has been extensively modified to add multithreading and a lot of new functionality. However, most users of newer or high-bandwidth HWRNGs might wish to install the 5.x version of rng-tools, also packaged as rng-tools5, instead; while it lacks some of the new functionality from this version, it offers more performant support for those.