whatsapp icon indicating copy to clipboard operation
whatsapp copied to clipboard

Bridge turns on encryption in existing Matrix room

Open vranki opened this issue 4 years ago • 4 comments

(Scenario is existing Matrix room to new WA room)

Steps to reproduce:

  1. Invite bot to room
  2. Give bot admin permissions (yes, this is wrong. It works with PL0)
  3. Bridge
  4. Bot turns on encryption in room, which cannot be reversed

Encryption can't be turned off, so in practice the Matrix room is now unusable and must be recreated.

vranki avatar Mar 26 '21 20:03 vranki

Is bridge->encryption->default set to true?

tulir avatar Mar 26 '21 20:03 tulir

This is very bad in multi-bridged rooms where some of the bridges do not yet support end-to-end encryption such as matrix-appservice-irc

zouppen avatar Mar 26 '21 20:03 zouppen

Is bridge->encryption->default set to true?

It is not set at all, so the default value, whatever it is.

zouppen avatar Mar 26 '21 20:03 zouppen

We bridged the channel using !wa relaybot create and it turned the encryption on. The configuration doesn't have encryption setting. (We followed this https://docs.mau.fi/bridges/go/whatsapp/relaybot.html#creating-a-new-whatsapp-group-for-an-existing-matrix-room )

zouppen avatar Mar 26 '21 20:03 zouppen