svn commit: r239569 - head/etc/rc.d

Mark Murray mark at grondar.org
Fri Sep 14 19:15:28 UTC 2012


Ben Laurie writes:
> > I'll send patches (untested) in a couple of hours for discussion.
> 
> I used to like this idea, but it can break pretty badly if you repeat
> input, so in the end I decided hashes were the only safe way.

What??! Have you seen how Yarrow does its harvesting??

Presupposing there is no other source of randomness to get swamped out of the way,

$ cat /dev/zero > /dev/random  # pretend that /dev/zero is finite length.

... is harmless, and actually adds a small bit of perturbation to the entropy.

Please explain how repeating input can "break" things here?

M
--
Mark R V Murray
Pi: 132511160



More information about the freebsd-security mailing list