Re:Show HN: Free, instant, secure, disposable chat rooms bui...
by StavrosK on Tuesday April 14, 2015 @08:59AM
(#9373830)
The bigger problem is "how do you ensure that the public key the server sent is actually the other user's, and not a MITM?".
Re:Show HN: Free, instant, secure, disposable chat rooms bui...
by hurin on Tuesday April 14, 2015 @12:07PM
(#9375242)
Exactly, you have to exchange public-keys via another method - which is also potentially vulnerable.
Re:Show HN: Free, instant, secure, disposable chat rooms bui...
by c22 on Tuesday April 14, 2015 @03:26PM
(#9376656)
But all forms of exchange are potentially vulnerable, the point of using multiple channels for authentication is to increase the challenge-space for potential attackers. Indeed the chief benefit of public key encryption is that the key can be exchanged over a multitude of channels and a compromise of just some of them does not jeopardize the entire operation. Perhaps we need more authentication systems where this is made implicit, with trust based on the number of different mediums the key is transferred over (or the number of different third party signers).
How to ensure the server doesn't get a hold of the private key is the issue (can you really trust the code you're running?).