git/list[1] front-page[2] threads[3] people[4] search[5] about
 

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

From
Jeff King <peff@peff.net>
Date
Dec 28, 2016, 08:39 UTC
Message-ID
<20161228083930.5li6cb6yplusc26m@sigill.intra.peff.net>
In-Reply-To
<20161228080230.wygcmdmwvifcthvl@sigill.intra.peff.net>
On Wed, Dec 28, 2016 at 03:02:30AM -0500, Jeff King wrote:
Show 14 quoted lines
> > 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 around or disable?
> 
> Answering my own question (somewhat): this is bisectable in the gnupg
> repository, and it turns out to be caused by their 4473db1ef (agent:
> Kludge to mitigate blocking calls in Libgcrypt., 2016-11-11), which
> introduces a 100ms sleep (yuck) that is presumably triggering way more
> than it needs to. More details at:
> 
>   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:
  https://bugs.gnupg.org/gnupg/issue2897
so we'll see what they say.
-Peff
Previous: Jeff KingNext: Theodore Ts'o
Message 3 of 4 in “[RFH] gpg --import entropy while running tests”
  1. Jeff KingDec 28, 2016
  2. Jeff KingDec 28, 2016
  3. Jeff KingDec 28, 2016
  4. Theodore Ts'oDec 28, 2016

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.