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

End-to-End Encryption not working #93

Open
Patt92 opened this issue Oct 5, 2022 · 3 comments
Open

End-to-End Encryption not working #93

Patt92 opened this issue Oct 5, 2022 · 3 comments

Comments

@Patt92
Copy link

Patt92 commented Oct 5, 2022

I'm using several mautrix bridges, which work really good, but I'm unable to enable End-to-End Encryption for the imessage bridge. WhatsApp, Facebook, Instagram, Signal, Discord are working encrypted with the bridge set default:true.

I'm running a Mac Mini M1 with the bridge running in Automator (works flawless), the synapse homeserver/wsproxy are another public server and they are connected via Wireguard and served as docker container. I'm receiving my chats as unencrypted even though I have enabled it as default.

I tried creating a encrypted room by addin @imessage_34567890:my.matrix.server, which creates an encrypted chat, but everything written there goes into void. After a time, the unencrypted chat rooms reappear, those are working.

The encryption part of the mautrix-imessage config.yaml

encryption:
# Allow encryption, work in group chat rooms with e2ee enabled
allow: true
# 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: true
# Whether or not to use MSC2409/MSC3202 instead of /sync long polling for receiving encryption-related data.
appservice: false
# Require encryption, drop any unencrypted messages.
require: false
# 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.
allow_key_sharing: false

Is there anything, I'm missing? wsproxy doesn't seem to be involved in the encryption part, so I thought the issue is the Mac setup.

@2600box
Copy link

2600box commented Apr 10, 2023

Did you ever resolve this?

@Patt92
Copy link
Author

Patt92 commented Apr 10, 2023

Did you ever resolve this?

sadly not, all other bridges work fine though

@starascendin
Copy link

my setup is bit than yours, i ran the ansible matrix setup and have enabled encryption for the imessage bridge. It works this way

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

3 participants