Security Market Segment LS
Sunday, 26 February 2017 08:44

Torvalds patches git to mitigate against SHA-1 attacks Featured

By

Linux creator Linus Torvalds says two sets of patches have been posted for the distributed version control system git to mitigate against SHA-1 attacks which are based on the method that Dutch and Google engineers detailed last week.

The post by Torvalds detailing this came after reports emerged of the version control system used by the WebKit browser engine repository becoming corrupted after the two proof-of-concept PDF files that were released by the Dutch and Google researchers were uploaded to the repository.

WebKit uses the Apache SVN to keep track of code submissions and uses SHA-1 to track files and avoid duplication, as do many other projects.

When the Dutch and Google teams detailed the method they had used to crack SHA-1, they also provided two PDFs as proof; they had different content but the same hash.

As iTWire reported, Torvalds had earlier posted to the git mailing list, pointing out some of the reasons why git was more secure against such an attack.

In a more detailed explanation, he said there was a big difference between using a cryptographic hash for security signing and using one for generating a content-identifier for a content-addressable system like git.

"In git, the hash is used for de-duplication and error detection, and the 'cryptographic' nature is mainly because a cryptographic hash is really good at those things," he wrote.

"I say 'mainly', because yes, in git we also end up using the SHA-1 when we use 'real' cryptography for signing the resulting trees, so the hash does end up being part of a certain chain of trust. So we do take advantage of some of the actual security features of a good cryptographic hash, and so breaking SHA-1 does have real downsides for us."

Git was developed by Torvalds in 2005 when the free version of BitKeeper, a proprietary source code management system that Torvalds was using, was withdrawn by its owner Larry McVoy.

The use of git has grown over the years and the company GitHub alone hosts more than 50 million repositories.

Torvalds said given the nature of the SHA-1 attack that had been outlined, it was easy to mitigate against and, towards this end, two sets of patches had already been posted. They are yet to be merged.

He also pointed out that there was "a reasonably straightforward transition to some other hash that won't break the world - or even old git repositories".

Torvalds went into more detail on these points in his post and said anyone who wanted even more detail should subscribe to the git mailing lists.

Read 3725 times

Please join our community here and become a VIP.

Subscribe to ITWIRE UPDATE Newsletter here
JOIN our iTWireTV our YouTube Community here
BACK TO LATEST NEWS here




EXL AI IN ACTION VIRTUAL EVENT 20 MARCH 2025

Industry leaders are looking to transform their businesses and achieve measurable outcomes with AI.

As organisations across APAC navigate the complexities of AI adoption, this must-attend event brings together industry leaders, real-world demonstrations, and visionary panel discussions to bridge the gap between proof-of-concepts and enterprise-wide AI implementation.

Learn how to overcome common challenges in deploying AI at scale.​

Unlock cost savings, efficiency, and better customer experiences with AI.

Discover how industry expertise and data intelligence enable practical AI deployment.

Register for the event now!

REGISTER!

PROMOTE YOUR WEBINAR ON ITWIRE

It's all about Webinars.

Marketing budgets are now focused on Webinars combined with Lead Generation.

If you wish to promote a Webinar we recommend at least a 3 to 4 week campaign prior to your event.

The iTWire campaign will include extensive adverts on our News Site itwire.com and prominent Newsletter promotion https://itwire.com/itwire-update.html and Promotional News & Editorial. Plus a video interview of the key speaker on iTWire TV https://www.youtube.com/c/iTWireTV/videos which will be used in Promotional Posts on the iTWire Home Page.

Now we are coming out of Lockdown iTWire will be focussed to assisting with your webinars and campaigns and assistance via part payments and extended terms, a Webinar Business Booster Pack and other supportive programs. We can also create your adverts and written content plus coordinate your video interview.

We look forward to discussing your campaign goals with you. Please click the button below.

MORE INFO HERE!

BACK TO HOME PAGE
Sam Varghese

Sam Varghese has been writing for iTWire since 2006, a year after the site came into existence. For nearly a decade thereafter, he wrote mostly about free and open source software, based on his own use of this genre of software. Since May 2016, he has been writing across many areas of technology. He has been a journalist for nearly 40 years in India (Indian Express and Deccan Herald), the UAE (Khaleej Times) and Australia (Daily Commercial News (now defunct) and The Age). His personal blog is titled Irregular Expression.

Share News tips for the iTWire Journalists? Your tip will be anonymous

Subscribe to Newsletter

*  Enter the security code shown: img0

WEBINARS & EVENTS

CYBERSECURITY

PEOPLE MOVES

GUEST ARTICLES

Guest Opinion

ITWIRETV & INTERVIEWS

RESEARCH & CASE STUDIES

Channel News

Comments