mchlnix / PyMix

A mix chain implementation in Python using UDP
0 stars 0 forks source link

Channel init responses should answer a challenge #14

Open mchlnix opened 6 years ago

mchlnix commented 6 years ago

Right now they are just filled with random bytes and can easily be faked and sent to the client.

mchlnix commented 6 years ago

At least we can fill it with 0s and have that as a check for the client.

mchlnix commented 6 years ago

They have a specific message type byte in the header, which is protected by the link key, so they're not that easy to fake, but maybe there could still be more to it in the future.