Re: monitoring entropy

H. Peter Anvin (hpa@transmeta.com)
Tue, 14 Oct 1997 13:21:38 -0700 (PDT)


> > True, although that only gives you a single bit of information, not
> > the entire queue depth.
>
> I don't see how that makes a difference. Either /dev/urandom
> is providing entropic bytes, or it isn't.

Well, that is true; and I guess if you wanted to you could drain the
queue by doing nonblocking reads on /dev/random. Hence it probably
*wouldn't* be an (additional) security hole (except the covert
channel, but Linux makes no attempt at eliminating covert channels --
it provides IPC instead :) to allow anyone to read the enthropy pool
size.

-hpa