Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 13 Apr 2004 16:50:38 +0100
From:      Mark Murray <markm@FreeBSD.ORG>
To:        Andrew Thompson <andy@fud.org.nz>
Cc:        freebsd-current@FreeBSD.ORG
Subject:   Re: dev/random 
Message-ID:  <200404131550.i3DFocIn099231@grimreaper.grondar.org>
In-Reply-To: Your message of "Mon, 12 Apr 2004 22:33:33 %2B1200." <20040412103333.GA47211@kate.fud.org.nz> 

next in thread | previous in thread | raw e-mail | index | archive | help
Andrew Thompson writes:
> With the latest dev/random commits I have been unable to installworld
> in single-user mode. mktemp blocks when trying to read the random
> device, I have confirmed this by doing 'hexdump /dev/random' which
> produces no output.
>
> after running '/etc/rc.d/random start' everything is working fine. Can
> anyone else confirm this?

This is a feature.

For now, kickstart the device with

# ${SOME_COMMAND} > /dev/random

SOME_COMMAND should have output entropy proportional to the seriousness
of your threat model. For messing around at home, 'ls -alR /etc /var' is
probably OK.

Something like 'echo foo' will work, but will start your RNG in a known
insecure state.

M
--
Mark Murray
iumop ap!sdn w,I idlaH



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