Skip to content

Commit fc79355

Browse files
committed
make the default key event an object
1 parent e8ce135 commit fc79355

File tree

1 file changed

+5
-4
lines changed

1 file changed

+5
-4
lines changed

proposals/1946-secure_server-side_storage.md

+5-4
Original file line numberDiff line numberDiff line change
@@ -49,10 +49,11 @@ A key with ID `abcdefg` is stored in `m.secret_storage.key.abcdefg`
4949
```
5050

5151
A key can be marked as the "default" key by setting the user's account_data
52-
with event type `m.secret_storage.default_key` to the ID of the key. The
53-
default key will be used to encrypt all secrets that the user would expect to
54-
be available on all their clients. Unless the user specifies otherwise,
55-
clients will try to use the default key to decrypt secrets.
52+
with event type `m.secret_storage.default_key` to an object that has the ID of
53+
the key as its `key` property. The default key will be used to encrypt all
54+
secrets that the user would expect to be available on all their clients.
55+
Unless the user specifies otherwise, clients will try to use the default key to
56+
decrypt secrets.
5657

5758
Clients MUST ensure that the key is trusted before using it to encrypt secrets.
5859
One way to do that is to have the client that creates the key sign the key

0 commit comments

Comments
 (0)