3 ms·
> Is this the case with WhatsApp and Signal? Their implementations have been working great. Why can't email work the same way? The ratchet protocol that that a
by lmm 7y ago
> Is this the case with WhatsApp and Signal? Their implementations have been working great. Why can't email work the same way?
The ratchet protocol that that approach relies on requires both ends to be online at the same time. And those implementations haven't been working great. WhatsApp was definitely compromisable by an attacker who had access to the server. I have yet to be convinced that Signal couldn't be; all the descriptions of its protocol are suspiciously ambiguous about whether the attacker is assumed to control the server or the server is trusted (since the server has to be involved in allowing offline messages to work). Furthermore we've seen nothing to suggest that the NSA isn't reading WhatsApp/Signal messages; given that those systems are tightly coupled to closed-source ecosystems (and in particular closed-source "random" sources for key generation) I suspect that serious adversaries aren't even trying to attack their cryptography directly. Contrast with PGP where we know (from Snowden's leaks) that the NSA was frustrated by their inability to break it when used properly.
- couchand 7y agoFUD. There are several critical flaws in your analysis (disclaimer: I'm an enthusiast, not a cryptographer). > The ratchet protocol that that approach relies on requires both ends to be online at the same time. This is simply untrue, and in fact the very point of the ratchet is to support asynchronous messaging. The next ratchet's key material is sent alongside a message encrypted with the previous ratchet-derived shared key. > since the server has to be involved in allowing offline messages to work Sure, for some definition of "involved". But the relay server in the Signal protocol absolutely does not need to be trusted for offline messages to work, they are end-to-end encrypted. If you don't bother to verify the security number, then you need to trust the identity server, but that's out of scope for the protocol. Verify your security numbers! [0]: https://signal.org/docs/specifications/doubleratchet https://signal.org/docs/specifications/doubleratchet
- lmm 7y ago> This is simply untrue, and in fact the very point of the ratchet is to support asynchronous messaging. The next ratchet's key material is sent alongside a message encrypted with the previous ratchet-derived shared key. Not true; the point of the ratchet was to allow "off the record" conversations where you would have forward secrecy, and also where the receiver would not have cryptographic proof of what you said after the conversation was ended. All of the nice security properties rely on you continuing to exchange messages regularly; it breaks down if one side sends too many messages without receiving a response from the other side, and as long as that time window is open there's a risk. In practice there's a complicated risk tradeoff around exactly how much async-ness is acceptable (both in terms of time and in terms of number of messages without a response), but any implementation will have a point at which it reverts to following protocol for sending the first message to a currently-offline user. > But the relay server in the Signal protocol absolutely does not need to be trusted for offline messages to work, they are end-to-end encrypted. Maybe. It's not clear under what circumstances the server could trick the clients into treating it as a first interaction with this user, at which point the server is involved in the key exchange process - something that signal security analyses tend to brush under the carpet. > If you don't bother to verify the security number, then you need to trust the identity server, but that's out of scope for the protocol. Verify your security numbers! This is kind of a double standard though. Good practice for using PGP is to use regularly-rotated subkeys and destroy them once they're out of use, at which point you don't have a forward secrecy problem. Real-world PGP users mostly don't do this, but real-world Signal users mostly don't check security numbers either. (In contrast, real-world PGP users do check key fingerprints, in my experience, because the software defaults and the web of trust system nudge them in the right direction).
- matheusmoreira 7y agoWhatsApp has been blocked in my country several times by judges for failure to disclose message content during investigations. This suggests there was no way to intercept this stuff at least at that point in time. Maybe the NSA has found a way but I seriously doubt they're going to share it with other government agencies. I suppose it's not perfect but it's easy to use, widely deployed and enabled by default. I think it's a huge improvement over plaintext email.
- lmm 7y agoWhatsApp is probably secure against anyone who doesn't have access to its owners (Facebook) or the mobile OS makers. But much the same is true for any encrypted messenger. Plaintext email is not the competition.