Mail Archives: djgpp/2005/05/14/18:16:26
"bdeck" <bdeck AT lycos DOT co DOT uk> writes:
>Well, I have not made many modifications to the source themselves,
>except to add a DJGPP conditional to many (but not all!) of the
>"DOSISH" compiler conditionals already in the code. Use the configure
>options "--disable-dev-random --disable-gnupg-iconv --disable-exec
>--disable-photo-viewers --disable-keyserver-helpers
>--disable-keyserver-path --disable-dependency-tracking
>--disable-largefile --enable-static-rnd=unix --disable-asm". There is
>also a small AF_UNIX kludge and an entrophy hack. I am not really sure
>that what I did was right.
>I am not very proud of my quick entropy kludge (was more of a
>work-around). On the other hand, perhaps someone would have an interest
>in developing a real DJGPP-specific entropy solution?
I haven't looked at GnuPG, but there is an entropy source available
for DOS. The "noise" program installs character devices RANDOM$ and
URANDOM$, which can be used like /dev/random and /dev/urandom. These
are already incorporated into the latest DOS port of the stable
version of openssl. Noise is not currently being developed, but
you can get the latest version from my web site. To use noise, you
would generally have to modify your source code to accept RANDOM$ or
/dev/random$ in addition to /dev/random. I am the current maintainer for
noise, even though I am not programmer. If anyone wants to continue
development on the program, please let me know.
"http://www.rahul.net/dkaufman/index.html"
Doug
--
Doug Kaufman
Internet: dkaufman AT rahul DOT net
- Raw text -