What's the problem?
Posted Feb 16, 2003 10:29 UTC (Sun) by
Peter (guest, #1127)
In reply to:
What's the problem? by Ross
Parent article:
Mandrake security update to util-linux
I thought that /dev/urandom was just as good as /dev/random unless someone has figured out how to break SHA-1?
If you're not feeding new entropy into your pool, SHA-1 is just as predictable as any other PRNG. Breaking SHA-1 would be necessary if you wanted to re-derive the raw PRNG input, but that's not particularly useful in this context.
I agree with you, though, that this doesn't appear to be very serious. In this case the random numbers are being used to produce a cookie for X11 authentication. Unless I'm missing something, this cookie can be sent in plaintext over the net - so the relative strength of /dev/urandom is most likely the least of your worries.
(
Log in to post comments)