Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Matrix: Support for encrypted chatrooms #1187

Open
BenWiederhake opened this issue Aug 3, 2020 · 9 comments
Open

Matrix: Support for encrypted chatrooms #1187

BenWiederhake opened this issue Aug 3, 2020 · 9 comments
Labels
enhancement New feature or request matrix

Comments

@BenWiederhake
Copy link
Contributor

The bridge currently doesn't support encryption, because gomatrix doesn't support it, and doesn't plan to support it anytime soon: matrix-org/gomatrix#31 (comment)

By now, Rooms on Matrix are encrypted by default, which is why I "reopen" the old issue (#170).

Maybe it's a good idea to switch to mautrix-go, because it supports E2EE, and it's based on gomatrix (so hopefully migration will be easy).

I could try to migrate it myself, but before I put any effort into that I'd first like to hear what @42wim thinks about this.

In case anyone is interested, this is the current situation:

  • Sending to an unencrypted Matrix room works fine
  • Receiving from an unencrypted Matrix room works fine
  • Sending to an encrypted Matrix room works, but the message is displayed as "(!) Unencrypted" to other Matrix users
  • Receiving from an encrypted Matrix room doesn't work, ./matterbridge -debug shows no output whatsoever.
@BenWiederhake BenWiederhake added the enhancement New feature or request label Aug 3, 2020
@qaisjp
Copy link
Collaborator

qaisjp commented Aug 3, 2020

Have you tried setting this up? https://github.com/matrix-org/pantalaimon

Not convenient that it uses Python, though.

@TheHolyRoger
Copy link
Contributor

@BenWiederhake have you done any work on this yet? would be happy to move to mautrix-go since gomatrix aren't puling their finger out

@BenWiederhake
Copy link
Contributor Author

I haven't, because I haven't heard anything from go-matrix. I'd be very happy if you can do this.

@TheHolyRoger
Copy link
Contributor

I had a look last night and it really doesn't look too difficult, and I'm a GO noob... @42wim any thoughts on this? I'd be happy to help out, I learn quick :)

@42wim
Copy link
Owner

42wim commented Aug 20, 2020

@TheHolyRoger i'm open for PR's to fix this, I don't mind going to mautrix-go but it should also support the extra stuff I've added to matrix-go.
I don't have the time at the moment to do this myself.

@Mikaela
Copy link

Mikaela commented Sep 8, 2020

If I understand this blog post correctly, Matrix-org itself isn't using go-matrix anymore having switched to mautrix-go.

@BenWiederhake
Copy link
Contributor Author

Excellent! Even more reason to switch to mautrix-go.

@unode
Copy link

unode commented Jun 23, 2023

Keeping an eye on this as we would be interested in having support for encrypted rooms. Thanks to everyone making it possible.

@BenWiederhake
Copy link
Contributor Author

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request matrix
Projects
None yet
Development

No branches or pull requests

6 participants