Skip to content

Instantly share code, notes, and snippets.

@arcenet
Created August 13, 2017 08:55
Show Gist options
  • Star 4 You must be signed in to star a gist
  • Fork 3 You must be signed in to fork a gist
  • Save arcenet/24015f4e34a00bbaa8f3bcc64c1745e6 to your computer and use it in GitHub Desktop.
Save arcenet/24015f4e34a00bbaa8f3bcc64c1745e6 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