|
|
|
|
|
by ycmbntrthrwaway
3448 days ago
|
|
Still not sure if the vulnerability is intended, but the idea of sending garbage is great. The vulnerability is definitely fixable even if you want to have security disabled by default. Edit: after some thought, it is not that easy. If you resend garbage of the same size and then after some time you click "resend" and send batch of messages of the same size, then you likely have confirmation enabled. So users who have confirmations disabled should send garbage too, when they open the application after some messages were resent. Again, the idea is great, but needs more thought to make a working solution. Cover traffic is not simple. |
|
If notifications/blocking disabled (newbie setting):
Send re-keyed ciphertext immediately.
Random time later send garbage (automatically discarded by client)
If blocking enabled:
Send re-keyed garbage immediately.
When consumer notices the popup some (random) time later,
- and clicks "re-send": send re-keyed ciphertext
- and clicks "discard": send re-keyed different garbage.
However, note that if a compromised server MITM, they will probably be able to tell the difference between garbage and actual message (because the server provides the bad key, so can decrypt the immediate response message). It's really not trivial. Don't roll your own crypto... :-)