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

Torvalds patches git to mitigate against SHA-1 attacks Featured


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.

Please join our community here and become a VIP.

Subscribe to ITWIRE UPDATE Newsletter here
JOIN our iTWireTV our YouTube Community here


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 and prominent Newsletter promotion and Promotional News & Editorial. Plus a video interview of the key speaker on iTWire TV 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 webinatrs and campaigns and assassistance 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.



iTWire TV offers a unique value to the Tech Sector by providing a range of video interviews, news, views and reviews, and also provides the opportunity for vendors to promote your company and your marketing messages.

We work with you to develop the message and conduct the interview or product review in a safe and collaborative way. Unlike other Tech YouTube channels, we create a story around your message and post that on the homepage of ITWire, linking to your message.

In addition, your interview post message can be displayed in up to 7 different post displays on our the site to drive traffic and readers to your video content and downloads. This can be a significant Lead Generation opportunity for your business.

We also provide 3 videos in one recording/sitting if you require so that you have a series of videos to promote to your customers. Your sales team can add your emails to sales collateral and to the footer of their sales and marketing emails.

See the latest in Tech News, Views, Interviews, Reviews, Product Promos and Events. Plus funny videos from our readers and customers.


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