Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save 0x07CB/490233dfe3caabbb51891146f3e50657 to your computer and use it in GitHub Desktop.
Save 0x07CB/490233dfe3caabbb51891146f3e50657 to your computer and use it in GitHub Desktop.
Installing haveged on Debian/Ubuntu
apt-get install haveged
nano /etc/default/haveged # Setup DAEMON_ARGS="-w 1024"
update-rc.d haveged defaults
cat /dev/random | rngtest -c 1000 # Testing Availability of Entropy & Quality of Random Data
cat /proc/sys/kernel/random/entropy_avail # To test the amount of available entropy
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment