[prev in list] [next in list] [prev in thread] [next in thread] 

List:       gnupg-devel
Subject:    Re: 2.1.0beta3: long hang in genkey1024.test (work around with --debug-quick-random doesn't seem to
From:       Werner Koch <wk () gnupg ! org>
Date:       2012-03-14 9:20:11
Message-ID: 87d38f5yk4.fsf () vigenere ! g10code ! de
[Download RAW message or body]

On Wed, 14 Mar 2012 06:50, dkg@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.


_______________________________________________
Gnupg-devel mailing list
Gnupg-devel@gnupg.org
http://lists.gnupg.org/mailman/listinfo/gnupg-devel
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic