Lurker News

Comments (486) 117 threads

Show all comments

Showing thread 1 of 117

erohead38 replies#
While working on Pebble, we ran into a lot of issues as we tried to enable messaging from the watch. For example, we never figured out how to send an iMessage or WhatsApp reply. While digging around for a solution to that problem, I thought it was odd that no one had built a Adrium/Trillian/Meebo chat app for modern chat networks. I buried that thought for a while, until I learned about Matrix two years ago.

Matrix is the holy grail of chat. It's end-to-end encrypted by default, federated and open source. The only problem is that not a single one of my friends or family was on it! Luckily the Matrix folks had already envisioned a solution to this problem - they built an API enabling 'bridges' between Matrix and other chat networks. This struck a chord with me, maybe we could finally build a single app that I could use to chat with all my friends, regardless of which chat app they used. Through the Matrix community I met Tulir, the most prolific bridge developer and we started working together on what would become Beeper. I've been using it as my primary chat client for almost 2 years now. I could not imagine going back to the hot mess of 12 different chat apps I had before!
Beeper is a paid service because I think it aligns interests between us and our users. We make a featureful and secure app, in exchange you pay us money. For those who prefer to self-host, you can run the entire Beeper backend stack on your own server. The vast majority of the code we've written for Beeper is open source on gitlab.com/nova. Our desktop client is closed source, but you can use Element (or any open source Matrix client) if you prefer. See our FAQ for more info or I'd be happy to explain more.

gtf211 reply#
How does this play with the security of e.g. Signal? Security and privacy is the main reason many of us will use it so I wouldn't want to compromise it.

Would love to use this on Linux, I find all the desktop apps really rubbish (and very happy to pay for it).

feanaro4 replies#
Matrix's encryption is based on the same cryptographic ratchet technology used by Signal. The protocols involved are called Olm and Megolm.

Olm is used for establishing 1-on-1 sessions between pairs of users (or rather, their devices). This is then used as a secure channel to share Megolm keys. A Megolm key is ratcheted with each room message sent and is used to derive a symmetric AES key with which the message is actually encrypted. Periodically (every N messages) a new Megolm key is created and re-shared with room participants.
So the end result is that it has roughly the same security as Signal, except that a single compromised Megolm key will reveal N messages to the attacker instead of just a single message. In return, the protocol is much more scalable, enabling relatively efficient large end-to-end encrypted groups. Otherwise, all the session self-healing, forward secrecy properties of Signal are retained.
TL;DR: Approximately the same as Signal, trading a tiny bit of security in the event of a key leak for more scalable encryption in the setting of large groups.

rStar#
so the answer is: yes this reduces security over signal for both myself and whomever i’m chatting with. due to this, seems like a questionable choice to include signal.
kevincox2 replies#
I believe this is true for Matrix-to-Matrix communication. However if I understand correctly the bridges terminate the e2e encryption and then connect to the third party service (possibly with a different e2e session).

Continue this thread — 2 replies

foolinaround1 reply#
is the N configurable by the user? ( different paid tier)

Continue this thread — 1 reply

gtf211 reply#
So, essentially, if I self-host the bridges then there's no security issue (otherwise it looks like a third party has access to the keys to decrypt messages, unless the negotiation just creates a tunnel through which the signal connection occurs)?

Continue this thread — 1 reply

recursivedoubts1 reply#
Thank you, I am very glad to pay you money to solve this problem!

Without an open source client, how can I be assured that you aren't harvesting user data through it?

erohead#
At first, you have to trust us though we will perform auditing eventually. If you would like to use an open source Matrix client, that works as well!
necrotic_comp#
This is fantastic stuff. Thank you for building it. Matrix truly is a wonderful piece of software.
michaeljelly3 replies#
Honestly so glad it's a paid service. I'm happy to pay for something I can trust to handle my messages, rather than using them against me to sell ads/send to shady data brokers!

Awesome work Eric, Tulir, and the whole Matrix team too!

spiffytech1 reply#
$10/mo is steeper than I like for a chat app, but this is so huge to just roll everything into one place, and I like that it's OSS, so I'm happy to pitch in and support the devs even if I'm capable of self-hosting the backend.
petre3 replies#
For $10/mo one could host their own VPS and server infra.
robinhood4 replies#
Classic HN comment. Yeah, $10/mo, + the time needed to setup everything + the time to maintain it + the security holes to patch yourself + the downtime because the instance rebooted for some reasons + the monitoring of the service + all the time wasted because you could have simply lived your life and paid the reasonable fees for the service in the first place.

Continue this thread — 4 replies

m-p-3#
But that includes setting up and maintaining it, as well as troubleshooting when there's an issue.

For some, $10/month is a nice way to have all that worry-free.

tutfbhuf#
I already have a VPS for other reasons, so I'm glad if I could get a self-hosted solution.
pimeys2 replies#
I've been in the past few nights trying to build my own Matrix server with integrations to Signal, WhatsApp, Telegram, IRC, Slack et.al. It is quite a lot of work, even with the Ansible script. First was the DNS SRV record, that is needed to federate with matrix.org. And the Signal integration happily sent messages to my friends, but I never got any messages back.

I have quite a lot of experience with Linux and server maintenance. And I know if I put enough time to this, I'll get everything to work eventually. I'm still saying that paying money for somebody else to do this feels like a nice investment at this point. The task of doing everything by yourself is quite tricky.

pimeys1 reply#
Need to add now I got everything working. Element running in my own domain, connecting Signal, Telegram, Matrix federation and IRC in a beautiful way.

It is a lot of work, some of the documentation can be a bit tough if you don't know how things work together and especially the DNS setup can take a bit of time to get the federation working.

Continue this thread — 1 reply

rattray#
Sorry, just to clarify - are you saying that self-hosting Beeper is a lot of work, or that self-hosting Matrix with bridges without Beeper is a lot of work?
411111111111111#
The messages still go through the "free" networks, so they're still being used exactly like that.
sarthakjshetty1 reply#
Holy! I don't remember the last time I was this excited for a chat app. I just saw your tweet and came to HN to post it but this was already on the front page haha.

Just a quick question (completely noob question, I apologize in advance), do bridges work like APIs? Where can I read more about this protocol?
Really looking forward to this Eric!

sarthakjshetty#
Awesome! Thanks a ton!
have_faith3 replies#
How “brittle” are the integrations? I guess I mean is this a supported feature of all the 3rd party services or do you have to rely on hooking into undocumented apis that could change at any time etc.
erohead1 reply#
I've been using it for the last year straight and I think we only experienced one unforeseen breaking API change.
have_faith#
Just chiming in, I probably wouldn't pay for $10 a month for this service (maybe I'm not the target market). I do use various messaging apps and it is annoying though.

This jumped out at me:
>we send each user a Jailbroken iPhone with the Beeper app installed which bridges to iMessage
I couldn't tell if that was some sort of joke or if it meant something different to how I was reading it?
Being open source is great, but to be honest I lack the time (and expertise) to see how all the integrations work. A page that describes a high level overview of how this works exactly might build more trust.
Good luck!

jeroenhd1 reply#
I'm running several of the mentioned integrations on my own server (without the Ansible script) and every now and then there's a weird bug, or some slowdown, or some messages not getting through, but I've mostly switched.

I'm not sure if I'd ever pay $10/mo for a service whose main selling point is running what are essentially reverse-engineered hacks. Some of the integrations use the official available API (like the Telegram one) but others (like the Whatsapp and Signal ones) run on altered web client code. Furthermore, in most commercial chat systems, alternative clients are usually not allowed and can lead to a ban of your account if the server considers you a bot.
The product is a worthy attempt at fixing the mess that is modern chat solutions, but from my experience I just don't trust the system enough to switch.
Also keep in mind that any e2e encryption platforms like Signal and Whatsapp provide is made worthless if you use a bridge; I haven't seen any bridge use Matrix's e2e encryption yet and your messages are all being decrypted on the server regardless.

erohead10 replies#
All of our bridges (except Slack and Discord, but will soon) use Matrix's e2e encryption scheme and all messages are stored encrypted on Beeper servers with a key that you control. We can't decrypt your messages.

Continue this thread — 10 replies

Continue this thread — 1 more reply

Continue this thread — 32 more replies