Earlier quoted context omitted.
Not really - the protocols are very different. Matrix is a way of replicating conversation history over a mesh of participating servers; a bit like a bunch of Git repositories constantly pushing commits (messages) to one another. XMPP is much lighter weight and builds on simpler message passing and pubsub primitives. You can use both to build comms systems, but they take opposite engineering and governance approaches…
> a bit like a bunch of Git repositories constantly pushing commits (messages) to one another. Why would you need to do that? Why not just give every message a timestamp, make sure they get sent, and sort the messages on the receiver side? If you're really concerned about message order, you could give every message a unique id, and send out the id of the previous message with every message, and improve your sort func…
France’s government is building its own encrypted messenger service
81–90 of 133 posts
Re: France’s government is building its own encrypted messenger service
#82This isn’t a case of NIH; France has adopted Matrix for the project, which is a lightweight fork of Riot.im combined with a large private federation of Matrix servers. The whole thing is open source (although not public yet, as it is very early days) and open standards based. At Matrix.org we’ve been providing some support to them :) It’s very exciting to see open government projects which actually grok open source a…
Would you say it's a correct description of Matrix to call it "Jabber/XMP without the whole XML mess and over HTTP"?
Re: France’s government is building its own encrypted messenger service
#83When are they rolling their own CPUs, in light of Intel ME and associated surveillance risk?
Re: France’s government is building its own encrypted messenger service
#84What about using Signal? Will they do something else then using the Signal protocol? If so, this might be either pretty expensive or could go wrong.
Signal doesn't work with desktop _only_ (without ever touching a smartphone). Matrix and XMPP does.
Re: France’s government is building its own encrypted messenger service
#85This isn’t a case of NIH; France has adopted Matrix for the project, which is a lightweight fork of Riot.im combined with a large private federation of Matrix servers. The whole thing is open source (although not public yet, as it is very early days) and open standards based. At Matrix.org we’ve been providing some support to them :) It’s very exciting to see open government projects which actually grok open source a…
Re: France’s government is building its own encrypted messenger service
#86Earlier quoted context omitted.
> a bit like a bunch of Git repositories constantly pushing commits (messages) to one another. Why would you need to do that? Why not just give every message a timestamp, make sure they get sent, and sort the messages on the receiver side? If you're really concerned about message order, you could give every message a unique id, and send out the id of the previous message with every message, and improve your sort func…
Absolute timestamps cannot be trusted in a byzantine environment, so we do precisely as you suggest - messages are transmitted with pointers to the previous message(s) in the room message graph, so you get a partial ordering within the room (just like git). We also sign the messages into a merkle graph (like git) to stop the shared datastructure being tampered with.
Re: France’s government is building its own encrypted messenger service
#87This isn’t a case of NIH; France has adopted Matrix for the project, which is a lightweight fork of Riot.im combined with a large private federation of Matrix servers. The whole thing is open source (although not public yet, as it is very early days) and open standards based. At Matrix.org we’ve been providing some support to them :) It’s very exciting to see open government projects which actually grok open source a…
As I understand Matrix is not a fork of Riot, Riot is just a client for a Matrix synapse server (there are others like WeChat) provided by the devs.
Re: France’s government is building its own encrypted messenger service
#88Earlier quoted context omitted.
Would you say it's a correct description of Matrix to call it "Jabber/XMP without the whole XML mess and over HTTP"?
For all the hate XML gets... it's not that bad. Certainly not worth switching protocols for. Main problems with XMPP is a divided ecosystem where different clients and servers support different features, and that multi-client encryption is severely flaky.
Re: France’s government is building its own encrypted messenger service
#89Earlier quoted context omitted.
Afaik they would still need Google Services, based in the US obviously, to run Signal. There's technically an APK on the Signal website without Gapps, but it's not officially supported by the development team. On their issue tracker they "leave it to the open source folks", i.e. ignore serious bugs like massive battery life degradation and Signal silently not updating for hours.
Thing is, you either get massive battery life degradation or your messages won't get through, there isn't much of a choice there unless you use push messaging. Google Cloud Messaging allows Signal's servers to send a "Hey, wake up and connect to us!" message to your phone, and every other app uses GCM for this as Google has spent a ton of time trying to optimize both reachability and battery life with GCM. Maybe some…