Skip to content

Commit b770cfe

Browse files
authored
Merge pull request #2653 from uhoreg/spec-fixes-20200623
Various small fixes in e2e spec
2 parents 83e4d8c + 3e3eafc commit b770cfe

File tree

4 files changed

+8
-12
lines changed

4 files changed

+8
-12
lines changed
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
Improve consistency and clarity of event schema ``title``s.
1+
Improve consistency and clarity of event schema ``title``\ s.
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
Fix some errors in the end-to-end encryption spec.

event-schemas/schema/m.key.verification.accept

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -13,11 +13,6 @@ properties:
1313
description: |-
1414
An opaque identifier for the verification process. Must be the same as
1515
the one used for the ``m.key.verification.start`` message.
16-
method:
17-
type: string
18-
enum: ["m.sas.v1"]
19-
description: |-
20-
The verification method to use.
2116
key_agreement_protocol:
2217
type: string
2318
description: |-

specification/modules/secrets.rst

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -161,11 +161,11 @@ encrypted as follows:
161161
============ =========== =======================================================
162162
Parameter Type Description
163163
============ =========== =======================================================
164-
iv String **Required.** The 16-byte initialization vector,
164+
iv string **Required.** The 16-byte initialization vector,
165165
encoded as base64.
166-
ciphertext String **Required.** The AES-CTR-encrypted data, encoded as
166+
ciphertext string **Required.** The AES-CTR-encrypted data, encoded as
167167
base64.
168-
mac String **Required.** The MAC, encoded as base64.
168+
mac string **Required.** The MAC, encoded as base64.
169169
============ =========== =======================================================
170170

171171
For the purposes of allowing clients to check whether a user has correctly
@@ -185,10 +185,10 @@ name string **Required.** The name of the key.
185185
algorithm string **Required.** The encryption algorithm to be used for
186186
this key. Currently, only
187187
``m.secret_storage.v1.aes-hmac-sha2`` is supported.
188-
passphrase string See `deriving keys from passphrases`_ section for a
188+
passphrase object See `deriving keys from passphrases`_ section for a
189189
description of this property.
190-
iv String The 16-byte initialization vector, encoded as base64.
191-
mac String The MAC of the result of encrypting 32 bytes of 0,
190+
iv string The 16-byte initialization vector, encoded as base64.
191+
mac string The MAC of the result of encrypting 32 bytes of 0,
192192
encoded as base64.
193193
============ =========== =======================================================
194194

0 commit comments

Comments
 (0)