2 ms·
Isn't the best way to verify the integrity to use git signed commits? GitHub has great support for this
by whirlwin 3y ago
Isn't the best way to verify the integrity to use git signed commits? GitHub has great support for this
- woodruffw 3y agoYou’re mixing up integrity and authenticity: git provides integrity through its basic design; commit signing additionally adds authenticity (sort of). But again: you don’t actually get authenticity if you obtain the public key from the same untrusted channel as the signed material. The key has to come from another channel (another simplification, but true in PGP and git’s case). That channel can be the user’s GitHub profile, website, etc., but it can’t be the repository itself.