mirror of
https://github.com/moparisthebest/xeps
synced 2024-11-21 08:45:04 -05:00
Use Eplicit Message Encryption (XEP-0380) in OX-IM (XEP-0374)
This commit is contained in:
parent
0225d289ac
commit
aed9f02d2e
13
xep-0374.xml
13
xep-0374.xml
@ -42,6 +42,12 @@
|
|||||||
<email>look@my.amazin.horse</email>
|
<email>look@my.amazin.horse</email>
|
||||||
<jid>valodim@stratum0.org</jid>
|
<jid>valodim@stratum0.org</jid>
|
||||||
</author>
|
</author>
|
||||||
|
<revision>
|
||||||
|
<version>0.1.2</version>
|
||||||
|
<date>2017-01-20</date>
|
||||||
|
<initials>fs</initials>
|
||||||
|
<remark><p>Make use of XEP-0380: Explicit Message Encryption.</p></remark>
|
||||||
|
</revision>
|
||||||
<revision>
|
<revision>
|
||||||
<version>0.1.1</version>
|
<version>0.1.1</version>
|
||||||
<date>2016-06-04</date>
|
<date>2016-06-04</date>
|
||||||
@ -197,14 +203,17 @@
|
|||||||
message is encrypted. Furthermore the message SHOULD contain a
|
message is encrypted. Furthermore the message SHOULD contain a
|
||||||
'store' hint as defined in &xep0334; <link
|
'store' hint as defined in &xep0334; <link
|
||||||
url='https://xmpp.org/extensions/xep-0334.html#sect-idp1502160'>§
|
url='https://xmpp.org/extensions/xep-0334.html#sect-idp1502160'>§
|
||||||
4.4</link></p>
|
4.4</link> and a "this message contains an encrypted body text" hint
|
||||||
|
in form of an <encryption/> extension element as specified by
|
||||||
|
&xep0380;.</p>
|
||||||
|
|
||||||
<example caption='An encrypted and signed message with hints.'><![CDATA[
|
<example caption='An encrypted and signed message with hints.'><![CDATA[
|
||||||
<message to='juliet@example.org'>
|
<message to='juliet@example.org'>
|
||||||
<body>This message is encrypted using OpenPGP.</body>
|
<body>This message is encrypted using OpenPGP.</body>
|
||||||
<store xmlns='urn:xmpp:hints'/>
|
<store xmlns='urn:xmpp:hints'/>
|
||||||
|
<encryption xmlns='urn:xmpp:eme:0' namespace='urn:xmpp:openpgp:0'/>
|
||||||
<openpgp xmlns='urn:xmpp:openpgp:0'>
|
<openpgp xmlns='urn:xmpp:openpgp:0'>
|
||||||
BASE64_OPENPGP_MESSAGE_CONTAINING__CONTENT_ELEMENT
|
BASE64_OPENPGP_MESSAGE_CONTAINING_CONTENT_ELEMENT
|
||||||
</openpgp>
|
</openpgp>
|
||||||
</message>]]></example>
|
</message>]]></example>
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user