|
|
|
@ -21,25 +21,11 @@ concatenation of:
|
|
|
|
|
which sent the `m.key.verification.accept` message, followed by `|`.
|
|
|
|
|
* The `transaction_id` being used.
|
|
|
|
|
|
|
|
|
|
A new `message_authentication_code` method, `hkdf-hmac-sha256.v2` is introduced. It
|
|
|
|
|
is the same as `hkdf-hmac-sha256`, except that the info parameter for the HKDF
|
|
|
|
|
is the concatenation of:
|
|
|
|
|
|
|
|
|
|
* The string `MATRIX_KEY_VERIFICATION_MAC|`.
|
|
|
|
|
* The Matrix ID of the user whose key is being MAC-ed, followed by `|`.
|
|
|
|
|
* The Device ID of the device sending the MAC, followed by `|`.
|
|
|
|
|
* The Matrix ID of the other user, followed by `|`.
|
|
|
|
|
* The Device ID of the device receiving the MAC, followed by `|`.
|
|
|
|
|
* The transaction_id being used, followed by `|`.
|
|
|
|
|
* The Key ID of the key being MAC-ed, or the string `KEY_IDS` if the item
|
|
|
|
|
being MAC-ed is the list of key IDs.
|
|
|
|
|
|
|
|
|
|
A new `short_authentication_string` method, `emoji.v2` is introduced. It is
|
|
|
|
|
the same as `emoji`, but emoji number 34 is changed from 🔧 (`U+1F527` Spanner)
|
|
|
|
|
to ⭐ (`U+2B50` Star).
|
|
|
|
|
|
|
|
|
|
The `key_agreement_protocol` `curve25519`, `message_authentication_code`
|
|
|
|
|
`hkdf-hmac-sha256`, and `short_authentication_string` `emoji` are deprecated.
|
|
|
|
|
The differences from `curve25519` are the addition of the public keys, and the
|
|
|
|
|
addition of `|` as delimiter between the fields.
|
|
|
|
|
|
|
|
|
|
The `key_agreement_protocol` `curve25519` is deprecated and may be removed in
|
|
|
|
|
the future.
|
|
|
|
|
|
|
|
|
|
## Potential issues
|
|
|
|
|
|
|
|
|
|