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

Re: pushing for a new hash, was Re: [PATCH 2/3] rebase: Add tests for console output

From
Johannes Schindelin <johannes.schindelin@gmx.de>
Date
Jun 7, 2017, 14:47 UTC
Message-ID
<alpine.DEB.2.21.1.1706071520280.171564@virtualbox>
In-Reply-To
<CAGZ79kaYMR9uB0G911yRPXeZjbCeef2LHz4J2FLDOEj+mYkmqQ@mail.gmail.com>
Hi Stefan,
On Tue, 6 Jun 2017, Stefan Beller wrote:
Show 6 quoted lines
> On Tue, Jun 6, 2017 at 3:22 PM, Johannes Schindelin
> <Johannes.Schindelin@gmx.de> wrote:
>
> > 3) the only person who could make that call is Junio
> 
> Occasionally I think the same, but in fact it is not true.

Again my poor English skillz make sure I get misunderstood. So bear with me, please, and let me try again.

The current What's cooking mails are full of stuff other than the transition from SHA-1 to a new function. In fact, every once in a while I see brian carlson's patch series with the remark "Needs review" while other patch series get reviewed even by Junio.

In my mind, this sends a message.

If, hypothetically, a couple of What's cooking mails would have in their header some language to the extent that we need to focus on transitioning away from SHA-1, and maybe even have the promise that Junio would not review other patch series as long as there are patches to review that prepare the tests for the transition, that convert more 20 and 40 constants, that convert more users to object_ids (and maybe strongly encourage to coordinate with brian so as not to trip over each others' toes), to implement a command to convert a SHA-1 based repository to a repository based on a different hash, to implement caching of legacy SHA-1 <=> new hash mapping, then that would send a wholly different message.

And in my mind, if anybody else than Junio sent this message, it would sound ludicrous. For example, if I sent a mail to that extent, I would find it ridiculous myself, in particular since I am a very unprolific reviewer, and the promise to focus on favoring reviews of SHA-1 transition related patches would sound very unsincere from somebody like me.

> As said above, Junio has strong veto power for things going off rails,
> but in his role as a maintainer he does not coordinate people. (He
> occasionally asks them to coordinate between themselves, though)

I never had in mind that Junio would coordinate people or distribute tasks.

Instead, I had in mind that a certain time period could be called out as focusing on that pretty important direction.

That would be mostly symbolic, of course. And encouraging. In a positive way. With a direction.

Show 6 quoted lines
> > 4) we still have the problem that there is no cryptography expert among
> > those who in the Git project are listened to
> 
> I can assure you that Jonathan listened to crypto experts. It just did
> not happen on the mailing list, which is sad regarding openness and
> transparency.

True. Same goes for me, of course. I just felt pretty uncomfortable sharing the contents of my private conversation publicly, when I tried very hard to convince my conversation partner to join the discussion on this mailing list, and they refused.

The gist of it was: SHA-256 should be preferred to SHA3-256 because we will soon have good hardware support (and performance is really, really important when you need to work on the largest Git repository on this planet). And if there is no consensus about that, BLAKE should be considered over other algorithms because it has been studied pretty well.

Ciao, Dscho

Show 52 quoted lines
> 
> 
> 5. The timeline you seem to favor would be really great for people working
> on Git at $BIG_CORP, as big corps usually plan things by the quarter. So maybe
> by having a timeline (known in advance of the quarter) can convince managers
> easier.
> 
> >
> >> How did you get the impression that their opinion had no impact? We have
> >> been getting feedback about the choice of hash function both on and off
> >> list from a variety of people, some indisputably security experts.
> >> Sometimes the best one can do is to just listen.
> >
> > I did get the impression by talking at length to a cryptography expert who
> > successfully resisted any suggestions to get involved in the Git mailing
> > list.
> >
> > There were also accounts floating around on Twitter that a certain
> > cryptography expert who dared to mention already back in 2005 how
> > dangerous it would be to hardcode SHA-1 into Git was essentially shown the
> > finger, and I cannot fault him for essentially saying "I told you so"
> > publicly.
> 
> Heh. The community between 2005 and now has changed. (I was not there
> for example. ;-) ) So let's hope the community changes for the better.
> 
> > In my mind, it would have made sense to ask well-respected cryptographers
> > about their opinions and then try to figure out a consensus among them (as
> > opposed to what I saw so far, a lot of enthusastic talk by developers with
> > little standing in the cryptography community, mostly revolving around
> > hash size and speed as opposed to security). And then try to implement
> > that consensus in Git.
> 
> Sounds good to me. That is why I personally think point (4) from
> Jonathans list above over-emphasizes performance/size over security.
> 
> On the other hand if we find a smart way now, then this hash function
> transition will open the road to switching the hash function down the road
> once again with less or even no penalty if we make mistakes in choosing
> yet another bad hash function now.
> 
> > Given my recent success rate with SHA-1 related
> > concerns, I am unfortunately not the person who can bring that about.
> >
> > But maybe you are.
> >
> > Ciao,
> > Dscho
> 
> Thanks for bringing the discussion back to life,
> Stefan
> 
Previous: Samuel LijinNext: Stefan Beller
Message 25 of 59 in “Add regression tests for recent rebase -i fixes”
  1. 0/3 Add regression tests for recent rebase -i fixesPhillip Wood, May 31, 2017
  2. 3/3 rebase: Add tests for console output with conflicting stashPhillip Wood, May 31, 2017
  3. 1/3 rebase -i: Add test for reflog messagePhillip Wood, May 31, 2017
  4. Junio C HamanoJun 1, 2017
  5. 2/3 rebase: Add tests for console outputPhillip Wood, May 31, 2017
  6. Phillip WoodMay 31, 2017
  7. Junio C HamanoJun 1, 2017
  8. Johannes SchindelinJun 1, 2017
  9. Junio C HamanoJun 1, 2017
  10. Stefan BellerJun 1, 2017
  11. pushing for a new hash, was Re: [PATCH 2/3] rebase: Add tests for console outputJohannes Schindelin, Jun 2, 2017
  12. Jonathan NiederJun 2, 2017
  13. Jonathan NiederJun 2, 2017
  14. Ævar Arnfjörð BjarmasonJun 2, 2017
  15. Johannes SchindelinJun 15, 2017
  16. Junio C HamanoJun 3, 2017
  17. Johannes SchindelinJun 6, 2017
  18. Jonathan NiederJun 6, 2017
  19. Junio C HamanoJun 7, 2017
  20. t4005: modernize style and drop hard coded sha1Stefan Beller, Jun 7, 2017
  21. Brandon WilliamsJun 7, 2017
  22. Stefan BellerJun 6, 2017
  23. Jonathan NiederJun 6, 2017
  24. Samuel LijinJun 7, 2017
  25. Johannes SchindelinJun 7, 2017
  26. Stefan BellerJun 7, 2017
  27. Phillip WoodJun 7, 2017
  28. Junio C HamanoJun 9, 2017
  29. Phillip WoodJun 14, 2017
  30. Johannes SchindelinJun 14, 2017
  31. 0/3 Add regression tests for rectent rebase -i fixesPhillip Wood, Jun 14, 2017
  32. 1/3 rebase -i: Add test for reflog messagePhillip Wood, Jun 14, 2017
  33. 2/3 rebase: Add regression tests for console outputPhillip Wood, Jun 14, 2017
  34. 3/3 rebase: Add more regression tests for console outputPhillip Wood, Jun 14, 2017
  35. Johannes SchindelinJun 14, 2017
  36. Junio C HamanoJun 15, 2017
  37. Junio C HamanoJun 15, 2017
  38. Junio C HamanoJun 15, 2017
  39. Johannes SchindelinJun 16, 2017
  40. Johannes SixtJun 16, 2017
  41. Junio C HamanoJun 16, 2017
  42. Johannes SixtJun 19, 2017
  43. Junio C HamanoJun 19, 2017
  44. Phillip WoodJun 19, 2017
  45. Junio C HamanoJun 19, 2017
  46. Phillip WoodJun 19, 2017
  47. 0/4 Add regression tests for recent rebase -i fixesPhillip Wood, Jun 19, 2017
  48. 1/4 sequencer: print autostash messages to stderrPhillip Wood, Jun 19, 2017
  49. 2/4 rebase -i: Add test for reflog messagePhillip Wood, Jun 19, 2017
  50. 3/4 rebase: Add regression tests for console outputPhillip Wood, Jun 19, 2017
  51. 4/4 rebase: Add more regression tests for console outputPhillip Wood, Jun 19, 2017
  52. Junio C HamanoJun 23, 2017
  53. Junio C HamanoJun 23, 2017
  54. Phillip WoodJun 23, 2017
  55. Junio C HamanoJun 23, 2017
  56. Junio C HamanoJun 23, 2017
  57. Phillip WoodJun 26, 2017
  58. Junio C HamanoJun 23, 2017
  59. Phillip WoodJun 26, 2017

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.