174 points · by pje · 10y ago · 142 comments
He only wants distribution via Google, and even went as far to demand that free/libre Play-alternative F-droid removed their build of TextSecure.
I'm trying to remember how Android works, but I seem to recall that you need to sign the packages differently on Play and Fdroid. So you literally can't redistribute the same Play package with Fdroid (someone correct me if I'm wrong). This means rebuilding... and hence rebranding.
It seems that MM was asked to provide a build for Fdroid. He decided not to. That's completely his right. He doesn't go into a lot of detail about why he has decided this, but it's completely up to him.
So all I can tell is that there is an Fdroid version, which has a different name. You can't switch easily between the Play and Fdroid versions because of code suckage... which sucks, but isn't a GPL violation.
Is this just a tempest in a teapot, or am I missing something?
He doesn't like how F-Droid uses centralized signing keys which are stored online: https://github.com/WhisperSystems/Signal-Android/issues/127#...
It would be more work for him of course, maintaining a repo and pushing updates to two locations, but I don't think it would be too much extra work and it sounds like a lot of people are looking for a non-GP repo. Pushing to your own server is easier than updating in an app market anyday.
At the end of the day, he can of course spend his time how he wants, I just think there's a loud if not large group that would like a Google Play Services-less Signal.
Since he signs it with his own key, nobody can force an auto-upgrade except him. So you either have to trust him for this version and all future versions, or not trust him and build your own. You can package and sign your own version, but apparently (I haven't actually seen the reported twitter comments) he doesn't want you to name them the same (which is clearly a reasonable trademark issue since any build not signed by him could contain anything).
I personally don't have a problem with that and it certainly isn't a GPL violation.
You can distribute the same build on F-Droid and Play, and also signed with your own key, if you use proper reproducible builds
(And not the TextSecure variant of "let’s download this huge image and let it compile the app", because that opens you to evil compiler issues).
Nor is it actually reasonable that we should expect to or rely on a few people to secure something that should be a fundamental and a fundamental right of communication. Not to rant to much, but it feels like going to parties (conferences) and talking about how much good you do and then being dismissive in the real world is how much of the security industry operates and that Signal has just become the latest excuse to why nothing has to be fixed.
I'll give him credit for the whatsapp integration though. More people in the field should consider working with companies where they can have a lot of impact.
Moxie says Signal works fine in China: https://github.com/LibreSignal/LibreSignal/issues/37#issueco...
By giving NSA the only thing what they want: metadata from Google
>2) Stop targeted attacks against crypto nerds.
Who don't have google services on their devices and don't use google chrome... yeah. Thanks for helping me so much.
The Senate is considering reauthorizing the law the NSA says authorizes it to collect hundreds of millions of online communications from providers like Facebook and Google as well as straight off the internet’s backbone:https://theintercept.com/2016/05/10/senate-kicks-off-debate-...
What metadata does Google get from Signal messages? The time/date you received a message, the size of the message... Is there anything else?
The only thing Moxie had to do was not threaten them with legal action.
I worry about how influential people like Moxie Marlinspike are seemingly turning the modern 'mobile-first' development paradigm into a 'mobile-only' mindset. I don't believe in secure and private computing when you are making it very hard for people to use your tools on (or via) anything but the two dominant mobile operating systems.
Why is that? There's nothing about it in their faq.
I'm using a BlackBerry OS 10 device, which can run Android apps, and I even have Google Play running on it, but Google Play Services is stubbed for a large part on BB10, making some apps (such as Google Maps, Google Calendar, and Signal) impossible to use.
Why a security/privacy oriented application such as signals wants to bind so strongly with Google's services, I don't understand.
Running a really light prosody[1] instance on my server to host my own XMPP connection, although since it's all E2E, I could have used a public one.
[0] https://f-droid.org/repository/browse/?fdid=eu.siacs.convers... [1] https://prosody.im/
Untrue. He only wants distribution through channels that provide the same security assurances and deployment features that Google does through the Play Store. [0][1][2]
He's also quite open to replacing use of GCM with WebSockets or some equivalent tech, but if you don't use GCM, the replacement is likely going to significantly reduce battery life of phones on cell networks. [3][4]
> ...and even went as far to demand that free/libre Play-alternative F-droid removed their build of TextSecure.
That's because -in part- the F-droid project managers had (and -AFAIK, but I haven't checked in quite some time- continues to have) very serious issues in regards to their APK signing key handling procedures.
Signal is GPL'd. Anyone can take the code and do what they like with it, as long as it conforms with the license terms. However, it's very clear that Whisper Systems does not want people distributing Signal-branded builds on app distribution platforms that don't provide Whisper Systems the security guarantees and management tools that they need to get their jobs done.
In short, you're free to distribute custom builds of the Signal-Android, Signal-Desktop, TextSecure-Server, and Signal-iOS projects. However, it'd be nice of you to:
* Stand up an instance of the Signal server software on hardware you control, then point your builds of the Signal client software to your server.
* Rename the software that you're redistributing, make up your own logo, and make it abundantly clear that -while your work is based entirely on Signal's code- you're neither operating with the explicit support of Open Whisper Systems nor are you likely to be providing the same security guarantees that they are.
[0] https://github.com/WhisperSystems/Signal-Android/issues/127#...
[1] https://github.com/WhisperSystems/Signal-Android/issues/281#...
[2] https://github.com/WhisperSystems/Signal-Android/issues/127#...
[3] https://github.com/WhisperSystems/Signal-Android/issues/1000...
[4] (see the reply to) https://github.com/WhisperSystems/Signal-Android/issues/127#...
I'm actually much more concerned with the size of the app; imnho it's way to big and way to hard to even begin to audit. I've been trying to figure out if there are some simple core that could be extracted for building a minimal cli app with minimal media support -- but so far I'm not too hopeful.
It's just far too monolithic a project IMNHO. I want a small easily auditable library along with a small app - but it appears I'll have to implement that myself :-/
Still, at least the code is open, and it builds :-)
A quick search of 'Google Play malware' returns many results from 2016 and going back to when it was still called Android Market. This isn't hand-waving, there are many concrete and specific examples of security lapses in the Google Play store and this is a persistent problem. Plenty of bright people over there who care and are working on it I'm sure, but not solved yet.
Bottom line is it's his decision to make, but the only certainty that using Google's store brings is that you must have a first-party relationship with Google to use his app. It's better than downloading APKs from some warez site but not a guarantee of security. Framing it this way misses the bigger picture.
Yes, and if a nation-state is after you, you almost certainly don't have the OPSEC discipline required to keep your computing devices secure. Security isn't binary, it's a gradient. Ever more secure devices require ever higher costs, whether they be monetary costs, lost time, or procedural complications.
> A quick search of 'Google Play malware' returns many results from 2016...
And even a brief dig into the details of those "malware" reports reveals that -if the software was distributed and installed through the Play Store, and the Android device user did not have "Allow installation from unknown software sources" checked- all that pretty much all of that "malware" does is exactly what the permissions it requests permits it to do. [0]
Protip: If the software asks for permission to read your contacts, location information, and system log data, don't be surprised if it exfiltrates that information via the pretty-much-always-on Internet connection that's built into the device it's running on. :)
The fact of the matter is that Google is rather good at software security.
> ...but the only certainty that using Google's store brings is that you must have a first-party relationship with Google to use his app.
Not to be an ass, but you either haven't read or haven't understood either the technical aspects of what the Play Store gives you, or the target audience for Whisper Systems's software.
[0] Vulnerabilities like stagefright are excepted from this list because they are vanishingly rare. I challenge you to find another actual Android sandbox escape. :)
Thanks for sharing the link. I'm about to do a career switch and reading this again is certainly reassuring. He is right. We are what we do for a living.
I find his work very inspirational and I hope I'll be able to personally thank him one day for all the work he has done.
6 Years later, here I am, graduating with a decent GPA but having 0% interest in pursuing clinical practice, although i have performed very well clinically and in terms of my medical knowledge. I simply realized that the practice of medicine (specifically diagnostics and treatment decisions) is nothing but a classification problem. We are literally trained to memorize 'algorithms' (flow charts) for diagnosing and managing hundreds of different illnesses. That's about it really. It boils down to asking a standard set of questions (the patient's history), examining the patient, and trying to guess the diagnosis. Often, lab tests are needed (you order them based on the flow chart you memorized for the presenting symptoms). Once they're available, the diagnosis is usually clear, or further testing and imaging is required, and the cycle continues. Even for the complicated medical issues, this whole process can be represented by a simple flowchart that easily fits on an A4 sheet). The majority of modern day work done by doctors can (and will) be automated in the near future. The biggest hurdle was never the technology; it's the laws and regulations. I've seen papers published in the 80s where AI bested human doctors in diagnosing many diseases, and recently I've seen more impressive results in radiology and pathology diagnostics, where the diagnosis purely depends on vision, which is a very complicated problem when you try to solve it with computers. The results are very promising and some papers have shown results where human pathologists and radiologists were outperformed by computer vision.
Humans are obviously still needed to deal with patients. It takes some clinical skill to know how to extract information from patients, how to examine them, and how to look for clues, but that does not strictly require a doctor to be done properly. In fact, most of our medical training, even in residency, is concerned with learning more and more 'algorithms', guidelines, and staying up to date with the latest medical evidence.
Computers won't replace doctors in surgical specialties, but they certainly will replace primary care physicians, as well as doctors in other fields like internal medicine (including its subspecialties like cardiology, Pulmonology, etc), emergency medicine, oncology, and others. These fields purely depend on memorizing and recalling flow charts of diagnosis and management. Humans are fallible when it comes to memory and recall, computers are much much less fallible in these cases, and virtually infallible in some cases (100% diagnostic sensitivity and specificity was reported in some studies, which is impossible to achieve by humans)
By the time I realized what I mentioned above, I was already close to finishing med school. I decided to graduate first then see what I wanted to do next. I no longer saw any inherent joy or value in being a doctor. There is no room for trying to be creative, smart, or efficient. You just have to follow the official guidelines and policies, and hope you don't get sued when you, inevitably, make a mistake. I see no meaning in a career like that.
I love coding and I love learning CS in my free time so my decision for what to do next was easy. There are some interesting studies utilizing AI for diagnosing cancer metastasis on CT scans using computer vision, and that's an example of a topic I might be interested in. I don't necessarily want to do medically related research all the time though. All I want to do is to be a software engineer working on very interesting projects. Even the most mundane coding projects are easily 10x more mentally stimulating than clinical work in my opinion.
In retrospect, I have no regrets. I know a lot about how my body works and I leanred a lot from dealing with hundreds of patients over the years. I also learned a lot about who I am and what I really want, and to me, this knowledge is invaluable. I also realized how much I appreciated computer science.
I guess that's enough rambling. Apologies for the late and long reply. I hope you found it useful, and I wish you the best of luck in your future career ;)
However I do question his premise that criminals already have the wherewithal to opt in to "clunky" strong encryption before engaging in criminal activity.
In fact there are many scenarios where criminals simply go with the default security configuration in consumer devices, either because they (a) did not plan the crime in advance or (b) aren't as smart about opsec as you might expect.
There are many good arguments to make strong encryption the default for consumer devices, but here I feel he was attempting to take an easy way out by pretending it's orthogonal to investigating crimes. In fact it is a tradeoff, granting us security from cybercriminals and bad state actors (if there's even a difference), while making it harder for law enforcement in some scenarios.
Besides, it wouldn't kill our LEOs to work for their supper. This reliance on dragnet tactics means that'll soon be all they're able to do.
"security by obscurity" might proves as being good enough. I could write you a text message: "Hey abalone, do you fancy helping me planting a tree over at my garden?" and it seems perfectly innocent until you consider that planting a tree could be a code for all sort of things. As long as you don't "plant trees" every week and talk about all kind of things in your text messages you are not attracting attention.
One could argue that truly innocent/law abiding people require strong encryption the most because of all the criminals out there.
- If someone from Facebook/Telegram/Signal/etc wants to know what you're writing, they can just instruct their app (via update) to send them your key. For closed-source services, you'd theoretically have to decompile and audit each update to make sure they are not doing that.
- If they want to know what you have written in the past, they can instruct the app to send them the conversation log.
- If Google (or Apple or Microsoft, respectively) want to know what you're writing, they can instruct the OS to send them the data. (Google's "Android Backup Service" for example also backs up "third party settings and data" [1]. I don't know about the details of the backup service, but this shows to me it's quite possible that your key or conversation logs might even land accidentally on some providers' servers without them having any bad intent.)
- If (three letter agency of your choice) wants to get the data, they can just force any of the above companies via NSLs to get it for them.
- If any of the US strategic partners want to get the data, they can likely make a deal with an intelligence agency.
- Lastly, if the messenger company wants to mine or sell user data, they still have a lot of stuff that cannot be encrypted for operational reasons (such as your contact list and the phone numbers of all your contacts).
That leaves to me the only group for which "overlay encryption" brings an actual benefit political activists in a country not at all affiliated with the US - or highly knowledgeable individuals who carefully control which updates they get. Both groups are important to consider but likely had ways to protect their communication before.
To actually protect communication not just from "the government" but also from the private industry, we would at least need some independent party to vet app updates.
There are certain cases were current end-to-end encryption brings more security - e.g. if a provider's data center is compromised but the provider itself isn't. But those seem like edge cases to me that don't justify the attention the feature is currently getting.
I think this is a case of perfect being the enemy of good. If a state actor wants access to your messages, you're probably screwed anyway, unless your OpSec is top-notch. E2E crypto means that they'll have to really want your messages, at which point they're probably better off just stealing your phone or using a $5 wrench.
This solves dragnet surveillance, where the government could potentially just sniff all communication and use various analytical techniques to sniff out potential criminals or people they dislike.
Wired has nice article about their efforts going https https://www.wired.com/2016/04/wired-launching-https-security...
www.popsci.com uses an invalid security certificate. The certificate expired on 12/10/2015 05:59 PM. The current time is 05/11/2016 01:39 AM. Error code: SEC_ERROR_EXPIRED_CERTIFICATE
"This server could not prove that it is www.popsci.com; its security certificate expired 153 days ago. This may be caused by a misconfiguration or an attacker intercepting your connection. Your computer's clock is currently set to Wednesday, May 11, 2016. Does that look right? If not, you should correct your system's clock and then refresh this page."
dbalan's explanation is quite legit. Hope they get there.
The idiom "everyone from X to Y" is supposed to demonstrate breadth of support, where X and Y are very different sources, but Snowden and Poitras are most certainly extremely similar sources.
GPL code can be used anywhere; GPL code cannot be made proprietary.
EDIT: I'm getting downvotes and don't understand why. I'm seriously interested, can someone explain the reason?
You might have situation with policies forbidding anything. Like, MS Windows. Or Macs. Or smartphones. Rarely, yes, but I'm surprised GPL looks that unique regarding this matter.
Probably because your comment is of the form "Well, here's a ridiculously unlikely (as well as patently ridiculous) thing that I'm going to use as a counter to your argument."
Preemptive downvoter shield attempt: I'm deliberately taking a very uncharitable view of sandebert's comment in order to answer his question.
Apple clearly doesn't understand Copyright law. (or, are trying to poison their competitors with unfair business practices...)