Re: RAND_egd() blocking -- despite contract that states otherwise?
On Sat, Nov 8, 2008 at 5:53 AM, David Schwartz <email@example.com> wrote:
> > That's a great question. Indeed, this platform (AIX) does have
> > /dev/random but apparently that too was exhausted because that
> > is checked first in our implementation. I think the fault is truly
> > with the system in question, because prngd should not have blocked
> > in the manner it did. Despite this problem being a one-off, there
> > is a push to "fix" the issue and guarantee it will never happen again.
> > It was during my investigations that I noticed the blocking nature
> > of the EGD lookups.[/color]
> So what do you want to do if you run out of entropy?
Fail with an error condition stating that, rather than the indeterminate
hang in read() that was experienced.