[Q] Generating a key pair.

David Shaw dshaw@jabberwocky.com
Sun May 11 04:50:02 2003


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On Sat, May 10, 2003 at 06:31:14PM -0400, Daniel Carrera wrote:
> > On Sat, May 10, 2003 at 06:11:45PM -0400, Daniel Carrera wrote:
> > > 2) The GnuPG FAQ says that I can improve the random number
> > > generation by using the  --enable-static-rnd=... option, but
> > > GnuPG doesn't seem to recognize that option.
> > > 
> > > I'm on a Solaris system which does have a /dev/random device.
> > 
> > that option is a compile-time option to the configure script used
> > to build gpg.  If you got a pre-compiled binary for your OS, it
> > probably makes use of /dev/random.  gpg --version will tell you
> > more information, but I don't know if there is a way to get it to
> > tell you where it is getting its entropy.
> 
> I compiled it myself.  I still have the sources.  Is there a way I can 
> figure out if this option was used?

grep ac_cv_have_dev_random config.log

> I guess I'll need to recompile.  If that is the case, how should I use 
> that option in my case?  I'm on a Solaris system but it has a /dev/random 
> like Linux.  Does that mean I should use --enable-static-rnd=linux ?

You shouldn't need to.  If you have a /dev/random device, configure
should automaticaly do the right thing.  (And if it doesn't, then it
should be fixed).

David
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.2 (GNU/Linux)
Comment: http://www.jabberwocky.com/david/keys.asc

iD8DBQE+vbqL4mZch0nhy8kRAu9IAJ9Nmk3GBwA5s6EJ6yVQRmNN9ddSGACfaOS5
N3XpciskbpahbegHzDUYOLo=
=64ov
-----END PGP SIGNATURE-----