mirror of
https://github.com/matrix-org/matrix-spec
synced 2026-03-23 19:44:09 +01:00
Stylistic fixes.
This commit is contained in:
parent
b9940720a6
commit
73a7c7e70c
|
|
@ -1260,7 +1260,7 @@ the following format:
|
||||||
| Parameter | Type | Description |
|
| Parameter | Type | Description |
|
||||||
| -----------| -----------|--------------------------------------------------------------------------------------------------|
|
| -----------| -----------|--------------------------------------------------------------------------------------------------|
|
||||||
| public_key | string | **Required.** The curve25519 public key used to encrypt the backups, encoded in unpadded base64. |
|
| public_key | string | **Required.** The curve25519 public key used to encrypt the backups, encoded in unpadded base64. |
|
||||||
| signatures | Signatures | Optional. Signatures of the ``auth_data``, as Signed JSON |
|
| signatures | Signatures | Optional. Signatures of the ``auth_data``, as Signed JSON. |
|
||||||
|
|
||||||
The `session_data` field in the backups is constructed as follows:
|
The `session_data` field in the backups is constructed as follows:
|
||||||
|
|
||||||
|
|
@ -1269,7 +1269,7 @@ The `session_data` field in the backups is constructed as follows:
|
||||||
|
|
||||||
| Parameter | Type | Description |
|
| Parameter | Type | Description |
|
||||||
| --------------------------------|-------------------|-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
|
| --------------------------------|-------------------|-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
|
||||||
| algorithm | string | **Required.** The end-to-end message encryption algorithm that the key is for. Must be `m.megolm.v1.aes-sha2`. |
|
| algorithm | string | **Required.** The end-to-end message encryption algorithm that the key is for. Must be `m.megolm.v1.aes-sha2`. |
|
||||||
| forwarding_curve25519_key_chain | [string] | **Required.** Chain of Curve25519 keys through which this session was forwarded, via [m.forwarded_room_key](#mforwarded_room_key) events. |
|
| forwarding_curve25519_key_chain | [string] | **Required.** Chain of Curve25519 keys through which this session was forwarded, via [m.forwarded_room_key](#mforwarded_room_key) events. |
|
||||||
| sender_key | string | **Required.** Unpadded base64-encoded device Curve25519 key. |
|
| sender_key | string | **Required.** Unpadded base64-encoded device Curve25519 key. |
|
||||||
| sender_claimed_keys | {string: string} | **Required.** A map from the algorithm name (`ed25519`) to the corresponding device key of the sending device. |
|
| sender_claimed_keys | {string: string} | **Required.** A map from the algorithm name (`ed25519`) to the corresponding device key of the sending device. |
|
||||||
|
|
@ -1346,8 +1346,8 @@ objects described as follows:
|
||||||
|
|
||||||
`SessionData`
|
`SessionData`
|
||||||
|
|
||||||
| Parameter | Type | Description |
|
| Parameter | Type | Description |
|
||||||
|-----------------------------------|------------------|---------------------------------------------------------------------------------------------------------------------------------------|
|
|-----------------------------------|------------------|-------------------------------------------------------------------------------------------------------------------------------------------|
|
||||||
| algorithm | string | **Required.** The encryption algorithm that the session uses. Must be `m.megolm.v1.aes-sha2`. |
|
| algorithm | string | **Required.** The encryption algorithm that the session uses. Must be `m.megolm.v1.aes-sha2`. |
|
||||||
| forwarding_curve25519_key_chain | [string] | **Required.** Chain of Curve25519 keys through which this session was forwarded, via [m.forwarded_room_key](#mforwarded_room_key) events. |
|
| forwarding_curve25519_key_chain | [string] | **Required.** Chain of Curve25519 keys through which this session was forwarded, via [m.forwarded_room_key](#mforwarded_room_key) events. |
|
||||||
| room_id | string | **Required.** The room where the session is used. |
|
| room_id | string | **Required.** The room where the session is used. |
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue