On 2012-07-25 at 15:30:16 +0200, Felix Geyer wrote:
> That test requires a lot of random data (5 MB).
> It seems to be only used for testing if signing files work.
> Do you have an idea why the data needs to be random
> instead of just using a hardcoded pattern to generate
> that file?

Just to be sure, I've tried to generate said file with lorem from 
the package libtext-lorem-perl (which doesn't seem to require much 
entropy to run): running tests on my computer while monitoring 
``/proc/sys/kernel/random/entropy_avail`` is bringing it down 
to a single digit every time gnupg is run.

Since I don't have control on gnupg itself, I'm starting to think 
that it is impossible to run these tests on a VM / other entropy-starved 
machine in a way that does not require bad hacks with the kernel 
entropy; what I'm not sure is what is the best way to solve this issue, 
other than disabling tests (which I'm reluctant to do, of course).

-- 
Elena Grandi

Attachment: signature.asc
Description: Digital signature

Reply via email to