Key name is supposed to be optional, as per MSC2874 (#3481)
This commit is contained in:
parent
033038917d
commit
1ad5ff4179
2 changed files with 2 additions and 1 deletions
|
@ -0,0 +1 @@
|
|||
Make `AesHmacSha2KeyDescription` consistent with `KeyDescription` in marking `name` as optional.
|
|
@ -184,7 +184,7 @@ correctly entered the key, clients should:
|
|||
|
||||
| Parameter | Type | Description |
|
||||
|-------------|--------|-----------------------------------------------------------------------------------------------------------------------------------|
|
||||
| name | string | **Required.** The name of the key. |
|
||||
| name | string | Optional. The name of the key. |
|
||||
| algorithm | string | **Required.** The encryption algorithm to be used for this key. Currently, only `m.secret_storage.v1.aes-hmac-sha2` is supported. |
|
||||
| passphrase | object | See [deriving keys from passphrases](#deriving-keys-from-passphrases) section for a description of this property. |
|
||||
| iv | string | The 16-byte initialization vector, encoded as base64. |
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue