Explain an event
Paste a Matrix event, or a request between servers, and see which checks it passes, and why.
The request signature is valid
| Field | Value | Meaning |
|---|---|---|
| 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.