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

Re: What's cooking in git.git (Sep 2024, #05; Fri, 13)

From
Patrick Steinhardt <ps@pks.im>
Date
Sep 17, 2024, 06:30 UTC
Message-ID
<ZukiD4-GP-rcUWnS@pks.im>
In-Reply-To
<ZuiJjQCZ23DznwJo@nand.local>
On Mon, Sep 16, 2024 at 03:39:57PM -0400, Taylor Blau wrote:
Show 21 quoted lines
> On Sat, Sep 14, 2024 at 12:12:46PM -0700, Junio C Hamano wrote:
> > * tb/weak-sha1-for-tail-sum (2024-09-06) 9 commits
> >  - csum-file.c: use fast SHA-1 implementation when available
> >  - Makefile: allow specifying a SHA-1 for non-cryptographic uses
> >  - hash.h: scaffolding for _fast hashing variants
> >  - sha1: do not redefine `platform_SHA_CTX` and friends
> >  - i5500-git-daemon.sh: use compile-able version of Git without OpenSSL
> >  - pack-objects: use finalize_object_file() to rename pack/idx/etc
> >  - finalize_object_file(): implement collision check
> >  - finalize_object_file(): refactor unlink_or_warn() placement
> >  - finalize_object_file(): check for name collision before renaming
> >
> >  The checksum at the tail of files are now computed without
> >  collision detection protection.
> >
> >  Will merge to 'next'?
> >  source: <cover.1725651952.git.me@ttaylorr.com>
> 
> Let's hold off on this one. Patrick raised a good point in [1] that I
> think I have a fix for, but want to hear some further discussion before
> I convince myself that's the case.

There was also the open question of whether we want to rename the new `_fast` hash functions to `_unsafe` to make it stand out more that they are indeed not safe for cryptographic uses.

Patrick
Previous: Taylor BlauNext: Taylor Blau
Message 3 of 6 in “What's cooking in git.git (Sep 2024, #05; Fri, 13)”
  1. Junio C HamanoSep 14, 2024
  2. Taylor BlauSep 16, 2024
  3. Patrick SteinhardtSep 17, 2024
  4. Taylor BlauSep 17, 2024
  5. Patrick SteinhardtSep 17, 2024
  6. Taylor BlauSep 17, 2024

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.