Is anyone else unable to generate a GPG Key?
Is there not enough entropy on a Linode 768 to generate a GPG key?
Can't seem to make this work.
8 Replies
So in answer to your question, no there probably isn't enough entropy on a server (mainly due to the lack of a keyboard and mouse), do some sort of heavy disk usage action while generating the key and it should generate.
@Lime:
I must've looked like a real genius there at my workdesk, banging away at my keyboard for 1-2 minutes straight, intermittently for all that time.
I don't think that method is going to work with a remote server. Open up another window and try something likedu /
edit: now have 25 screen sessions open, some running top, others running "du / && du / && du / && du / && du / && du / && du / && du / && du / && du / && du / && du / && du / && du / && du / && du / && du / && du / && du / && du / && du / && du / && du / && du / && du / && du / && du / && du / && du / && du / && du / && du / && du / && du / && du / && du / && du / && du / && du / && du / && du / && du / && du / && du / && du / && du / && du / && du /". Anyone have recommendations?
It's a daemon, so I will uninstall it after generating GPG Keys.
Of course, source code is available: http://sourceforge.net/projects/gkernel/
@drpks:
There is a Debian package to get enough entropy.
~~[http://www.howtoforge.com/helping-the-random-number-generator-to-gain-enough-entropy-with-rng-tools-debian-lenny " target="_blank"> ](http://www.howtoforge.com/helping-the-r … bian-lenny">http://www.howtoforge.com/helping-the-random-number-generator-to-gain-enough-entropy-with-rng-tools-debian-lenny ](
Recycling /dev/urandom might be good enough for running self-signed SSL certs on hobby sites, but it's nowhere near secure enough for generating GPG keys.
Also, rng knows when you're trying to feed it with low-quality pseudorandom bits. It will usually refuse to use such sources until enough entropy is collected by some other means.