File tree 1 file changed +5
-4
lines changed
1 file changed +5
-4
lines changed Original file line number Diff line number Diff line change @@ -49,10 +49,11 @@ A key with ID `abcdefg` is stored in `m.secret_storage.key.abcdefg`
49
49
```
50
50
51
51
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.
56
57
57
58
Clients MUST ensure that the key is trusted before using it to encrypt secrets.
58
59
One way to do that is to have the client that creates the key sign the key
You can’t perform that action at this time.
0 commit comments