Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

WIP: ProtoXEP: Automatic session healing for OMEMO #981

Draft
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

Syndace
Copy link
Contributor

@Syndace Syndace commented Sep 6, 2020

Initially planned to go into XEP-0384 directly, it seemed like a better idea to move automatic session healing into its own XEP and make it fully optional for OMEMO.

The rendered version can be found here.

Depends on version 0.7 of OMEMO, the PR for which is here.

<p>This section extends <link url="https://xmpp.org/extensions/xep-0384.html#message-structure-description">the corresponding section in XEP-0384</link>. Three new attributes are introduced, otherwise the structure is untouched. Clients that don't support this specification should ignore the (for them) unknown attributes, resulting in seamless compatibility. The data needed to fill the new attributes is explained below the updated example.</p>
<p>The &lt;keys&gt; element is extended to also have an attribute called 'dhcs_sig' containing the base64 encoded signature of the Diffie-Hellman ratchet counters.</p>
<p>The &lt;key&gt; element is extended to also have two attributes called 'dhc' (holding an unsigneed integer) and 'ekid' (holding base64 encoded data).</p>
<p>The <link url="https://xmpp.org/extensions/xep-0384.html#example-7">example</link> is updated to include the newly introduced attributes:</p><!-- TODO: Anchor for the example -->
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'd s/The example/The message header/g

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants