Re: [kitten] Cancel message Re: Alexey's comments Re: WGLC of draft-ietf-kitten-sasl-oauth-18

Alexey Melnikov <alexey.melnikov@isode.com> Fri, 09 January 2015 12:18 UTC

Return-Path: <alexey.melnikov@isode.com>
X-Original-To: kitten@ietfa.amsl.com
Delivered-To: kitten@ietfa.amsl.com
Received: from localhost (ietfa.amsl.com [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 874411A8789 for <kitten@ietfa.amsl.com>; Fri, 9 Jan 2015 04:18:28 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.008
X-Spam-Level:
X-Spam-Status: No, score=-2.008 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, HTML_MESSAGE=0.001, MIME_QP_LONG_LINE=0.001, T_RP_MATCHES_RCVD=-0.01] autolearn=ham
Received: from mail.ietf.org ([4.31.198.44]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id Oc1iauH5FXD6 for <kitten@ietfa.amsl.com>; Fri, 9 Jan 2015 04:18:22 -0800 (PST)
Received: from waldorf.isode.com (ext-bt.isode.com [217.34.220.158]) by ietfa.amsl.com (Postfix) with ESMTP id B7ED81A8786 for <kitten@ietf.org>; Fri, 9 Jan 2015 04:18:21 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; t=1420805901; d=isode.com; s=selector; i=@isode.com; bh=HOM5N8Y8+CqGb39gtIEv6eMEVe84ZCUiLItMWUwf71o=; h=From:Sender:Reply-To:Subject:Date:Message-ID:To:Cc:MIME-Version: In-Reply-To:References:Content-Type:Content-Transfer-Encoding: Content-ID:Content-Description; b=QoAI32HoxppKh6sRoEizkbGGA5gStvU3KoOJGNyNoVsDCNhAmWh4WXnj0lOHm+112I4inO oIebMJzQUdGuK4A3G9VoqVoOBziEngGJOWadeU5d3tvYKvhrqflZpSVwFe105qpBuXbgXO 7ZKebr7nfAnYDi5rFXiXWeh3rY8/DYQ=;
Received: from [10.37.109.107] ((unknown) [94.117.105.137]) by waldorf.isode.com (submission channel) via TCP with ESMTPSA id <VK=HCwAKaIdr@waldorf.isode.com>; Fri, 9 Jan 2015 12:18:20 +0000
X-SMTP-Protocol-Errors: NORDNS PIPELINING
From: Alexey Melnikov <alexey.melnikov@isode.com>
X-Mailer: iPad Mail (12B435)
In-Reply-To: <333970036.3242875.1420733138671.JavaMail.yahoo@jws10602g.mail.bf1.yahoo.com>
Date: Fri, 09 Jan 2015 12:23:14 +0000
Message-Id: <98CD0AB3-E3B3-42D1-AB3F-3E581FCAD571@isode.com>
References: <6CF6884C-C9A7-440D-BC8A-7B6A7F0EECBB@isode.com> <333970036.3242875.1420733138671.JavaMail.yahoo@jws10602g.mail.bf1.yahoo.com>
To: Bill Mills <wmills_92105@yahoo.com>
MIME-Version: 1.0
Content-Type: multipart/alternative; boundary="Apple-Mail-E807AE0C-953F-4FD2-AEA0-3CDC89ABD6A8"
Content-Transfer-Encoding: 7bit
Archived-At: <http://mailarchive.ietf.org/arch/msg/kitten/mxMnerG234n0ZFNwIGTQTn53dSw>
Cc: "kitten@ietf.org" <kitten@ietf.org>
Subject: Re: [kitten] Cancel message Re: Alexey's comments Re: WGLC of draft-ietf-kitten-sasl-oauth-18
X-BeenThere: kitten@ietf.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: Common Authentication Technologies - Next Generation <kitten.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/kitten>, <mailto:kitten-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/kitten/>
List-Post: <mailto:kitten@ietf.org>
List-Help: <mailto:kitten-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/kitten>, <mailto:kitten-request@ietf.org?subject=subscribe>
X-List-Received-Date: Fri, 09 Jan 2015 12:18:28 -0000

Hi Bill,

> On 8 Jan 2015, at 16:05, Bill Mills <wmills_92105@yahoo.com> wrote:
> 
> You're talking about 3.5 in 4422?

Yes.

> To me it looks like the single kvsep message looks exactly like the abort message that needs to be defined by the protocol?

No, it is a SASL protocol mapping construct (defined once for all mechanisms), you defined a SASL mechanism construct.
> 
> 
> On Thursday, January 8, 2015 1:49 AM, Alexey Melnikov <alexey.melnikov@isode.com> wrote:
> 
> 
> Hi Bill,
> 
>> On 6 Jan 2015, at 21:36, Bill Mills <wmills_92105@yahoo.com> wrote:
>> 
>> " The client MUST then send either an additional client response consisting of a single %x01 (control A) character to the server in order to allow the server to finish the exchange or send a SASL cancellation token as defined in ACAP[RFC2244] section 6.3.1."
> 
> Actually I meant RFC 4422 (SASL). ACAP has cancellation token, but so does IMAP, SMTP, LDAP,...
> 
> If you like, I send you an IMAP example.
> 
>> 
>> 
>> On Sunday, January 4, 2015 3:37 AM, Alexey Melnikov <alexey.melnikov@isode.com> wrote:
>> 
>> 
>> Hi Bill,
>> 
>> > On 3 Jan 2015, at 00:56, Bill Mills <wmills_92105@yahoo.com> wrote:
>> > 
>> > 3.2.3 and an explicit message:  Long ago in the life of this doc I was told that some implementations may not support an empty message, so we put the single character message there to have an explicit payload.  I'm a bit leery of changing this now since there are implementations in play that use it this way.
>> 
>> 
>> I didn't suggest you should be sending empty message. I said you should be using SASL cancellation token, which is a mandatory RFC 4422 feature.
>> 
>> Any implementation would have to support this mode of operation anyway, because a SASL client can cancel any exchange.
> 
>