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

Andreas Metzler ametzler at downhill.at.eu.org
Wed Mar 12 20:20:44 CET 2008


On 2008-03-11 Werner Koch <wk at gnupg.org> wrote:
> On Sat,  8 Mar 2008 09:48, ametzler at downhill.at.eu.org said:

> > but it looks like the mere presence of
> > gcry_control (GCRYCTL_SET_RANDOM_SEED_FILE,filename)
> > causes the crashes.

> That should be easy to debug:

>   void
>   _gcry_set_random_seed_file( const char *name )
>   {
>     if (seed_file_name)
>       BUG ();
>     seed_file_name = gcry_xstrdup (name);
>   }

> I guess you are running the init code twice.  Isn't there any output to
> stderr?

Hello,
The exim daemon forks and closes stderr/out. Marc, can you try running
exim in the foreground and check whether gcrypt throws an error
(case GCRY_LOG_BUG:   fputs("Ohhhh jeeee: ", stderr); break;)?

thanks, cu andreas
-- 
`What a good friend you are to him, Dr. Maturin. His other friends are
so grateful to you.'
`I sew his ears on from time to time, sure'



More information about the Gcrypt-devel mailing list