docs-matrix-spec/content
Sumner Evans 9a5cacda90
Clarify that the key backup MAC is implemented incorrectly (#1712)
* Clarify that the key backup MAC is implemented incorrectly

Due to a bug in libolm, all implementations of the
m.megolm_backup.v1.curve25519-aes-sha2 key backup algorithm incorrectly
pass an empty string through HMAC-SHA-256 to generate the `mac` property
of the `session_data`.

It was intended for the entire raw encrypted data to be passed through
HMAC-SHA-256, but the issue was caught too late in the process, and thus
we are stuck with this until a new key backup algorithm is introduced.

This commit clarifies the real-world behavior of all current
implementations.

Signed-off-by: Sumner Evans <sumner@beeper.com>
2024-01-16 14:11:44 -05:00
..
changelog Matrix 1.9 2023-11-29 10:05:20 -07:00
client-server-api Clarify that the key backup MAC is implemented incorrectly (#1712) 2024-01-16 14:11:44 -05:00
rooms Add room version 11 (#1604) 2023-08-15 00:18:45 -06:00
_index.md Clarify that Unix timestamps disregard leap seconds since 1970 (#1627) 2023-08-24 06:11:47 +00:00
appendices.md Fix typo in canonical JSON grammar (#1652) 2023-10-02 12:13:23 +00:00
application-service-api.md Add spec for MSC2659: application service ping endpoint (#1516) 2023-05-23 18:36:37 +01:00
identity-service-api.md Add a hyphen between third and party when used as an adjective (#1447) 2023-03-08 09:58:29 +00:00
proposals.md Get rid of the proprosal-in-review label (#1036) 2022-05-03 13:45:44 +01:00
push-gateway-api.md Add standard error responses (MSC3743). (#1347) 2022-11-22 15:51:29 +00:00
server-server-api.md server-server-api: Fix grammar in server discovery (#1665) 2023-10-24 22:18:45 -04:00