Movatterモバイル変換


[0]ホーム

URL:


Jump to content
WikipediaThe Free Encyclopedia
Search

Matrix (protocol)

From Wikipedia, the free encyclopedia
Networking protocol for real-time communication
Not to be confused withMATRIX, a chat app taken down by law enforcement in December 2024.

This articlemay contain excessive or inappropriate references toself-published sources. Please helpimprove it by removing references to unreliablesources where they are used inappropriately.(February 2019) (Learn how and when to remove this message)
Matrix
Communication protocol
[matrix]
PurposeFederated messaging and data synchronization
Developer(s)The Matrix.org FoundationCIC
IntroductionSeptember 2014; 11 years ago (2014-09)[1][failed verification]
Based onHTTP,WebRTC
OSI layerapplication layer
Port(s)unknown value
Websitematrix.org

Matrix (sometimes stylized as [matrix] or[m] for short) is anopen standard[citation needed] andcommunication protocol forreal-time communication.[2] It aims to make real-time communication work seamlessly between different service providers, in the way that standardSimple Mail Transfer Protocol email currently does forstore-and-forward email service, by allowing users with accounts at onecommunications service provider to communicate with users of a different service provider viaonline chat,voice over IP, andvideotelephony. It therefore serves a similar purpose to protocols likeXMPP, but is not based on any existing communication protocol.

From a technical perspective, it is anapplication layercommunication protocol forfederated real-time communication. It provides HTTP APIs andopen sourcereference implementations for securely distributing and persisting messages inJSON format over an open federation of servers.[3][4] It can integrate with standardweb services viaWebRTC, facilitating browser-to-browser applications.

History

[edit]
This articleis inlist format but may read better asprose. You can help byconverting this article, if appropriate.Editing help is available.(June 2024)

Beginning–2018

[edit]

The initial project was created insideAmdocs, while building a chat tool called "Amdocs Unified Communications",[5] by Matthew Hodgson and Amandine Le Pape. Amdocs then funded most of the development work from 2014 to October 2017.[6] Matrix was the winner of the Innovation award at WebRTC 2014 Conference & Expo,[7] and of the "Best in Show" award at WebRTC World in 2015.[8] The protocol received praise mixed with some cautionary notes after it launched in 2014. Reviewers noted that other attempts at defining an openinstant messaging or multimediasignalling protocol of this type had difficulties becoming widely adopted—e.g.XMPP andIRCv3—and have highlighted the challenges involved, both technological and political.[9] Some were unclear if there was enough demand among users for services which interoperate among providers.[10][11] In 2015, asubsidiary of Amdocs was created, named "Vector Creations Limited", and the Matrix staff was moved there.[12]

In July 2017, the funding by Amdocs was announced to be cut and in the following weeks the core team created their ownUK-based company, "New Vector Limited",[13] which was mainly built to support the development of Matrix and Riot, the second of which was later renamed toElement.[14] During this time period, there were multiple calls for support to the community and companies that build on Matrix,[15] to help pay for the wages of at least part of the core team.Patreon andLiberapay crowdfunding accounts were created,[16] and the core team started avideo podcast, called Matrix "Live" to keep the contributors up to speed with ongoing developments.[17] This was expanded by a weeklyblog format, called "This Week in Matrix", where interested community members could read, or submit their own, Matrix-related news.[18] The company was created with the goal of offeringconsultancy services for Matrix and paid hosting of Matrix servers (as a platform called modular.im, which was later renamed toElement matrix services[19]) to generate income.[20]

In the early weeks after its creation, the Matrix team and the companyPurism published plans to collaborate in the creation of theLibrem 5 phone.[21] The Librem 5 was intended to be a Matrix native phone, where the default pre-installed messaging and caller app should use Matrix for audio and video calls and instant messaging.[22]

In 2017,KDE announced it was working on including support for the protocol in its IRC clientKonversation.[23]

In late January 2018, the company received an investment of US$5 million from Status,[24][25] an  Ethereum basedstartup.

In April 2018, theFrench Government announced plans to create their own instant messaging tool.[26] Work on the application based on Riot and Matrix protocol—calledTchap [fr] after French scientistClaude Chappe—had started in early 2018,[27] and the program was open-sourced and released on iOS and Android in April 2019.[28]

In October 2018, aCommunity Interest Company called "The Matrix.org Foundation C.I.C."[29] was incorporated, to serve as a neutral legal entity for further development of the standard.[30]

2019–2021

[edit]

In early 2019, the Matrix protocol saw increased adoption and underwent significant development. The KDE community announced in February 2019 its intention to use Matrix for internal communications, citing its decentralized nature as an alternative to services likeTelegram,Slack andDiscord, and planned to operate its own server instance.[31] Two months later, in April 2019, the production servers of Matrix.org were compromised in a security breach of production servers and not the protocol.[32]

In June 2019, when the Matrix protocol left beta phase with the release of version 1.0 across all its APIs. During this time, the Matrix Foundation was also officially launched to oversee the protocol, and Synapse was serving as its reference homeserver implementation.[33][34] Later that year, in October 2019, the company New Vector raised an additional US$8.5 million for the development of Matrix.[35] By the end of the year, several organizations announced plans for adoption. In December 2019, theGerman Federal Ministry of Defense began a pilot project named BwMessenger, based on the Matrix protocol, a Synapse server, and the Riot application modeled after France's Tchap project.[36] Also in December, Mozilla announced it would replace its IRC infrastructure with Matrix, scheduling the migration for early 2020.[37]

Following its announcement,Mozilla completed its transition by shutting down itsIRC server in March 2020 and directing users to its new Matrix instance.[38] In May 2020,end-to-end encryption was enabled by default for all new private conversations within the protocol.[39] In October of that year, the company Element acquired the Gitter chat platform fromGitLab, announcing plans to migrate all Gitter users to Matrix.[40][41]

By March 2021, the Matrix.org Foundation reported that there were 28 million global visible accounts on the network.[42] In September 2022, security vulnerabilities were disclosed in the implementation of aclient-side encryption library. Due to the protocol's interoperable design, the issue was limited to the affected client applications, which required an upgrade, while the protocol itself and third-party implementations were not affected. According to the disclosure, all critical issues were fixed, with the remaining ones being either non-exploitable in practice or already covered by warnings in the client interface.[43]

2022–present

[edit]

In February 2023, the Matrix Foundation was invited to theDigital Markets Act stakeholder workshop on "Interoperability between messaging services" and showcased how a standardised open protocol can be used to interoperate without sacrificing privacy.[44]

In June 2023,Beeper became the first member of The Matrix Foundation.[45]

In April 2024, the first elections of the Matrix Foundation's Governing Board were held, which is made up of nine different constituency groups across three categories: nonprofit and community representatives, funder representatives, and foundation representatives.

In late 2024, version 2.0 of the Matrix protocol was released, which improved performance and added video/VoIP chat for multiple users.[46]

On February 2026, Matrix saw a rise in users due toDiscord's controversial announcement of age verification for users, resulting in a push for users to migrate to Matrix as a replacement.[47]

Protocol

[edit]
Matrix network

Matrix targets use cases likevoice over IP,Internet of things andinstant messaging, including group communication, along with a longer-term goal to be a generic messaging and data synchronization system for the web. The protocol supports security and replication, maintaining full conversation history, with no single points of control or failure. Existing communication services can integrate with the Matrix ecosystem.[3]

Client software is available for open-federated Instant Messaging (IM), voice over IP (VoIP) and Internet of Things (IoT) communication.

The Matrix standard specifiesRESTful HTTP APIs for securely transmitting and replicating JSON data between Matrix-capable clients, servers and services. Clients send data byPUTing it to a ‘room’ on their server, which then replicates the data over all the Matrix servers participating in this ‘room’. This data is signed using a git-style signature to mitigate tampering, and the federated traffic is encrypted with HTTPS and signed with each server's private key to avoid spoofing. Replication followseventual consistency semantics, allowing servers to function even if offline or after data-loss by re-synchronizing missing history from other participating servers.

Olm encryption

[edit]

The Olm library provides for optionalend-to-end encryption on a room-by-room basis via aDouble Ratchet Algorithm implementation.[1] It can ensure that conversationdata at rest is only readable by the room participants. With it configured, data transmitted over Matrix is only visible asciphertext to the Matrix servers, and can be decrypted only by authorized participants in the room. The encryption protocol is called Olm; Megolm is an expansion of Olm to better suit the need for bigger rooms. There are two main implementations:

  • vodozemac, the current reference implementation, written inRust. In 2022, it has been audited byLeast Authority, whose findings are publicly available[48] and have been addressed by the Matrix team.[49] The review was partially funded by Germany's national agency for the healthcare system digitalisation (Gematik [de]).
  • libolm, the former reference implementation, has been subject of a cryptographic review byNCC Group, whose findings are publicly available,[50] and have been addressed by the Matrix team.[51] The review was sponsored by theOpen Technology Fund.

Outbound group session keys are needed for initiating new Megolm sessions for group chats. In addition, cross-signing-keys are used to verify the overall identity of the user and their device(s). When enabling a secure backup, all those keys are encrypted using a strong passphrase or a randomly generated recovery key. This ensures that even a person who has access to the backup of the keys could not decrypt messages, guaranteeing fullE2EE.

Under MSC2883 Matrix plans implementation ofMLS for group chats encryption.[52]

Bridges

[edit]

Matrix supports bridging messages from different chat applications into Matrix rooms. These bridges are programs that run on the server and communicate with the non-Matrix servers. Bridges can either be acting as puppets or relays, where in the former the individual user's account is visibly posting the messages, and in the latter a bot posts the messages for non-puppeteered user accounts.

Currently there are official bridges for:

Bridges for the following notable applications are maintained by the community:

Chat of some games such asLuanti can also be bridged to a Matrix room using a mod.[citation needed]

Adoption

[edit]

Communication among the public agents of France's central administration happens on a Matrix-based internal network, namedTchap [fr].[64]The project is developed by the Interministerial Directorate for Digital Affairs (DINUM [fr]) with the explicit goals of security anddigital sovereignty, both of which were deemed to be impossible through WhatsApp, Telegram and Slack.[65]

Germany's national healthcare system's internal communication network uses a Matrix-based[66]system (Ti-Messenger) for real-time communication among Germany's healthcare organizations and sharing of sensitive patient data, and is developed by the national agency for the digitalisation of the healthcare system (Gematik [de] GmbH).[67]Reasons for choosing Matrix includedfederated identity management, which allows to reuse the existing identity infrastructure into the new chat system; the decentralized architecture, which allows cross-linking data from disparate sources; and the open protocol, which ensures interoperability and future-proof data exchange and preventsvendor lock-in.[68]

Employees of theBundeswehr (Germany's armed forces) communicate with each other, and share classified documents (GermanVS-NfD), on a private Matrix network, with a customized version of the Matrix Element app: BwMessenger (as mentioned above).[69][70]

Two states of Germany run their own Matrix chat networks for schools.Rhineland-Palatinate is offering SchulchatRLP as a fork of FluffyChat since the beginning of 2024.[71] The server is sized for half a million pupils and deployed onKubernetes and the client was enhanced with features such as read receipt for parents or polls byFairkom,[72] who became a silver partner of the Matrix foundation in 2023.Bavaria has adapted the Element client as a proprietary ByCS messenger.[73]

Luxembourg has developed a Matrix-based chat service for government officials, named Luxchat4Gov, planned to be released in the second quartal of 2023.[74]

TheSwedish Social Insurance Agency (Försäkringskassan) is using Matrix for internal communications.[75]

Rocket.Chat recommends federation between RocketChat servers with its built-in Matrix bridge since version 4.7.0.[76]

FOSDEM uses Matrix since 2021.[77][78][79]The hosting is provided by Element Matrix Services, which publishes the technical details for public review soon after the event.[80][81]

Polish Armed Forces introduced a Matrix protocol based communicator in 2023, to exchange unclassified information among Polish Army soldiers as well as forMinistry of National Defence employees.[82]


See also

[edit]

References

[edit]
  1. ^abErmoshina, Ksenia; Musiani, Francesca; Halpin, Harry (September 2016). "End-to-End Encrypted Messaging Protocols: An Overview". In Bagnoli, Franco; et al. (eds.).Internet Science. INSCI 2016. Lecture Notes in Computer Science. Vol. 9934. Florence, Italy: Springer. pp. 244–254.doi:10.1007/978-3-319-45982-0_22.ISBN 978-3-319-45982-0.
  2. ^"What Is the Matrix Protocol and How Does It Work?".MUO. 27 October 2021. Retrieved24 July 2023.
  3. ^abNathan Willis (11 February 2015)."Matrix: a new specification for federated realtime chat".LWN.net. Retrieved28 June 2015.
  4. ^Adrian Bridgwater (9 September 2014)."Matrix.org Reloads Inside "Illusion of Control" Vortex".Dr. Dobb's Journal. Retrieved20 July 2015.
  5. ^"Unified Communications".amdocs. Archived fromthe original on 3 October 2014. Retrieved4 November 2018.
  6. ^"Who is Matrix.org?".matrix.org. 20 February 2019. Archived fromthe original on 29 March 2019. Retrieved20 October 2018.[self-published source]
  7. ^"Award Winners of the WebRTC 2014 Conference & Expo".Upperside Blog. 23 December 2014. Archived fromthe original on 15 March 2015. Retrieved28 June 2015.
  8. ^Phil Edholm (18 May 2015)."WebRTC World Miami Wrap Up and Review".WebRTC. Retrieved28 June 2015.
  9. ^Andrew Prokop (23 February 2015)."Solving the WebRTC Interoperability Problem - Post".No Jitter. Retrieved28 June 2015.
  10. ^Ian Scales (11 May 2015)."To interop or not to interop? Is Matrix.org the answer for silo'd comms services?".TelecomTV. Retrieved22 June 2015.
  11. ^Matt Weinberger (16 September 2014)."Matrix wants to smash the walled gardens of messaging".ITworld. Retrieved20 July 2015.[permanent dead link]
  12. ^"Linkedin entry for Vector Creations Limited". Retrieved22 October 2018.[self-published source]
  13. ^"Free company information from Companies House (UK Government)".Companies House. Retrieved30 July 2018.
  14. ^"New Vector - We believe the future will be open and decentralized".New Vector. Retrieved20 October 2018.[self-published source]
  15. ^"A Call to Arms: Supporting Matrix!".matrix.org. 7 July 2017. Retrieved20 October 2018.[self-published source]
  16. ^"Hello world! | Matrix.org on Patreon".Patreon. Retrieved4 November 2018.[self-published source]
  17. ^Matrixdotorg (21 July 2017),Matrix Live - Episode 1: July 14th 2017, retrieved22 October 2018[self-published source]
  18. ^"This Week in Matrix".matrix.org. Retrieved26 July 2023.[self-published source]
  19. ^"Element Secure instant messenger | Riot.im download | End-to-end messages encryption and open network".Element. Archived fromthe original on 27 October 2020. Retrieved1 November 2020.
  20. ^"Awesome hosting for Matrix".www.modular.im. Retrieved20 October 2018.[self-published source]
  21. ^Armasu, Lucian (6 June 2018)."Purism's Privacy-Focused Librem 5 Smartphone's On Track For A Jan '19 Release".Tom's Hardware. Retrieved4 November 2018.
  22. ^"Librem 5 – A Security and Privacy Focused Phone".shop.puri.sm. Retrieved4 November 2018.[self-published source]
  23. ^https://blogs.kde.org/2017/09/05/konversation-2x-2018-new-user-interface-matrix-support-mobile-version[self-published source]
  24. ^Rogers, Stewart (29 January 2018)."Status invests $5 million in Matrix to create a blockchain messaging superpower".VentureBeat. Retrieved20 October 2018.
  25. ^"Status Invests $5M In Riot.im".Status Blog. 29 January 2018. Archived fromthe original on 30 January 2018. Retrieved20 October 2018.[self-published source]
  26. ^Rosemain, Mathieu."France builds WhatsApp rival due to surveillance risk".U.S. Retrieved4 November 2018.
  27. ^Kaminsky, Jean (22 April 2018)."L'Etat lance un "Telegram" à la française cet été, ouvert à tous".Solutions Numériques (in French). Retrieved28 December 2019.Après 3 mois de développement pour un coût très limité [...]
  28. ^Cimpanu, Catalin."French government releases in-house IM app to replace WhatsApp and Telegram use".ZDNet. Retrieved28 December 2019.
  29. ^"THE MATRIX.ORG FOUNDATION – Overview (free company information from Companies House)".Companies House. Retrieved4 November 2018.
  30. ^"Introducing the Matrix.org Foundation (Part 1 of 2)".matrix.org. 29 October 2018. Retrieved4 November 2018.[self-published source]
  31. ^Michael Larabel (20 February 2019)."KDE To Support Matrix Decentralized Instant Messaging".Phoronix. Retrieved20 February 2019.
  32. ^"We have discovered and addressed a security breach".Matrix.org. Retrieved12 April 2019.[self-published source]
  33. ^"Introducing Matrix 1.0 and the Matrix.org Foundation".Matrix blog.
  34. ^Johnson, Neil (11 June 2019)."Synapse 1.0.0 released".Matrix (blog).
  35. ^"New Vector scores $8.5M to plug more users into its open, decentralized messaging Matrix".TechCrunch. 10 October 2019. Archived fromthe original on 10 October 2019. Retrieved18 December 2019.
  36. ^Krempl, Stefan (24 December 2019)."Open Source: Bundeswehr baut eigene verschlüsselte Messenger-App".heise online (in German).Archived from the original on 2 May 2023. Retrieved28 December 2019.
  37. ^"Synchronous Messaging at Mozilla: The Decision".Mozilla. 19 December 2019.Archived from the original on 19 December 2019.
  38. ^Hodgson, Matthew (3 March 2020)."Moznet IRC is dead; long live Mozilla Matrix!".Matrix blog. Retrieved31 October 2020.
  39. ^Hodgson, Matthew (6 May 2020)."Cross-signing and End-to-end Encryption by Default is HERE!!!".Matrix blog.
  40. ^"Gitter is joining Element".Element Blog. 30 September 2020. Retrieved1 November 2020.
  41. ^"Welcoming Gitter to Matrix!".Matrix blog. Retrieved1 November 2020.
  42. ^FOSDEM 2021: Building massive virtual communities in Matrix onYouTube
  43. ^Hodgson, Matthew; Kasak, Denis (28 September 2022)."Upgrade now to address E2EE vulnerabilities in matrix-js-sdk, matrix-ios-sdk and matrix-android-sdk2".Matrix (blog).Archived from the original on 28 September 2022. Retrieved31 January 2026.
  44. ^"The DMA Stakeholder Workshop: Interoperability between messaging services".matrix.org. Retrieved2 June 2024.
  45. ^"Beeper joins the foundation".
  46. ^Proven, Liam (9 February 2026)."Matrix messaging gaining ground in government IT". Archived fromthe original on 10 February 2026. Retrieved11 February 2026.
  47. ^Lekander, Alex (13 February 2026)."Matrix sees sudden surge in new users amid Discord mass exodus".CyberInsider. Retrieved13 February 2026.
  48. ^"Archived copy"(PDF).leastauthority.com. Archived fromthe original(PDF) on 16 May 2022. Retrieved22 May 2022.{{cite web}}: CS1 maint: archived copy as title (link)
  49. ^"Independent public audit of Vodozemac, a native Rust reference implementation of Matrix end-to-end encryption".Matrix blog.
  50. ^Alex Balducci; Jake Meredith (18 November 2016)."Matrix Olm Cryptographic Review".www.nccgroup.trust. Archived fromthe original on 20 October 2018. Retrieved20 October 2018.
  51. ^"Matrix's 'Olm' End-to-end Encryption security assessment released – and implemented cross-platform on Riot at last!".matrix.org. 21 November 2016. Retrieved20 October 2018.[self-published source]
  52. ^"Are We MLS Yet?".Are We MLS Yet?. Retrieved23 September 2024.
  53. ^"matrix-org/matrix-appservice-gitter".GitHub. 27 September 2018. Retrieved20 October 2018.[self-published source]
  54. ^"matrix-org/matrix-appservice-irc".GitHub. Retrieved20 October 2018.[self-published source]
  55. ^"matrix-org/matrix-appservice-slack".GitHub. Retrieved20 October 2018.[self-published source]
  56. ^GitHub - matrix-org/matrix-appservice-purple: General purpose bridging using libpurple ., matrix.org, 29 December 2018, retrieved31 December 2018[self-published source]
  57. ^"Half-Shot/matrix-appservice-discord".GitHub. Retrieved20 October 2018.[self-published source]
  58. ^"mautrix/meta".GitHub. Retrieved21 January 2025.[self-published source]
  59. ^A Matrix-Signal puppeting bridge, Tulir Asokan, 6 February 2021, retrieved6 February 2021[self-published source]
  60. ^skype-bridge, matrix.org, 16 May 2020, retrieved16 May 2020[self-published source]
  61. ^"tulir/mautrix-telegram".GitHub. Retrieved20 October 2018.[self-published source]
  62. ^"tulir/mautrix-whatsapp".GitHub. Retrieved20 October 2018.[self-published source]
  63. ^"beeper/linkedin".GitHub. Retrieved9 May 2024.[self-published source]
  64. ^"French government launches in-house developed messaging".European Commission.
  65. ^"Open Source Software powering the newly developed internal messaging service of the French government".European Commission. 18 October 2019.
  66. ^"TI-Messenger | gematik".www.gematik.de.
  67. ^"Germany's national healthcare system adopts Matrix!".Matrix blog.
  68. ^"German health professionals will communicate with each other through the open source Matrix protocol". 6 August 2021.
  69. ^Pratty, Freya (29 November 2020)."Europe's armies look for digital sovereignty in new messaging tech".Sifted.Archived from the original on 30 November 2020.
  70. ^"German armed forces testing open source chat". 16 January 2020.
  71. ^"Statt WhatsApp: Rheinland-Pfalz testet Messenger für Schulen".www.golem.de. Retrieved2 June 2024.
  72. ^"SchulchatRLP unterstützt im Schulalltag".www.fairkom.eu. Retrieved2 June 2024.
  73. ^"BayernCloud Schule Messenger Übersicht".www.bycs.de. Retrieved2 June 2024.
  74. ^"Luxembourg launches open source chat for officials and citizens". 16 February 2023.
  75. ^"dSam and eSam endorse Matrix for secure and federated communications in the Swedish public sector". December 2022.
  76. ^"Rocket.Chat Leverages The Matrix Protocol for Decentralized and Interoperable Communications".www.rocket.chat. Retrieved2 June 2024.
  77. ^"Troubleshooting Matrix at FOSDEM 2021".
  78. ^"FOSDEM 2022's communication infrastructure was provided by Element Matrix Services".Element Blog. 14 February 2022. Retrieved25 January 2023.
  79. ^"Troubleshooting Matrix at FOSDEM 2022".
  80. ^"How we hosted FOSDEM 2021 on Matrix".
  81. ^"Hosting FOSDEM 2022 on Matrix".
  82. ^"Nowy komunikator wojskowy DSI Merkury 2.0".milmag.pl. 15 April 2023.

External links

[edit]
Wikidata has the property:
Protocols
(comparison)
Open
Closed
Services
Clients
(comparison)
Single protocol
Multi-protocol
XMPP (Jabber)
MSNP
Defunct
Related
History
Pioneers
Transmission
media
Network topology
and switching
Multiplexing
Concepts
Types of network
Notable networks
Locations
Asynchronous conferencing
Synchronous conferencing
Publishing
Retrieved from "https://en.wikipedia.org/w/index.php?title=Matrix_(protocol)&oldid=1338712902"
Categories:
Hidden categories:

[8]ページ先頭

©2009-2026 Movatter.jp