129
submitted 1 year ago* (last edited 1 year ago) by Kalcifer@lemmy.world to c/privacy@lemmy.ml

I'm not sure if it is entirely accurate to compare them in this way, as "Matrix" refers to simply the protocol, whereas "Signal" could refer to the applications, server, and protocol. That being said, is there any fundamental difference in how the Matrix ecosystem of federated servers, and independently developed applications compares to that of Signal that would make it less secure, overall, to use?

The most obvious security vulnerability that I can think of is that the person you are communicating with (or, conceivably, oneself, as well) is using an insecure/compromised application that may be leaking information. I would assume that the underlying encryption of the data is rather trustworthy, and the added censorship resistance of federating the servers is a big plus. However, I do wonder if there are any issues with extra metadata generation, or usage tracking that could be seen as an opsec vulnerability for an individual. Signal, somewhat famously, when subpoenaed to hand over data, can only hand over the date that the account was created, and the last time it was used. What would happen if the authorities go after a Matrix user? What information about that user would they be able to gather?

you are viewing a single comment's thread
view the rest of the comments
[-] poVoq@slrpnk.net 16 points 1 year ago* (last edited 1 year ago)

In general I agree, but with one caveat: Matrix has two e2e encryption algorithms: OLM and MegOLM. OLM is indeed comparable to Signal's however it isn't used by default. MegOLM on the other hand is a severely watered down version that offers much weaker protection compared to Signal's algorithm (or OMEMO used by XMPP). It's a trade-off Matrix did to make some things more user-friendly at the expense of message security.

[-] Anarchie99@feddit.de 12 points 1 year ago* (last edited 1 year ago)

In what way is it watered down and what are the benefits?

[-] poVoq@slrpnk.net 8 points 1 year ago

Two ways mainly: the private key is no longer device specific but rather account specific and the ratchet required for perfect forward secrecy is not forwarded on every message AFAIK.

The benefits are better scalability in larger group chats and generally less key exchange hassles. But this comes at a significant downgrade in security.

Basically MegOLM is only slightly better than OpenPGP / OTR or similar older generation e2ee systems.

[-] src@lemmy.ml 7 points 1 year ago

Not to downplay the security of OLM, but if MegOLM is as cryptographically sound as OpenPGP, then that's already very secure.

As long as my private key is safe, it would be computationally impossible for anyone to decrypt messages intended for me.

[-] poVoq@slrpnk.net 5 points 1 year ago

Yes, the problem with MegOLM however is that the private key is automatically exchanged between devices using the same account. I think 2-3 years ago there was an exploit allowing malicious home-server admins to add additional devices under their control and thus listen in on what appeared to be e2ee conversations to the user. This specific exploit was fixed, but the principal problems of potentially insecure exchange of private keys remains in MegOLM to this day.

[-] optimal@lemmy.blahaj.zone -1 points 1 year ago

OpenPGP is not very secure, by modern standards.

[-] src@lemmy.ml 1 points 1 year ago

How so?

If my keys use elliptic curves, you couldn't possibly brute force it.

load more comments (1 replies)
load more comments (1 replies)
load more comments (2 replies)
this post was submitted on 24 Jul 2023
129 points (97.1% liked)

Privacy

31258 readers
660 users here now

A place to discuss privacy and freedom in the digital world.

Privacy has become a very important issue in modern society, with companies and governments constantly abusing their power, more and more people are waking up to the importance of digital privacy.

In this community everyone is welcome to post links and discuss topics related to privacy.

Some Rules

Related communities

Chat rooms

much thanks to @gary_host_laptop for the logo design :)

founded 4 years ago
MODERATORS