Add encryption configuration defaults to Mautrix bridges

Related to #451 (Github Issue).
This commit is contained in:
Slavi Pantaleev 2020-04-17 09:44:48 +03:00
parent ba6ff19a94
commit 4d260c0dd5
3 changed files with 34 additions and 0 deletions

View File

@ -141,6 +141,17 @@ matrix_mautrix_facebook_configuration_yaml: |
presence: true presence: true
# Whether or not to update avatars when syncing all contacts at startup. # Whether or not to update avatars when syncing all contacts at startup.
update_avatar_initial_sync: true update_avatar_initial_sync: true
# End-to-bridge encryption support options. These require matrix-nio to be installed with pip
# and login_shared_secret to be configured in order to get a device for the bridge bot.
#
# Additionally, https://github.com/matrix-org/synapse/pull/5758 is required if using a normal
# application service.
encryption:
# Allow encryption, work in group chat rooms with e2ee enabled
allow: false
# Default to encryption, force-enable encryption in all portals the bridge creates
# This will cause the bridge bot to be in private chats for the encryption to work properly.
default: false
# Permissions for using the bridge. # Permissions for using the bridge.
# Permitted values: # Permitted values:

View File

@ -124,6 +124,17 @@ matrix_mautrix_hangouts_configuration_yaml: |
login_shared_secret: {{ matrix_mautrix_hangouts_login_shared_secret|to_json }} login_shared_secret: {{ matrix_mautrix_hangouts_login_shared_secret|to_json }}
# Whether or not to update avatars when syncing all contacts at startup. # Whether or not to update avatars when syncing all contacts at startup.
update_avatar_initial_sync: true update_avatar_initial_sync: true
# End-to-bridge encryption support options. These require matrix-nio to be installed with pip
# and login_shared_secret to be configured in order to get a device for the bridge bot.
#
# Additionally, https://github.com/matrix-org/synapse/pull/5758 is required if using a normal
# application service.
encryption:
# Allow encryption, work in group chat rooms with e2ee enabled
allow: false
# Default to encryption, force-enable encryption in all portals the bridge creates
# This will cause the bridge bot to be in private chats for the encryption to work properly.
default: false
# Public website and API configs # Public website and API configs
web: web:

View File

@ -227,6 +227,18 @@ matrix_mautrix_telegram_configuration_yaml: |
height: 256 height: 256
background: "020202" # only for gif background: "020202" # only for gif
fps: 30 # only for webm fps: 30 # only for webm
# End-to-bridge encryption support options. These require matrix-nio to be installed with pip
# and login_shared_secret to be configured in order to get a device for the bridge bot.
#
# Additionally, https://github.com/matrix-org/synapse/pull/5758 is required if using a normal
# application service.
encryption:
# Allow encryption, work in group chat rooms with e2ee enabled
allow: false
# Default to encryption, force-enable encryption in all portals the bridge creates
# This will cause the bridge bot to be in private chats for the encryption to work properly.
default: false
# Overrides for base power levels. # Overrides for base power levels.
initial_power_level_overrides: initial_power_level_overrides:
user: {} user: {}