On Sun, 26 May 2002, Ben Laurie wrote: > >>3) open /dev/random in non-blocking mode and defer EAGAIN reads > >> until later (read it at startup; if it would block, try again when > >> the entropy is actually needed, failing if it isn't ready by then > >> -- no idea if this would even work). > > Grr. We keep going around this loop - there isn't a "one size fits all" > answer to the problem.
Okay, fair enough. Patch withdrawn. What do you think of option #3? Perhaps not fail, but defer the blocking read? What about a --with-devrandom=<path> option for people who do want to go the /dev/urandom route? --Cliff
