Great Circle Associates Majordomo-Workers
(August 1998)
 

Indexed By Date: [Previous] [Next] Indexed By Thread: [Previous] [Next]

Subject: randomness (was Re: Quickies)
From: Rich Pieri <rich . pieri @ prescienttech . com>
Date: 21 Aug 1998 10:31:31 -0400
To: majordomo-workers @ GreatCircle . COM
In-reply-to: Oliver Xymoron's message of "Thu, 20 Aug 1998 21:44:26 -0500 (CDT)"
Mail-copies-to: never
References: <Pine.LNX.3.96.980820211839.29651A-100000@waste.org>

-----BEGIN PGP SIGNED MESSAGE-----

Oliver Xymoron writes:

> /dev/urandom is as good as /dev/random as long as the entropy is not
> depleted below a certain point.

As I brought up over on majordomo-users, if you want a good PRNG, lift the
algorithm out of PGP, randseed.bin file and all.  /dev/random is not random
enough for reliable security.  The down side to this is someone needs to be
on the console to generate the randseed.bin file, but that needs be done
but once.

> After that, urandom will continue to generate numbers that are as secure
> as the hash function the kernel uses (SHA1, IIRC),

Not unless you have a true random number generator physically attached to
/dev/(u)random.  Without some external source of genuine entropy,
/dev/(u)random is nigh-worthless as a PRNG.

SHA1 is much more secure than anything you can get out of a purely
algorithmic PRNG.

Is /dev/(u)random good enough?  I don't think so.  But then, I'm not
paranoid: 'they' really are out to get me.

-----BEGIN PGP SIGNATURE-----
Version: 4.0 Business Edition
Charset: noconv

iQCVAwUBNd2EwJ6VRH7BJMxHAQHP0wQAyaJylROqzQqb1pAGzOLMonCRg13Zfj9G
DexAtV0VfjybyTPhQ3L/+ofe1y+oMtspszI+c6V1dpdZD1V9KNgQc9v7mvPtkvhF
WYK3piPYf0ezlcmzR4qRlBRm7qc7QhMmupDV7cj2v1mG0V2wjmZKWzF9ZVl/vpsS
1OZJyjo29c4=
=DKxb
-----END PGP SIGNATURE-----

-- 
Rich Pieri <rich.pieri@prescienttech.com> / Do not use Happy Fun Ball on
Sysmonster, Unix Wrangler                / concrete.
Prescient Technologies, Inc.            / 
I speak for myself, not PTI or SWEC    / 



Follow-Ups:
References:
Indexed By Date Previous: Re: Quickies
From: Brock Rozen <brozen@torah.org>
Next: Re: Quickies
From: Jason L Tibbitts III <tibbs@hpc.uh.edu>
Indexed By Thread Previous: Re: Quickies
From: Oliver Xymoron <oxymoron@waste.org>
Next: Re: randomness (was Re: Quickies)
From: Oliver Xymoron <oxymoron@waste.org>

Google
 
Search Internet Search www.greatcircle.com