mirror of
https://github.com/matrix-org/matrix-spec
synced 2026-03-26 13:04:10 +01:00
Fix a lie regarding the Megolm session in backups.
The Megolm session backups don't actually use the session sharing format, but the session export format (which is the same except for having no signature at the end).
This commit is contained in:
parent
b5b25c2741
commit
8007f07ede
|
|
@ -1273,7 +1273,7 @@ The `session_data` field in the backups is constructed as follows:
|
|||
| 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_claimed_keys | {string: string} | **Required.** A map from the algorithm name (`ed25519`) to the corresponding device key of the sending device. |
|
||||
| session_key | string | **Required.** Unpadded base64-encoded session key in [session-sharing format](https://gitlab.matrix.org/matrix-org/olm/blob/master/docs/megolm.md#session-sharing-format). |
|
||||
| session_key | string | **Required.** Unpadded base64-encoded session key in [session export format](https://gitlab.matrix.org/matrix-org/olm/blob/master/docs/megolm.md#session-export-format). |
|
||||
|
||||
2. Generate an ephemeral curve25519 key, and perform an ECDH with the
|
||||
ephemeral key and the backup's public key to generate a shared
|
||||
|
|
|
|||
Loading…
Reference in a new issue