Date: Thu, 26 Oct 2000 06:31:02 -0400 From: Rod Taylor <rbt@zort.on.ca> To: Doug Barton <DougB@gorean.org>, current@FreeBSD.ORG Subject: Re: entropy reseeding is totally broken Message-ID: <39F807E6.69AD0CBB@zort.on.ca> References: <Pine.BSF.4.21.0010251710270.3162-100000@volatile.chemicals.tacorp.com> <39F7B2EF.6DCC868D@gorean.org>
next in thread | previous in thread | raw e-mail | index | archive | help
Doug Barton wrote: > > Wesley Morgan wrote: > > > > I'm not knocking anyone or any code, especially considering this IS > > -current... BUT... I don't need to read the code to know that I am seeing > > the same fortunes on first login after reboot more often than I can > > attribute to random chance. Maybe nanotime is being harvested, but it > > seems that there is a time lag between system startup and reaching a state > > of "true pseudo-entropy". Also, every reboot has entropy caching failing > > to work. I don't know if this is a product of the broken reseeding or > > what, because the /etc/rc files seem to be fine. > > How exactly are you rebooting? If you're using the 'reboot' command, > that explains why entropy reseeding is not working. As has been > discussed several times on -current, you only run rc.shutdown if you use > another method, like 'shutdown -r now', 'init 6', or even the trust > three-finger salute. How about when I hit the reset button? That case SHOULD be taken care of too! Would it not be possible to sample /dev/random to store the entropy every hour or so that the system runs? Atleast that way you would be guarenteed to have something. 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?39F807E6.69AD0CBB>