libomemo icon indicating copy to clipboard operation
libomemo copied to clipboard

XEP-0384: OMEMO Encryption 0.4.0+

Open Neustradamus opened this issue 5 years ago • 13 comments

Can you update the XEP-0384: OMEMO Encryption support to 0.4.0+?

  • https://xmpp.org/extensions/xep-0384.html

XEP-0454: OMEMO Media sharing:

  • https://xmpp.org/extensions/xep-0454.html

Diff Tool:

  • 0.3.0 to current: http://www.aptest.com/standards/htmldiff/htmldiff.pl?oldfile=https://xmpp.org/extensions/attic/xep-0384-0.3.0.html&newfile=https://xmpp.org/extensions/xep-0384.html
  • 0.8.3 to current: http://www.aptest.com/standards/htmldiff/htmldiff.pl?oldfile=https://xmpp.org/extensions/attic/xep-0384-0.8.3.html&newfile=https://xmpp.org/extensions/xep-0384.html
  • 0.8.3 to 0.9.0: http://www.aptest.com/standards/htmldiff/htmldiff.pl?oldfile=https://xmpp.org/extensions/attic/xep-0384-0.8.3.html&newfile=https://xmpp.org/extensions/attic/xep-0384-0.9.0.html
  • 0.8.2 to 0.8.3: http://www.aptest.com/standards/htmldiff/htmldiff.pl?oldfile=https://xmpp.org/extensions/attic/xep-0384-0.8.2.html&newfile=https://xmpp.org/extensions/attic/xep-0384-0.8.3.html
  • 0.8.1 to 0.8.2: http://www.aptest.com/standards/htmldiff/htmldiff.pl?oldfile=https://xmpp.org/extensions/attic/xep-0384-0.8.1.html&newfile=https://xmpp.org/extensions/attic/xep-0384-0.8.2.html
  • 0.8.0 to 0.8.1: http://www.aptest.com/standards/htmldiff/htmldiff.pl?oldfile=https://xmpp.org/extensions/attic/xep-0384-0.8.0.html&newfile=https://xmpp.org/extensions/attic/xep-0384-0.8.1.html
  • 0.7.0 to 0.8.0: http://www.aptest.com/standards/htmldiff/htmldiff.pl?oldfile=https://xmpp.org/extensions/attic/xep-0384-0.7.0.html&newfile=https://xmpp.org/extensions/attic/xep-0384-0.8.0.html
  • 0.6.0 to 0.7.0: http://www.aptest.com/standards/htmldiff/htmldiff.pl?oldfile=https://xmpp.org/extensions/attic/xep-0384-0.6.0.html&newfile=https://xmpp.org/extensions/attic/xep-0384-0.7.0.html
  • 0.5.0 to 0.6.0: http://www.aptest.com/standards/htmldiff/htmldiff.pl?oldfile=https://xmpp.org/extensions/attic/xep-0384-0.5.0.html&newfile=https://xmpp.org/extensions/attic/xep-0384-0.6.0.html
  • 0.4.0 to 0.5.0: http://www.aptest.com/standards/htmldiff/htmldiff.pl?oldfile=https://xmpp.org/extensions/attic/xep-0384-0.4.0.html&newfile=https://xmpp.org/extensions/attic/xep-0384-0.5.0.html
  • 0.3.0 to 0.4.0: http://www.aptest.com/standards/htmldiff/htmldiff.pl?oldfile=https://xmpp.org/extensions/attic/xep-0384-0.3.0.html&newfile=https://xmpp.org/extensions/attic/xep-0384-0.4.0.html

PS: Not sure that 0.3.0 was complete before:

  • https://xmpp.org/extensions/attic/xep-0384-0.3.0.html

Neustradamus avatar Mar 26 '20 01:03 Neustradamus

as far as i know there is no client implementing this. am i wrong?

gkdr avatar Dec 02 '20 22:12 gkdr

as far as i know there is no client implementing this

Yes

selurvedu avatar Dec 02 '20 22:12 selurvedu

Here: https://github.com/dino/dino/tree/feature/omemo1

Neustradamus avatar Dec 02 '20 22:12 Neustradamus

nice, that means the libsignal-protocol-c fork is functional as well?

gkdr avatar Dec 02 '20 22:12 gkdr

@gkdr: First, I can not confirm that current libomemo supports a perfect OMEMO 0.3.0, only you can confirm it.

About OMEMO 0.4.0+, I am not sure that the omemo1 branch of Dino is up-to-date. It is important to create a new libomemo branch for OMEMO 0.4.0+ or better, I think, a new repo, for example "libomemo-v2" or other...

@mar-v-in: Please talk with @gkdr.

Thanks in advance.

Neustradamus avatar Dec 02 '20 23:12 Neustradamus

libomemo-c should work, but afaik it was not thoroughly tested with for compatibility any other implementation yet. When operating based on libomemo-c, you can implement omemo 0.3.0 and 0.4.0+ at the same time so that your client remains fully backwards-compatible. This is what is implemented in omemo1 branch, but again, nothing of this was thoroughly tested and you'd be the first client to implement this in production.

mar-v-in avatar Dec 03 '20 00:12 mar-v-in

oh, nice, thanks for that! the changes look like i can probably plug it into my signal-protocol-client-code with little adaptations. i can also start implementing the pure xml stuff here, but will think about how to include the forked signal protocol since it's now part of the omemo spec.

gkdr avatar Dec 04 '20 20:12 gkdr

Is this fixed now (after 6f153c086b1b5618fca347f420fe50a8f73e14d5 and further changes last year)?

hades avatar Oct 07 '23 09:10 hades

@hades: Sorry for the delay, it does not support OMEMO 0.8.3, it is only 0.3.0.

And "XEP-0454: OMEMO Media sharing" is missing too:

  • https://xmpp.org/extensions/xep-0454.html

Maybe some guys can look it?

All links in description.

cc: @root-hardenedvault, @hartwork, @fortysixandtwo.

Neustradamus avatar Dec 25 '23 01:12 Neustradamus