2020-06-04 19:38:45 +08:00
|
|
|
# End to end encryption by default
|
2020-06-04 05:09:56 +08:00
|
|
|
|
2020-07-17 19:22:51 +08:00
|
|
|
By default, Element will create encrypted DM rooms if the user you are chatting with has keys uploaded on their account.
|
|
|
|
For private room creation, Element will default to encryption on but give you the choice to opt-out.
|
2020-06-04 05:09:56 +08:00
|
|
|
|
|
|
|
## Disabling encryption by default
|
|
|
|
|
|
|
|
Set the following on your homeserver's
|
|
|
|
`/.well-known/matrix/client` config:
|
|
|
|
```json
|
|
|
|
{
|
2020-08-14 20:03:04 +08:00
|
|
|
"im.vector.e2ee": {
|
2020-06-04 05:09:56 +08:00
|
|
|
"default": false
|
|
|
|
}
|
|
|
|
}
|
|
|
|
```
|
2020-08-14 20:03:04 +08:00
|
|
|
|
|
|
|
# Compatibility
|
|
|
|
|
|
|
|
The settings above were first proposed under a `im.vector.riot.e2ee` key, which
|
|
|
|
is now deprecated. Element will check for either key, preferring
|
|
|
|
`im.vector.e2ee` if both exist.
|