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

Werner Koch wk at gnupg.org
Tue Mar 11 17:09:19 CET 2008


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?


Shalom-Salam,

   Werner

-- 
Die Gedanken sind frei.  Auschnahme regelt ein Bundeschgesetz.




More information about the Gcrypt-devel mailing list