GPG error "Not enough random bytes available. Please do some other work to give the OS a chance to collect more" [closed]

Solution 1:

Depending on your system hardware, you might have more reliable success using a bridge between the hardware TRNG (True random number generator) and the kernel entropy pool.

I have found a remarkable speed increase by using rng-tools in the universe repository, which can be installed with Synaptic or another GUI package manager, or via the command-line:

sudo apt-get install rng-tools

Solution 2:

Executing the following command in the background works for me:

sudo find / -type f | xargs grep somerandomstring > /dev/null