roundcube-plugin icon indicating copy to clipboard operation
roundcube-plugin copied to clipboard

OMEMO doesn't work

Open roughnecks opened this issue 2 years ago • 7 comments

Hello, I see this config: 'omemo_default' => true, but OMEMO just doesn't work and I can't even see the "keys" tab when clicking on my profile.

For all OMEMO messages I get an info message about my client not supporting it.

Am I missing something? Thanks

roughnecks avatar Jan 04 '24 18:01 roughnecks

Hi, I think it depends on the CDN version you use and it is not the question of this plugin. You should ask in the proper conversejs repo. Maybe here?

drlight17 avatar Jan 07 '24 13:01 drlight17

Why? I use $rcmail_config['converse_cdn'] = 'https://cdn.conversejs.org/10.1.2'; as per default config file

And OMEMO works just fine in mod_conversejs in Prosody.

roughnecks avatar Jan 07 '24 14:01 roughnecks

libsignal isn't loaded:

image

https://m.conversejs.org/docs/html/setup_dev_environment.html#dependency-libsignal

roughnecks avatar Jan 10 '24 08:01 roughnecks

Am I missing something? Thanks

You have to uncomment include_script in converse.php:

// TODO add omemo encryption support (no messages received, error for now) $this->include_script('https://cdn.conversejs.org/3rdparty/libsignal-protocol.min.js');

Now its working for me.

bronkoo avatar Feb 20 '24 14:02 bronkoo

This plugin is unusable for me, I gave up If I disconnect and then connect a second time, more than half my chats and contacts aren't there in list Also I tried your fix but when clicking on the lock icon it said the other person wasn't using a client capable of OMEMO - and I talk with that person on a regular basis on my standard conversejs client

Thanks tho.

roughnecks avatar Feb 20 '24 15:02 roughnecks

yes, only a short history, missing contacts, file transfer doesn't work and OMEMO starts after cookie deleting in browser...

bronkoo avatar Feb 20 '24 15:02 bronkoo

Also I tried your fix but when clicking on the lock icon it said the other person wasn't using a client capable of OMEMO

When I enabled mod_conversejs (ejabberd) on server site too, I got these... so don't configure conversejs module on xmpp server, only websocket or bosh for your roundcube conversejs plugin connetion.

bronkoo avatar Feb 20 '24 16:02 bronkoo