I've got a ton of processes running in the background to try and get enough entropy, but I am still failing.
**We need to generate a lot of random bytes. It is a good idea to perform
some other action (type on the keyboard, move the mouse, utilize the
disks) during the prime generation; this gives the random number
generator a better chance to gain enough entropy.
Not enough random bytes available. Please do some other work to give
the OS a chance to collect more entropy! (Need 210 more bytes)**
I need a method to generate the key that works, cause what I'm trying to do is failing apparently.
sudo apt-get install rng-toolsif you're on Ubuntu instead ofsudo yum install rng-utilslike they have for Fedora, since norng-utilspackage exists for Ubuntu. – Jason Swett Jan 17 '11 at 17:50rng-toolson both Fedora and EL6, so I suspect a typo in the linked article. BTW, it is a good idea to provide the essential parts of the answer here, and the link for reference, in case the link goes dead in the future. – Michael Hampton Dec 31 '12 at 02:40/dev/random, but the kernel entropy level in/proc/sys/kernel/random/entropy_availwas just hovering around 50 bits and not moving. Runningrngdimmediately boosted it to 3000 bits. Perfect for a class of 10 people generating 4096-bitgpgkeys at the same time. Thanks again! – qris May 29 '15 at 09:50stressandddfailed. – Michael Martinez May 15 '19 at 23:52