From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: <98412332115025.tru64-unix-managers.marc@archive.invalid> From: Thomas Leitner Date: Fri, 09 Mar 2001 07:34:09 +0000 To: tru64-unix-managers Subject: SUMMARY: Something like /dev/random for Tru64 ? X-MARC-Message: https://marc.info/?l=tru64-unix-managers&m=98412332115025 Hi, I got two fast answers (within minutes !!). Both say that I should look into PRNGD which resembles EGD and is written in C and supports Tru64 right out of the box. I'd need to deliver it with KDE2, though, which is no problem as long as it doesn't require anything special. Thanks to: Ardizzoni Enrico IW4DZV Steve VanDevender for their replies which I'm appending below. Tom ---------------------- From: Ardizzoni Enrico IW4DZV On Fri, 9 Mar 2001, Thomas Leitner wrote: | So my question: Is there any way to get a /dev/random or a similar device | under Tru64 Unix for these purposes? | | Any idea anyone? Hi Tom, you can use "PRNGD - Pseudo Random Number Generator Daemon": http://www.aet.tu-cottbus.de/personen/jaenicke/postfix_tls/prngd.html Links: ftp://ftp.ca.openbsd.org/pub/OpenBSD/OpenSSH/portable/INSTALL _Bye_ Enrico 8-) -------------------- ----------------------------------------------------------------------- From: Steve VanDevender Thomas Leitner writes: > As you probably know, I'm working on KDE2 for Tru64 Unix. For the next > release I want to get SSL connections (https://) going in konqueror. For > that, konqueror uses the OpenSSL library which in turn needs some sort of > random generator. On many systems there's a random device called > /dev/random or /dev/urandom. This is not available under Tru64. There's > the option to run something which is called "EGD" or entropy gathering > daemon. However running EGD is a pain because it's written in Perl and I > don't want to rely on perl being installed on a particular system. > > So my question: Is there any way to get a /dev/random or a similar device > under Tru64 Unix for these purposes? > > Any idea anyone? I'm using Lutz Jaenicke's PRNGD (Pseudo-Random Number Generator Daemon) which provides the same interface as EGD, but is much more robust and vastly more efficient. It works with gpg, OpenSSH, and other software that can use EGD. It's written in C rather than Perl, and supports Tru64 UNIX directly. However, prngd still has to be included with your package and installed to put its output in a place konqueror will find it. The other possibility is to yank in the code from OpenSSH (or other packages like gpg) that runs UNIX commands to gather random input for seeding the OpenSSL random number generator. This won't require installing additional items like PRNGD, but might also be hard to get right in a portable way. All in all it would be nicer if Tru64 UNIX had /dev/random. -- -------------------------------------------------------------------------- Dr. Tom Leitner Dept. of Communications Graz University of Technology, e-mail : tom@radar.tu-graz.ac.at Inffeldgasse 12 Phone : +43-316-873-7455 A-8010 Graz / Austria / Europe Fax : +43-316-463-697 Home page : http://www.radar.tugraz.at/people/tom.html PGP public key on : ftp://wiis.tu-graz.ac.at/pgp-keys/tom.asc or send mail with subject "get Thomas Leitner" to pgp-public-keys@keys.pgp.net -------------------------------------------------------------------------- Before we have the paperless office, we have the paperless toilet!