security-union / videocall-rs

teleconference system written in rust
https://www.videocall.rs
MIT License
1.38k stars 119 forks source link

Prevent MitM attack during key exchange #132

Open darioalessandro opened 1 year ago

darioalessandro commented 1 year ago

The two peers exchange their public keys over the insecure channel. It is essential that they verify the integrity and authenticity of the received public key, as a Man-in-the-Middle (MitM) attacker could replace the keys with their own. This verification can be done using a trusted third party, digital signatures, or some other secure method.