How to prevent a man-in-the-middle attack in case of a compromised server?

后端 未结 4 737
夕颜
夕颜 2021-01-21 03:46

Imagine that a server is serving public keys of the users to their partners to make encrypted communication possible. However, the server does NOT have access to the private key

4条回答
  •  温柔的废话
    2021-01-21 04:29

    The crucial part missing here is authentication. Alice needs a way to know that she is really using Bobs public key. One way would be to exchange the keys personally but that is not always possible.

    That is what the Web of Trust is for. Other parties can sign the public key of a user if they are sure that this key belongs to him. If enough (3) of your other contacts (which you trust) signed the public key of Bob, you can be relatively sure that it is his key.

提交回复
热议问题