2.1.0beta3: long hang in genkey1024.test (work around with --debug-quick-random doesn't seem to speed things up?)

Werner Koch wk at gnupg.org
Wed Mar 14 10:20:11 CET 2012


On Wed, 14 Mar 2012 06:50, dkg at fifthhorseman.net said:

> I tried patching genkey1024.test to add --debug-quick-random as an
> argument to gpg, but that didn't speed up the test either.

Key generation is done by gpg-agent thus this option has no real
effect.

> What would be the right way to ask the key generation tests to use
> "quick-random" sources?  I don't think we need real-world entropy for
> these tests, do we?

No, we don't.  However, all entropy hacks included in GnuPG have the
potential problem that they may accidentally be used in real life.  A
faked /dev/random device would be a better way to run tests.


Shalom-Salam,

   Werner

-- 
Die Gedanken sind frei.  Ausnahmen regelt ein Bundesgesetz.




More information about the Gnupg-devel mailing list