Earlier quoted context omitted.
You can lock it down to specific hash functions no problem.
If I’ve learned anything from being in this field it’s that: 1) many if not most implementations will support lots of algorithms by default, and 2) as a result, approximately zero users will lock it down
Git hash function transition plan
31–40 of 59 posts
Re: Git hash function transition plan
#32Earlier quoted context omitted.
He makes excellent points on tags; the one I hadn't considered before is that tags indeed can be separated from the tree, which makes them a unique asset in a git tree. The problem with that however is how we use tags today . Creating a tag in the modern lingua franca of git means creating a new version. If you push that tag to Github or Gitlab or what have you, a handy "release" will be created for you. If you're si…
pushing a tag to github-hosted repo certainly does not automatically create a 'release'.
See here for documentation:
Re: Git hash function transition plan
#33Earlier quoted context omitted.
Wasn't there an issue with JWT that was summarized as this: "This is a good idea, but it doesn't solve the underlying problem: attackers control the choice of algorithm" ? Here's another quote from the Wireguard paper[1]: "Finally, WireGuard is cryptographically opinionated. It intentionally lacks cipher and protocol agility. If holes are found in the underlying primitives, all endpoints will be required to update" […
That’s only true of JWT if you allow your server to accept all algorithms. You don’t actually have to.
Re: Git hash function transition plan
#34Re: Git hash function transition plan
#35Re: Git hash function transition plan
#36Plus, in 100 years, when SHA-256 is compromised, what would be the name of a new new format?
Re: Git hash function transition plan
#37Can someone explain why they would transition to a new hash function and not a block chain based system of tracking? If one of the goals of introducing a stronger hash function is signage of individual commits it seems like a block chain would be ideal.
$ git cat-file -p HEAD
tree e013f4d121199d60b70043f525aef4a7e641b5f6
parent 152bbb43b30ced1b32e9ed6f5ba2ac448de725b6
author Linus Torvalds 1510512373 -0800
committer Linus Torvalds 1510512373 -0800
Linux 4.14
You can even GPG sign each commit if you want to ensure authenticity. The other aspects of cryptocurrency blockchains don't really apply here: we don't need a single "true chain," in fact that's the point of branching.(Kids these days with their blockchains...)
Re: Git hash function transition plan
#38Can someone explain why they would transition to a new hash function and not a block chain based system of tracking? If one of the goals of introducing a stronger hash function is signage of individual commits it seems like a block chain would be ideal.
Re: Git hash function transition plan
#39NewHash is a terrible name - on par with Xbox One [X] and iPad New. Googling stuff will be hard, and good luck explaining to less technical-savvy users what is this all about. Plus, in 100 years, when SHA-256 is compromised, what would be the name of a new new format?
Also the whole point of this transition plan is that it will be a completely optional, per local repository, transition. So less technically savvy users won't have to worry about it in the first place.
Re: Git hash function transition plan
#40NewHash is a terrible name - on par with Xbox One [X] and iPad New. Googling stuff will be hard, and good luck explaining to less technical-savvy users what is this all about. Plus, in 100 years, when SHA-256 is compromised, what would be the name of a new new format?