Merge pull request #204 from matrix-org/daniel/movesigning

Move event signing to server-server spec

It's *definitely* not a client concern.

It isn't really in the right place at the moment, but s-s is very much a
work in progress whereas c-s is nearly stable.
pull/977/head
Daniel Wagner-Hall 9 years ago
commit 8c874176d2

@ -21,6 +21,7 @@
"unsigned": { "unsigned": {
"type": "object", "type": "object",
"description": "Contains optional extra information about the event.", "description": "Contains optional extra information about the event.",
"title": "UnsignedData",
"properties": { "properties": {
"age": { "age": {
"type": "integer", "type": "integer",

@ -30,6 +30,7 @@
"signed": { "signed": {
"type": "object", "type": "object",
"title": "signed", "title": "signed",
"description": "A block of content which has been signed, which servers can use to verify the event. Clients should ignore this.",
"properties": { "properties": {
"mxid": { "mxid": {
"type": "string", "type": "string",
@ -41,7 +42,7 @@
}, },
"signatures": { "signatures": {
"type": "object", "type": "object",
"description": "A single signature from the verifying server, in the format specified by the Signing Events section.", "description": "A single signature from the verifying server, in the format specified by the Signing Events section of the server-server API.",
"title": "Signatures" "title": "Signatures"
} }
}, },

@ -6,7 +6,6 @@ targets:
files: files:
- client_server_api.rst - client_server_api.rst
- { 1: events.rst } - { 1: events.rst }
- { 1: event_signing.rst }
- { 1: modules.rst } - { 1: modules.rst }
- { 2: feature_profiles.rst } - { 2: feature_profiles.rst }
- { 2: "group:modules" } # reference a group of files - { 2: "group:modules" } # reference a group of files
@ -16,6 +15,7 @@ targets:
server_server: server_server:
files: files:
- server_server_api.rst - server_server_api.rst
- { 1: event_signing.rst }
appendices: appendices:
files: files:
- appendices.rst - appendices.rst

Loading…
Cancel
Save