Subject: gnupg trouble
To: None <netbsd-users@netbsd.org>
From: Emre Yildirim <emre@doctor.com>
List: netbsd-users
Date: 07/03/2001 17:55:01
Hi,This should probably be submitted to the pkgsrc mailinglist, but since 
there are so many users subscribed to this one :-) ...

I installed gnupg-1.0.6 from pkgsrc and it doesn't work right for some 
reason.  It complains about not having enough random entropy and stops 
working (I thought that was a problem only on systems that dont have 
/dev/urandom like Solaris?).  Here is what I get (the command is gpg --gen-
key):


[...]Change (N)ame, (C)omment, (E)mail or (O)kay/(Q)uit? o
You need a Passphrase to protect your secret key.    
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 300 more bytes)


And it stops there.  It doesn't matter if I type random stuff or do 
anything, it doesn't move from there (well I waited half and hour for a 
1024-bit key, and this is a 1.3Ghz Athlon system; it shouldn't take this 
long!).

Does anyone know how to fix this?