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

Message was not encrypted for this device #240

Open
bunnyfu opened this issue May 2, 2019 · 10 comments

Comments

@bunnyfu
Copy link

commented May 2, 2019

Current testing scenario:
2 users, each logged into ejabberd server from macos (monal) and android (conversations). OMEMO enabled on all devices.

Correctly working when sending messages from conversations on android. Encrypted messages are received and correctly decrypted on android and macos.

Incorrectly working when sending messages from monal on macos. Encrypted messages are received and decrypted only on android. The receiving macos client displays error "Message was not encrypted for this device".

It would seems that monal is not using all omemo keys when encrypting the messages. Hopefully this can be fixed?

@Echolon

This comment has been minimized.

Copy link
Contributor

commented May 2, 2019

Evtl. related: MUC: Encryption & device publishing #225

@anurodhp

This comment has been minimized.

Copy link
Owner

commented May 29, 2019

could you test on the current beta (3.7) and see if it persists?

@lgnap

This comment has been minimized.

Copy link

commented Jun 4, 2019

Hello, I had the same issue and so I'm seeking for the current beta.

Where can I find it? I searched the website, the brew install (same 2.4 - 135), and releases seems give source code only.

Thanks

@anurodhp

This comment has been minimized.

Copy link
Owner

commented Jun 4, 2019

The brew version is a little old but you can just get it from the download link on the side bar at monal.im

@lgnap

This comment has been minimized.

Copy link

commented Jun 4, 2019

This version is the 2.4. I tested it twice. We talk about the link Download Latest OS X Beta that provide monal.im/Monal-OSX/Monal-OSX.zip link ?

@tigexplorer

This comment has been minimized.

Copy link

commented Aug 8, 2019

Hi, same problem here!
I don't use iOS or MacOS for myself but was trying to install Monal on a iPhone and a iPad of friends of mine.

But get always this messages if trying to set encryption for the contact.
The contact uses several OMEMO Devices, Conversations, Gajim and Dino!
Monal version, installed from App-Store on Juli/Aug 19 seems to be: 3.8 (377)

Encryption_not_supportetd

@anurodhp

This comment has been minimized.

Copy link
Owner

commented Aug 8, 2019

I have observed this too. There is one case where i definitely see it on some servers if you are not subscribed to their other person's presence, then it can't get the OEMEO keys. That isn't an issue that i can solve. I am looking at resolving the key fetching though.

@tigexplorer

This comment has been minimized.

Copy link

commented Aug 9, 2019

I have observed this too. There is one case where i definitely see it on some servers if you are not subscribed to their other person's presence, then it can't get the OEMEO keys. That isn't an issue that i can solve. I am looking at resolving the key fetching though.

Can yo describe what the monal user or the other user (me) have to do?
For myself, I use mainly Conversations for years. I don't remember that I have to set a "presence" that other users OMEMO clients send me an encrypted message.

I don't have any Apple device, so it's hard to tell my friends what to do?

After opening this issue here, I have start a new here. IMHO it's better as separate issue:
#272

@a11fruitless

This comment has been minimized.

Copy link

commented Aug 13, 2019

Monal: 3.8.2 (iOS)

I can confirm this one as well. After recently reinstalling the app, I am now seeing the error posted above by tigexplorer. All users are subscribed to each other's presence. Neither my Gajim nor Converstaions client can see Monal's keys and vice versa.

I'm using an up-to-date Prosody 11.2 if that is any help here, and I can provide more detail about the server configuration if needed.

Funily enough, despite telling me that other client's dont support encryption, it also tells me it received encrypted messages from them it can't read. :)

@tigexplorer

This comment has been minimized.

Copy link

commented Aug 13, 2019

Please don't misunderstood this mention: After failing OMEMO Chat with Monal, I've installed ChatSecure on both partner devices (iPhone/ iPad) and was trying it with the same contacts and the same client on the other side (Conversations), and it works.
But the UI of Monal, I think, is cleaner, so I was trying it at first. I think, it hasn't to do with the xmpp server? I used for all testing accounts wiuwiu.de, that is IMHO a Prosody.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
6 participants
You can’t perform that action at this time.