Wrong About Signal
A couple years ago I was a part of a discussion about encrypted messaging.
- I was in the Signal camp - we needed it to be quick and easy to setup for users to get setup. Using existing phone numbers makes it easy.
- Others were in the Matrix camp - we need to start from scratch and make it distributed so no one organization is in control. We should definitely not tie it to phone numbers.
I was wrong.
Signal has been moving in the direction of adding PINs for some time because they realize the danger of relying on the phone number system. Signal just mandated PINs for everyone as part of that switch. Good for security? I really don't think so. They did it so you could recover some bits of "profile, settings, and who you’ve blocked".
Before PIN
If you lose your phone your profile is lost and all message data is lost too. When you get a new phone and install Signal your contacts are alerted that your Safety Number has changed - and should be re-validated.
After PIN
If you lost your phone you can use your PIN to recover some parts of your profile and other information. I am unsure if Safety Number still needs to be re-validated or not.
Your profile (or it's encryption key) is stored on at least 5 servers, but likely more. It's protected by secure value recovery.
There are many awesome components of this setup and it's clear that Signal wanted to make this as secure as possible. They wanted to make this a distributed setup so they don't even need to tbe only one hosting it. One of the key components is Intel's SGX which has several known attacks. I simply don't see the value in this and it means there is a new avenue of attack.
PIN Reuse
By mandating user chosen PINs, my guess is the great majority of users will reuse the PIN that encrypts their phone. Why? PINs are re-used a lot to start, but here is how the PIN deployment went for a lot of Signal users:
- Get notification of new message
- Click it to open Signal
- Get Mandate to set a PIN before you can read the message!
That's horrible. That means people are in a rush to set a PIN to continue communicating. And now that rushed or reused PIN is stored in the cloud.
Hard to leave
They make it easy to get connections upgraded to secure, but their system to unregister when you uninstall has been down Since June 28th at least (tried last on July22nd). Without that, when you uninstall Signal it means:
- you might be texting someone and they respond back but you never receive the messages because they only go to Signal
- if someone you know joins Signal their messages will be automatically upgraded to Signal messages which you will never receive
Conclusion
In summary, Signal got people to hastily create or reuse PINs for minimal disclosed security benefits. There is a possibility that the push for mandatory cloud based PINS despite all of the pushback is that Signal knows of active attacks that these PINs would protect against. It likely would be related to using phone numbers.
I'm trying out the Element which uses the open Matrix network. I'm not actively encouraging others to join me, but just exploring the communities that exist there. It's already more featureful and supports more platforms than Signal ever did.
Maybe I missed something? Feel free to make a PR to add comments
Comments
kousu posted
In the XMPP world, Conversastions has been leading the charge to modernize XMPP, with an index of popular public groups (jabber.network
) and a server validator.
XMPP is mobile-battery friendly, and supports server-side logs wrapped in strong, multi-device encryption (in contrast to Signal, your keys never leave your devices!).
Video calling even works now.
It can interact with IRC and Riot (though the Riot bridge is less developed).
There is a beautiful Windows client, a beautiful Linux client and a beautiful terminal client, two good Android clients, a beautiful web client which even supports video calling (and two others).
It is easy to get an account from one of the many servers indexed here or here, or by looking through libreho.st.
You can also set up your own with a little bit of reading.
Snikket is building a one-click Slack-like personal-group server, with file-sharing, welcome channels and shared contacts,
or you can integrate it with NextCloud.
XMPP has solved a lot of problems over its long history, and might just outlast all the centralized services.
Bryan Reply
I totally forgot about XMPP, thanks for sharing!