Update mautrix-python

This commit is contained in:
Tulir Asokan
2022-07-05 13:26:03 +03:00
parent 3ea491d379
commit 8fd97af0a9
2 changed files with 23 additions and 13 deletions
+22 -12
View File
@@ -243,18 +243,28 @@ bridge:
# Default to encryption, force-enable encryption in all portals the bridge creates # 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. # This will cause the bridge bot to be in private chats for the encryption to work properly.
default: false default: false
# Options for automatic key sharing. # Require encryption, drop any unencrypted messages.
key_sharing: require: false
# Enable key sharing? If enabled, key requests for rooms where users are in will be fulfilled. # Enable key sharing? If enabled, key requests for rooms where users are in will be fulfilled.
# You must use a client that supports requesting keys from other users to use this feature. # You must use a client that supports requesting keys from other users to use this feature.
allow: false allow_key_sharing: false
# Require the requesting device to have a valid cross-signing signature? # What level of device verification should be required from users?
# This doesn't require that the bridge has verified the device, only that the user has verified it. #
# Not yet implemented. # Valid levels:
require_cross_signing: false # unverified - Send keys to all device in the room.
# Require devices to be verified by the bridge? # cross-signed-untrusted - Require valid cross-signing, but trust all cross-signing keys.
# Verification by the bridge is not yet implemented. # cross-signed-tofu - Require valid cross-signing, trust cross-signing keys on first use (and reject changes).
require_verification: true # cross-signed-verified - Require valid cross-signing, plus a valid user signature from the bridge bot.
# Note that creating user signatures from the bridge bot is not currently possible.
# verified - Require manual per-device verification
# (currently only possible by modifying the `trust` column in the `crypto_device` database table).
verification_levels:
# Minimum level for which the bridge should send keys to when bridging messages from Telegram to Matrix.
receive: unverified
# Minimum level that the bridge should accept for incoming Matrix messages.
send: unverified
# Minimum level that the bridge should require for accepting key requests.
share: cross-signed-tofu
# Options for Megolm room key rotation. These options allow you to # Options for Megolm room key rotation. These options allow you to
# configure the m.room.encryption event content. See: # configure the m.room.encryption event content. See:
# https://spec.matrix.org/v1.3/client-server-api/#mroomencryption for # https://spec.matrix.org/v1.3/client-server-api/#mroomencryption for
+1 -1
View File
@@ -3,7 +3,7 @@ python-magic>=0.4,<0.5
commonmark>=0.8,<0.10 commonmark>=0.8,<0.10
aiohttp>=3,<4 aiohttp>=3,<4
yarl>=1,<2 yarl>=1,<2
mautrix>=0.16.11,<0.17 mautrix>=0.17.0,<0.18
#telethon>=1.24,<1.25 #telethon>=1.24,<1.25
tulir-telethon==1.25.0a19 tulir-telethon==1.25.0a19
asyncpg>=0.20,<0.26 asyncpg>=0.20,<0.26