LCE: Don't play dice with random numbers
LCE: Don't play dice with random numbers
Posted Nov 21, 2012 1:38 UTC (Wed) by dlang (guest, #313)In reply to: LCE: Don't play dice with random numbers by hpa
Parent article: LCE: Don't play dice with random numbers
For most applications, I think this is less of an issue than most people think. If it's just session encryption keys (SSL, etc) then the timing of the network traffic that initiates the connections will start to provide some randomness (enough that using urandom is not predictable from a practical point of view, even if the more conservative random would block)
The real issue is things like generating server encryption keys on first boot. The answer to this may be something along the lines of not starting the full system on first boot, delaying a known time period (10 seconds or so) to get a bit of entropy (potentially doing other things to try and add entropy), then generating keys and rebooting.
I think that in many cases, people are overthinking the need for 'perfect' randomness, and in the process loosing the 'good enough' security.
Posted Nov 21, 2012 4:03 UTC (Wed)
by vomlehn (guest, #45588)
[Link] (3 responses)
Posted Nov 21, 2012 5:20 UTC (Wed)
by hpa (guest, #48575)
[Link]
The timing of network traffic that someone mentioned is not very random, and worse, it is potentially observable, which limits its utility.
Posted Nov 23, 2012 21:23 UTC (Fri)
by cesarb (subscriber, #6266)
[Link]
Recent kernels have fixed that problem by reading serial numbers and such in the hardware and adding them to the pool on bot.
Posted Nov 23, 2012 21:37 UTC (Fri)
by PaXTeam (guest, #24616)
[Link]
LCE: Don't play dice with random numbers
LCE: Don't play dice with random numbers
LCE: Don't play dice with random numbers
LCE: Don't play dice with random numbers