Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

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

Tags:

ubuntu

gnupg

I am using:

 gpg --gen-key 

Is there a better way to create a PGP key? What does this program want? A fully slammed server?

Not enough random bytes available. Please do some other work to give the OS a chance to collect more

like image 899
Tampa Avatar asked Sep 04 '12 06:09

Tampa


1 Answers

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 
like image 107
kylehuff Avatar answered Sep 28 '22 23:09

kylehuff