From: Taylor Blau <me@ttaylorr.com>
To: Patrick Steinhardt <ps@pks.im>
Cc: Junio C Hamano <gitster@pobox.com>, git@vger.kernel.org
Subject: Re: What's cooking in git.git (Sep 2024, #05; Fri, 13)
Date: Tue, 17 Sep 2024 04:17:26 -0400 [thread overview]
Message-ID: <Zuk7Fvo+a/e6UObo@nand.local> (raw)
In-Reply-To: <ZukiD4-GP-rcUWnS@pks.im>
On Tue, Sep 17, 2024 at 08:30:45AM +0200, Patrick Steinhardt wrote:
> 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.
I am fine to rename it to unsafe_, etc. But the more that I think about
this collision in loose object files, the less I think that it matters
in practice.
We would only hit it when trying to write a loose object and racing with
another writer which is trying to write that same object as loose using
different compression settings, which seems awfully rare.
Perhaps there is some use-case or scenario that I am missing, but this
seems like a very rare case to disable a check that is otherwise useful.
Thanks,
Taylor
next prev parent reply other threads:[~2024-09-17 8:17 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-09-14 19:12 What's cooking in git.git (Sep 2024, #05; Fri, 13) Junio C Hamano
2024-09-16 19:39 ` Taylor Blau
2024-09-17 6:30 ` Patrick Steinhardt
2024-09-17 8:17 ` Taylor Blau [this message]
2024-09-17 9:27 ` Patrick Steinhardt
2024-09-17 9:31 ` Taylor Blau
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=Zuk7Fvo+a/e6UObo@nand.local \
--to=me@ttaylorr.com \
--cc=git@vger.kernel.org \
--cc=gitster@pobox.com \
--cc=ps@pks.im \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).