Difference between revisions of "Stanza encryption"

Jump to navigation Jump to search
308 bytes removed ,  07:52, 1 April 2019
 
(5 intermediate revisions by 2 users not shown)
Line 43: Line 43:
* [https://op-co.de/tmp/SEX.html Simple Encryption for XMPP]
* [https://op-co.de/tmp/SEX.html Simple Encryption for XMPP]


== Proposal ==
== Proposal / Work in Progress ==


=== Elements ===
The proposal is actively worked on [https://github.com/vanitasvitae/flowdalic-xeps/tree/sce here]. See /xep-sce/ for the document ([http://geekplace.eu/xeps/xep-sce/xep-sce.html rendered html]).


* Envelope Element:
Please feel free to comment, give feedback and request changes!
This element is used to 'bundle' together the parts of the message that need to be protected.
 
<envelope xmlns='urn:xmpp:stanza-content-encryption:0'>
  <rpad='...'/>
  <time stamp='...'/>
  <payload>
    <body>Hi!</body>
    ...
  </payload>
</envelope>
 
== Whitelisting / Blacklisting ==
 
Its up to the implementation what to put into the envelope.
An implementation should put all the stuff that the server usually ignores in the envelope.
 
Whitelist for decryption
Use Registry for this
 
Things to think about:
Delay Tags vs. timestamps
121

edits

Navigation menu