Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

apt-get can (and do) check signatures of repos

But yeah, you could put an unverified repos to be used



For the argument at hand (Can you deploy anything on a production server from a third party that is only verified cryptographically?) signatures and hashes fulfill the same function (and btw I also wrote "verifying it against a hash or signature" above). More to the point, under the hood GPG signatures only sign a hash of the file in question anyway. Verifying a file via a GPG signature is strictly less secure than verifying it by its hash (assuming you use the same hash function as the signature).


Git has tag signing, surely there's a way to clone a specific tag and check the signature against a specific GPG key fingerprint?


Tag signatures only cover the mapping from tag name to commit hash. In other words, specifying a manually-verified commit hash is actually more secure.

Tag signatures are mostly worthless now from a crypto point of view -- with the caveat that you can still get some value from them if you still trust sha1 to be secure against second-preimage attacks.


    git checkout 0.1.0
    git tag -v 0.1.0




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: