153 points · by LForLambda · 10y ago · 76 comments
This is a great explainer:
I can't seem to find the PDF of the slides of this talk anymore.
These are also very useful for understanding:
https://whispersystems.org/blog/advanced-ratcheting/
https://deepsec.net/docs/Slides/2014/TextSecure_and_RedPhone...
- even if they have implemented it faithfully, you should compare fingerprints. If they don't line up, you might be subject to a MITM attack
[1] https://reproducible-builds.org
[2] https://github.com/WhisperSystems/Signal-iOS/issues/641
[3] https://f-droid.org/wiki/page/Deterministic,_Reproducible_Bu...
2. Yes.
Beyond that, despite the repeated claims of open source advocates, there's nothing preventing people from taking the app store versions of things like WhatsApp and reverse engineering them.
So, while being open source is not the complete answer, it certainly doesn't hurt.
However, open source does give users some real recourse in the event that the project moves in an undesirable direction. I don't like what's happening, I can fork it without your permission and still have access to the same development environment and build tools the original project had. I think that's important and valuable.
I can read a commented Python or BASIC program with almost no effort unless it's very sloppy. I can tell you a MISRA C or SPARK program with associated static checks is immune to entire classes of errors without analyzing the source myself. I can tell you what information flows can or can't happen in a language like SIF implementing information-flow security. I can do all of this while expending almost no effort. So, I'm much more likely to do it than if I had to decompile and reverse-engineer a binary from scratch with analyses using the tiny information in a binary.
So, every time you say that, what you're really saying is: "Anyone could do this if they spent enormous time and energy. Sort of like they could hand-compile their C code each iteration. They probably won't but I'm countering your wanting for source because in theory they could do all this with assembly with enough effort."
It's definitely not true for correctness as assembly lacks what you need to know it's correct. It's probably not true for security as correctness is a prerequisite for it. In any case, economics is important where the effort required to achieve a thing determines whether someone will likely spend that effort. In case of binary analysis, it's apparently a lot less than source analysis.
They claim they use the Axolotl double ratchet, though Moxie/OWS claims Wire uses a variation of the protocol they don't recommend.
[1] https://news.ycombinator.com/item?id=12148728
[2] https://news.ycombinator.com/item?id=12361410
[3] https://hn.algolia.com/?query=%22wire%20does%20not%20use%22%...
[4] (long but enlightening read) https://news.ycombinator.com/item?id=11725602
4 days ago, no follow-ups to questions for details.
...and which most of my friends used.
I'm OK with Signal's UX, but the problem is that I know exactly two people who use it too, everyone else is on WhatsApp. I mean: Writing this implementation would be hard, but still tremendously easier than getting enough traction to make it useful.
However it's hard to recommend because of the lack of features.
"centralised" and "server" are just about the worst words you want to hear in the description of a system like this and yet they are just thrown in there in a flippant comment at the end of a section?
I think a more detailed description of this glorified cache is warranted.
To cut a long story short: Alice gives the cache, aka Mallory, a set of secret data which are implied but not proven to be able to be used by Bob to create cryptographic text which Alice can decrypt but this magic cache, aka Mallory, cannot. This document provides few hints and no detail on how we can be assured that the magic cache, A.K.A. MALLORY, is unable to make use of the secret data provided by Alice (and "promised not to be shared") to make inferrences on the crypyographic text provided by Bob.
So: making the whole thing completely public only enables adversary to match session initializations with receivers, which the server can do by definition as it has to route the messages to correct recipient. (In the case without such central server, anybody observing the traffic could do that, as another role of the central server is to mask sender addresses on the lower protocol layers)