Bug#448775: Uses too much entropy (Debian Bug #343085)

Simon Josefsson simon at josefsson.org
Tue Jan 8 11:03:21 CET 2008


Werner Koch <wk at gnupg.org> writes:

> On Sat,  5 Jan 2008 14:17, guus at debian.org said:
>
>> "gnutls-serv" reads 3000 times 120 bytes from /dev/urandom, yes, 360 kilobytes!
>
> Run
>
>   gcry_control (GCRYCTL_DUMP_RANDOM_STATS);
>
> to get statistics about libgcrypt's RNG.

How should I interpret the following output?

random usage: poolsize=600 mixed=621 polls=3000/117 added=3588/370308
              outmix=3 getlvl1=3/136 getlvl2=0/0

This is from a typical usage of gnutls-cli against a SMTP server
negotiating STARTTLS and then shutting down the connection.

/Simon





More information about the Gnutls-devel mailing list