monal-im / Monal

Monal for XMPP (iOS and macOS)
https://monal-im.org
Other
528 stars 107 forks source link

OMEMO encryption not possible #379

Closed sirdrakeistda closed 4 years ago

sirdrakeistda commented 4 years ago

At the moment I can't encrypt with Monal. When go to contact details, there is no lock to activate the encryption. I can see the keys from my contact in the contact details and the contact can encrypt for Monal without Problems. In the contact details, it says "unkown subscription", but we both added each other as contact. Monal 4.4 Server blabber.im iOS 13.3.1

Echolon commented 4 years ago

@sirdrakeistda Hi, thank you for reporting. Just one question. may you crosschec the other issues or OMEMO labels if there are relations please?

sirdrakeistda commented 4 years ago

I tried to find a similar issue. There is only one issue that could be related, because there is also the lock missing. https://github.com/anurodhp/Monal/issues/285 But there a few differences: -There its Catalyst and not iOS -There is an other notification "You can see their key. But they can't see yours" vs "unkown subscription"

Echolon commented 4 years ago

Is fine, thank you!

I can confirm that my Monal contact has the same issue actually

sirdrakeistda commented 4 years ago

After update to 4.5, the error changed. Now the Problem is similar to #285.

tom709 commented 4 years ago

I had this problem several times and at least in my case the solution was simple: Monal as of 4.7 does not seem to support contact subscription request procedure; you have to add mutual subscription between the two persons in another app (I used Gajim); after that you can enable OMEMO by clicking (i) at the top, then the lock in the dialog that opens.

Echolon commented 4 years ago

Hi @tom709,

currently there are works on the OMEMO impelementation:

https://github.com/tmolitor-stud-tu/Monal/commits?author=FriedrichAltheide

Please be a bit more patient till those made it to the master! 🙏

FriedrichAltheide commented 4 years ago

You may have to wait a few seconds after opening a chat for the first time till omemo devices are fetched.

FriedrichAltheide commented 4 years ago

fixed in alpha

e92e718c26a379b726872bd6b0de5d331fc158db ba7aca4929f11e6b81ab673e1d4bd05efa0100a7