mirror of
https://github.com/matrix-org/matrix-spec
synced 2026-03-07 20:24:08 +01:00
Address feedback from code review.
* Switch "an SAS" back to "a SAS" * Remove the `next_method` field from m.key.verification.start$m.sas.v1 but add additional clarification to its description on m.key.verification.start that it is never present for methods that verify keys both ways.
This commit is contained in:
parent
5384b61d95
commit
8affb23e5e
|
|
@ -28,7 +28,8 @@ properties:
|
||||||
type: string
|
type: string
|
||||||
description: |-
|
description: |-
|
||||||
Optional method to use to verify the other user's key with. Applicable
|
Optional method to use to verify the other user's key with. Applicable
|
||||||
when the ``method`` chosen only verifies one user's key.
|
when the ``method`` chosen only verifies one user's key. This field will
|
||||||
|
never be present if the ``method`` verifies keys both ways.
|
||||||
required:
|
required:
|
||||||
- from_device
|
- from_device
|
||||||
- transaction_id
|
- transaction_id
|
||||||
|
|
|
||||||
|
|
@ -3,7 +3,7 @@ allOf:
|
||||||
- $ref: core-event-schema/event.yaml
|
- $ref: core-event-schema/event.yaml
|
||||||
|
|
||||||
description: |-
|
description: |-
|
||||||
Begins an SAS key verification process using the ``m.sas.v1`` method. Typically sent as a `to-device`_ event.
|
Begins a SAS key verification process using the ``m.sas.v1`` method. Typically sent as a `to-device`_ event.
|
||||||
properties:
|
properties:
|
||||||
content:
|
content:
|
||||||
properties:
|
properties:
|
||||||
|
|
@ -23,10 +23,6 @@ properties:
|
||||||
enum: ["m.sas.v1"]
|
enum: ["m.sas.v1"]
|
||||||
description: |-
|
description: |-
|
||||||
The verification method to use.
|
The verification method to use.
|
||||||
next_method:
|
|
||||||
type: string
|
|
||||||
description: |-
|
|
||||||
Optional method to use to verify the other user's key with.
|
|
||||||
key_agreement_protocols:
|
key_agreement_protocols:
|
||||||
type: array
|
type: array
|
||||||
description: |-
|
description: |-
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue