3 ms·
That does not nearly have the same security level. Signing a tag in git is like signing a commit. A commit is nothing else than a reference to a tree SHA1 (and
by FiloSottile 11y ago
That does not nearly have the same security level. Signing a tag in git is like signing a commit. A commit is nothing else than a reference to a tree SHA1 (and parent, message and author). That tree SHA1 contains SHA1 of the files and trees in the directory.
Even assuming your client checks all the SHA1 and does not just trust the server (which is not the default), and that you are verifying the git tag signature correctly (which is harder than just checking a tarball), SHA1 collisions are considered practical.
- brillenfux 11y agoGit is essentially a Merkle DAG, thus a single reference to the root object suffices. Also collisions are only practical with large amounts of padding which would be visible. That's why nobody really cares too much about them for source control systems.
- deleted 11y ago[deleted]