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

Alexey Melnikov <alexey.melnikov@isode.com> Mon, 05 January 2015 12:42 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 093701A6F15 for <kitten@ietfa.amsl.com>; Mon, 5 Jan 2015 04:42:02 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.009
X-Spam-Level:
X-Spam-Status: No, score=-2.009 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, 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 SMxzBp5TQvBW for <kitten@ietfa.amsl.com>; Mon, 5 Jan 2015 04:42:00 -0800 (PST)
Received: from waldorf.isode.com (ext-bt.isode.com [217.34.220.158]) by ietfa.amsl.com (Postfix) with ESMTP id 249AF1A6F0E for <kitten@ietf.org>; Mon, 5 Jan 2015 04:42:00 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; t=1420461719; d=isode.com; s=selector; i=@isode.com; bh=ovZ+urfGSGY4mg4ezvoIxw/jRuKowWjOsnpqmgTELws=; 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=H+DmY2Dk8+DyMbghy4ALrw3iowR85hLPrqN5tJbX2Ly88Nt9A3CCFJ1KlsJC7RgLlNQtBX bvwfWAVJQZek3l3BiJ5dDN6ZaysJCJ1BZH39PdA+i7KUwjYAxCDDqPeeLFPufRLgbJElD5 rj+ch7LGIy9UGQvxaUXPCsDlfYB0Fa4=;
Received: from [172.20.1.215] (dhcp-215.isode.net [172.20.1.215]) by waldorf.isode.com (submission channel) via TCP with ESMTPSA id <VKqGlgAKaE-V@waldorf.isode.com>; Mon, 5 Jan 2015 12:41:58 +0000
Message-ID: <54AA8627.6020002@isode.com>
Date: Mon, 05 Jan 2015 12:40:07 +0000
From: Alexey Melnikov <alexey.melnikov@isode.com>
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:31.0) Gecko/20100101 Thunderbird/31.2.0
To: Bill Mills <wmills_92105@yahoo.com>
References: <F4209A2F-CEB5-498B-9DA9-1C4628C64BE4@isode.com> <906184359.4479100.1420434861170.JavaMail.yahoo@jws106131.mail.bf1.yahoo.com>
In-Reply-To: <906184359.4479100.1420434861170.JavaMail.yahoo@jws106131.mail.bf1.yahoo.com>
MIME-Version: 1.0
Content-Type: multipart/alternative; boundary="------------010708070102020505040000"
Archived-At: http://mailarchive.ietf.org/arch/msg/kitten/NkGOqldfnGoBqkau8iqdtvjaVH0
Cc: "kitten@ietf.org" <kitten@ietf.org>
Subject: Re: [kitten] 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: Mon, 05 Jan 2015 12:42:02 -0000

On 05/01/2015 05:14, Bill Mills wrote:
> Ah OK.  This is a significant change.  Can we make using the 
> cancellation token optional?
Not really. Any protocol needs to define the cancellation token 
(according to RFC 2244) and any mechanism implementation (or SASL 
framework library) that doesn't complete in 1 round trip need to be able 
to handle it.

I think it is Ok not to change the spec, but it would be a good idea to 
point out that standard SASL cancellation token can still be used. 
Adding an example would be even better.
> The extant implementations use the current sequence.
>
> -bill
>
> 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 
> <mailto: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.