HNHacker News
TopNewBestAskShowJobs

Arathorn

15,826 karma · joined December 8, 2010

Matrix.org project lead | CEO/CTO [Element](https://element.io)
submissionscomments
Arathorn··on Welcoming Discord users amidst the challenge of Age Verification
Yes, that's the difference. Loads of Matrix servers have nothing exposed to index, and steer clear of public rooms, and so wouldn't show up on MRS's stats.

Whereas I literally select count(*)'d from the destinations table on matrix.org, filtered on servers which had been federating in the last week(?) in order to get the specific stats above. (And then count(*) of all time for the 150K figure).

Arathorn··on Running My Own XMPP Server
On the Matrix accessibility side, Element X has improved loads over the years - https://element.io/blog/helping-to-get-everyone-in-their-ele... and https://element.io/blog/element-is-accessible-by-design/ etc.
Arathorn··on Welcoming Discord users amidst the challenge of Age Verification
The idea of crowdfunding Discordish features for Matrix from disaffected Discorders (e.g. using the premium acct system we've built for matrix.org) has come up a bunch.

The problem is more that Element team is seriously stretched (particularly after the various misadventures outlined here: https://youtu.be/lkCKhP1jxdk?t=740) - so even if there was a pot of money to (say) merge custom emoji PRs... the team is more than overloaded already with commitments to folks like NATO and the UN. Meanwhile, onboarding new folks and figuring out how to do the Discordy features and launch a separately Discordy app under a Discordy server would also be a major distraction from ensuring Element gets sustainable by selling govtech messaging solutions.

So, we're caught in a catch-22 for now. One solution would be for other projects to build Discordy solutions on top of Matrix (like Cinny or Commet), or fork Element to be more Discordy (and run their own crowdfunders, perhaps in conjunction with The Matrix Foundation). Otherwise, we have to wait for Element to get sustainable via govtech work so it can eventually think about diversifying back into consumer apps.

Arathorn··on Welcoming Discord users amidst the challenge of Age Verification
that would be a bit like w3c.org not running a web server on their domain…?
Arathorn··on Welcoming Discord users amidst the challenge of Age Verification
We're taking it for granted that people do not want to be tracked on the internet, and certainly don't want everyone to have to verify themselves on every site they use. I personally spent ages of time campaigning against the legislation (and lost) - e.g. https://matrix.org/blog/2021/05/19/how-the-uk-s-online-safet... and https://element.io/blog/the-online-safety-bill-an-attack-on-... etc.

The difference with Discord is that Matrix is a protocol, not a service. It's made up of thousands of servers run by different people in different countries. Public instances may choose to verify users in affected countries to abide by the law; others may choose to run a private instance instead.

Arathorn··on Welcoming Discord users amidst the challenge of Age Verification
That post is 2023 vintage and is both outdated and questionable in parts.

19. "media downloads are unauthenticated by default" -> fixed in Jun 2024: https://matrix.org/blog/2024/06/26/sunsetting-unauthenticate...

20. "ask someone else’s homeserver to replicate media" -> also fixed by authenticated media

21. "media uploads are unverified by default" - for E2EE this is very much a feature; running file transfers through an antivirus scanner would break E2EE. (Some enterprisey clients like Element Pro do offer scanning at download, but you typically wouldn't want to do it at upload given by the time people download the AV defs might be stale). For non-encrypted media, content can and is scanned on upload - e.g. by https://github.com/matrix-org/synapse-spamcheck-badlist

22. "all it takes is for one of your users to request media from an undesirable room for your homeserver to also serve up copies of it" - yes, this is true. similarly, if you host an IMAP server for your friends, and one of them gets spammed with illegal content, it unfortunately becomes your problem.

In terms of "invisible events in rooms can somehow download abusive content onto servers and clients" - I'm not aware of how that would work. Clients obviously download media when users try to view it; if the event is invisible then the client won't try to render it and won't try to download the media.

Nowadays many clients hide media in public rooms, so you have to manually click on the blurhash to download the file to your server anyway.

Arathorn··on Welcoming Discord users amidst the challenge of Age Verification
I wrote the OP, so to try to clarify:

> isn't Matrix based out of the UK and primary hosted instances on AWS in the UK?

It doesn't matter what country you run your server in or where your company is based; if you're providing public signup to a chat server then the countries (UK, AU, NZ etc) which require age verification will object if you don't age verify the users from those countries. (This is why Discord is doing it, despite being US HQ'd). In other words, the fact that The Matrix.org Foundation happens to be UK HQ'd doesn't affect the situation particularly.

(Edit: also, as others have pointed out, Matrix is a protocol, not a service or a product. The Matrix Foundation is effectively a standards body which happens to run the matrix.org server instance, but the jurisdiction that the standards body is incorporated in makes little difference - just like IETF being US-based doesn't mean the Internet is actually controlled by the US govt).

> Their solution is for everyone to pay for Matrix with a credit card to verify age.

Verifying users in affected countries based on owning a credit card is one solution we're proposing; suspect there will be other ways to do so too. However: this would only apply on the matrix.org server instance. Meanwhile, there are 23,306 other servers currently federating with matrix.org (out of a total of 156,055) - and those other servers, if they provide public signup, can figure out how to solve the problem in their own way.

Also, the current plan on the matrix.org server is to only verify users who are in affected countries (as opposed to try to verify the whole userbase as Discord is).

Arathorn··on Welcoming Discord users amidst the challenge of Age Verification
...and while we have no choice but implement it on the matrix.org instance, other folks running their own servers are responsible for their own choices.
Arathorn··on Discord Alternatives, Ranked
https://gitlab.gnome.org/World/Chatty/-/tree/main/src/matrix... might be able to help you?
Arathorn··on Discord Alternatives, Ranked
The devil is in the details on this. The core concern was that libolm (the obsolete C impl of e2ee in Matrix) used crypto primitives which don’t protect from timing attacks.

However, in practice, this was not exploitable: the only way to exercise these primitives was over the network, where network latency and request rate limiting mitigates such attacks.

Meanwhile, we had already rewritten and replaced libolm with vodozemac, a pure rust implementation using robust primitives, shipped in the major Matrix SDKs and implementations like Element and Element X.

I’m not sure this counts as alarmingly cavalier. I do regret libolm ever going into production with substandard primitives from a hygiene perspective, but we fixed it as soon as we could via vodozemac, and meanwhile included the safety warning.

Arathorn··on Matrix messaging gaining ground in government IT
cool! would be even cooler to hook it up to https://github.com/matrix-org/matrix-rust-sdk/issues/5350 when it should then just work?

matui looks super fun - you should come tell https://matrix.to/#/#twim:matrix.org about it :)

Arathorn··on Matrix messaging gaining ground in government IT
this is me working with my users and trying to understand their firsthand experience for myself :)
Arathorn··on Matrix messaging gaining ground in government IT
Hmmm. The main difference between the Matrix Fdn publishing a spec (https://spec.matrix.org) made out of Matrix Spec Changes (https://spec.matrix.org/proposals) versus IETF only publishing RFCs is simply that the Matrix Fdn also maintains a consolidated version of the spec. I'm not sure that makes the protocol governance fundamentally more vulnerable to govt influence?
Arathorn··on Matrix messaging gaining ground in government IT
> Do Matrix clients still keep the oldest version of the Megolm ratchet they have ever received? When I last looked (around 2024), the libraries maintained by the Matrix.org core team did.

It entirely depends on the client. There is nothing in the protocol which means that clients have to store old keys, but many do - mainly so they have a copy that can be backed up on the server to support migrating between devices, and for history sharing, as you say. However you absolutely could configure a locked-down Matrix client which discards megolm keys after receipt.

> My understanding is that, while a _sender_ will rotate Megolm sessions every 100 or so messages, recipients tend not to: clients will accept ciphertexts sent from those old sessions for an indefinite period of time. Again, I haven't been following developments in the Matrix world for a little while, so please correct me if I'm wrong.

Yup, this is fair - and agreed that implementations could and should discard unexpected messages in those sessions. There's nothing in the protocol that stops that (but also it's not explicitly covered in the spec).

We can fix this though; thanks for flagging it (and sorry if we missed it in the RHUL research...)

Arathorn··on Matrix messaging gaining ground in government IT
thanks. we are doing our best, despite various a few misadventures along the way :)
Arathorn··on Matrix messaging gaining ground in government IT
Matrix should categorically not have any sync issues; this is not normal. Something bad must be happening on the server; what server are you using and how are you running it?
Arathorn··on Matrix messaging gaining ground in government IT
Unencrypted room search should Just Work for unencrypted rooms (it uses postgres FTS under the hood).

Encrypted room search should also Just Work... but only on Element Desktop (which uses tantivy to do clientside search). We are in the process of porting this to Element X (and Element Web), but after an initial spike over the summer we're waiting for either funding or manpower to finish it.

Arathorn··on Matrix messaging gaining ground in government IT
We explicitly built Element X to be competitive with Telegram's UX - I'm guessing that the feedback here is on the crusty old Element Classic app, which hasn't been touched for 3 years now, and definitely did feel like a laggy MSN by comparison.

Meanwhile Element X feels really really good - especially on iOS, but also Android has improved loads in the last few months (after tweaking the rustc ARM compilation flags properly, doh)

Arathorn··on Matrix messaging gaining ground in government IT
When we first announced Matrix 2.0 implementations in Sept 2024 we made a major error by not providing an easy distro, so I feel your pain.

We fast-followed with https://github.com/element-hq/ess-helm as a really easy distribution (albeit using helm charts) based on the paid offering we provide for folks for NATO and the UN and folks. It really is trivial to install now - e.g. here's a live-install from FOSDEM last weekend: https://youtu.be/EngsGD30Ow0?t=929

Meanwhile if you're allergic to k8s I went and published a trivial docker-compose at https://github.com/element-hq/element-docker-demo/ too.

Arathorn··on Matrix messaging gaining ground in government IT
> Olm/Megolm does not offer forward secrecy for group messaging

Megolm does provide forward secrecy - just in blocks of messages. If a message key gets stolen, an attacker could decrypt subsequent messages from that sending device until the next session begins: by default this happens either after 100 msgs have been sent, a week has elapsed, or if the room membership changes. Most folks consider this to be adequate perfect secrecy.

In terms of the Matrix Fdn being incorporated in the UK… I guess that means one shouldn’t use the Internet, given IETF is US incorporated? :)

Arathorn··on Matrix messaging gaining ground in government IT
Element X finally has this on Android (in Labs) now. Web & iOS will follow.
Arathorn··on France's homegrown open source online office suite
it sounds like the hackspace server has been banned from inviting due to spam or something. can you share the name of the server so we can check? or mail abuse@matrix.org with the details.
Arathorn··on France's homegrown open source online office suite
this sounds like something super weird about the setup - it really should just work. what client and server was it?
Arathorn··on European Commission Trials Matrix to Replace Teams
Element has put tens of millions of dollars into Matrix over the years and today provides hundreds of thousands of dollars worth of resources per year to support it.

Amandine (acting managing dir on the fdn) is preparing the public financial report of the Foundation which will have more details on this; it should be out in a few weeks.

Arathorn··on European Commission Trials Matrix to Replace Teams
It wasn't France (and, ironically, it wasn't funded - it was mainly us showing off)
Arathorn··on European Commission Trials Matrix to Replace Teams
France donates to the Matrix Foundation (which helps the protocol retain its neutrality and independence, and is very much appreciated), but doesn't currently financially support Element's dev as their upstream. We're trying to fix that though!
Arathorn··on European Commission Trials Matrix to Replace Teams
Manually importing/exporting keybackups is on the todo list (albeit towards the bottom). Supporting legacy calls is not (unless someone contributes it); the intention is to converge asap on native Matrix group calls.
Arathorn··on European Commission Trials Matrix to Replace Teams
yes, Element is venture-funded, which is where much of the money came to build all this in the first place - see the bottom of https://element.io/en/about.
Arathorn··on European Commission Trials Matrix to Replace Teams
Probably, but much like the sitar player's sitar in Moulin Rouge, I aim to only speak the truth :)
Arathorn··on European Commission Trials Matrix to Replace Teams
Element Desktop/Web (and Element X) use Element Call for proper encrypted group VoIP/Video these days rather than Jitsi - since Sept 2024. Meanwhile we're busy upgrading Element Web to use the same rust-sdk engine as Element X (although this will take a year or so).

In terms of non-Element clients... I can't really speak for them, but I hear really good things about Cinny for folks who want a more Discord-like experience on desktop, and we livecoded an Element Call integration for it at the Matrix Conference in October (hopefully it merged). I think FluffyChat also may support the new MatrixRTC calling too.

← PreviousPage 2 of 34Next →