Rewrite the section on signing events
... for clarity and de-duplication. And to say a bit about validating the signatures.
This commit is contained in:
parent
6ba50fe2f6
commit
55c4307f12
3 changed files with 99 additions and 123 deletions
|
@ -23,7 +23,8 @@ allOf:
|
|||
hashes:
|
||||
type: object
|
||||
title: Event Hash
|
||||
description: Hashes of the PDU, following the algorithm specified in `Signing Events`_.
|
||||
description: |-
|
||||
Content hashes of the PDU, following the algorithm specified in `Signing Events`_.
|
||||
example: {
|
||||
"sha256": "thishashcoversallfieldsincasethisisredacted"
|
||||
}
|
||||
|
|
|
@ -55,8 +55,8 @@ properties:
|
|||
prev_events:
|
||||
type: array
|
||||
description: |-
|
||||
Event IDs and hashes of the most recent events in the room that the homeserver was aware
|
||||
of when it made this event.
|
||||
Event IDs and reference hashes for the most recent events in the room
|
||||
that the homeserver was aware of when it made this event.
|
||||
items:
|
||||
type: array
|
||||
maxItems: 2
|
||||
|
@ -86,7 +86,7 @@ properties:
|
|||
auth_events:
|
||||
type: array
|
||||
description: |-
|
||||
An event reference list containing the authorization events that would
|
||||
Event IDs and reference hashes for the authorization events that would
|
||||
allow this event to be in the room.
|
||||
items:
|
||||
type: array
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue