by mort96 · 3y ago · 0 comments
I don't understand the hype around end-to-end encrypted software where you have to trust the organization behind the software to not steal your data through their complete control of the endpoints.
However, you have reduced the attack surface to the organisation distributing a signed and compromised version of their software to your phone. This is much less likely than any admin in the company looking at your stuff, or anyone who can hack into the company.
Don't let the perfect be the enemy of the good.
After thinking about it for a bit, I find that argument rather convincing in the case of Signal: very few people would be in a position to add code to the distributed binary without it ending up in the git repo. So with E2EE, we still have to trust the organisation overall, but we don't have to trust any individuals with access to the servers, and the open-source nature lets us avoid trusting any of the individual app developers other than the person/group responsible for producing the final binaries.
It's slightly less convincing in the case of WhatsApp or this GMail thing though. You don't have to avoid a back-door ending up in the git repo, you just have to make it past code review. So in that case, with E2EE, we still have to trust the organisation overall, we have to trust the individuals with access to the app source-code, but it lets us avoid trusting any individuals with access to the back-end.
Still a win I suppose. Just a pretty far cry from how I usually see it advertised, which is more like "thanks to E2EE you don't even have to trust them".
And just to be clear, Signal says that they try to reduce the trust on them to as little as possible. Not zero trust/trustless. They sell "low trust" instead.
I don't understand what "low trust" means. It makes sense to talk about removing trust for individual employees in the organization, but when we're using a client distributed as a binary with no way to verify the source code used to compile it, we're forced to place 100% of our trust in Signal as an organization. Is that "low trust"?
Is there a reason Google and Apple couldn't change their deploy flow to pull from a git repository? As in:
1. Developer pushes to a specific remote (or pushes a specific tag or branch)
2. Apple/Google run the build on their systems, sign it, etc
3. If passed, the app deploys and the published app is annotated with the specific git hash (which can also be displayed in the app store)
For open source, it gives the public verification ability.
For closed source, it is still useful for internal verification. I work adjacent to some mobile teams and most still do builds on a developer's desktop and upload that. I am working towards getting CI for everything, partly to reduce dependence on any one developer's system (eg: I hear things like "Only Tom knows how to do builds to give to Apple, but he's out today") and partly for security. As much as I believe we don't have developers with malicious intent, there's still no way to know that a build uploaded from a developer's desktop really is what's in source control.
Because doing so isn't something they'd realistically care about. They'd still have to maintain the existing flow for closed-source apps (the vast majority of them) that don't want to give outside parties access to their source code, so this would just mean more work for them.
Another big downside is that app authors would not be signing the final product with their own keys. That would have to be done by Google/Apple, so authors would lose a bit of control over future distribution of their app.
[0]: https://developer.android.com/guide/app-bundle/code-transpar...
Take the case of WhatsApp. Without E2EE, you have to trust the platform (Apple) and the people behind the app (Facebook). With E2EE, you still have to trust Apple, but you also still have to trust Facebook, since Facebook controls the endpoint and you have no insight into what it does or if there are any back doors. The same applies to Signal obtained from the App Store or (AFAIK) Google Play. And Apple's E2EE stuff is obviously not adding anything, since we're already trusting them as the OS vendor.
Something like Signal on the desktop is different though. There, we still have to trust the OS vendor, but we and anyone else can inspect the source code, verify that it does what it's supposed to and doesn't have any back-doors, compile it for ourselves, and then we can exchange messages without trusting Signal. In the case of Signal on the desktop, E2EE lets us distrust the Signal organisation, which has value even though we still need to trust our OS and our hardware.
You could argue that we should trust the Signal organisation. That's not unreasonable, but that still makes E2EE no better than normal client-server encryption a la TLS and the promise of a solid no-logging policy.
(We could also discuss the feasibility of verifying that there are no back-doors purely from reading source code and how well a back-door could be hidden. But that's sort of a tangent.)
https://github.com/signalapp/Signal-Android/blob/main/reprod...
E2EE has value in the case where it (at least in principle) allows you to remove something from the list of trusted entities. Signal on the desktop is one such case, where E2EE lets us avoid trusting the Signal organisation.
It is doable.
Telegram has a procedure you can run to verify the binaries, also from the Apple App Store.
Yes, it requires a jailbroken phone, but it is doable.
You can use another to run it on for daily use.
(I think it's not likely to be the case but if we are going all the way then it is what it is.)
(But unlike Signal Telegram also haven't been caught with glaring zero days or caught sending images to anyone except the intented recipient the last fee years.)
Source on this? Signal can't even send messages to users with their phones off. Telegram (like WhatsApp) will buffer the message on the server (to the best of my knowledge) and can relay that message quite some time after. Signal clearly provides E2EE chats and group chats, so I'm not sure why that's stated here. For point-to-point, my understanding is that the functionality is extremely limited here and that you can't actually chat. That's what I found googling anyways. While Signal doesn't have this, there is an open feature request for something like this[0], but traction is often low on topics like these. Maybe if HN users were as passionate on Signal forums as they were here we'd get more of these features? Who knows. Devs may just ignore those too.
> But unlike Signal Telegram also haven't been caught with glaring zero days or caught sending images to anyone except the intented recipient the last fee years.
I'd actually like a source on this. I'm not aware of any Signal zero days... ever. Or hearing about Signal users receiving wrong messages. I have heard about several zero days with Telegram though.
Even if you trust Telegram's e2e it's not on by default. Secure chats are second class and missing lots of features (plus glitchy, I lost multiple entire chat histories), so almost no one uses them.
Signal has reproducible builds
https://github.com/signalapp/Signal-Android/blob/main/reprod...
While I agree with the concern here, is there an alternative mass market model in which software can be distributed in a way that ensures no one but the user controls the device? I mean mass market, so the barrier is that my tech illiterate grandma has to be able to install this with the help of my tech illiterate parents.
On both phones the keyboard software "listens" to what you type, how else would it function?