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

Problems with CSPRNG in wrapper.c

From
rsbecker@nexbridge.com <rsbecker@nexbridge.com>
Date
Feb 27, 2023, 23:06 UTC
Message-ID
<003d01d94b00$16abc7a0$440356e0$@nexbridge.com>

I've hit an issue with git that has me stumped at a customer site - so I have limited visibility on what is actually wrong. This is pretty urgent that I resolve this.

In git/wrapper (lines 477 from :
       if (csprng_bytes(&v, sizeof(v)) < 0)
       	return error_errno("unable to get random bytes for temporary file");

First, I was not aware that csprng was a git dependency - not sure why because we depend on OpenSSL_random that should return random bytes. Does this still mean that there is a dependency on PRNGD, or is there another dependency I am missing.

Should I get them to revert back to an older git version (which one)? Is a patch needed?

Thanks, Randall

-- Brief whoami: NonStop&UNIX developer since approximately UNIX(421664400) NonStop(211288444200000000) -- In real life, I talk too much.

Next: Junio C Hamano
Message 1 of 5 in “Problems with CSPRNG in wrapper.c”
  1. rsbecker@nexbridge.comFeb 27, 2023
  2. Junio C HamanoFeb 27, 2023
  3. rsbecker@nexbridge.comFeb 27, 2023
  4. brian m. carlsonFeb 28, 2023
  5. rsbecker@nexbridge.comFeb 28, 2023

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.