tigase / beagle-im

(M) XMPP client for macOS based on TigaseSwift XMPP library
GNU General Public License v3.0
184 stars 21 forks source link

OMEMO messages sent from Monal are not decrypted #64

Closed foss- closed 3 years ago

foss- commented 3 years ago

Describe the bug Sending an OMEMO message from Monal alpha or the current iOS beta are not decrypted in BeagleIM (or SiskinIM) for myself.

The recipient is able to decrypt just fine. But for my own encrypted messages sent from Monal I see Message decryption failed!

To Reproduce

  1. open monal
  2. open beagle both with same xmpp account
  3. create a 1:1 chat with a contact
  4. enable OMEMO
  5. send encrypted message from monal alpha or beta

Expected behavior Messages should show and be decrypted in Beagle 1:1 chat view.

Current behavior Message decryption failed! message

Screenshots

failed

Desktop:

Additional Info Talked to Monal devs and they mentioned that this could be the result of issues in regards to key transport element from a message stanza not supported or correctly implemented in Beagle / Siskin.

ritzmann commented 3 years ago

Did you test with any other XMPP clients than Beagle? Monal has been a non-functional heap of bugs since its inception and I would first go looking for bugs there.

foss- commented 3 years ago

Same messages decrypt as expected in converse js. Other clients worked as well, would have to check with non-Apple contacts which exact clients they use.

foss- commented 3 years ago

Fixed on Monal side: https://github.com/tmolitor-stud-tu/Monal/commit/79d268bc8d8a790ce01dc775ba1f481f05282b0c closing