[Date Prev][Date Next]
[Chronological]
[Thread]
[Top]
Re: patch: incomplete read from /dev/urandom in libraries/liblutil/entropy.c (ITS#1834)
Ok.
>
> The problem with this patch is that it will cause the process to hang for an
> indeterminate period of time whenever /dev/urandom runs out of entropy. It
> effectively makes it the same as reading from /dev/random, which always blocks
> until the complete read request can be satisfied.
>
> I suspect a better solution will be to only use /dev/urandom as a seed for a
> PRNG.
>