androidclient icon indicating copy to clipboard operation
androidclient copied to clipboard

PFS/OTR/OMEMO encryption

Open daniele-athome opened this issue 10 years ago • 28 comments

Title speaks for itself :-) Also consider the Axolotol ratchet: https://www.whispersystems.org/blog/advanced-ratcheting/ Conversations already implemented OMEMO: http://conversations.im/omemo


https://github.com/igniterealtime/Smack/blob/4.3/documentation/extensions/omemo.md (Future) https://github.com/igniterealtime/Smack/blob/master/documentation/extensions/omemo.md

daniele-athome avatar Mar 12 '14 21:03 daniele-athome

Maybe you should consider the whole TextSecure-V2 protocol which uses elliptic curve encryption and has several advantages over OTR.

geileszeuch avatar Mar 19 '14 23:03 geileszeuch

:thumbsup:

mimi89999 avatar Feb 20 '16 21:02 mimi89999

@daniele-athome we are looking for students to work on projects like kontalk (see https://www.loomio.org/d/59Jl3bds/private-messaging-focused-phase-2), would you mentor students to implement this feature? OMEMO support in conversations was added by a student as part of google summer of code. We can ask students to submit proposals and we can select if we are happy with the proposal. We'll also crowd fund so we can pay them like gsoc.

pravi avatar May 19 '16 09:05 pravi

Sure that would be great. I was indeed delaying PFS after implementing group chat, but we can develop those two in at the same time if another person helps me out so we can work out practical implementation of OMEMO in group chat and sort out issues about that. Please let me know what you need.

daniele-athome avatar May 19 '16 11:05 daniele-athome

@daniele-athome thanks. We'll start visiting colleges and look for interested students. I'll keep you posted.

pravi avatar May 19 '16 13:05 pravi

Hi! I just want to let you know, that I'm working on a Smack module for OMEMO as part of my bachelors thesis. Since afaik Kontalk is based on Smack, it might use it in the future ;)

vanitasvitae avatar Jan 19 '17 17:01 vanitasvitae

@vanitasvitae that's great news! Looking forward to it. And good luck with your thesis!

daniele-athome avatar Jan 19 '17 22:01 daniele-athome

OMEMO support is vital part of mobile security!

I hope it will be implemented.

ghost avatar Jan 29 '17 19:01 ghost

👍

keshto avatar Feb 12 '17 19:02 keshto

Zom started to implement OMEMO using smack-omemo and smack-omemo-signal. I'd love to get more feedback from client developers that use the code :+1:

vanitasvitae avatar Apr 04 '17 22:04 vanitasvitae

For me as a interested user it sounds like a good idea to give OMEMO implementation in Kontalk the highest priority (beside bug fixes).

webratte avatar Apr 05 '17 04:04 webratte

I spend some time playing with it. However, because PubSub is currently not supported by the Kontalk server I couldn't really test it. Still, it looks very promising.

abika avatar Apr 05 '17 20:04 abika

Thanks @abika. I believe that Tigase can support PubSub. I'll do some research on our test server.

daniele-athome avatar Apr 10 '17 09:04 daniele-athome

Hi! Just to keep you updated: Smack included OMEMO support in 4.2.0, but due to some ongoing API changes the OMEMO modules were temporarily excluded from 4.2.1 and the recently released 4.2.2. I'm aiming for 4.2.3 including the OMEMO modules again, because my rework is nearly finished :)

vanitasvitae avatar Nov 28 '17 17:11 vanitasvitae

Good to know. I was just planning to start soon. Thanks for your work, looking forward to Smack 4.2.3 :-)

daniele-athome avatar Nov 29 '17 05:11 daniele-athome

@daniele-athome Good news: My OMEMO rework made it into Smack 4.4.0-alpha1!

vanitasvitae avatar Jun 19 '18 18:06 vanitasvitae

That's great @vanitasvitae, thank you!! I'll do some experiments with Smack 4.4 in a separate branch.

daniele-athome avatar Jun 21 '18 18:06 daniele-athome

@vanitasvitae I see there is some OMEMO code in Smack 4.3, is it upgraded with your work that got included in 4.4? I mean can I begin experimenting with Smack 4.3 without going all full-edge on an alpha?

daniele-athome avatar Jul 31 '18 10:07 daniele-athome

There are significat API changes between 4.3 and the current master/4.4.

vanitasvitae avatar Jul 31 '18 11:07 vanitasvitae

I don't know if I can wait for Smack 4.4... especially now that the really nice guys at Prism Break have removed us from their website since we don't implement OMEMO. I'll test the code from 4.3 for now. Then I'll inspect this big commit.

daniele-athome avatar Jul 31 '18 11:07 daniele-athome

Maybe try to keep the OMEMO stuff modular, so replacing the implementation later can be done more easily :)

vanitasvitae avatar Jul 31 '18 12:07 vanitasvitae

I've begun experimenting with OMEMO from Smack 4.3.0 - which I had to compile by myself because the smack-omemo components for 4.3.0 were not deployed to Maven Central. The experiments were very successful :-)

@vanitasvitae by the way, would you know anything about this: https://mail.jabber.org/pipermail/standards/2018-September/035348.html

daniele-athome avatar Sep 06 '18 17:09 daniele-athome

Some work going on in #1256.

daniele-athome avatar Apr 24 '19 17:04 daniele-athome

Just a little heads up - I haven't tried it yet, but aTalk is an XMPP messenger that came to F-Droid lately and claims to have, among other types, OMEMO encryption.

CrimsonFork avatar Jun 09 '19 09:06 CrimsonFork

@vanitasvitae I realized now that you replied to the thread I pointed you to, before I asked you!! :D sorry...

daniele-athome avatar Jun 09 '19 19:06 daniele-athome

@daniele-athome no problem ;)

You may be interested in this PR btw ;)

vanitasvitae avatar Jun 09 '19 20:06 vanitasvitae

You may be interested in this PR btw ;)

Oh I missed that in the XMPP mailing list! Thanks I'll take a look.

daniele-athome avatar Jun 09 '19 20:06 daniele-athome

Oh I missed that in the XMPP mailing list! Thanks I'll take a look.

The editor did not yet merge this PR, so the announcement mail + extensive discussion is still due to come. Nevertheless, please don't hesitate to give feedback in this thread.

So, enough thread hijacking :D

vanitasvitae avatar Jun 09 '19 21:06 vanitasvitae