Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 16 Jul 2000 20:26:44 +0200
From:      Mark Murray <mark@grondar.za>
To:        "Andrey A. Chernov" <ache@FreeBSD.ORG>
Cc:        markm@FreeBSD.ORG, current@FreeBSD.ORG
Subject:   Re: randomdev entropy gathering is really weak 
Message-ID:  <200007161826.UAA03911@grimreaper.grondar.za>
In-Reply-To: <20000716105943.A60072@freebsd.org> ; from "Andrey A. Chernov" <ache@FreeBSD.ORG>  "Sun, 16 Jul 2000 10:59:45 MST."
References:  <20000716105943.A60072@freebsd.org> 

next in thread | previous in thread | raw e-mail | index | archive | help
> I found that I always got the same fortune quote after reboot, over and over 
> again. It means that /dev/random produce exact the same values after reboot.
> It means that machine timer or keyboard not used for enthropy gathering.
> Using keyboard alone not helps for automatic tasks because it can be even not 
> present, so machine timer must be used at least after reboot stage i.e. in 
> randomdev init procedure. Otherwise first random values are very predictable 
> and subject for attack.

Gotcha - fix coming; I need to stash some randomness at shutdown time, and
use that to reseed the RNG at reboot time.

M
--
Mark Murray
Join the anti-SPAM movement: http://www.cauce.org


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-current" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200007161826.UAA03911>