Re: [RFH] gpg --import entropy while running tests

2016-12-28 Thread Theodore Ts'o
On Wed, Dec 28, 2016 at 03:39:30AM -0500, Jeff King wrote: > > > > https://git.gnupg.org/cgi-bin/gitweb.cgi?p=gnupg.git;a=commit;h=4473db1ef24031ff4e26c9a9de95dbe898ed2b97 > > > > So this does seem like a gpg bug. > > I've submitted a bug report to gpg: > >

Re: [RFH] gpg --import entropy while running tests

2016-12-28 Thread Jeff King
On Wed, Dec 28, 2016 at 03:02:30AM -0500, Jeff King wrote: > > Is it a bug in gpg (oddly, the kernel reports lots of entropy available, > > and generating the signatures themselves is quite fast)? Or is the new > > version doing something special in the import process that we need to > > work

Re: [RFH] gpg --import entropy while running tests

2016-12-28 Thread Jeff King
On Wed, Dec 28, 2016 at 02:23:03AM -0500, Jeff King wrote: > That's a lot of time not using any CPU. What's going on? Running with > "sh -x" shows that we spend most of the time in this line from > lib-gpg.sh: > > gpg --homedir "${GNUPGHOME}" 2>/dev/null --import \ >

[RFH] gpg --import entropy while running tests

2016-12-27 Thread Jeff King
I noticed a few of our test scripts taking a long time to run, even though they used to be quick. Here's one: $ time ./t7612-merge-verify-signatures.sh ok 1 - create signed commits ok 2 - merge unsigned commit with verification ok 3 - merge commit with bad signature with verification