|
|
|
|
|
by kazinator
61 days ago
|
|
The GPG signature is not signing the git hash, if that's what you mean. The GPG signature signs some kind of hash calculated over the commit, minus the GPG header, which is thereby added. The git hash is then calculated over the whole thing. The git hash is on the outside, and not part of the signing. |
|
It kind of is - it’s signing the hash of the tree object, which is the actual thing that you’d attack with a hash collision