Reference implementations:
* 94f664e725
* https://github.com/matrix-org/matrix-react-sdk/pull/2461
* https://github.com/matrix-org/matrix-js-sdk/pull/818
* https://github.com/matrix-org/matrix-react-sdk/pull/2596
* https://github.com/matrix-org/matrix-js-sdk/pull/837
Proposals:
* [MSC1717](https://github.com/matrix-org/matrix-doc/pull/1717)
* [MSC1267](https://github.com/matrix-org/matrix-doc/issues/1267)
No alterations to either proposal have been made intentionally here.
43 lines
1.2 KiB
Text
43 lines
1.2 KiB
Text
---
|
|
allOf:
|
|
- $ref: core-event-schema/event.yaml
|
|
|
|
description: |-
|
|
Requests a key verification with another user's devices. Typically sent as a
|
|
`to-device`_ event.
|
|
properties:
|
|
content:
|
|
properties:
|
|
from_device:
|
|
type: string
|
|
description: |-
|
|
The device ID which is initiating the request.
|
|
transaction_id:
|
|
type: string
|
|
description: |-
|
|
An opaque identifier for the verification request. Must be unique
|
|
with respect to the devices involved.
|
|
methods:
|
|
type: array
|
|
description: |-
|
|
The verification methods supported by the sender.
|
|
items:
|
|
type: string
|
|
timestamp:
|
|
type: integer
|
|
format: int64
|
|
description: |-
|
|
The POSIX timestamp in milliseconds for when the request was made. If
|
|
the request is in the future by more than 5 minutes or more than 10
|
|
minutes in the past, the message should be ignored by the receiver.
|
|
required:
|
|
- from_device
|
|
- transaction_id
|
|
- methods
|
|
- timestamp
|
|
type: object
|
|
type:
|
|
enum:
|
|
- m.key.verification.request
|
|
type: string
|
|
type: object
|