mirror of
https://github.com/moparisthebest/xeps
synced 2024-12-12 02:42:16 -05:00
Merge branch 'feature/xep-0450' into premerge
This commit is contained in:
commit
13ecbf92c4
87
xep-0450.xml
87
xep-0450.xml
@ -1,10 +1,10 @@
|
|||||||
<?xml version='1.0' encoding='UTF-8'?>
|
<?xml version='1.0' encoding='UTF-8'?>
|
||||||
<!DOCTYPE xep SYSTEM 'xep.dtd' [
|
<!DOCTYPE xep SYSTEM 'xep.dtd' [
|
||||||
<!ENTITY % ents SYSTEM 'xep.ent'>
|
<!ENTITY % ents SYSTEM 'xep.ent'>
|
||||||
<!ENTITY ns "urn:xmpp:atm:0">
|
<!ENTITY ns "urn:xmpp:atm:1">
|
||||||
<!ENTITY ns-trust-messages "urn:xmpp:trust-messages:0">
|
<!ENTITY ns-trust-messages "urn:xmpp:tm:0">
|
||||||
<!ENTITY ns-omemo "urn:xmpp:omemo:1">
|
<!ENTITY ns-omemo "urn:xmpp:omemo:1">
|
||||||
<!ENTITY ns-sce "urn:xmpp:sce:0">
|
<!ENTITY ns-sce "urn:xmpp:sce:1">
|
||||||
%ents;
|
%ents;
|
||||||
]>
|
]>
|
||||||
<?xml-stylesheet type='text/xsl' href='xep.xsl'?>
|
<?xml-stylesheet type='text/xsl' href='xep.xsl'?>
|
||||||
@ -37,6 +37,21 @@
|
|||||||
<email>melvo@olomono.de</email>
|
<email>melvo@olomono.de</email>
|
||||||
<jid>melvo@olomono.de</jid>
|
<jid>melvo@olomono.de</jid>
|
||||||
</author>
|
</author>
|
||||||
|
<revision>
|
||||||
|
<version>0.3.0</version>
|
||||||
|
<date>2021-04-16</date>
|
||||||
|
<initials>melvo</initials>
|
||||||
|
<remark>
|
||||||
|
<p>Update to XEP-0420 version 0.4.0 and XEP-0434 version 0.5.0:</p>
|
||||||
|
<ul>
|
||||||
|
<li>Replace SCE's old 'content' element by its new 'envelope' element</li>
|
||||||
|
<li>Replace SCE's old 'payload' element by its new 'content' element</li>
|
||||||
|
<li>Update SCE's namespace to 'urn:xmpp:sce:1'</li>
|
||||||
|
<li>Update TM's namespace to 'urn:xmpp:tm:0'</li>
|
||||||
|
<li>Update namespace to 'urn:xmpp:atm:1'</li>
|
||||||
|
</ul>
|
||||||
|
</remark>
|
||||||
|
</revision>
|
||||||
<revision>
|
<revision>
|
||||||
<version>0.2.0</version>
|
<version>0.2.0</version>
|
||||||
<date>2021-04-13</date>
|
<date>2021-04-13</date>
|
||||||
@ -171,7 +186,7 @@
|
|||||||
</p>
|
</p>
|
||||||
<p>
|
<p>
|
||||||
Note that the examples in the following use cases are consecutive and therefore must be read chronologically to properly understand them.
|
Note that the examples in the following use cases are consecutive and therefore must be read chronologically to properly understand them.
|
||||||
Since ATM uses &xep0420;, only the SCE <![CDATA[<content/>]]> elements are shown.
|
Since ATM uses &xep0420;, only the SCE <![CDATA[<envelope/>]]> elements are shown.
|
||||||
</p>
|
</p>
|
||||||
<p>
|
<p>
|
||||||
Alice would like to use OMEMO when communicating with Bob.
|
Alice would like to use OMEMO when communicating with Bob.
|
||||||
@ -195,19 +210,19 @@
|
|||||||
... the key that has been authenticated, to each own endpoint with an already authenticated key.
|
... the key that has been authenticated, to each own endpoint with an already authenticated key.
|
||||||
</p>
|
</p>
|
||||||
<example caption='A1 sends an authentication message for B1's key to A2'><![CDATA[
|
<example caption='A1 sends an authentication message for B1's key to A2'><![CDATA[
|
||||||
<content xmlns=']]>&ns-sce;<![CDATA['>
|
<envelope xmlns=']]>&ns-sce;<![CDATA['>
|
||||||
<rpad>QHqW2arWFewoERL1a43wonBKpTmsrBWnc1d66HSDq85NgMLmjrDJV9lV</rpad>
|
<rpad>QHqW2arWFewoERL1a43wonBKpTmsrBWnc1d66HSDq85NgMLmjrDJV9lV</rpad>
|
||||||
<time stamp='2020-01-01T12:00:00'/>
|
<time stamp='2020-01-01T12:00:00'/>
|
||||||
<from jid='alice@example.org/A1'/>
|
<from jid='alice@example.org/A1'/>
|
||||||
<to jid='alice@example.org'/>
|
<to jid='alice@example.org'/>
|
||||||
<payload>
|
<content>
|
||||||
<trust-message xmlns=']]>&ns-trust-messages;<![CDATA[' usage=']]>&ns;<![CDATA[' encryption=']]>&ns-omemo;<![CDATA['>
|
<trust-message xmlns=']]>&ns-trust-messages;<![CDATA[' usage=']]>&ns;<![CDATA[' encryption=']]>&ns-omemo;<![CDATA['>
|
||||||
<key-owner jid='bob@example.com'>
|
<key-owner jid='bob@example.com'>
|
||||||
<trust>623548d3835c6d33ef5cb680f7944ef381cf712bf23a0119dabe5c4f252cd02f</trust>
|
<trust>623548d3835c6d33ef5cb680f7944ef381cf712bf23a0119dabe5c4f252cd02f</trust>
|
||||||
</key-owner>
|
</key-owner>
|
||||||
</trust-message>
|
</trust-message>
|
||||||
</payload>
|
</content>
|
||||||
</content>
|
</envelope>
|
||||||
]]></example>
|
]]></example>
|
||||||
</section4>
|
</section4>
|
||||||
<section4 topic='To Contact's Endpoint' anchor='use-case-authentication-contact-endpoint-sending-to-contact-endpoint'>
|
<section4 topic='To Contact's Endpoint' anchor='use-case-authentication-contact-endpoint-sending-to-contact-endpoint'>
|
||||||
@ -215,19 +230,19 @@
|
|||||||
... each already authenticated key of all own endpoints, to the endpoint whose key has been authenticated.
|
... each already authenticated key of all own endpoints, to the endpoint whose key has been authenticated.
|
||||||
</p>
|
</p>
|
||||||
<example caption='A1 sends an authentication message for A2's key to B1'><![CDATA[
|
<example caption='A1 sends an authentication message for A2's key to B1'><![CDATA[
|
||||||
<content xmlns=']]>&ns-sce;<![CDATA['>
|
<envelope xmlns=']]>&ns-sce;<![CDATA['>
|
||||||
<rpad>Wvj25aDkNbAnSxMIDQo1pjIKRowIMGrF72hSJeXS</rpad>
|
<rpad>Wvj25aDkNbAnSxMIDQo1pjIKRowIMGrF72hSJeXS</rpad>
|
||||||
<time stamp='2020-01-01T12:00:01'/>
|
<time stamp='2020-01-01T12:00:01'/>
|
||||||
<from jid='alice@example.org/A1'/>
|
<from jid='alice@example.org/A1'/>
|
||||||
<to jid='bob@example.org'/>
|
<to jid='bob@example.org'/>
|
||||||
<payload>
|
<content>
|
||||||
<trust-message xmlns=']]>&ns-trust-messages;<![CDATA[' usage=']]>&ns;<![CDATA[' encryption=']]>&ns-omemo;<![CDATA['>
|
<trust-message xmlns=']]>&ns-trust-messages;<![CDATA[' usage=']]>&ns;<![CDATA[' encryption=']]>&ns-omemo;<![CDATA['>
|
||||||
<key-owner jid='alice@example.org'>
|
<key-owner jid='alice@example.org'>
|
||||||
<trust>6850019d7ed0feb6d3823072498ceb4f616c6025586f8f666dc6b9c81ef7e0a4</trust>
|
<trust>6850019d7ed0feb6d3823072498ceb4f616c6025586f8f666dc6b9c81ef7e0a4</trust>
|
||||||
</key-owner>
|
</key-owner>
|
||||||
</trust-message>
|
</trust-message>
|
||||||
</payload>
|
</content>
|
||||||
</content>
|
</envelope>
|
||||||
]]></example>
|
]]></example>
|
||||||
</section4>
|
</section4>
|
||||||
</section3>
|
</section3>
|
||||||
@ -273,34 +288,34 @@
|
|||||||
... the key that has been authenticated to each other endpoint with an already authenticated key.
|
... the key that has been authenticated to each other endpoint with an already authenticated key.
|
||||||
</p>
|
</p>
|
||||||
<example caption='A2 sends an authentication message for A3's key to B1 and by using Message Carbons also to A1'><![CDATA[
|
<example caption='A2 sends an authentication message for A3's key to B1 and by using Message Carbons also to A1'><![CDATA[
|
||||||
<content xmlns=']]>&ns-sce;<![CDATA['>
|
<envelope xmlns=']]>&ns-sce;<![CDATA['>
|
||||||
<rpad>O2vRKkmtsXsKSk2hPDkrpQQ4Og272qFGB1Srp64vaDrMTNhrV6</rpad>
|
<rpad>O2vRKkmtsXsKSk2hPDkrpQQ4Og272qFGB1Srp64vaDrMTNhrV6</rpad>
|
||||||
<time stamp='2020-01-01T14:00:01'/>
|
<time stamp='2020-01-01T14:00:01'/>
|
||||||
<from jid='alice@example.org/A2'/>
|
<from jid='alice@example.org/A2'/>
|
||||||
<to jid='bob@example.org'/>
|
<to jid='bob@example.org'/>
|
||||||
<payload>
|
<content>
|
||||||
<trust-message xmlns=']]>&ns-trust-messages;<![CDATA[' usage=']]>&ns;<![CDATA[' encryption=']]>&ns-omemo;<![CDATA['>
|
<trust-message xmlns=']]>&ns-trust-messages;<![CDATA[' usage=']]>&ns;<![CDATA[' encryption=']]>&ns-omemo;<![CDATA['>
|
||||||
<key-owner jid='alice@example.org'>
|
<key-owner jid='alice@example.org'>
|
||||||
<trust>221a4f8e228b72182b006e5ca527d3bddccf8d9e6feaf4ce96e1c451e8648020</trust>
|
<trust>221a4f8e228b72182b006e5ca527d3bddccf8d9e6feaf4ce96e1c451e8648020</trust>
|
||||||
</key-owner>
|
</key-owner>
|
||||||
</trust-message>
|
</trust-message>
|
||||||
</payload>
|
</content>
|
||||||
</content>
|
</envelope>
|
||||||
]]></example>
|
]]></example>
|
||||||
<example caption='A2 would send an authentication message for A3's key only to A1 if there were no contacts with authenticated keys'><![CDATA[
|
<example caption='A2 would send an authentication message for A3's key only to A1 if there were no contacts with authenticated keys'><![CDATA[
|
||||||
<content xmlns=']]>&ns-sce;<![CDATA['>
|
<envelope xmlns=']]>&ns-sce;<![CDATA['>
|
||||||
<rpad>s5jP95kvpRNg92XLLo8OkLCvUDT53S</rpad>
|
<rpad>s5jP95kvpRNg92XLLo8OkLCvUDT53S</rpad>
|
||||||
<time stamp='2020-01-01T14:00:00'/>
|
<time stamp='2020-01-01T14:00:00'/>
|
||||||
<from jid='alice@example.org/A2'/>
|
<from jid='alice@example.org/A2'/>
|
||||||
<to jid='alice@example.org'/>
|
<to jid='alice@example.org'/>
|
||||||
<payload>
|
<content>
|
||||||
<trust-message xmlns=']]>&ns-trust-messages;<![CDATA[' usage=']]>&ns;<![CDATA[' encryption=']]>&ns-omemo;<![CDATA['>
|
<trust-message xmlns=']]>&ns-trust-messages;<![CDATA[' usage=']]>&ns;<![CDATA[' encryption=']]>&ns-omemo;<![CDATA['>
|
||||||
<key-owner jid='alice@example.org'>
|
<key-owner jid='alice@example.org'>
|
||||||
<trust>221a4f8e228b72182b006e5ca527d3bddccf8d9e6feaf4ce96e1c451e8648020</trust>
|
<trust>221a4f8e228b72182b006e5ca527d3bddccf8d9e6feaf4ce96e1c451e8648020</trust>
|
||||||
</key-owner>
|
</key-owner>
|
||||||
</trust-message>
|
</trust-message>
|
||||||
</payload>
|
</content>
|
||||||
</content>
|
</envelope>
|
||||||
]]></example>
|
]]></example>
|
||||||
</section4>
|
</section4>
|
||||||
<section4 topic='To Endpoint Whose Key Has Been Authenticated' anchor='use-case-authentication-own-endpoint-sending-to-endpoint-key-authenticated'>
|
<section4 topic='To Endpoint Whose Key Has Been Authenticated' anchor='use-case-authentication-own-endpoint-sending-to-endpoint-key-authenticated'>
|
||||||
@ -308,12 +323,12 @@
|
|||||||
... each already authenticated key of all endpoints to the endpoint whose key has been authenticated.
|
... each already authenticated key of all endpoints to the endpoint whose key has been authenticated.
|
||||||
</p>
|
</p>
|
||||||
<example caption='A2 sends an authentication message for A1's and B1's key to A3'><![CDATA[
|
<example caption='A2 sends an authentication message for A1's and B1's key to A3'><![CDATA[
|
||||||
<content xmlns=']]>&ns-sce;<![CDATA['>
|
<envelope xmlns=']]>&ns-sce;<![CDATA['>
|
||||||
<rpad>98WA6U92twcVkAXM44UU</rpad>
|
<rpad>98WA6U92twcVkAXM44UU</rpad>
|
||||||
<time stamp='2020-01-01T14:00:02'/>
|
<time stamp='2020-01-01T14:00:02'/>
|
||||||
<from jid='alice@example.org/A2'/>
|
<from jid='alice@example.org/A2'/>
|
||||||
<to jid='bob@example.org'/>
|
<to jid='bob@example.org'/>
|
||||||
<payload>
|
<content>
|
||||||
<trust-message xmlns=']]>&ns-trust-messages;<![CDATA[' usage=']]>&ns;<![CDATA[' encryption=']]>&ns-omemo;<![CDATA['>
|
<trust-message xmlns=']]>&ns-trust-messages;<![CDATA[' usage=']]>&ns;<![CDATA[' encryption=']]>&ns-omemo;<![CDATA['>
|
||||||
<key-owner jid='alice@example.org'>
|
<key-owner jid='alice@example.org'>
|
||||||
<trust>f3cddd91f25502652483be2fd5faaaa00f80868ac0d51d7eebb1b08a3892e33d</trust>
|
<trust>f3cddd91f25502652483be2fd5faaaa00f80868ac0d51d7eebb1b08a3892e33d</trust>
|
||||||
@ -322,8 +337,8 @@
|
|||||||
<trust>623548d3835c6d33ef5cb680f7944ef381cf712bf23a0119dabe5c4f252cd02f</trust>
|
<trust>623548d3835c6d33ef5cb680f7944ef381cf712bf23a0119dabe5c4f252cd02f</trust>
|
||||||
</key-owner>
|
</key-owner>
|
||||||
</trust-message>
|
</trust-message>
|
||||||
</payload>
|
</content>
|
||||||
</content>
|
</envelope>
|
||||||
]]></example>
|
]]></example>
|
||||||
</section4>
|
</section4>
|
||||||
</section3>
|
</section3>
|
||||||
@ -348,34 +363,34 @@
|
|||||||
An endpoint that initially distrusts the key of an own endpoint MUST send a distrust message for that key to each other endpoint with an already authenticated key.
|
An endpoint that initially distrusts the key of an own endpoint MUST send a distrust message for that key to each other endpoint with an already authenticated key.
|
||||||
</p>
|
</p>
|
||||||
<example caption='A1 sends a distrust message for A3's key to B1 and by using Message Carbons also to A2'><![CDATA[
|
<example caption='A1 sends a distrust message for A3's key to B1 and by using Message Carbons also to A2'><![CDATA[
|
||||||
<content xmlns=']]>&ns-sce;<![CDATA['>
|
<envelope xmlns=']]>&ns-sce;<![CDATA['>
|
||||||
<rpad>NF5MOJdt8TBbItt4AHXOUKWncRmw5B</rpad>
|
<rpad>NF5MOJdt8TBbItt4AHXOUKWncRmw5B</rpad>
|
||||||
<time stamp='2020-01-01T16:00:01'/>
|
<time stamp='2020-01-01T16:00:01'/>
|
||||||
<from jid='alice@example.org/A1'/>
|
<from jid='alice@example.org/A1'/>
|
||||||
<to jid='bob@example.org'/>
|
<to jid='bob@example.org'/>
|
||||||
<payload>
|
<content>
|
||||||
<trust-message xmlns=']]>&ns-trust-messages;<![CDATA[' usage=']]>&ns;<![CDATA[' encryption=']]>&ns-omemo;<![CDATA['>
|
<trust-message xmlns=']]>&ns-trust-messages;<![CDATA[' usage=']]>&ns;<![CDATA[' encryption=']]>&ns-omemo;<![CDATA['>
|
||||||
<key-owner jid='alice@example.org'>
|
<key-owner jid='alice@example.org'>
|
||||||
<distrust>221a4f8e228b72182b006e5ca527d3bddccf8d9e6feaf4ce96e1c451e8648020</distrust>
|
<distrust>221a4f8e228b72182b006e5ca527d3bddccf8d9e6feaf4ce96e1c451e8648020</distrust>
|
||||||
</key-owner>
|
</key-owner>
|
||||||
</trust-message>
|
</trust-message>
|
||||||
</payload>
|
</content>
|
||||||
</content>
|
</envelope>
|
||||||
]]></example>
|
]]></example>
|
||||||
<example caption='A1 would send a distrust message for A3's key only to A2 if there were no contacts with authenticated keys'><![CDATA[
|
<example caption='A1 would send a distrust message for A3's key only to A2 if there were no contacts with authenticated keys'><![CDATA[
|
||||||
<content xmlns=']]>&ns-sce;<![CDATA['>
|
<envelope xmlns=']]>&ns-sce;<![CDATA['>
|
||||||
<rpad>798BFSTQqPjVtiLok3EGtQ7VgB3GGP7eT9P4FhO5</rpad>
|
<rpad>798BFSTQqPjVtiLok3EGtQ7VgB3GGP7eT9P4FhO5</rpad>
|
||||||
<time stamp='2020-01-01T16:00:00'/>
|
<time stamp='2020-01-01T16:00:00'/>
|
||||||
<from jid='alice@example.org/A1'/>
|
<from jid='alice@example.org/A1'/>
|
||||||
<to jid='alice@example.org'/>
|
<to jid='alice@example.org'/>
|
||||||
<payload>
|
<content>
|
||||||
<trust-message xmlns=']]>&ns-trust-messages;<![CDATA[' usage=']]>&ns;<![CDATA[' encryption=']]>&ns-omemo;<![CDATA['>
|
<trust-message xmlns=']]>&ns-trust-messages;<![CDATA[' usage=']]>&ns;<![CDATA[' encryption=']]>&ns-omemo;<![CDATA['>
|
||||||
<key-owner jid='alice@example.org'>
|
<key-owner jid='alice@example.org'>
|
||||||
<distrust>221a4f8e228b72182b006e5ca527d3bddccf8d9e6feaf4ce96e1c451e8648020</distrust>
|
<distrust>221a4f8e228b72182b006e5ca527d3bddccf8d9e6feaf4ce96e1c451e8648020</distrust>
|
||||||
</key-owner>
|
</key-owner>
|
||||||
</trust-message>
|
</trust-message>
|
||||||
</payload>
|
</content>
|
||||||
</content>
|
</envelope>
|
||||||
]]></example>
|
]]></example>
|
||||||
</section3>
|
</section3>
|
||||||
<section3 topic='Receiving' anchor='use-case-distrusting-own-endpoint-receiving'>
|
<section3 topic='Receiving' anchor='use-case-distrusting-own-endpoint-receiving'>
|
||||||
@ -399,19 +414,19 @@
|
|||||||
An endpoint that distrusts the key of a contact's endpoint MUST send a distrust message for that key to each other own endpoint with an authenticated key.
|
An endpoint that distrusts the key of a contact's endpoint MUST send a distrust message for that key to each other own endpoint with an authenticated key.
|
||||||
</p>
|
</p>
|
||||||
<example caption='A1 sends a distrust message for B1's key to A2'><![CDATA[
|
<example caption='A1 sends a distrust message for B1's key to A2'><![CDATA[
|
||||||
<content xmlns=']]>&ns-sce;<![CDATA['>
|
<envelope xmlns=']]>&ns-sce;<![CDATA['>
|
||||||
<rpad>x4LJDawLHgnTJRC7T1mndKEQLPR658NQmXAPQRVnhM1QQ861ve</rpad>
|
<rpad>x4LJDawLHgnTJRC7T1mndKEQLPR658NQmXAPQRVnhM1QQ861ve</rpad>
|
||||||
<time stamp='2020-01-01T18:00:00'/>
|
<time stamp='2020-01-01T18:00:00'/>
|
||||||
<from jid='alice@example.org/A1'/>
|
<from jid='alice@example.org/A1'/>
|
||||||
<to jid='alice@example.org'/>
|
<to jid='alice@example.org'/>
|
||||||
<payload>
|
<content>
|
||||||
<trust-message xmlns=']]>&ns-trust-messages;<![CDATA[' usage=']]>&ns;<![CDATA[' encryption=']]>&ns-omemo;<![CDATA['>
|
<trust-message xmlns=']]>&ns-trust-messages;<![CDATA[' usage=']]>&ns;<![CDATA[' encryption=']]>&ns-omemo;<![CDATA['>
|
||||||
<key-owner jid='bob@example.com'>
|
<key-owner jid='bob@example.com'>
|
||||||
<distrust>623548d3835c6d33ef5cb680f7944ef381cf712bf23a0119dabe5c4f252cd02f</distrust>
|
<distrust>623548d3835c6d33ef5cb680f7944ef381cf712bf23a0119dabe5c4f252cd02f</distrust>
|
||||||
</key-owner>
|
</key-owner>
|
||||||
</trust-message>
|
</trust-message>
|
||||||
</payload>
|
</content>
|
||||||
</content>
|
</envelope>
|
||||||
]]></example>
|
]]></example>
|
||||||
</section3>
|
</section3>
|
||||||
<section3 topic='Receiving' anchor='use-case-distrusting-contact-endpoint-receiving'>
|
<section3 topic='Receiving' anchor='use-case-distrusting-contact-endpoint-receiving'>
|
||||||
|
Loading…
Reference in New Issue
Block a user