2019-06-04 20:41:30 +02:00
|
|
|
---
|
|
|
|
|
allOf:
|
|
|
|
|
- $ref: core-event-schema/event.yaml
|
|
|
|
|
|
|
|
|
|
description: |-
|
|
|
|
|
Sends the MAC of a device's key to the partner device. Typically sent as a
|
2021-01-29 01:00:39 +01:00
|
|
|
[to-device](/client-server-api/#send-to-device-messaging) event.
|
2019-06-04 20:41:30 +02:00
|
|
|
properties:
|
|
|
|
|
content:
|
|
|
|
|
properties:
|
|
|
|
|
transaction_id:
|
|
|
|
|
type: string
|
|
|
|
|
description: |-
|
|
|
|
|
An opaque identifier for the verification process. Must be the same as
|
2021-01-27 21:14:31 +01:00
|
|
|
the one used for the `m.key.verification.start` message.
|
2019-06-04 20:41:30 +02:00
|
|
|
mac:
|
|
|
|
|
type: object
|
|
|
|
|
description: |-
|
|
|
|
|
A map of the key ID to the MAC of the key, using the algorithm in the
|
|
|
|
|
verification process. The MAC is encoded as unpadded base64.
|
|
|
|
|
additionalProperties:
|
|
|
|
|
type: string
|
|
|
|
|
description: The key's MAC, encoded as unpadded base64.
|
|
|
|
|
keys:
|
|
|
|
|
type: string
|
|
|
|
|
description: |-
|
2021-01-27 21:14:31 +01:00
|
|
|
The MAC of the comma-separated, sorted, list of key IDs given in the `mac`
|
2019-06-04 20:41:30 +02:00
|
|
|
property, encoded as unpadded base64.
|
|
|
|
|
required:
|
|
|
|
|
- transaction_id
|
|
|
|
|
- mac
|
|
|
|
|
- keys
|
|
|
|
|
type: object
|
|
|
|
|
type:
|
|
|
|
|
enum:
|
|
|
|
|
- m.key.verification.mac
|
|
|
|
|
type: string
|
|
|
|
|
type: object
|