Closed mortonjack closed 1 month ago
Messages are not signed with a user's private key. Hence, messages such as server_hello and public_chat can be easily forged.
server_hello
public_chat
We should modify this to ensure all messages of type signed_data are signed with the sender's private key in some way.
signed_data
Upon further investigation I think this is just a poor explanation. The bottom of the README explains the signing mechanism in full.
Messages are not signed with a user's private key. Hence, messages such as
server_hello
andpublic_chat
can be easily forged.We should modify this to ensure all messages of type
signed_data
are signed with the sender's private key in some way.