zom / Zom-Android-XMPP

THIS PROJECT IS NOW CLOSED. WE HAVE MOVED TO A NEW ZOM 2.0 MATRIX CORE. FOLLOW THE LINK!
https://github.com/zom/zom-android-matrix
GNU General Public License v3.0
141 stars 66 forks source link

Unable to receive OMEMO encrypted messages with fallback #466

Open kmq opened 6 years ago

kmq commented 6 years ago

Scenario

An OMEMO encrypted message that includes a fallback is received.

Expected

Zom decrypts the message and ignores the fallback

Actual

Zom shows only the fallback message

I have sent you an OMEMO encrypted message, but your client doesn't seem to support that.

completely ignoring the encrypted payload.

This makes impossible to communicate with people using the zom.im server, as that server disallows unencrypted communication.

n8fr8 commented 6 years ago

Got it. I thought we handled this correctly. Looking into it...

wiktor-k commented 6 years ago

I'm also experiencing this issue from contacts using Conversations.im

tiffrobo commented 6 years ago

@iamironrabbit I don't fully understand the ticket. Can you tell me how to test this one, please?

iamironrabbit commented 6 years ago

In short, test using Conversations.im app. If you can receive messages from Conversations to Zom, then it is fixed. So says the rabbit!

tiffrobo commented 6 years ago

@iamironrabbit can you test this one, please?

wiktor-k commented 6 years ago

I tested this with Zom version 15.5.0-RC-2 and the behavior of Zom is very weird: some messages from Conversations are correctly decrypted but some of them still show the fallback ("I sent you an OMEMO..."). It's hard to me to spot the difference why some of them work and some doesn't but the bug is 100% reproducible.