From 1b091c3c69596dae94dac95407eb0de6d82bb0e4 Mon Sep 17 00:00:00 2001 From: Sam Whited Date: Thu, 16 Mar 2017 14:34:30 -0500 Subject: [PATCH] Publish SASL2 and IBR2 as XEP-0388 and XEP-0389 --- inbox/sasl2.xml => xep-0388.xml | 34 +++++++++++++++++++++------------ inbox/ibr2.xml => xep-0389.xml | 17 ++++++++++++----- xep.ent | 2 ++ 3 files changed, 36 insertions(+), 17 deletions(-) rename inbox/sasl2.xml => xep-0388.xml (96%) rename inbox/ibr2.xml => xep-0389.xml (98%) diff --git a/inbox/sasl2.xml b/xep-0388.xml similarity index 96% rename from inbox/sasl2.xml rename to xep-0388.xml index 555dd37b..82fd2e84 100644 --- a/inbox/sasl2.xml +++ b/xep-0388.xml @@ -9,8 +9,8 @@ Extensible SASL Profile This document describes a replacement for the SASL profile documented in RFC 6120 which allows for greater extensibility. &LEGALNOTICE; - XXXX - ProtoXEP + 0388 + Experimental Standards Track Standards @@ -20,6 +20,16 @@ sasl2 &dcridland; + + 0.1.0 + 2017-03-16 + XEP Editor (ssw) + +
    +
  • Move to experimental.
  • +
+
+
0.0.1 2017-02-07 @@ -62,10 +72,10 @@

Clients, upon observing this stream feature, initiate the authentication by the use of the <authenticate/> top-level element, within the same namespace. The nature of this element is to inform the server about properties of the final stream state, as well as initiate authentication itself. To achieve the latter, it has a single mandatory attribute of "mechanism", with a string value of a mechanism name offered by the Server in the stream feature, and an optional child element of <initial-response/>, containing a base64-encoded SASL Initial Response.

On subsequent connections, if a Client has previously cache the stream feature, the Client MAY choose to send it before seeing the stream features - sending it "pipelined" with the Stream Open tag for example.

- SW1wcm92ZWQgZW5jYXNwdWxhdGlvbiBvZiBvcHRpb25hbCBTQVNMLUlSIGRhdGE= - - ]]> + + SW1wcm92ZWQgZW5jYXNwdWxhdGlvbiBvZiBvcHRpb25hbCBTQVNMLUlSIGRhdGE= + +]]>

In order to provide support for other desired stream states beyond authentication, additional child elements are used. For example, a hypothetical XEP-0198 session resumption element might be included, and/or Resource Binding requests.

QmFzZSA2NCBlbmNvZGVkIFNBU0wgcmVzcG9uc2UgZGF0YQ== - ]]> +]]> @@ -108,7 +118,7 @@ juliet@montague.example/Balcony/a987dsh9a87sdh - ]]> +]]>

Other extension elements MAY also be contained by the <success/> element.

@@ -118,7 +128,7 @@ juliet@montague.example/Balcony/a987dsh9a87sdh - ]]> +]]>

Any security layer negotiated SHALL take effect after the ">" octet of the closing tag (ie, immediately after "</success>").

@@ -129,7 +139,7 @@ This is a terrible example. - ]]> +]]>

A <continue/> element is used to indicate that while the SASL exchange was successful, it is insufficient to allow authentication at this time.

@@ -147,13 +157,13 @@ This account requires 2FA - ]]> +]]>

Clients respond with a <next-authenticate/> element, which has a single mandatory attribute of "mechanism", containing the selected mechanism name, and contains an OPTIONAL base64 encoded initial response.

MkZBIG9yIHBhc3N3b3JkIGNoYW5nZSBvciBzb21ldGhpbmc= - ]]> +]]>
diff --git a/inbox/ibr2.xml b/xep-0389.xml similarity index 98% rename from inbox/ibr2.xml rename to xep-0389.xml index 2b2083b4..74b4d03f 100644 --- a/inbox/ibr2.xml +++ b/xep-0389.xml @@ -17,8 +17,8 @@ recovery. &LEGALNOTICE; - xxxx - ProtoXEP + 0389 + Experimental Standards Track Standards Council @@ -31,6 +31,16 @@ ibr2 &sam; + + 0.1.0 + 2017-03-16 + XEP Editor (ssw) + +
    +
  • Move to experimental.
  • +
+
+
0.0.2 2017-02-15 @@ -370,7 +380,4 @@ &NSVER; - -

TODO before advancing to Draft.

-
diff --git a/xep.ent b/xep.ent index ab674fdc..3d7617db 100644 --- a/xep.ent +++ b/xep.ent @@ -1443,3 +1443,5 @@ IANA Service Location Protocol, Version 2 (SLPv2) Templates Stateless Inline Media Sharing (XEP-0385) XEP-0385: Stateless Inline Media Sharing (SIMS) <https://xmpp.org/extensions/xep-0385.html>." > Bind 2.0 (XEP-0386) XEP-0386: Bind 2.0 <https://xmpp.org/extensions/xep-0386.html>." > XMPP Compliance Suites 2017 (XEP-0387) XEP-0387: XMPP Compliance Suites 2017 <https://xmpp.org/extensions/xep-0387.html>." > +Extensible SASL Profile (XEP-0388) XEP-0388: Extensible SASL Profile <https://xmpp.org/extensions/xep-0388.html>." > +Extensible In-Band Registration (XEP-0389) XEP-0389: Extensible In-Band Registration <https://xmpp.org/extensions/xep-0389.html>." >