News for hackers. Stuff that matters.
Re:Stop Using Encrypted Email (2020) by kitkat_new on Saturday September 11, 2021 @04:06PM (#28495399)
I think it would make more sense to point to the Matrix protocol instead of Signal. Matrix is actually decentralized like Email, allows any service provider as well as app provider - free to choose as a user. It supports Perfect Forward Secrecy (based on the Signal Protocol), arbitrary many devices and "one verification for each individual".

Well, you might argue Matrix stores meta data server side (the ones chosen), while Signal at least doesn't have to.

But do you really want to give up all that freedom trusting a single service provider in that really no data is kept?

Maybe you can wait until Matrix allows you to avoid signing up on a server using P2P[0], then you have got it all, and don't have to commit to an alternative that has advantages, but also big draw backs.

[0] https://news.ycombinator.com/item?id=27077660

Re:Stop Using Encrypted Email (2020) by mananaysiempre on Saturday September 11, 2021 @05:45PM (#28496350)
I love the idea behind Matrix and dearly want it to succeed, but unlike IRC and XMPP as well as (to a lesser extent) email and netnews, it has the inherent problem that it implements a genuinely difficult thing: a large partition-tolerant distributed database without a central authority and even a bit of mistrust between nodes. Now that I’ve put this in writing, I wonder if there were any attempts to do this at all before the current generation of systems. (IRC and netnews basically YOLO their consistency away because they can’t afford it, which was indeed correct when they were designed, but people did a lot of distributed systems work between then and now...) That implies that a Matrix server is necessarily somewhat heavy and rather difficult to implement.

This makes me think that the federated network must by necessity exist in a fragile and tender state while Matrix is young, and need to be tended to with attention and care. The current stewards of the protocol don’t seem to be giving it that, growing features (even if good and competently designed ones) while treating the surroundings with something of a “they will come” approach. (To put it uncharitably: Look, there are now a whole two comprehensive server implementations, and the second one you could even afford a server for! Yeah, the Gnome people gave up on independently implementing a secure client, but surely an Electron one should be enough?..)

I’ve spent a very limited time studying the situation so I am not going to make any dire-sounding prophecies; besides, I actively don’t want any such prophecies to come true. What I am is worried. It doesn’t take much for a protocol to become a non-interoperable tangle of implementation details, and Matrix is an extraordinarily ambitious one.

Re:Stop Using Encrypted Email (2020) by remirk on Saturday September 11, 2021 @06:34PM (#28496724)
I agree that Matrix is quite complicated. However, adding new features doesn't have to make it that more complicated. I get the impression that it's not that bad as most new features are actually based on existing parts of the protocol. Everything is just based on events in a room. Most 'special' events have a fallback mechanism to text, to insure clients that haven't implemented the event type can still show the information to the user. Replies and stickers make use of this for instance.
Re:Stop Using Encrypted Email (2020) by mananaysiempre on Saturday September 11, 2021 @06:54PM (#28496856)
Short and harsh (likely too harsh):

My point is not that Matrix is complicated, thus we should avoid making it more so. My point is that the approach that Matrix chooses, even in its most minimal form, requires Matrix to be complex and resource-hungry, thus it seems prudent to direct attention and effort towards cultivating a multitude of implementations and deployments rather than enhancing marketability.

A social argument against features, not the standard technical one.

Re:Stop Using Encrypted Email (2020) by remirk on Saturday September 11, 2021 @07:05PM (#28496930)
I was replying to

> The current stewards of the protocol don’t seem to be giving it that, growing features (even if good and competently designed ones) while treating the surroundings with something of a “they will come” approach.

I don't agree the growing features is an issue.

Re:Stop Using Encrypted Email (2020) by mananaysiempre on Saturday September 11, 2021 @07:49PM (#28497202)
We are in agreement as to which part you were replying to, then :)

> I don't agree the growing features is an issue.

And I’m not arguing that it’s an issue in itself, either. I’m arguing that it is an issue when allocated development effort in preference to growing an ecosystem, because Matrix is both (inherently) bound to have an difficult time at it and (factually) not in a good place right now from that point of view. And that is my perception of the protocol developers’ priorities.

(Once there are a half-dozen independent server implementations and a decent number of clients, all with reasonably complete coverage of the current spec, this argument becomes irrelevant, so I’m not pleading featuritis here.)

Re:Stop Using Encrypted Email (2020) by Arathorn on Sunday September 12, 2021 @07:08PM (#28505933)
> This makes me think that the federated network must by necessity exist in a fragile and tender state while Matrix is young, and need to be tended to with attention and care. The current stewards of the protocol don’t seem to be giving it that, growing features (even if good and competently designed ones) while treating the surroundings with something of a “they will come” approach. (To put it uncharitably: Look, there are now a whole two comprehensive server implementations, and the second one you could even afford a server for! Yeah, the Gnome people gave up on independently implementing a secure client, but surely an Electron one should be enough?..)

It's one thing to be uncharitable; it's another thing to be spouting stuff which is demonstrably false.

There are three usable server implementations participating in the network; synapse, dendrite and conduit (four, if you include construct). Synapse runs fine on a VPS with 2-4GB of RAM for almost all personal usage patterns, so snark about "servers you can afford" is BS. In addition to that we reduced its RAM footprint by 2-3x over the last few months (https://twitter.com/matrixdotorg/status/1434912387933560837).

The GNOME Fractal team hasn't given up at all - they just chose to rewrite the app for Gtk4, shifted to using matrix-rust-sdk in order to focus on the GUI layer and have been busier than ever. Meanwhile, there are tens of other implementations - a non-exhaustive list of the clients and SDKs today implementing E2EE is:

  * Separate core team implementations:
    * matrix-js-sdk (TypeScript)
      * Element Web
      * SchildiChat
      * Cinny
      * Thunderbird
    * matrix-ios-sdk (ObjC)
      * Element iOS
      * Nio
      * Seaglass (on hold)
    * matrix-android-sdk2 (Kotlin)
      * Element Android
      * SchildiChat Android
    * matrix-android-sdk (Java), obsolete
      * Riot Android
    * matrix-rust-sdk (Rust)
      * “Corroded” Element Android
      * Weechat-rs
      * Fractal
      * Daydream (archived)
    * Hydrogen SDK (JavaScript)
      * Hydrogen
  * Independent community implementations:
    * famedly-sdk (Dart)
      * FluffyChat (Web, Android, iOS)
    * matrix-nio (Python)
      * pantalaimon
      * weechat-matrix
      * mirage
    * mtxclient (C++)
      * nheko
    * mautrix (go)
      * gomuks
    * syphon (Dart)
    * chatty (C)
    * matrix-bot-sdk (TypeScript)
    * TeamSpeak 5 (proprietary)
    * purple-matrix (C) (incomplete)
> I’ve spent a very limited time studying the situation

This is clear.

Re:Stop Using Encrypted Email (2020) by kitkat_new on Sunday September 12, 2021 @09:18AM (#28500873)
Are you referring to Fractal? If so, it doesn't look like it has been given up on: https://gitlab.gnome.org/GNOME/fractal
Re:Stop Using Encrypted Email (2020) by mananaysiempre on Sunday September 12, 2021 @11:04AM (#28501800)
Yes.

(Looks closely.)

Ouch, I wanted to reference to its state “a couple of months ago” when I looked at it, but looks like it has been half a year at least. My calendar is completely out of order it seems.

In any case, it’s encouraging to hear that the development (well... rewrite) is proceeding along and E2EE is once more on the roadmap. But my point still stands, partly, because the developers have given up on implementing the protocol on their own, see e.g. https://gitlab.gnome.org/GNOME/fractal/-/commit/6bcb5e9 (announcement of switch to matrix.org SDK).

Re:Stop Using Encrypted Email (2020) by tptacek on Saturday September 11, 2021 @07:13PM (#28496981)
I wrote this article. Honestly, I don't care which secure messenger you use. I'm going to recommend the one I feel is safest, but they're all leagues better than email. Don't use encrypted email; that's the point of the article, not "use Signal".
Re:Stop Using Encrypted Email (2020) by daneel_w on Saturday September 11, 2021 @04:34PM (#28495667)
Or XMPP/Jabber.
Re:Stop Using Encrypted Email (2020) by TedDoesntTalk on Saturday September 11, 2021 @05:15PM (#28496100)
I’ve not seen XMPP used for store-and-forward messaging, like email, but I suppose it could be done.

Every single XMPP client I’ve used sucks. Really suck. And there are always quirks setting up group chat and image sharing with XMPP servers.

Re:Stop Using Encrypted Email (2020) by daneel_w on Saturday September 11, 2021 @05:31PM (#28496233)
Roster/conversation capability (server holding message until recipient comes online) is a basic extension to XMPP. I don't think I've ever used a Jabber server not supporting it, and all the popular clients support it.
Re:Stop Using Encrypted Email (2020) by approxim8ion on Saturday September 11, 2021 @05:34PM (#28496259)
I believe they mean the messages being held on a server even post delivery.
Re:Stop Using Encrypted Email (2020) by daneel_w on Saturday September 11, 2021 @05:40PM (#28496309)
Yes. Same thing, same feature. This is what "conversation" mode is, also known as message archive management, or XEP-0313 (a standardized extension/feature of XMPP).
Re:Stop Using Encrypted Email (2020) by TedDoesntTalk on Sunday September 12, 2021 @06:09PM (#28505498)
Have you configured a server for that? I have. Not fun. Same with group chat.
Re:Stop Using Encrypted Email (2020) by daneel_w on Monday September 13, 2021 @08:57AM (#28510917)
Yes I have. It's a rather straight-forward and quick job with Prosody.
Re:Stop Using Encrypted Email (2020) by approxim8ion on Saturday September 11, 2021 @04:50PM (#28495834)
XMPP is good, great even, but it has the same issue as email where you could interface with someone not using OMEMO or whatever your encryption scheme is and it would fall back to plaintext.
Re:Stop Using Encrypted Email (2020) by MattJ100 on Saturday September 11, 2021 @05:08PM (#28496049)
The story is not quite the same for XMPP. For example, with XMPP you can determine ahead of time whether or not a contact has OMEMO. And clients configured to only use OMEMO won't "fall back".
Re:Stop Using Encrypted Email (2020) by approxim8ion on Saturday September 11, 2021 @05:26PM (#28496202)
Apologies, clearly my understanding of XMPP is not the best.

However, both points you mentioned are client dependent, right?

Re:Stop Using Encrypted Email (2020) by MattJ100 on Sunday September 12, 2021 @01:44AM (#28498872)
Yes. It's client-dependent for all other systems too. For example Signal's end-to-end encryption only works if both parties are using Signal.

For XMPP the difference is that there are multiple E2EE clients to choose from (see https://omemo.top/ ). And if someone chooses to use a none E2EE client, you still have the choice whether to communicate with them without E2EE, if that's acceptable to you in the specific context (not all conversations demand E2EE).

Re:Stop Using Encrypted Email (2020) by giantrobot on Saturday September 11, 2021 @06:15PM (#28496567)
The fallback has to be client dependent. With E2EE the server can't decrypt messages. So there's no way for the server to decrypt the message to "downgrade" the channel. The client is also the node responsible for encrypting all messages for all recipients so it has to know if any of those recipients haven't done a key exchange.
Re:Stop Using Encrypted Email (2020) by daneel_w on Saturday September 11, 2021 @05:38PM (#28496283)
With XMPP that's thankfully up to you to decide through client preferences, and in this way your choice also propagates across XMPP servers.
Re:Stop Using Encrypted Email (2020) by arcbyte on Saturday September 11, 2021 @05:28PM (#28496209)
I thought we all decided a decade ago that XMPP/Jabber was way too complicated to implement and not to use it?
Re:Stop Using Encrypted Email (2020) by daneel_w on Saturday September 11, 2021 @05:33PM (#28496248)
I don't think so. Though it is possible that you decided so on your own.