Re: dev/random

From: Mark Murray <markm_at_FreeBSD.ORG>
Date: Tue, 13 Apr 2004 16:50:38 +0100
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
Received on Tue Apr 13 2004 - 06:55:13 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:37:50 UTC