Fix formatting of warning

Signed-off-by: Sumner Evans <sumner@beeper.com>
This commit is contained in:
Sumner Evans 2024-01-16 11:59:34 -07:00
parent 77b2879602
commit 0b741e3c87
No known key found for this signature in database
GPG key ID: 8904527AB50022FD

View file

@ -1368,14 +1368,14 @@ The `session_data` field in the backups is constructed as follows:
The first 8 bytes of the resulting MAC are base64-encoded, and become the The first 8 bytes of the resulting MAC are base64-encoded, and become the
`mac` property of the `session_data`. `mac` property of the `session_data`.
{{% boxes/warning %}} {{% boxes/warning %}}
This was intended to pass the raw encrypted data, but due to a bug in Step 5 was intended to pass the raw encrypted data, but due to a bug in libolm,
libolm, all implementations have since passed an empty string instead. all implementations have since passed an empty string instead.
Future versions of the spec will fix this problem. See Future versions of the spec will fix this problem. See
[MSC4048](https://github.com/matrix-org/matrix-spec-proposals/pull/4048) [MSC4048](https://github.com/matrix-org/matrix-spec-proposals/pull/4048) for a
for a potential new key backup algorithm version that would fix this issue. potential new key backup algorithm version that would fix this issue.
{{% /boxes/warning %}} {{% /boxes/warning %}}
{{% definition path="api/client-server/definitions/key_backup_session_data" %}} {{% definition path="api/client-server/definitions/key_backup_session_data" %}}