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

Re: What's cooking in git.git (Jan 2022, #07; Mon, 24)

From
Junio C Hamano <gitster@pobox.com>
Date
Feb 4, 2022, 00:27 UTC
Message-ID
<xmqqiltvpjc7.fsf@gitster.g>
In-Reply-To
<YfRu0G9aNQxT3vtl@camp.crustytoothpaste.net>
"brian m. carlson" <sandals@crustytoothpaste.net> writes:
Show 13 quoted lines
>> * bc/csprng-mktemps (2022-01-17) 2 commits
>>  - wrapper: use a CSPRNG to generate random file names
>>  - wrapper: add a helper to generate numbers from a CSPRNG
>> 
>>  Pick a better random number generator and use it when we prepare
>>  temporary filenames.
>> 
>>  Are we solving the right problem?
>>  cf. <220118.86zgntpegy.gmgdl@evledraar.gmail.com>
>>  source: <20220117215617.843190-1-sandals@crustytoothpaste.net>
>
> It sounds like folks would prefer we drop this series.  I'm not planning
> to send an alternate approach here.

I personally am OK with these two patches, by the way. There was an interesting thought experiment to see if we can only rely on mkstemp() and mkdtemp() that we assume are already secure enough, but swapping the not-particularly-good linear conguential generator used in git_mkstemps_mode() with a better algorithm that is externally supported, making the security issue somebody else's problem, is a good incremental improvement, I would think.

Unless I hear differently from others, I am planning to mark the topic for 'next' in my draft of the "What's cooking" report.

Thanks.
Previous: brian m. carlsonNext: René Scharfe
Message 14 of 16 in “What's cooking in git.git (Jan 2022, #07; Mon, 24)”
  1. Junio C HamanoJan 24, 2022
  2. Submodule UX overhaul update (was: What's cooking in git.git (Jan 2022, #07; Mon, 24))Emily Shaffer, Jan 25, 2022
  3. Ævar Arnfjörð BjarmasonJan 26, 2022
  4. Emily ShafferJan 26, 2022
  5. Kaartic SivaraamJan 26, 2022
  6. Atharva RaykarJan 26, 2022
  7. Emily ShafferJan 26, 2022
  8. Glen ChooJan 26, 2022
  9. ps/avoid-unnecessary-hook-invocation-with-packed-refs (Was: Re: What's cooking in git.git (Jan 2022, #07; Mon, 24))Patrick Steinhardt, Jan 28, 2022
  10. Junio C HamanoJan 28, 2022
  11. flags types/names (was: ps/avoid-unnecessary-hook-invocation-with-packed-refs)Han-Wen Nienhuys, Jan 31, 2022
  12. Junio C HamanoJan 31, 2022
  13. brian m. carlsonJan 28, 2022
  14. Junio C HamanoFeb 4, 2022
  15. René ScharfeFeb 4, 2022
  16. ab/auto-detect-zlib-compress2 (was: What's cooking in git.git (Jan 2022, #07; Mon, 24))Ævar Arnfjörð Bjarmason, Feb 2, 2022

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.