G

Plugin XEP-0384 (OMEMO): message are sometimes not encrypted for every devices

When sending OLDMEMO encrypted messages to an other local account using Gajim, the message is sometimes not encrypted for Gajim's devices, and if this happens, all following messages are not encrypted either.

To reproduce:

  • restart backend, and simply enter echo "test" | li message send gajim_user@example.org -c. Sometime the message is decrypted correctly and then all following are working too, but sometime it's not encrypted for Gajim devices, and all following message are not including Gajim device keys either

It smells like a data initialisation issue, as it seems to randomly fail on start, and then it will either always success or always fail. The issue was first appearing with Libervia Desktop, but then I could reproduce with Libervia CLI too (both frontends use the same API thus is should not change anything, the only thing that may differ are the methods calling order and timing).

id

410

author

Goffi

created

24. 9. 2022 15:08

updated

24. 9. 2022 15:09

labels
backend XEP-0384 OMEMO
type
bug
status
queued
priority
normal
milestone
0.9
severity
major