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

Re: Problems with CSPRNG in wrapper.c

From
Junio C Hamano <gitster@pobox.com>
Date
Feb 27, 2023, 23:15 UTC
Message-ID
<xmqqv8jmr98f.fsf@gitster.g>
In-Reply-To
<003d01d94b00$16abc7a0$440356e0$@nexbridge.com>
<rsbecker@nexbridge.com> writes:
> First, I was not aware that csprng was a git dependency ...

You can choose from implementations that depend on common external libraries and system functions, but we have a fallback internal implementation that only requires /dev/urandom.

See description for CSPRNG_METHOD in Makefile and 05cd988d (wrapper: add a helper to generate numbers from a CSPRNG, 2022-01-17) for additional background.

Previous: rsbecker@nexbridge.comNext: rsbecker@nexbridge.com
Message 2 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.