mirror of
https://github.com/matrix-org/matrix-spec
synced 2026-03-23 11:34:09 +01:00
Differentiate the names of both SessionData formats
Signed-off-by: Kévin Commaille <zecakeh@tedomum.fr>
This commit is contained in:
parent
8db8f446d0
commit
262e12751b
|
|
@ -1349,7 +1349,7 @@ the following format:
|
|||
The `session_data` field in the backups is constructed as follows:
|
||||
|
||||
1. Encode the session key to be backed up as a JSON object using the
|
||||
`SessionData` format defined below.
|
||||
`BackedUpSessionData` format defined below.
|
||||
|
||||
2. Generate an ephemeral curve25519 key, and perform an ECDH with the
|
||||
ephemeral key and the backup's public key to generate a shared
|
||||
|
|
@ -1427,7 +1427,7 @@ user-supplied passphrase, and is created as follows:
|
|||
|
||||
###### Key export format
|
||||
|
||||
The exported sessions are formatted as a JSON array of `SessionData`
|
||||
The exported sessions are formatted as a JSON array of `ExportedSessionData`
|
||||
objects described as follows:
|
||||
|
||||
{{% definition path="api/client-server/definitions/megolm_export_session_data" %}}
|
||||
|
|
|
|||
|
|
@ -14,7 +14,7 @@
|
|||
|
||||
|
||||
type: object
|
||||
title: SessionData
|
||||
title: BackedUpSessionData
|
||||
description: |-
|
||||
The format of a backed-up session key, prior to encryption, when using the
|
||||
`m.megolm_backup.v1.curve25519-aes-sha2` algorithm.
|
||||
|
|
|
|||
|
|
@ -16,6 +16,7 @@
|
|||
allOf:
|
||||
- $ref: key_backup_session_data.yaml
|
||||
- type: object
|
||||
title: ExportedSessionData
|
||||
description: |-
|
||||
The format used to encode a Megolm session key for export.
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue