Skip to main content
Matrix Event Explainer
BETA This service is in beta. Results may be wrong or incomplete.

Explain an event

Paste a Matrix event, or a request between servers, and see which checks it passes, and why.

Checking… Clear
Signing keys

The request signature is valid

The canonical JSON shows the object that the signature has to cover.

Only what you pasted is checked. What the receiving server actually got may differ.

  • Payload
  • Origin
  • Room graph
  • Hashes and signatures
  • Not covered by hashes
  • Other

Checks run on this server. What you paste is processed to answer your request and is not stored or written to logs. Only when you choose to fetch keys does this server contact the servers that signed the event, which then learn that their keys were asked for, not what you pasted. Keys you paste take precedence. Authorisation rules and state resolution are not checked.

The request signature is valid

View
FieldValueMeaning
contentPayload
{ "edus": [ { "content": { "room_id": "!example:example.org", "typing": true, "user_id": "@alice:example.org" }, "edu_type": "m.typing" } ], "origin": "example.org", "origin_server_ts": 1700000000000, "pdus": [] }
The body of the request. Learn more
destinationOrigin
other.example
The server name of the receiver. Learn more
methodOrigin
PUT
The HTTP method. Learn more
originOrigin
example.org
The server name of the sender. Learn more
uriOrigin
/_matrix/federation/v1/send/1
The path and query, as sent. Learn more
{"content":{"edus":[{"content":{"room_id":"!example:example.org","typing":true,"user_id":"@alice:example.org"},"edu_type":"m.typing"}],"origin":"example.org","origin_server_ts":1700000000000,"pdus":[]},"destination":"other.example","method":"PUT","origin":"example.org","uri":"/_matrix/federation/v1/send/1"}

Checks

Passed Request signature

The signature of "example.org" (ed25519:1) is valid for this method, path, destination and body.

What this checks: The sender signs a JSON object made of method, path, sender, receiver and body. The receiver builds the same object from what arrived and checks the signature with the sender's current key. Any difference leads to 401.

Note Request signature

The signature is valid for what you pasted. If the receiving server still answers 401, check that a proxy in front of it passes the path and query on unchanged, and that its server name is exactly the "destination".

Note Authorisation header

A signature like this does not expire and is not tied to one use: whoever has it can send this exact request again. Do not post it publicly.

What this checks: Each request between servers names the sender, the receiver, the key and the signature in an "Authorization: X-Matrix" header.