This possibly helpful chart shows how communications are initiated between two devices. I'll make more for the various other functions of the device.

Important things to note:
- If there's no user-specified identifier, the channel will be static. So at least the server operator (possibly others, depends on MQTT server settings) can determine how many unique devices have contacted each other.
- They can also determine how many times, and when, specific devices have contacted each other.
- If someone obtains your device, they could determine which sessions were yours.
It is possible to mitigate these using simple schemes:
- Using the first 7 digits of the Unix timestamp would mitigate the first two.
- Choosing a random string at the end of communications to use for the next chat mitigates all 3.
- If you don't care about preventing traffic analysis, you can use a static value.
Discussions
Become a Hackaday.io Member
Create an account to leave a comment. Already have an account? Log In.