News for hackers. Stuff that matters.
Re:Re: Moxie on Web3 by mike_hearn on Sunday January 09, 2022 @06:16AM (#29862284)
"you can grab the apk from any number of third party download sites"

But people get it from the official app stores and for WhatsApp there's no other option (which is the main one I actually care about because that's where my contacts live).

I think some of this discussion is caused by conflation between Signal-the-tech and Signal-the-app. I could have called it the Axoltl Ratchet instead but I don't think anyone would know what I'm talking about, and anyway, I think it'd be less technically accurate as by now there's lots of stuff to do with group chats etc and I don't know what the underlying code-name is of those schemes. I normally see the whole encryption scheme just be called "Signal encryption".

If your position is "We should have infrastructure that makes it easy for third parties to audit Signal updates correspond to the source code", I absolutely agree! But we can build that with what currently exists, Signal's centralised infrastructure does nothing to prevent that.

We are in 95% agreement indeed! I proposed such an infrastructure in the article, based on threshold signatures, however, it doesn't exist today yet our industry is claiming "we use end-to-end encryption which means we can't read your messages". This claim isn't true - they can read our messages if they want to - and progress seems to have stopped after these rollouts. The claim that it's possible to have a trustless centralized infrastructure provider is a very bold one and currently it's not convincing, so to prove this is possible we need to keep things moving. There has been no attempt to make these services auditable nor even really any recognition that there needs to be. That troubles me a lot. At some point people are going to notice these claims don't add up and trust in the whole software industry may be damaged.

Edit: actually if I recall correctly Signal uses Intel SGX to make some parts of its contact list intersection system auditable. That's a great use of tech to solve some of these problems. SGX is one way to attack the centralized-but-untrusted-provider problem. I don't know if anyone is actually doing remote attestations on a regular basis though.

"Every time someone sends an encrypted message, they're relying on a huge stack of technology that's largely outside their control"

Yes, but those components come from different players, in different countries, with different governments and agendas who often do not trust each other blindly. Hence why mobile radios are now sandboxed, why keyboard apps are sandboxed, Samsung presumably watches out for Google playing naughty games with the Android source as part of their patching and distribution process, etc. Certainly carriers have a long history of treating phone makers as semi-trusted, hence the historically long approval processes.

"Signal doesn't appear to have changed the deal, so it seems like you're saying we can currently claim that it's end-to-end encrypted?"

I believe that is currently the case. I cannot prove it, nor can I prove it will remain the case tomorrow, if it is today, nor can anyone else I trust prove it. Which, logically, means it boils down to faith in Moxie and his employees, people I've never met and do not know. A blog post saying "we promise we're not logging messages" should really carry equal weight.

Re:Re: Moxie on Web3 by mjg59 on Sunday January 09, 2022 @06:25AM (#29862333)
> But people get it from the official app stores

It doesn't matter what "people" do - what matters is whether a third party can obtain the same package and verify it. And they can!

> This claim isn't true - they can read our messages if they want to

They can read our messages if they want to, and we can detect that that happened, and then nobody uses their app any more.

> Samsung presumably watches out for Google playing naughty games with the Android source

Right! And we can watch out for Signal playing naughty games with their source. If you're ok trusting that Samsung will catch Google being untrustworthy, why are you not ok with trusting that signalverifier69's CI toolchain will catch Signal doing the same? The whole point here is that we don't need to trust Signal, we can absolutely verify it.

Re:Re: Moxie on Web3 by Andrew_nenakhov on Sunday January 09, 2022 @06:51AM (#29862464)
Third party getting the package is not a guarantee that you get the same package.
Re:Re: Moxie on Web3 by mjg59 on Sunday January 09, 2022 @06:54AM (#29862486)
If you've got to the point where Google is specifically pushing you a modified app, Google could just push a backdoored keyboard update that exfiltrated all your keyboard inputs instead. Why bother targeting a single app when you can get everything?
Re:Re: Moxie on Web3 by mike_hearn on Sunday January 09, 2022 @07:46AM (#29862765)
I think Android is designed such that even the Play Store cannot replace an installed app with a differently signed one. Or at least it used to be. And, "Android" is controlled by whoever made your phone, not directly by Google unless it's a Pixel device.

That said, it's a thin line. If Google had changed things at some point so that the Play Store could override the signing continuity requirement I wouldn't be remotely surprised.

Re:Re: Moxie on Web3 by JimDabell on Sunday January 09, 2022 @09:14AM (#29863376)
> I think Android is designed such that even the Play Store cannot replace an installed app with a differently signed one.

They can’t, however Google have recently changed the requirements for submitting an application to the Play Store. You now need to hand over your application signing key. Instead of signing the application to prove authenticity to Android devices then giving it to Google to host, you now sign the application to provide authenticity to Google, and then Google re-signs it with the key you gave them to prove authenticity to Android devices.

So if Google want to provide an alternative binary to a specific person, they can now do that.

Re:Re: Moxie on Web3 by hiq on Sunday January 09, 2022 @11:22AM (#29864612)
> Signal-the-tech and Signal-the-app

The Signal protocol[0] is used in Signal[1].

[0]: https://en.wikipedia.org/wiki/Signal_Protocol [1]: https://en.wikipedia.org/wiki/Signal_(software)

> they can read our messages if they want to

If Alice and Bob use the current version of the Signal app, they can't. You're worried about updates, fair enough, if that's within your threat model you're free to delay your updates for as long as you want, until you've reviewed them and waited enough to be relatively confident that a backdoor would have been found by then. Splitting the signing key into several like you suggest would delay updates for everyone while bringing negligible benefits to a tiny minority of Signal users.