news.volyx.in

The first chosen-prefix collision for SHA-1 (sha-mbles.github.io)

928 points by ynezz · 2471 days ago · 352 comments on HN

Article summary

Researchers have computed the first chosen-prefix collision for SHA-1, a hash function previously thought to be secure. This breakthrough has significant implications for the security of various applications, including PGP and TLS. The attack can be used to forge PGP keys and impersonate users, and its cost is estimated to be around $75,000. The researchers recommend deprecating SHA-1 in favor of more secure hash functions like SHA-256 or SHA-3.

Main themes

  • SHA-1 collision attack
  • git security
  • hash function migration
  • PGP and TLS security
  • cryptographic vulnerabilities
  • security best practices

What commenters say

  • The use of SHA-1 in git is not a significant concern due to the specific way git stores and hashes data.
  • The chosen-prefix collision attack makes it more urgent for git to migrate to a different hash function.
  • The cost of switching to a new hash function is high, but it will only increase over time as attacks become more practical.
  • The security of git relies on more than just the hash function, and other factors like code review and testing are more important.
  • A chosen-prefix collision attack can be used to inject malicious code into a git repository.
  • The use of SHA-1 in other applications, such as TLS and PGP, is a more significant concern than its use in git.
  • The migration to a new hash function should be accelerated to prevent future attacks.
  • The security benefits of using a more secure hash function like SHA-512/256 outweigh the potential performance costs.