Hacker News new | ask | show | jobs
by antnisp 3765 days ago
Why is that a problem? If the hash is signed and the public key is trusted shouldn't that be secure?
1 comments

Because someone can do a man-in-the-middle attack and intercept the right hash and replace it with another one. And how do you verify that the public key is trusted for the first time?
I was under the impression that you can have your key signed by a generally trusted CA.
GPG has no central CAs, but relies on a "web of trust" situation. In reality, there's no one central that everyone trusts, so unless the keys are signed by some individual you personally trust, you're down to being reliant on getting valid keys.