[pycrypto] Run test suite with /dev/random

Sebastian Ramacher sebastian+lists at ramacher.at
Fri Jan 13 12:59:49 CST 2012


On 01/13/2012 05:07 PM, Dwayne C. Litzenberger wrote:
> On Mon, Jan 02, 2012 at 05:08:32AM +0100, Sebastian Ramacher wrote:
>> I'm facing the following issue: in the Debian package of pycrypto we build
>> pycrypto for Python 2.6, 2.7 and 3.1 and the debug variants. For all these
>> versions and variants the test suite is run during the build. This works fine
>> except on the GNU/Hurd build system [1]. There the test suite succeeds for Py
>> 2.6, 2.7 but fails for Py 3.2 because the system runs out of entropy.
>>
>> I see two options to fix the issue on the Debian side:
>>
>> * Disable the test suite on GNU/Hurd.
>> * Replace every occurrence of /dev/urandom with /dev/random and run the 
>> test suite with /dev/random.
>>
>> I don't like either of these two options. I'd rather prefer an option to 
>> specify the random number generator that should be used for the test 
>> suite.  But before implementing such an option I'd like to know if this 
>> has any chance to be accepted into pycrypto.
> 
> Not likely.  This looks like a HURD bug that should be fixed in HURD.
> 
> [snip]

Thank you for the explanation. This was a misunderstanding on my side. I'll talk
with the Hurd Developers then.

Kind regards


More information about the pycrypto mailing list