Get the latest tech news

Colliding with the SHA prefix of Linux's initial Git commit


Or, how to break all the tools that parse the "Fixes:" tag Kees Cook There was a recent discussion about how Linux's "Fixes" tag, which ...

December 30, 2024 There was a recent discussion about how Linux's “Fixes” tag, which traditionally uses the 12 character commit SHA prefix, has an ever increasing chance of collisions. To clear up that problem, I generated a 12-character prefix collision against the start of Git history, commit 1da177e4c3f4 (“Linux-2.6.12-rc2”), which shows up in “Fixes” tags very often: Lots of thanks to the lucky-commit project, which will grind trailing commit message whitespace in an attempt to find collisions.

Get the Android app

Or read this on Hacker News

Read more on:

Photo of Linux

Linux

Photo of Git

Git

Photo of SHA

SHA

Related news:

News photo

Cook: Colliding with the SHA prefix of Linux's initial Git commit

News photo

Why Linux is not ready for the desktop, the final edition

News photo

Linux 6.13-rc5 Released To Cap Off Linus Torvalds' Birthday Week