This is the mail archive of the mailing list for the Cygwin project.

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: How to get GnuPG and EGD to work together under Cygwin?

Volker Quetschke <> writes:

> > Has anyone managed to get GnuPG and EGD (the Entropy Gathering Daemon --
> > to work together under Cygwin?

> never tried ;-) but it should be possible. Did you read the annoncement
> concerning gnupg 1.0.7-3?
> The relevant part is:
> * Fixed the use of loadable modules. Now all modules can be loaded with the
>     --load-extension=<modulename> command. The standard build will link
>     rndlinux statically, but if you run
>     $ ./configure --enable-static-rnd=none
>     then also the rndegd random generator modules will be build as a loadable
>     module. Attention! Now you have to call gpg with --load-extension=rnd???
>     to make it work properly.
> Actually, I never tried, but it may work. Please let me know if it does.

I got it to work.  I downloaded the GnuPG source code from the Cygwin
Web site, configured with

	--enable-static-rnd=egd --disable-dev-random

and now it works fine with EGD.  I had to alter EGD to gather data using
commands appropriate for Windows rather than UNIX (e.g., "ps -W" instead
of "vmstat", "netstat -a -n -p tcp" instead of "netstat -ant").  One fun
way to get good entropy is to use this gathering command:

   wget -O -

It fetches a periodically-updated ~50 KB JPEG weather satellite image of
North America.  The opportunities for gathering entropy from Webcams are
abundant, and the weather is nicely chaotic!  Talk about the "butterfly
effect" on the weather!  Now a butterfly flapping its wings in Japan can
affect GnuPG key generation around the world.
Francis Litterio
GPG and PGP public keys available on keyservers.

Unsubscribe info:
Bug reporting:

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]