Re: Plan for SHA-256 repos to support SHA-1?
- From
brian m. carlson <sandals@crustytoothpaste.net>
- Date
- Jun 26, 2022, 15:19 UTC
- Message-ID
- <Yrh47mun9U9t0HpO@tapette.crustytoothpaste.net>
- In-Reply-To
- <CAPc5daVtRZ-Str_yCqRXZKT5+KKcXdnptFaer27XneUwj76KjQ@mail.gmail.com>
On 2022-06-26 at 00:27:57, Junio C Hamano wrote:
Show 9 quoted lines
> On Sat, Jun 25, 2022 at 5:10 PM Eric W. Biederman <ebiederm@xmission.com> wrote: > > Is there at this point a solid plan for how SHA-256 repos will support > > access SHA-1 only clients? > > > > I remember reading a discussion of having a table somewhere that would > > translate SHA-256 to SHA-1 when needed. > > Documentation/technical/hash-function-transition.txt has flushed out > the necessary details?
Yup. The design there sounds very simple and it is, conceptually, but practically implementing it is quite complex.
You can pull the in-progress work from transition-interop on my GitHub remote to see where some of the complexity lies.
-- brian m. carlson (he/him or they/them) Toronto, Ontario, CA