Removing SHA-1 for signatures in Fedora
Removing SHA-1 for signatures in Fedora
Posted Mar 16, 2022 13:35 UTC (Wed) by foom (subscriber, #14868)In reply to: Removing SHA-1 for signatures in Fedora by pbonzini
Parent article: Removing SHA-1 for signatures in Fedora
In that case, the trusted entity can be tricked into signing a sha1 hash created by the malicious one, with an intentional collision: one signed content which is innocent/expected, and another with the same hash -- and thus same signature -- that is malicious, and appears to have been signed.
This seems like a completely feasible attack scenario for git. Someone contributes an innocent looking change, which gets approved by the maintainer and a signed tag for release.
Of course, a mitigating factor is that not that many (if any) people even rely on git signatures in the first place as a way of validating content. Much more common is to fetch from a trusted host over tls, and implicitly trust the resulting content.
And another is that git switched to a Sha1 variant which is supposedly more collision resistant, but I don't know how safe that actually is.
