How to: More Secure Random Entropy Pool (WIP)
#### Why

WIP

#### How It Works

WIP

#### Goals

WIP

#### References

- Thanks to [branneman](https://github.com/branneman) for this idea as submitted in [issue #33](https://github.com/imthenachoman/How-To-Secure-A-Linux-Server/issues/33).
- https://hackaday.com/2017/11/02/what-is-entropy-and-how-do-i-get-more-of-it/
- https://www.2uo.de/myths-about-urandom
- https://www.gnu.org/software/hurd/user/tlecarrour/rng-tools.html
- https://wiki.archlinux.org/index.php/Rng-tools
- https://www.howtoforge.com/helping-the-random-number-generator-to-gain-enough-entropy-with-rng-tools-debian-lenny
- https://access.redhat.com/documentation/en-us/red_hat_enterprise_linux/6/html/security_guide/sect-security_guide-encryption-using_the_random_number_generator

#### Steps

1. Install rng-tools.
   
    On Debian based systems:

    ``` bash
    sudo apt-get install rng-tools
    ```

1. Now we need to set the hardware device used to generate random numbers by adding this to `/etc/default/rng-tools`:

    ```
    HRNGDEVICE=/dev/urandom
    ```
    
    [For the lazy](#editing-configuration-files---for-the-lazy):
    
    ``` bash
    echo "HRNGDEVICE=/dev/urandom" | sudo tee -a /etc/default/rng-tools
    ```

1. Restart the service:

    ``` bash
    sudo systemctl stop rng-tools.service
    sudo systemctl start rng-tools.service
    ```

1. Test randomness:
    - https://access.redhat.com/documentation/en-us/red_hat_enterprise_linux/6/html/security_guide/sect-security_guide-encryption-using_the_random_number_generator
    - https://wiki.archlinux.org/index.php/Rng-tools

([Table of Contents](#table-of-contents))