Whatever happened to SHA-256 support in Git?
Whatever happened to SHA-256 support in Git?
Posted Jun 23, 2022 14:35 UTC (Thu) by dtlin (subscriber, #36537)In reply to: Whatever happened to SHA-256 support in Git? by LtWorf
Parent article: Whatever happened to SHA-256 support in Git?
Git signs the commit or tag object, not the whole file tree. So if you don't trust SHA-1, GPG doesn't add any security - the file content under a signed commit or tag could still be replaced.
