eimis-ans / eimis-synapse

Make a Synapse homeserver work on a managed kubernetes server hosted by OVH
MIT License
8 stars 3 forks source link

End-to-end data encryption #33

Open heroinedor opened 1 year ago

heroinedor commented 1 year ago

What about the end-to-end data encryption when 2 non-matrix IM are talking together ?

Is it possible to have encryption at the bridge level ? Or is it mandatory to use a separate tool ?

ad2ien commented 1 year ago

For instance, for the Slack bridge, only slack <-> bridge is encrypted. It’s possible to de-cypher room messages but each user should be using a tool like pantalaimon.

So E2EE doesn’t look possible with a bridge but it looks possible to use bridge to end encryption: https://docs.mau.fi/bridges/general/end-to-bridge-encryption.html Next step : how does it work? it really needs further investigation and POC to understand how the bridge can be able to translate encrypted room messages.

References

ad2ien commented 1 year ago

About mautrix slack bridge it only allow does only from slack -> MX, but:

further investigation needed to see how it is done...

ad2ien commented 12 months ago

And some additional thoughts there : https://github.com/eimis-ans/eimis-synapse/issues/180#issuecomment-1778874116