gpg --gen-key using /dev/urandom is possible?

Werner Koch wk at
Fri Jun 25 18:33:53 CEST 2004

On Thu, 24 Jun 2004 09:51:04 +0200, Paolo Galati said:

> there is a way to specify /dev/urandom as random number generator for
> --gen-key? 

No.  You need to modify the code yourself.

> I know that using urandom is lack of security but for my use this is not
> a problem.

Frankly, I am not sure wether even the entropy estimation of
/dev/random is good enough.  For certain usages of
one-time-public-keys a PRNG might be sufficient, though.  But do not
take this as an advise of doing so.



More information about the Gnupg-users mailing list