otrv4 / libotr-ng

A new implementation of OTR with support for version 4. This is a mirror of https://bugs.otr.im/otrv4/libotr-ng
Other
43 stars 9 forks source link

Implement functionality to publish Client profiles, Prekey profiles and prekey messages #98

Closed claucece closed 6 years ago

claucece commented 6 years ago

Why

As we are currently implementing the revision number 2 of the OTRv4 specification, we need to include a consistent way of using publishing user profiles, prekey profiles and prekey messages.

Tasks

Depends on

Issue #78 to be finished.

Open questions

None.

This depends on #108

claucece commented 6 years ago

Let's wait on this issue.

juniorz commented 6 years ago

I believe the minimum for this that could be done before there is an implementation of a client for the prekey server protocol is:

As part of #68, the protocol is capable of receiving a prekey ensemble, validates it and send an "offline" data message.

juniorz commented 6 years ago

78 is done, and I believe we could also move this issue to "Todo" when we feel like it.

claucece commented 6 years ago

@juniorz OK, let's finish the Non-Interactive-Auth and the heartbeat after the DAKE, and move this to TODO.

claucece commented 6 years ago

Note from other issue that is very similar:

For a mode where online and offline are accepted, the same Prekey Server can be used. For a mode with no offline, we need to define how to publish.

I think we can still use the Prekey Servers as the standard for this - but maybe in XMPP exposed under a different service name.

claucece commented 6 years ago

@juniorz @giovaneliberato they can be published now?

juniorz commented 6 years ago

There is a pretty basic implementation of this. And we are not, for example, filtering out duplicate or invalid ensembles returned by the server.

claucece commented 6 years ago

@juniorz ok. Thanks!

claucece commented 6 years ago

I'll move the filtering to another issue, as this is mostly closed.