Oct 22, 2018

haveged - A simple entropy daemon

The haveged project is an attempt to provide an easy-to-use, unpredictable random number generator based upon an adaptation of the HAVEGE algorithm. Haveged was created to remedy low-entropy conditions in the Linux random device that can occur under some workloads, especially on headless servers. Current development of haveged is directed towards improving overall reliablity and adaptability while minimizing the barriers to using haveged for other tasks.

You can install haveged to speed up the key generation process:

apt-get install haveged
systemctl enable haveged
systemctl start haveged

Haveged provides a constant source of entropy and randomness.

See also:

How to fix gpg not enough entropy on Linux