Cygwin make/configure settings for GnuPG 1.0.3 and 1.0.4 ?

Disastry at saiknes.lv Disastry at saiknes.lv
Wed Nov 29 18:27:48 CET 2000


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

On Wed, 15 Nov 2000, Werner Koch wrote:
> > Then:
> > % ./configure i686-pc-cygwin32 --disable-asm \
> > > --disable-dynload --enable-static-rnd=linux
> 
> STOP.  How do you get entropy?  The last time I looked at cygwin
> there was no /dev/linux and even if there is a /dev/linux you should
> only use it after you or someone else has verified that it is a
> cryptographic sound implementation.
> 
> This is a serious problem as a bad RNG may leak out the secret key.
> 
> The correct solution would be to use cipher/rndw32.c . I don't know
> whether it is possible to use the W32 API under Cygwin.
>   Werner

it is possible.


I just built GPG using Cygwin with following options:
./configure --target=i386-mingw32 --disable-nls --with-included-gettext

I also had to modify some Makefiles and some other files

and I built idea.dll and I can load and use it with --load-extension !!!!

I used MSVC 6 to build idea.dll because it didn't worked with Cygwin's gcc
(probably I didn't know right switches)

== <EOF> ==
Disastry
http://i.am/disastry/
-----BEGIN PGP SIGNATURE-----
Version: Netscape PGP half-Plugin 0.14 by Disastry / PGPsdk v1.7.1

iQA/AwUBOiUSFjBaTVEuJQxkEQJuiACg6hYJDlo+/JTyJXTs6+8F1Eo1KVgAn2os
EKNjoSjMtYPuCDUzwTCFV9RN
=/BCn
-----END PGP SIGNATURE-----



More information about the Gnupg-devel mailing list