
From lunohod.baikonur@googlemail.com  Fri Oct  2 08:31:52 2009
Return-Path: <lunohod.baikonur@googlemail.com>
X-Original-To: sasl@core3.amsl.com
Delivered-To: sasl@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id 938183A6A14 for <sasl@core3.amsl.com>; Fri,  2 Oct 2009 08:31:52 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.947
X-Spam-Level: 
X-Spam-Status: No, score=-1.947 tagged_above=-999 required=5 tests=[AWL=0.030,  BAYES_00=-2.599, FM_FORGED_GMAIL=0.622]
Received: from mail.ietf.org ([64.170.98.32]) by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id zn5uSZR5d7Ge for <sasl@core3.amsl.com>; Fri,  2 Oct 2009 08:31:51 -0700 (PDT)
Received: from qw-out-2122.google.com (qw-out-2122.google.com [74.125.92.27]) by core3.amsl.com (Postfix) with ESMTP id 960E43A6977 for <sasl@ietf.org>; Fri,  2 Oct 2009 08:31:51 -0700 (PDT)
Received: by qw-out-2122.google.com with SMTP id 5so440094qwi.31 for <sasl@ietf.org>; Fri, 02 Oct 2009 08:33:19 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=gamma; h=domainkey-signature:mime-version:sender:received:in-reply-to :references:date:x-google-sender-auth:message-id:subject:from:to:cc :content-type; bh=NukKs5bwHrG65WWClaCNNMdURh/Mne5pD5tnR52ZPFE=; b=Puo5b2XfjtB3FflSWfJ89VKtboMbpli6995GYz2ya9XEIV2P0VCymTTs2/J6T0W7KD 4J1METZtKXOrAUi4btetwfSA8x1N8CPfIM0tsCc0hcm90uhVeuYqTIBFMvticpdAbDqF dAFeqp1JB0aDNEB2qwuXRbdLibLpFuXKheG9k=
DomainKey-Signature: a=rsa-sha1; c=nofws; d=googlemail.com; s=gamma; h=mime-version:sender:in-reply-to:references:date :x-google-sender-auth:message-id:subject:from:to:cc:content-type; b=BCJ3UTyx9SRfP3dSyb59fh5elP3PxzaZ330kOEbig6jLfy2Vm6snmvnUpyYejMfLU5 +JZs08DlkMry/81wQE1WMgeSAyiNQtQdltDXLdALciVyCZG9pGdUSXy9pENFnfix7L8u O3hNBFCX3fLKfp8GqMx22pxvyvZVug9PIhIj4=
MIME-Version: 1.0
Sender: lunohod.baikonur@googlemail.com
Received: by 10.229.78.162 with SMTP id l34mr2329656qck.96.1254497599373; Fri,  02 Oct 2009 08:33:19 -0700 (PDT)
In-Reply-To: <808FD6E27AD4884E94820BC333B2DB773C0975805D@NOK-EUMSG-01.mgdnok.nokia.com>
References: <20090914135110.AEED13A67FE@core3.amsl.com> <F71284B7686AFA8BA08A413F@PST.JCK.COM> <9BB65FCF-4AAE-48E3-B9C4-92D4EA67AD7E@Isode.com> <073C47FCFB12091A9BD76767@PST.JCK.COM> <808FD6E27AD4884E94820BC333B2DB773C096525BC@NOK-EUMSG-01.mgdnok.nokia.com> <FBBAB2774AC76548C60B4789@PST.JCK.COM> <87ws3rf1po.fsf@mocca.josefsson.org> <B0EF7989FCD5752DADFD8E8D@PST.JCK.COM> <87pr9jeztz.fsf@mocca.josefsson.org> <808FD6E27AD4884E94820BC333B2DB773C0975805D@NOK-EUMSG-01.mgdnok.nokia.com>
Date: Fri, 2 Oct 2009 16:33:16 +0100
X-Google-Sender-Auth: 2e9c9fe3e008425b
Message-ID: <29d3c4cb0910020833k6cc165c6n26865cf4bbd1859@mail.gmail.com>
From: Alexey Melnikov <alexey.melnikov@isode.com>
To: Pasi.Eronen@nokia.com
Content-Type: text/plain; charset=ISO-8859-1
Cc: john-ietf@jck.com, simon@josefsson.org, sasl@ietf.org
Subject: Re: [sasl] Last Call: draft-ietf-sasl-scram
X-BeenThere: sasl@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: SASL Working Group <sasl.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/sasl>, <mailto:sasl-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/sasl>
List-Post: <mailto:sasl@ietf.org>
List-Help: <mailto:sasl-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/sasl>, <mailto:sasl-request@ietf.org?subject=subscribe>
X-List-Received-Date: Fri, 02 Oct 2009 15:31:52 -0000

Hi Pasi,

On Fri, Sep 25, 2009 at 12:32 PM,  <Pasi.Eronen@nokia.com> wrote:
> Simon Josefsson wrote:
>
>> I'd be happy to help work on a document that analyzed the consequences
>> of replacing SASLprep with just-use-RFC5198 in SASL.  But I don't think
>> SCRAM should wait for something like it to materialize.
>
> I agree that such work would take time, and we don't want to delay
> SCRAM.

Agreed.

> But as the discussion so far has shown, normalization is a very tricky
> topic, and we can't really expect implementors to understand why "just
> use UTF-8" is problematic. Perhaps we should add a note to the SCRAM
> draft; something like
>
>   Informative Note: Implementors are encouraged to create test cases
>   that use both username passwords with non-ASCII characters. In
>   particular, it's useful to test characters whose "normalization
>   form C" and "normalization form KC" are different. Some examples of
>   such characters include Vulgar Fraction One Half (U+00BD) and
>   Acute Accent (U+00B4).

Added to my copy.

> Do you think this would increase the likelihood of interoperability
> with non-ASCII passwords?

It might help and I see no disadvantages from adding it.

From lunohod.baikonur@googlemail.com  Fri Oct  2 08:36:32 2009
Return-Path: <lunohod.baikonur@googlemail.com>
X-Original-To: sasl@core3.amsl.com
Delivered-To: sasl@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id 2A0D33A691A; Fri,  2 Oct 2009 08:36:32 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.95
X-Spam-Level: 
X-Spam-Status: No, score=-1.95 tagged_above=-999 required=5 tests=[AWL=0.027,  BAYES_00=-2.599, FM_FORGED_GMAIL=0.622]
Received: from mail.ietf.org ([64.170.98.32]) by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id YCckJqtNm0gk; Fri,  2 Oct 2009 08:36:31 -0700 (PDT)
Received: from qw-out-2122.google.com (qw-out-2122.google.com [74.125.92.27]) by core3.amsl.com (Postfix) with ESMTP id F411E3A6783; Fri,  2 Oct 2009 08:36:30 -0700 (PDT)
Received: by qw-out-2122.google.com with SMTP id 5so441704qwi.31 for <multiple recipients>; Fri, 02 Oct 2009 08:37:58 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=gamma; h=domainkey-signature:mime-version:sender:received:in-reply-to :references:date:x-google-sender-auth:message-id:subject:from:to:cc :content-type; bh=+4G6ts9sVvsgMJRrwfLtwBv4aYwfszPJGDrjN99RNhA=; b=IiYRC4vfStosGmA84mKsll0L/BVyH3cByBVWwI4NtqwTqEL2dZmdFkhCbuaC16UilR T3qx4muaBnU7+SCe6ylQUWZItQkT9UtZv4NcmnMnupt6yaYQhjmm1tQ1bfvdkNLm0EMz ERJcNSLgZSJP7+MCwZ7u4SWPssr+lg4eWOfMw=
DomainKey-Signature: a=rsa-sha1; c=nofws; d=googlemail.com; s=gamma; h=mime-version:sender:in-reply-to:references:date :x-google-sender-auth:message-id:subject:from:to:cc:content-type; b=KXTG7M++JY7jVSEBuBz7rKnuZj9hQx0s9fh1ebXKBvfyFRM8hPS4G+9kwEO8oVcEWL a5cPgk7ifLzsQOwQQhajvCuiNqNQnDa5tQyDHcA1bpBhPcgjrqDIcD4DuMWcvZl0F8yy 6d0k7/tg4STglsY2inEYc2/g0lunxfjAlZlVg=
MIME-Version: 1.0
Sender: lunohod.baikonur@googlemail.com
Received: by 10.229.50.136 with SMTP id z8mr2988908qcf.78.1254497877971; Fri,  02 Oct 2009 08:37:57 -0700 (PDT)
In-Reply-To: <20090923192608.GK1033@Sun.COM>
References: <20090914135110.AEED13A67FE@core3.amsl.com> <874oqtsg0f.fsf@mocca.josefsson.org> <20090923192608.GK1033@Sun.COM>
Date: Fri, 2 Oct 2009 16:37:57 +0100
X-Google-Sender-Auth: 8e577e7d3c76f414
Message-ID: <29d3c4cb0910020837l6bbf4a36ra5f43d4bdbca6754@mail.gmail.com>
From: Alexey Melnikov <alexey.melnikov@isode.com>
To: Nicolas Williams <Nicolas.Williams@sun.com>
Content-Type: text/plain; charset=ISO-8859-1
Cc: Simon Josefsson <simon@josefsson.org>, ietf@ietf.org, sasl@ietf.org
Subject: Re: [sasl] Last Call: draft-ietf-sasl-scram
X-BeenThere: sasl@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: SASL Working Group <sasl.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/sasl>, <mailto:sasl-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/sasl>
List-Post: <mailto:sasl@ietf.org>
List-Help: <mailto:sasl-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/sasl>, <mailto:sasl-request@ietf.org?subject=subscribe>
X-List-Received-Date: Fri, 02 Oct 2009 15:36:32 -0000

On 9/23/09, Nicolas Williams <Nicolas.Williams@sun.com> wrote:
> On Wed, Sep 23, 2009 at 07:54:56PM +0200, Simon Josefsson wrote:
>  > I have noticed an additional problem related to additional data in
>  > SCRAM.  RFC 4422 section 5 item 2b says:
>  >
>  >       b) An indication of whether the server is expected to provide
>  >          additional data when indicating a successful outcome.  If so,
>  >          if the server sends the additional data as a challenge, the
>  >          specification MUST indicate that the response to this challenge
>  >          is an empty response.
>  >
>  > As far as I can tell, SCRAM does not specify that the response to a
>  > server-final sent as a challenge MUST be an empty client response.  This
>  > violates the requirements in RFC 4422 for new mechanisms.
>
> I'm not sure that not saying this violates RFC4422: one could argue that
>  this is implied, and it'd be better RFC4422 had been written in such a
>  way that we needn't repeat this over and over in all mechanism
>  specifications.

As a co-editor of RFC 4422 this is exactly what I would argue for.

> But I don't mind new text to cover this.
>
>
>  >       C: Request authentication exchange
>  >       S: Empty Challenge
>  >       C: SCRAM client-first
>  >       S: SCRAM server-first
>  >       C: SCRAM client-final
>  >       S: SCRAM server-final
>  >       C: Empty Response
>  >       S: Outcome of authentication exchange
>  >
>  > (Four round-trips, ouch!)
>
>
> Blame SASL, or, rather, SASL application protocols for two of those :)
>
>  And, of course, you're missing the mechanism negotiation round-trip
>  before that:
>
>         C: List server SASL mechanisms request
>         S: Server SASL mechanism list response
>
>  > I believe section 5 needs to be rewritten to take all these variants
>  > into account.  Right now the wordings all assume the last situation.
>  >
>  > OLD:
>  >    First, the client sends the "client-first-message" containing:
>  >
>  > NEW:
>  >    If the application protocol does not support optional initial
>  >    responses, the client will request authentication and the first
>  >    server challenge MUST be empty.  The first non-empty client response
>  >    is the "client-first-message" containing:
>  >
>
> > [...]
>
>  I don't think this is necessary.

Agreed.

From john-ietf@jck.com  Fri Oct  2 09:33:46 2009
Return-Path: <john-ietf@jck.com>
X-Original-To: sasl@core3.amsl.com
Delivered-To: sasl@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id 7BECB3A684B for <sasl@core3.amsl.com>; Fri,  2 Oct 2009 09:33:46 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.595
X-Spam-Level: 
X-Spam-Status: No, score=-2.595 tagged_above=-999 required=5 tests=[AWL=0.004,  BAYES_00=-2.599]
Received: from mail.ietf.org ([64.170.98.32]) by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id hGFquIyhuJNv for <sasl@core3.amsl.com>; Fri,  2 Oct 2009 09:33:45 -0700 (PDT)
Received: from bs.jck.com (ns.jck.com [209.187.148.211]) by core3.amsl.com (Postfix) with ESMTP id 5C92F3A6405 for <sasl@ietf.org>; Fri,  2 Oct 2009 09:33:44 -0700 (PDT)
Received: from [127.0.0.1] (helo=localhost) by bs.jck.com with esmtp (Exim 4.34) id 1Mtl61-0007Au-6B; Fri, 02 Oct 2009 12:35:05 -0400
Date: Fri, 02 Oct 2009 12:35:04 -0400
From: John C Klensin <john-ietf@jck.com>
To: Alexey Melnikov <alexey.melnikov@isode.com>, Pasi.Eronen@nokia.com
Message-ID: <3ABD68F90ECB7CDFB02882E0@PST.JCK.COM>
In-Reply-To: <29d3c4cb0910020833k6cc165c6n26865cf4bbd1859@mail.gmail.com>
References: <20090914135110.AEED13A67FE@core3.amsl.com>	 <F71284B7686AFA8BA08A413F@PST.JCK.COM>	 <9BB65FCF-4AAE-48E3-B9C4-92D4EA67AD7E@Isode.com>	 <073C47FCFB12091A9BD76767@PST.JCK.COM>	 <808FD6E27AD4884E94820BC333B2DB773C096525BC@NOK-EUMSG-01.mgdnok.nokia.com> <FBBAB2774AC76548C60B4789@PST.JCK.COM>	 <87ws3rf1po.fsf@mocca.josefsson.org>	 <B0EF7989FCD5752DADFD8E8D@PST.JCK.COM>	 <87pr9jeztz.fsf@mocca.josefsson.org>	 <808FD6E27AD4884E94820BC333B2DB773C0975805D@NOK-EUMSG-01.mgdnok.nokia.com> <29d3c4cb0910020833k6cc165c6n26865cf4bbd1859@mail.gmail.com>
X-Mailer: Mulberry/4.0.8 (Win32)
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Content-Disposition: inline
X-Mailman-Approved-At: Fri, 02 Oct 2009 10:24:22 -0700
Cc: simon@josefsson.org, sasl@ietf.org
Subject: Re: [sasl] Last Call: draft-ietf-sasl-scram
X-BeenThere: sasl@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: SASL Working Group <sasl.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/sasl>, <mailto:sasl-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/sasl>
List-Post: <mailto:sasl@ietf.org>
List-Help: <mailto:sasl-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/sasl>, <mailto:sasl-request@ietf.org?subject=subscribe>
X-List-Received-Date: Fri, 02 Oct 2009 16:33:46 -0000

--On Friday, October 02, 2009 16:33 +0100 Alexey Melnikov
<alexey.melnikov@isode.com> wrote:

>...
>  But as the discussion so far has shown, normalization is a
> very tricky
>> topic, and we can't really expect implementors to understand
>> why "just use UTF-8" is problematic. Perhaps we should add a
>> note to the SCRAM draft; something like
>> 
>>   Informative Note: Implementors are encouraged to create
>>   test cases that use both username passwords with non-ASCII
>>   characters. In particular, it's useful to test characters
>>   whose "normalization form C" and "normalization form KC"
>>   are different. Some examples of such characters include
>>   Vulgar Fraction One Half (U+00BD) and Acute Accent (U+00B4).
> 
> Added to my copy.
> 
>> Do you think this would increase the likelihood of
>> interoperability with non-ASCII passwords?
> 
> It might help and I see no disadvantages from adding it.

Agreed.  I don't expect it to help a lot, but it can't hurt and
is better than leaving the subject completely to the imagination
of implementors who are not expert in Unicode idiosyncrasies.

   john


From root@core3.amsl.com  Fri Oct  2 10:45:01 2009
Return-Path: <root@core3.amsl.com>
X-Original-To: sasl@ietf.org
Delivered-To: sasl@core3.amsl.com
Received: by core3.amsl.com (Postfix, from userid 0) id 75F953A6855; Fri,  2 Oct 2009 10:45:01 -0700 (PDT)
From: Internet-Drafts@ietf.org
To: i-d-announce@ietf.org
Content-Type: Multipart/Mixed; Boundary="NextPart"
Mime-Version: 1.0
Message-Id: <20091002174501.75F953A6855@core3.amsl.com>
Date: Fri,  2 Oct 2009 10:45:01 -0700 (PDT)
X-Mailman-Approved-At: Fri, 02 Oct 2009 10:48:52 -0700
Cc: sasl@ietf.org
Subject: [sasl] I-D Action:draft-ietf-sasl-scram-08.txt
X-BeenThere: sasl@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: SASL Working Group <sasl.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/sasl>, <mailto:sasl-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/sasl>
List-Post: <mailto:sasl@ietf.org>
List-Help: <mailto:sasl-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/sasl>, <mailto:sasl-request@ietf.org?subject=subscribe>
X-List-Received-Date: Fri, 02 Oct 2009 17:45:01 -0000

--NextPart

A New Internet-Draft is available from the on-line Internet-Drafts directories.
This draft is a work item of the Simple Authentication and Security Layer Working Group of the IETF.


	Title           : Salted Challenge Response (SCRAM) SASL and GSS-API Mechanism
	Author(s)       : A. Menon-Sen, et al.
	Filename        : draft-ietf-sasl-scram-08.txt
	Pages           : 36
	Date            : 2009-10-02

The secure authentication mechanism most widely deployed and used by
Internet application protocols is the transmission of clear-text
passwords over a channel protected by Transport Layer Security (TLS).
There are some significant security concerns with that mechanism,
which could be addressed by the use of a challenge response
authentication mechanism protected by TLS.  Unfortunately, the
challenge response mechanisms presently on the standards track all
fail to meet requirements necessary for widespread deployment, and
have had success only in limited use.

This specification describes a family of Simple Authentication and
Security Layer (SASL, RFC 4422) authentication mechanisms called the
Salted Challenge Response Authentication Mechanism (SCRAM), which
addresses the security concerns and meets the deployability
requirements.  When used in combination with TLS or an equivalent
security layer, a mechanism from this family could improve the
status-quo for application protocol authentication and provide a
suitable choice for a mandatory-to-implement mechanism for future
application protocol standards.

A URL for this Internet-Draft is:
http://www.ietf.org/internet-drafts/draft-ietf-sasl-scram-08.txt

Internet-Drafts are also available by anonymous FTP at:
ftp://ftp.ietf.org/internet-drafts/

Below is the data which will enable a MIME compliant mail reader
implementation to automatically retrieve the ASCII version of the
Internet-Draft.

--NextPart
Content-Type: Message/External-body;
	name="draft-ietf-sasl-scram-08.txt";
	site="ftp.ietf.org";
	access-type="anon-ftp";
	directory="internet-drafts"

Content-Type: text/plain
Content-ID: <2009-10-02103541.I-D@ietf.org>


--NextPart--

From simon@josefsson.org  Fri Oct  2 12:53:02 2009
Return-Path: <simon@josefsson.org>
X-Original-To: sasl@core3.amsl.com
Delivered-To: sasl@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id 479193A67D2 for <sasl@core3.amsl.com>; Fri,  2 Oct 2009 12:53:02 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.561
X-Spam-Level: 
X-Spam-Status: No, score=-2.561 tagged_above=-999 required=5 tests=[AWL=0.038,  BAYES_00=-2.599]
Received: from mail.ietf.org ([64.170.98.32]) by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 50NiOJWqVt64 for <sasl@core3.amsl.com>; Fri,  2 Oct 2009 12:53:01 -0700 (PDT)
Received: from yxa-v.extundo.com (yxa-v.extundo.com [83.241.177.39]) by core3.amsl.com (Postfix) with ESMTP id 99E373A67C1 for <sasl@ietf.org>; Fri,  2 Oct 2009 12:53:00 -0700 (PDT)
Received: from mocca.josefsson.org (c80-216-24-211.bredband.comhem.se [80.216.24.211]) (authenticated bits=0) by yxa-v.extundo.com (8.14.3/8.14.3/Debian-5) with ESMTP id n92JsNXF020289 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES128-SHA bits=128 verify=NOT) for <sasl@ietf.org>; Fri, 2 Oct 2009 21:54:26 +0200
From: Simon Josefsson <simon@josefsson.org>
To: sasl@ietf.org
References: <20091002174501.75F953A6855@core3.amsl.com>
OpenPGP: id=B565716F; url=http://josefsson.org/key.txt
X-Hashcash: 1:22:091002:internet-drafts@ietf.org::2rdb8FQ2wMpmnj/j:2V5s
X-Hashcash: 1:22:091002:sasl@ietf.org::6PHJAEn2XVxR+7ui:DcX+
X-Hashcash: 1:22:091002:i-d-announce@ietf.org::GU9qt7voMF3//MsU:Jdc2
Date: Fri, 02 Oct 2009 21:54:24 +0200
In-Reply-To: <20091002174501.75F953A6855@core3.amsl.com> (Internet-Drafts@ietf.org's message of "Fri, 2 Oct 2009 10:45:01 -0700 (PDT)")
Message-ID: <87pr95r2q7.fsf@mocca.josefsson.org>
User-Agent: Gnus/5.110011 (No Gnus v0.11) Emacs/23.1 (gnu/linux)
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
X-Virus-Scanned: clamav-milter 0.95.2 at yxa-v
X-Virus-Status: Clean
Subject: Re: [sasl] I-D Action:draft-ietf-sasl-scram-08.txt
X-BeenThere: sasl@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: SASL Working Group <sasl.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/sasl>, <mailto:sasl-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/sasl>
List-Post: <mailto:sasl@ietf.org>
List-Help: <mailto:sasl-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/sasl>, <mailto:sasl-request@ietf.org?subject=subscribe>
X-List-Received-Date: Fri, 02 Oct 2009 19:53:02 -0000

This version seems fine in general, but re SASLprep on password it says:

  o Normalize(str): Apply a Unicode normalization algorithm to a UTF-8
    [RFC3629] encoded "str". The resulting string is also in UTF-8.
    Implementations SHOULD use the SASLPrep profile [RFC4013] of the
    "stringprep" algorithm [RFC3454] as the normalization algorithm.

That text does not resolve whether Normalize() should be invoked with
unassigned code points permitted or not.  There were different
suggestions on what clients and servers should do in earlier
discussions, so I believe the text has to be explicit on what clients
and servers needs to do.

I don't care strongly, but my preference is to disallow unassigned code
points everywhere where a string is hashed.  Allowing unassigned code
points introduce uncertainty in the algorithm, and I find that to rarely
be useful in practice.  My experience is that allowing unassigned code
points is useful when the string is transferred to the other side for
comparison, but when the string is hashed that is no longer the case.  I
am aware that others have different preferences.

/Simon

From Nicolas.Williams@sun.com  Fri Oct  2 13:09:49 2009
Return-Path: <Nicolas.Williams@sun.com>
X-Original-To: sasl@core3.amsl.com
Delivered-To: sasl@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id 4E9243A67D2 for <sasl@core3.amsl.com>; Fri,  2 Oct 2009 13:09:49 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -5.883
X-Spam-Level: 
X-Spam-Status: No, score=-5.883 tagged_above=-999 required=5 tests=[AWL=0.163,  BAYES_00=-2.599, HELO_MISMATCH_COM=0.553, RCVD_IN_DNSWL_MED=-4]
Received: from mail.ietf.org ([64.170.98.32]) by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 4DfbG4UW3scf for <sasl@core3.amsl.com>; Fri,  2 Oct 2009 13:09:48 -0700 (PDT)
Received: from sca-ea-mail-4.sun.com (sca-ea-mail-4.Sun.COM [192.18.43.22]) by core3.amsl.com (Postfix) with ESMTP id 8BE2A3A67C1 for <sasl@ietf.org>; Fri,  2 Oct 2009 13:09:47 -0700 (PDT)
Received: from dm-central-01.central.sun.com ([129.147.62.4]) by sca-ea-mail-4.sun.com (8.13.6+Sun/8.12.9) with ESMTP id n92KBG3q019000 for <sasl@ietf.org>; Fri, 2 Oct 2009 20:11:16 GMT
Received: from binky.Central.Sun.COM (binky.Central.Sun.COM [129.153.128.104]) by dm-central-01.central.sun.com (8.13.8+Sun/8.13.8/ENSMAIL, v2.2) with ESMTP id n92KBFUc032039 for <sasl@ietf.org>; Fri, 2 Oct 2009 14:11:16 -0600 (MDT)
Received: from binky.Central.Sun.COM (localhost [127.0.0.1]) by binky.Central.Sun.COM (8.14.3+Sun/8.14.3) with ESMTP id n92K03VM003089; Fri, 2 Oct 2009 15:00:03 -0500 (CDT)
Received: (from nw141292@localhost) by binky.Central.Sun.COM (8.14.3+Sun/8.14.3/Submit) id n92K03sJ003088;  Fri, 2 Oct 2009 15:00:03 -0500 (CDT)
X-Authentication-Warning: binky.Central.Sun.COM: nw141292 set sender to Nicolas.Williams@sun.com using -f
Date: Fri, 2 Oct 2009 15:00:03 -0500
From: Nicolas Williams <Nicolas.Williams@sun.com>
To: Simon Josefsson <simon@josefsson.org>
Message-ID: <20091002200003.GM887@Sun.COM>
References: <20091002174501.75F953A6855@core3.amsl.com> <87pr95r2q7.fsf@mocca.josefsson.org>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
In-Reply-To: <87pr95r2q7.fsf@mocca.josefsson.org>
User-Agent: Mutt/1.5.7i
Cc: sasl@ietf.org
Subject: Re: [sasl] I-D Action:draft-ietf-sasl-scram-08.txt
X-BeenThere: sasl@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: SASL Working Group <sasl.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/sasl>, <mailto:sasl-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/sasl>
List-Post: <mailto:sasl@ietf.org>
List-Help: <mailto:sasl-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/sasl>, <mailto:sasl-request@ietf.org?subject=subscribe>
X-List-Received-Date: Fri, 02 Oct 2009 20:09:49 -0000

On Fri, Oct 02, 2009 at 09:54:24PM +0200, Simon Josefsson wrote:
> This version seems fine in general, but re SASLprep on password it says:
> 
>   o Normalize(str): Apply a Unicode normalization algorithm to a UTF-8
>     [RFC3629] encoded "str". The resulting string is also in UTF-8.
>     Implementations SHOULD use the SASLPrep profile [RFC4013] of the
>     "stringprep" algorithm [RFC3454] as the normalization algorithm.
> 
> That text does not resolve whether Normalize() should be invoked with
> unassigned code points permitted or not.  There were different
> suggestions on what clients and servers should do in earlier
> discussions, so I believe the text has to be explicit on what clients
> and servers needs to do.
> 
> I don't care strongly, but my preference is to disallow unassigned code
> points everywhere where a string is hashed.  Allowing unassigned code
> points introduce uncertainty in the algorithm, and I find that to rarely
> be useful in practice.  My experience is that allowing unassigned code
> points is useful when the string is transferred to the other side for
> comparison, but when the string is hashed that is no longer the case.  I
> am aware that others have different preferences.

Here we must treat passwords as storage strings.  SASLprep doesn't
distinguish between query and stored strings, but it does reference
Stringprep, which does.  And Stringprep has this to say about stored
strings: "[s]tored strings using the profile MUST NOT contain any
unassigned code points".

New text:

   o  Normalize(str): Apply a Unicode normalization algorithm to a UTF-8
      [RFC3629] encoded "str".  The resulting string is also in UTF-8.
      Implementations SHOULD use the SASLPrep profile [RFC4013] of the
      "stringprep" algorithm [RFC3454] as the normalization algorithm.
----> Note that, for SCRAM, passwords are "stored strings", which means
----> that unassigned codepoints in SCRAM passwords are prohibited (see
----> RFC3454, section 7).

Nico
-- 

From simon@josefsson.org  Fri Oct  2 13:41:21 2009
Return-Path: <simon@josefsson.org>
X-Original-To: sasl@core3.amsl.com
Delivered-To: sasl@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id EEB373A683B for <sasl@core3.amsl.com>; Fri,  2 Oct 2009 13:41:20 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.562
X-Spam-Level: 
X-Spam-Status: No, score=-2.562 tagged_above=-999 required=5 tests=[AWL=0.037,  BAYES_00=-2.599]
Received: from mail.ietf.org ([64.170.98.32]) by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id w04-9PxHfWzn for <sasl@core3.amsl.com>; Fri,  2 Oct 2009 13:41:18 -0700 (PDT)
Received: from yxa-v.extundo.com (yxa-v.extundo.com [83.241.177.39]) by core3.amsl.com (Postfix) with ESMTP id 357FD3A67AB for <sasl@ietf.org>; Fri,  2 Oct 2009 13:41:18 -0700 (PDT)
Received: from mocca.josefsson.org (c80-216-24-211.bredband.comhem.se [80.216.24.211]) (authenticated bits=0) by yxa-v.extundo.com (8.14.3/8.14.3/Debian-5) with ESMTP id n92Kgg9u021349 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES128-SHA bits=128 verify=NOT); Fri, 2 Oct 2009 22:42:44 +0200
From: Simon Josefsson <simon@josefsson.org>
To: Nicolas Williams <Nicolas.Williams@sun.com>
References: <20091002174501.75F953A6855@core3.amsl.com> <87pr95r2q7.fsf@mocca.josefsson.org> <20091002200003.GM887@Sun.COM>
OpenPGP: id=B565716F; url=http://josefsson.org/key.txt
X-Hashcash: 1:22:091002:sasl@ietf.org::F6f1K1K1UsNLoF8H:2Izl
X-Hashcash: 1:22:091002:nicolas.williams@sun.com::xV6MnBCmW0vJhxLD:46hL
Date: Fri, 02 Oct 2009 22:42:43 +0200
In-Reply-To: <20091002200003.GM887@Sun.COM> (Nicolas Williams's message of "Fri, 2 Oct 2009 15:00:03 -0500")
Message-ID: <87k4zdr0ho.fsf@mocca.josefsson.org>
User-Agent: Gnus/5.110011 (No Gnus v0.11) Emacs/23.1 (gnu/linux)
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
X-Virus-Scanned: clamav-milter 0.95.2 at yxa-v
X-Virus-Status: Clean
Cc: sasl@ietf.org
Subject: Re: [sasl] I-D Action:draft-ietf-sasl-scram-08.txt
X-BeenThere: sasl@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: SASL Working Group <sasl.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/sasl>, <mailto:sasl-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/sasl>
List-Post: <mailto:sasl@ietf.org>
List-Help: <mailto:sasl-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/sasl>, <mailto:sasl-request@ietf.org?subject=subscribe>
X-List-Received-Date: Fri, 02 Oct 2009 20:41:21 -0000

Nicolas Williams <Nicolas.Williams@sun.com> writes:

>    o  Normalize(str): Apply a Unicode normalization algorithm to a UTF-8
>       [RFC3629] encoded "str".  The resulting string is also in UTF-8.
>       Implementations SHOULD use the SASLPrep profile [RFC4013] of the
>       "stringprep" algorithm [RFC3454] as the normalization algorithm.
> ----> Note that, for SCRAM, passwords are "stored strings", which means
> ----> that unassigned codepoints in SCRAM passwords are prohibited (see
> ----> RFC3454, section 7).

+1

/Simon

From alexey.melnikov@isode.com  Fri Oct  2 13:42:53 2009
Return-Path: <alexey.melnikov@isode.com>
X-Original-To: sasl@core3.amsl.com
Delivered-To: sasl@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id 222243A6974 for <sasl@core3.amsl.com>; Fri,  2 Oct 2009 13:42:52 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.56
X-Spam-Level: 
X-Spam-Status: No, score=-2.56 tagged_above=-999 required=5 tests=[AWL=0.039,  BAYES_00=-2.599]
Received: from mail.ietf.org ([64.170.98.32]) by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id VEtG94Uw2aXj for <sasl@core3.amsl.com>; Fri,  2 Oct 2009 13:42:50 -0700 (PDT)
Received: from rufus.isode.com (rufus.isode.com [62.3.217.251]) by core3.amsl.com (Postfix) with ESMTP id 1344F3A6932 for <sasl@ietf.org>; Fri,  2 Oct 2009 13:42:50 -0700 (PDT)
Received: from [92.40.116.115] (92.40.116.115.sub.mbb.three.co.uk [92.40.116.115])  by rufus.isode.com (submission channel) via TCP with ESMTPA  id <SsZmIAB9YT2F@rufus.isode.com>; Fri, 2 Oct 2009 21:44:17 +0100
Message-ID: <4AC66617.1010304@isode.com>
Date: Fri, 02 Oct 2009 21:44:07 +0100
From: Alexey Melnikov <alexey.melnikov@isode.com>
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7.12) Gecko/20050915
X-Accept-Language: en-us, en
To: Simon Josefsson <simon@josefsson.org>
References: <20091002174501.75F953A6855@core3.amsl.com> <87pr95r2q7.fsf@mocca.josefsson.org> <20091002200003.GM887@Sun.COM> <87k4zdr0ho.fsf@mocca.josefsson.org>
In-Reply-To: <87k4zdr0ho.fsf@mocca.josefsson.org>
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii; format=flowed
Content-Transfer-Encoding: 7bit
Cc: sasl@ietf.org
Subject: Re: [sasl] I-D Action:draft-ietf-sasl-scram-08.txt
X-BeenThere: sasl@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: SASL Working Group <sasl.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/sasl>, <mailto:sasl-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/sasl>
List-Post: <mailto:sasl@ietf.org>
List-Help: <mailto:sasl-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/sasl>, <mailto:sasl-request@ietf.org?subject=subscribe>
X-List-Received-Date: Fri, 02 Oct 2009 20:42:54 -0000

Simon Josefsson wrote:

>Nicolas Williams <Nicolas.Williams@sun.com> writes:
>  
>
>>   o  Normalize(str): Apply a Unicode normalization algorithm to a UTF-8
>>      [RFC3629] encoded "str".  The resulting string is also in UTF-8.
>>      Implementations SHOULD use the SASLPrep profile [RFC4013] of the
>>      "stringprep" algorithm [RFC3454] as the normalization algorithm.
>>----> Note that, for SCRAM, passwords are "stored strings", which means
>>----> that unassigned codepoints in SCRAM passwords are prohibited (see
>>----> RFC3454, section 7).
>>    
>>
>+1
>  
>
Fine with me. I can post -09 later today (or over the weekend).


From wwwrun@core3.amsl.com  Mon Oct  5 09:27:04 2009
Return-Path: <wwwrun@core3.amsl.com>
X-Original-To: sasl@ietf.org
Delivered-To: sasl@core3.amsl.com
Received: by core3.amsl.com (Postfix, from userid 30) id 8C1B43A6873; Mon,  5 Oct 2009 09:27:04 -0700 (PDT)
X-idtracker: yes
To: IETF-Announce <ietf-announce@ietf.org> 
From: The IESG <iesg-secretary@ietf.org>
Message-Id: <20091005162704.8C1B43A6873@core3.amsl.com>
Date: Mon,  5 Oct 2009 09:27:04 -0700 (PDT)
Cc: channel-binding@ietf.org, tls@ietf.org, sasl@ietf.org
Subject: [sasl] Last Call: draft-altman-tls-channel-bindings (Channel Bindings for TLS) to Proposed Standard
X-BeenThere: sasl@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
Reply-To: ietf@ietf.org
List-Id: SASL Working Group <sasl.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/sasl>, <mailto:sasl-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/sasl>
List-Post: <mailto:sasl@ietf.org>
List-Help: <mailto:sasl-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/sasl>, <mailto:sasl-request@ietf.org?subject=subscribe>
X-List-Received-Date: Mon, 05 Oct 2009 16:27:04 -0000

The IESG has received a request from an individual submitter to consider 
the following document:

- 'Channel Bindings for TLS '
   <draft-altman-tls-channel-bindings-07.txt> as a Proposed Standard

The IESG plans to make a decision in the next few weeks, and solicits
final comments on this action.  Please send substantive comments to the
ietf@ietf.org mailing lists by 2009-11-02. Exceptionally, 
comments may be sent to iesg@ietf.org instead. In either case, please 
retain the beginning of the Subject line to allow automated sorting.

The file can be obtained via
http://www.ietf.org/internet-drafts/draft-altman-tls-channel-bindings-07.txt


IESG discussion can be tracked via
https://datatracker.ietf.org/public/pidtracker.cgi?command=view_id&dTag=15087&rfc_flag=0


From alexey.melnikov@isode.com  Wed Oct  7 16:21:01 2009
Return-Path: <alexey.melnikov@isode.com>
X-Original-To: sasl@core3.amsl.com
Delivered-To: sasl@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id F205C3A6874 for <sasl@core3.amsl.com>; Wed,  7 Oct 2009 16:21:00 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.532
X-Spam-Level: 
X-Spam-Status: No, score=-2.532 tagged_above=-999 required=5 tests=[AWL=0.067,  BAYES_00=-2.599]
Received: from mail.ietf.org ([64.170.98.32]) by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id JuVRqt4HJ5p2 for <sasl@core3.amsl.com>; Wed,  7 Oct 2009 16:21:00 -0700 (PDT)
Received: from rufus.isode.com (rufus.isode.com [62.3.217.251]) by core3.amsl.com (Postfix) with ESMTP id CD3AB3A6990 for <sasl@ietf.org>; Wed,  7 Oct 2009 16:20:59 -0700 (PDT)
Received: from [92.40.220.219] (92.40.220.219.sub.mbb.three.co.uk [92.40.220.219])  by rufus.isode.com (submission channel) via TCP with ESMTPA  id <Ss0ivgBfG0B1@rufus.isode.com>; Thu, 8 Oct 2009 00:22:39 +0100
Message-ID: <4ACD22AD.4000800@isode.com>
Date: Thu, 08 Oct 2009 00:22:21 +0100
From: Alexey Melnikov <alexey.melnikov@isode.com>
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7.12) Gecko/20050915
X-Accept-Language: en-us, en
To: Nicolas Williams <Nicolas.Williams@sun.com>
References: <20091002174501.75F953A6855@core3.amsl.com> <87pr95r2q7.fsf@mocca.josefsson.org> <20091002200003.GM887@Sun.COM>
In-Reply-To: <20091002200003.GM887@Sun.COM>
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii; format=flowed
Content-Transfer-Encoding: 7bit
Cc: Simon Josefsson <simon@josefsson.org>, sasl@ietf.org
Subject: Re: [sasl] I-D Action:draft-ietf-sasl-scram-08.txt
X-BeenThere: sasl@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: SASL Working Group <sasl.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/sasl>, <mailto:sasl-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/sasl>
List-Post: <mailto:sasl@ietf.org>
List-Help: <mailto:sasl-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/sasl>, <mailto:sasl-request@ietf.org?subject=subscribe>
X-List-Received-Date: Wed, 07 Oct 2009 23:21:01 -0000

Nicolas Williams wrote:

>On Fri, Oct 02, 2009 at 09:54:24PM +0200, Simon Josefsson wrote:  
>
>>This version seems fine in general, but re SASLprep on password it says:
>>
>>  o Normalize(str): Apply a Unicode normalization algorithm to a UTF-8
>>    [RFC3629] encoded "str". The resulting string is also in UTF-8.
>>    Implementations SHOULD use the SASLPrep profile [RFC4013] of the
>>    "stringprep" algorithm [RFC3454] as the normalization algorithm.
>>
>>That text does not resolve whether Normalize() should be invoked with
>>unassigned code points permitted or not.  There were different
>>suggestions on what clients and servers should do in earlier
>>discussions, so I believe the text has to be explicit on what clients
>>and servers needs to do.
>>
>>I don't care strongly, but my preference is to disallow unassigned code
>>points everywhere where a string is hashed.  Allowing unassigned code
>>points introduce uncertainty in the algorithm, and I find that to rarely
>>be useful in practice.  My experience is that allowing unassigned code
>>points is useful when the string is transferred to the other side for
>>comparison, but when the string is hashed that is no longer the case.  I
>>am aware that others have different preferences.
>>    
>>
>Here we must treat passwords as storage strings.  SASLprep doesn't
>distinguish between query and stored strings, but it does reference
>Stringprep, which does.  And Stringprep has this to say about stored
>strings: "[s]tored strings using the profile MUST NOT contain any
>unassigned code points".
>
>New text:
>
>   o  Normalize(str): Apply a Unicode normalization algorithm to a UTF-8
>      [RFC3629] encoded "str".  The resulting string is also in UTF-8.
>      Implementations SHOULD use the SASLPrep profile [RFC4013] of the
>      "stringprep" algorithm [RFC3454] as the normalization algorithm.
>----> Note that, for SCRAM, passwords are "stored strings", which means
>----> that unassigned codepoints in SCRAM passwords are prohibited (see
>----> RFC3454, section 7).
>  
>
Applied to my copy. I've reworded the text not to say "password", as 
this is a generic definition of the Normalize function.


From root@core3.amsl.com  Wed Oct  7 16:45:01 2009
Return-Path: <root@core3.amsl.com>
X-Original-To: sasl@ietf.org
Delivered-To: sasl@core3.amsl.com
Received: by core3.amsl.com (Postfix, from userid 0) id 6F3893A6811; Wed,  7 Oct 2009 16:45:01 -0700 (PDT)
From: Internet-Drafts@ietf.org
To: i-d-announce@ietf.org
Content-Type: Multipart/Mixed; Boundary="NextPart"
Mime-Version: 1.0
Message-Id: <20091007234501.6F3893A6811@core3.amsl.com>
Date: Wed,  7 Oct 2009 16:45:01 -0700 (PDT)
X-Mailman-Approved-At: Wed, 07 Oct 2009 17:24:10 -0700
Cc: sasl@ietf.org
Subject: [sasl] I-D Action:draft-ietf-sasl-scram-09.txt
X-BeenThere: sasl@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: SASL Working Group <sasl.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/sasl>, <mailto:sasl-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/sasl>
List-Post: <mailto:sasl@ietf.org>
List-Help: <mailto:sasl-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/sasl>, <mailto:sasl-request@ietf.org?subject=subscribe>
X-List-Received-Date: Wed, 07 Oct 2009 23:45:01 -0000

--NextPart

A New Internet-Draft is available from the on-line Internet-Drafts directories.
This draft is a work item of the Simple Authentication and Security Layer Working Group of the IETF.


	Title           : Salted Challenge Response (SCRAM) SASL and GSS-API Mechanism
	Author(s)       : A. Menon-Sen, et al.
	Filename        : draft-ietf-sasl-scram-09.txt
	Pages           : 36
	Date            : 2009-10-07

The secure authentication mechanism most widely deployed and used by
Internet application protocols is the transmission of clear-text
passwords over a channel protected by Transport Layer Security (TLS).
There are some significant security concerns with that mechanism,
which could be addressed by the use of a challenge response
authentication mechanism protected by TLS.  Unfortunately, the
challenge response mechanisms presently on the standards track all
fail to meet requirements necessary for widespread deployment, and
have had success only in limited use.

This specification describes a family of Simple Authentication and
Security Layer (SASL, RFC 4422) authentication mechanisms called the
Salted Challenge Response Authentication Mechanism (SCRAM), which
addresses the security concerns and meets the deployability
requirements.  When used in combination with TLS or an equivalent
security layer, a mechanism from this family could improve the
status-quo for application protocol authentication and provide a
suitable choice for a mandatory-to-implement mechanism for future
application protocol standards.

A URL for this Internet-Draft is:
http://www.ietf.org/internet-drafts/draft-ietf-sasl-scram-09.txt

Internet-Drafts are also available by anonymous FTP at:
ftp://ftp.ietf.org/internet-drafts/

Below is the data which will enable a MIME compliant mail reader
implementation to automatically retrieve the ASCII version of the
Internet-Draft.

--NextPart
Content-Type: Message/External-body;
	name="draft-ietf-sasl-scram-09.txt";
	site="ftp.ietf.org";
	access-type="anon-ftp";
	directory="internet-drafts"

Content-Type: text/plain
Content-ID: <2009-10-07163842.I-D@ietf.org>


--NextPart--

From simon@josefsson.org  Wed Oct  7 22:50:14 2009
Return-Path: <simon@josefsson.org>
X-Original-To: sasl@core3.amsl.com
Delivered-To: sasl@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id 53ADC3A6956 for <sasl@core3.amsl.com>; Wed,  7 Oct 2009 22:50:14 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.563
X-Spam-Level: 
X-Spam-Status: No, score=-2.563 tagged_above=-999 required=5 tests=[AWL=0.036,  BAYES_00=-2.599]
Received: from mail.ietf.org ([64.170.98.32]) by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 6s-BEr1zNPFs for <sasl@core3.amsl.com>; Wed,  7 Oct 2009 22:50:13 -0700 (PDT)
Received: from yxa-v.extundo.com (yxa-v.extundo.com [83.241.177.39]) by core3.amsl.com (Postfix) with ESMTP id 385B33A685A for <sasl@ietf.org>; Wed,  7 Oct 2009 22:50:12 -0700 (PDT)
Received: from mocca.josefsson.org (c80-216-24-211.bredband.comhem.se [80.216.24.211]) (authenticated bits=0) by yxa-v.extundo.com (8.14.3/8.14.3/Debian-5) with ESMTP id n985pnSP029289 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES128-SHA bits=128 verify=NOT); Thu, 8 Oct 2009 07:51:51 +0200
From: Simon Josefsson <simon@josefsson.org>
To: Alexey Melnikov <alexey.melnikov@isode.com>
In-Reply-To: <4ACD22AD.4000800@isode.com> (Alexey Melnikov's message of "Thu,  08 Oct 2009 00:22:21 +0100")
References: <20091002174501.75F953A6855@core3.amsl.com> <87pr95r2q7.fsf@mocca.josefsson.org> <20091002200003.GM887@Sun.COM> <4ACD22AD.4000800@isode.com>
User-Agent: Gnus/5.110011 (No Gnus v0.11) Emacs/23.1 (gnu/linux)
OpenPGP: id=B565716F; url=http://josefsson.org/key.txt
X-Hashcash: 1:22:091008:sasl@ietf.org::XPsxCYwbnQUsRY25:2KRW
X-Hashcash: 1:22:091008:alexey.melnikov@isode.com::1Zb8p1J/C114k9I+:SGsH
X-Hashcash: 1:22:091008:nicolas.williams@sun.com::X4uWu82wX++UIGum:woqM
Date: Thu, 08 Oct 2009 07:51:49 +0200
Message-ID: <87eipe5t6y.fsf@mocca.josefsson.org>
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
X-Virus-Scanned: clamav-milter 0.95.2 at yxa-v
X-Virus-Status: Clean
Cc: sasl@ietf.org
Subject: Re: [sasl] I-D Action:draft-ietf-sasl-scram-08.txt
X-BeenThere: sasl@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: SASL Working Group <sasl.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/sasl>, <mailto:sasl-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/sasl>
List-Post: <mailto:sasl@ietf.org>
List-Help: <mailto:sasl-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/sasl>, <mailto:sasl-request@ietf.org?subject=subscribe>
X-List-Received-Date: Thu, 08 Oct 2009 05:50:14 -0000

Alexey Melnikov <alexey.melnikov@isode.com> writes:

>>   o  Normalize(str): Apply a Unicode normalization algorithm to a UTF-8
>>      [RFC3629] encoded "str".  The resulting string is also in UTF-8.
>>      Implementations SHOULD use the SASLPrep profile [RFC4013] of the
>>      "stringprep" algorithm [RFC3454] as the normalization algorithm.
>>----> Note that, for SCRAM, passwords are "stored strings", which means
>>----> that unassigned codepoints in SCRAM passwords are prohibited (see
>>----> RFC3454, section 7).
>>  
>>
> Applied to my copy. I've reworded the text not to say "password", as
> this is a generic definition of the Normalize function.

I don't think that works, unassigned codepoints should only be
disallowed for passwords, not for usernames.  Elsewhere SCRAM says

         Before sending the username to the server, the client SHOULD
         prepare the username using the "SASLPrep" profile [RFC4013] of
         the "stringprep" algorithm [RFC3454] treating it as a query
         string (i.e., unassigned Unicode code points are allowed).

/Simon

From alexey.melnikov@isode.com  Thu Oct  8 03:28:08 2009
Return-Path: <alexey.melnikov@isode.com>
X-Original-To: sasl@core3.amsl.com
Delivered-To: sasl@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id 1D53228C249 for <sasl@core3.amsl.com>; Thu,  8 Oct 2009 03:28:08 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.535
X-Spam-Level: 
X-Spam-Status: No, score=-2.535 tagged_above=-999 required=5 tests=[AWL=0.064,  BAYES_00=-2.599]
Received: from mail.ietf.org ([64.170.98.32]) by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id ysGyBFq+scMQ for <sasl@core3.amsl.com>; Thu,  8 Oct 2009 03:28:07 -0700 (PDT)
Received: from rufus.isode.com (rufus.isode.com [62.3.217.251]) by core3.amsl.com (Postfix) with ESMTP id ED8C128C247 for <sasl@ietf.org>; Thu,  8 Oct 2009 03:28:06 -0700 (PDT)
Received: from [92.40.11.4] (92.40.11.4.sub.mbb.three.co.uk [92.40.11.4])  by rufus.isode.com (submission channel) via TCP with ESMTPA  id <Ss2=GgBfG5CU@rufus.isode.com>; Thu, 8 Oct 2009 11:29:47 +0100
Message-ID: <4ACDBF15.9080805@isode.com>
Date: Thu, 08 Oct 2009 11:29:41 +0100
From: Alexey Melnikov <alexey.melnikov@isode.com>
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7.12) Gecko/20050915
X-Accept-Language: en-us, en
To: Simon Josefsson <simon@josefsson.org>
References: <20091002174501.75F953A6855@core3.amsl.com> <87pr95r2q7.fsf@mocca.josefsson.org> <20091002200003.GM887@Sun.COM> <4ACD22AD.4000800@isode.com> <87eipe5t6y.fsf@mocca.josefsson.org>
In-Reply-To: <87eipe5t6y.fsf@mocca.josefsson.org>
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii; format=flowed
Content-Transfer-Encoding: 7bit
Cc: sasl@ietf.org
Subject: Re: [sasl] I-D Action:draft-ietf-sasl-scram-08.txt
X-BeenThere: sasl@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: SASL Working Group <sasl.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/sasl>, <mailto:sasl-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/sasl>
List-Post: <mailto:sasl@ietf.org>
List-Help: <mailto:sasl-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/sasl>, <mailto:sasl-request@ietf.org?subject=subscribe>
X-List-Received-Date: Thu, 08 Oct 2009 10:28:08 -0000

Simon Josefsson wrote:

>Alexey Melnikov <alexey.melnikov@isode.com> writes:
>  
>
>>>  o  Normalize(str): Apply a Unicode normalization algorithm to a UTF-8
>>>     [RFC3629] encoded "str".  The resulting string is also in UTF-8.
>>>     Implementations SHOULD use the SASLPrep profile [RFC4013] of the
>>>     "stringprep" algorithm [RFC3454] as the normalization algorithm.
>>>----> Note that, for SCRAM, passwords are "stored strings", which means
>>>----> that unassigned codepoints in SCRAM passwords are prohibited (see
>>>----> RFC3454, section 7).
>>>      
>>>
>>Applied to my copy. I've reworded the text not to say "password", as
>>this is a generic definition of the Normalize function.
>>    
>>
>I don't think that works, unassigned codepoints should only be
>disallowed for passwords, not for usernames.  Elsewhere SCRAM says
>
>         Before sending the username to the server, the client SHOULD
>         prepare the username using the "SASLPrep" profile [RFC4013] of
>         the "stringprep" algorithm [RFC3454] treating it as a query
>         string (i.e., unassigned Unicode code points are allowed).
>  
>
The Normalize(str) function is only being used for passwords, so I don't 
see a problem.

If we are to change the document to start using this function elsewhere, 
then the text would need to be moved.


From simon@josefsson.org  Thu Oct  8 04:07:14 2009
Return-Path: <simon@josefsson.org>
X-Original-To: sasl@core3.amsl.com
Delivered-To: sasl@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id 980A328C11A for <sasl@core3.amsl.com>; Thu,  8 Oct 2009 04:07:14 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.564
X-Spam-Level: 
X-Spam-Status: No, score=-2.564 tagged_above=-999 required=5 tests=[AWL=0.035,  BAYES_00=-2.599]
Received: from mail.ietf.org ([64.170.98.32]) by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id rAejYigAoDvn for <sasl@core3.amsl.com>; Thu,  8 Oct 2009 04:07:13 -0700 (PDT)
Received: from yxa-v.extundo.com (yxa-v.extundo.com [83.241.177.39]) by core3.amsl.com (Postfix) with ESMTP id E800028C13F for <sasl@ietf.org>; Thu,  8 Oct 2009 04:07:11 -0700 (PDT)
Received: from mocca.josefsson.org (c80-216-24-211.bredband.comhem.se [80.216.24.211]) (authenticated bits=0) by yxa-v.extundo.com (8.14.3/8.14.3/Debian-5) with ESMTP id n98B8nUp003918 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES128-SHA bits=128 verify=NOT); Thu, 8 Oct 2009 13:08:51 +0200
From: Simon Josefsson <simon@josefsson.org>
To: Alexey Melnikov <alexey.melnikov@isode.com>
References: <20091002174501.75F953A6855@core3.amsl.com> <87pr95r2q7.fsf@mocca.josefsson.org> <20091002200003.GM887@Sun.COM> <4ACD22AD.4000800@isode.com> <87eipe5t6y.fsf@mocca.josefsson.org> <4ACDBF15.9080805@isode.com>
OpenPGP: id=B565716F; url=http://josefsson.org/key.txt
X-Hashcash: 1:22:091008:sasl@ietf.org::23YdwOUTPTD8cWrW:5330
X-Hashcash: 1:22:091008:alexey.melnikov@isode.com::IfONkZwfifb9tqQp:RsoV
X-Hashcash: 1:22:091008:nicolas.williams@sun.com::QjgZ38+0qUi2JZt4:02eum
Date: Thu, 08 Oct 2009 13:08:49 +0200
In-Reply-To: <4ACDBF15.9080805@isode.com> (Alexey Melnikov's message of "Thu,  08 Oct 2009 11:29:41 +0100")
Message-ID: <87ljjm2ldq.fsf@mocca.josefsson.org>
User-Agent: Gnus/5.110011 (No Gnus v0.11) Emacs/23.1 (gnu/linux)
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
X-Virus-Scanned: clamav-milter 0.95.2 at yxa-v
X-Virus-Status: Clean
Cc: sasl@ietf.org
Subject: Re: [sasl] I-D Action:draft-ietf-sasl-scram-08.txt
X-BeenThere: sasl@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: SASL Working Group <sasl.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/sasl>, <mailto:sasl-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/sasl>
List-Post: <mailto:sasl@ietf.org>
List-Help: <mailto:sasl-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/sasl>, <mailto:sasl-request@ietf.org?subject=subscribe>
X-List-Received-Date: Thu, 08 Oct 2009 11:07:14 -0000

Alexey Melnikov <alexey.melnikov@isode.com> writes:

> Simon Josefsson wrote:
>
>>Alexey Melnikov <alexey.melnikov@isode.com> writes:
>>  
>>
>>>>  o  Normalize(str): Apply a Unicode normalization algorithm to a UTF-8
>>>>     [RFC3629] encoded "str".  The resulting string is also in UTF-8.
>>>>     Implementations SHOULD use the SASLPrep profile [RFC4013] of the
>>>>     "stringprep" algorithm [RFC3454] as the normalization algorithm.
>>>>----> Note that, for SCRAM, passwords are "stored strings", which means
>>>>----> that unassigned codepoints in SCRAM passwords are prohibited (see
>>>>----> RFC3454, section 7).
>>>>      
>>>>
>>>Applied to my copy. I've reworded the text not to say "password", as
>>>this is a generic definition of the Normalize function.
>>>    
>>>
>>I don't think that works, unassigned codepoints should only be
>>disallowed for passwords, not for usernames.  Elsewhere SCRAM says
>>
>>         Before sending the username to the server, the client SHOULD
>>         prepare the username using the "SASLPrep" profile [RFC4013] of
>>         the "stringprep" algorithm [RFC3454] treating it as a query
>>         string (i.e., unassigned Unicode code points are allowed).
>>  
>>
> The Normalize(str) function is only being used for passwords, so I
> don't see a problem.

Ah right!  Never mind.

/Simon

From Nicolas.Williams@sun.com  Thu Oct  8 09:13:43 2009
Return-Path: <Nicolas.Williams@sun.com>
X-Original-To: sasl@core3.amsl.com
Delivered-To: sasl@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id 9CE3E3A68E8 for <sasl@core3.amsl.com>; Thu,  8 Oct 2009 09:13:43 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -5.888
X-Spam-Level: 
X-Spam-Status: No, score=-5.888 tagged_above=-999 required=5 tests=[AWL=0.158,  BAYES_00=-2.599, HELO_MISMATCH_COM=0.553, RCVD_IN_DNSWL_MED=-4]
Received: from mail.ietf.org ([64.170.98.32]) by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id SmPPybhpCaVu for <sasl@core3.amsl.com>; Thu,  8 Oct 2009 09:13:42 -0700 (PDT)
Received: from sca-ea-mail-2.sun.com (sca-ea-mail-2.Sun.COM [192.18.43.25]) by core3.amsl.com (Postfix) with ESMTP id B90923A6765 for <sasl@ietf.org>; Thu,  8 Oct 2009 09:13:38 -0700 (PDT)
Received: from dm-central-01.central.sun.com ([129.147.62.4]) by sca-ea-mail-2.sun.com (8.13.7+Sun/8.12.9) with ESMTP id n98GFG6I002107 for <sasl@ietf.org>; Thu, 8 Oct 2009 16:15:17 GMT
Received: from binky.Central.Sun.COM (binky.Central.Sun.COM [129.153.128.104]) by dm-central-01.central.sun.com (8.13.8+Sun/8.13.8/ENSMAIL, v2.2) with ESMTP id n98GFG7r004856 for <sasl@ietf.org>; Thu, 8 Oct 2009 10:15:16 -0600 (MDT)
Received: from binky.Central.Sun.COM (localhost [127.0.0.1]) by binky.Central.Sun.COM (8.14.3+Sun/8.14.3) with ESMTP id n98G3xqw005933; Thu, 8 Oct 2009 11:03:59 -0500 (CDT)
Received: (from nw141292@localhost) by binky.Central.Sun.COM (8.14.3+Sun/8.14.3/Submit) id n98G3xuo005932;  Thu, 8 Oct 2009 11:03:59 -0500 (CDT)
X-Authentication-Warning: binky.Central.Sun.COM: nw141292 set sender to Nicolas.Williams@sun.com using -f
Date: Thu, 8 Oct 2009 11:03:59 -0500
From: Nicolas Williams <Nicolas.Williams@sun.com>
To: Simon Josefsson <simon@josefsson.org>
Message-ID: <20091008160359.GV887@Sun.COM>
References: <20091002174501.75F953A6855@core3.amsl.com> <87pr95r2q7.fsf@mocca.josefsson.org> <20091002200003.GM887@Sun.COM> <4ACD22AD.4000800@isode.com> <87eipe5t6y.fsf@mocca.josefsson.org>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
In-Reply-To: <87eipe5t6y.fsf@mocca.josefsson.org>
User-Agent: Mutt/1.5.7i
Cc: Alexey Melnikov <alexey.melnikov@isode.com>, sasl@ietf.org
Subject: Re: [sasl] I-D Action:draft-ietf-sasl-scram-08.txt
X-BeenThere: sasl@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: SASL Working Group <sasl.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/sasl>, <mailto:sasl-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/sasl>
List-Post: <mailto:sasl@ietf.org>
List-Help: <mailto:sasl-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/sasl>, <mailto:sasl-request@ietf.org?subject=subscribe>
X-List-Received-Date: Thu, 08 Oct 2009 16:13:43 -0000

On Thu, Oct 08, 2009 at 07:51:49AM +0200, Simon Josefsson wrote:
> Alexey Melnikov <alexey.melnikov@isode.com> writes:
> 
> >>   o  Normalize(str): Apply a Unicode normalization algorithm to a UTF-8
> >>      [RFC3629] encoded "str".  The resulting string is also in UTF-8.
> >>      Implementations SHOULD use the SASLPrep profile [RFC4013] of the
> >>      "stringprep" algorithm [RFC3454] as the normalization algorithm.
> >>----> Note that, for SCRAM, passwords are "stored strings", which means
> >>----> that unassigned codepoints in SCRAM passwords are prohibited (see
> >>----> RFC3454, section 7).
> >>  
> >>
> > Applied to my copy. I've reworded the text not to say "password", as
> > this is a generic definition of the Normalize function.
> 
> I don't think that works, unassigned codepoints should only be
> disallowed for passwords, not for usernames.  Elsewhere SCRAM says
> 
>          Before sending the username to the server, the client SHOULD
>          prepare the username using the "SASLPrep" profile [RFC4013] of
>          the "stringprep" algorithm [RFC3454] treating it as a query
>          string (i.e., unassigned Unicode code points are allowed).

That's fine with me.  It's important that the server not re-encode the
client's first message when verifying the ClientSignature.

Nico
-- 

From root@core3.amsl.com  Mon Oct 12 15:30:01 2009
Return-Path: <root@core3.amsl.com>
X-Original-To: sasl@ietf.org
Delivered-To: sasl@core3.amsl.com
Received: by core3.amsl.com (Postfix, from userid 0) id CE7E128C228; Mon, 12 Oct 2009 15:30:01 -0700 (PDT)
From: Internet-Drafts@ietf.org
To: i-d-announce@ietf.org
Content-Type: Multipart/Mixed; Boundary="NextPart"
Mime-Version: 1.0
Message-Id: <20091012223001.CE7E128C228@core3.amsl.com>
Date: Mon, 12 Oct 2009 15:30:01 -0700 (PDT)
Cc: sasl@ietf.org
Subject: [sasl] I-D Action:draft-ietf-sasl-scram-10.txt
X-BeenThere: sasl@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: SASL Working Group <sasl.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/sasl>, <mailto:sasl-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/sasl>
List-Post: <mailto:sasl@ietf.org>
List-Help: <mailto:sasl-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/sasl>, <mailto:sasl-request@ietf.org?subject=subscribe>
X-List-Received-Date: Mon, 12 Oct 2009 22:30:01 -0000

--NextPart

A New Internet-Draft is available from the on-line Internet-Drafts directories.
This draft is a work item of the Simple Authentication and Security Layer Working Group of the IETF.


	Title           : Salted Challenge Response (SCRAM) SASL and GSS-API Mechanism
	Author(s)       : A. Menon-Sen, et al.
	Filename        : draft-ietf-sasl-scram-10.txt
	Pages           : 37
	Date            : 2009-10-12

The secure authentication mechanism most widely deployed and used by
Internet application protocols is the transmission of clear-text
passwords over a channel protected by Transport Layer Security (TLS).
There are some significant security concerns with that mechanism,
which could be addressed by the use of a challenge response
authentication mechanism protected by TLS.  Unfortunately, the
challenge response mechanisms presently on the standards track all
fail to meet requirements necessary for widespread deployment, and
have had success only in limited use.

This specification describes a family of Simple Authentication and
Security Layer (SASL, RFC 4422) authentication mechanisms called the
Salted Challenge Response Authentication Mechanism (SCRAM), which
addresses the security concerns and meets the deployability
requirements.  When used in combination with TLS or an equivalent
security layer, a mechanism from this family could improve the
status-quo for application protocol authentication and provide a
suitable choice for a mandatory-to-implement mechanism for future
application protocol standards.

A URL for this Internet-Draft is:
http://www.ietf.org/internet-drafts/draft-ietf-sasl-scram-10.txt

Internet-Drafts are also available by anonymous FTP at:
ftp://ftp.ietf.org/internet-drafts/

Below is the data which will enable a MIME compliant mail reader
implementation to automatically retrieve the ASCII version of the
Internet-Draft.

--NextPart
Content-Type: Message/External-body;
	name="draft-ietf-sasl-scram-10.txt";
	site="ftp.ietf.org";
	access-type="anon-ftp";
	directory="internet-drafts"

Content-Type: text/plain
Content-ID: <2009-10-12152846.I-D@ietf.org>


--NextPart--

From alexey.melnikov@isode.com  Thu Oct 22 14:25:30 2009
Return-Path: <alexey.melnikov@isode.com>
X-Original-To: sasl@core3.amsl.com
Delivered-To: sasl@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id D1BD63A680F for <sasl@core3.amsl.com>; Thu, 22 Oct 2009 14:25:30 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.457
X-Spam-Level: 
X-Spam-Status: No, score=-2.457 tagged_above=-999 required=5 tests=[AWL=0.142,  BAYES_00=-2.599]
Received: from mail.ietf.org ([64.170.98.32]) by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id CKULn2W5+NGG for <sasl@core3.amsl.com>; Thu, 22 Oct 2009 14:25:30 -0700 (PDT)
Received: from rufus.isode.com (rufus.isode.com [62.3.217.251]) by core3.amsl.com (Postfix) with ESMTP id 0CAB73A67C0 for <sasl@ietf.org>; Thu, 22 Oct 2009 14:25:30 -0700 (PDT)
Received: from [172.16.2.140] (shiny.isode.com [62.3.217.250])  by rufus.isode.com (submission channel) via TCP with ESMTPA  id <SuDN0wBfGxLe@rufus.isode.com>; Thu, 22 Oct 2009 22:25:39 +0100
Message-ID: <4AE0CDD2.7030002@isode.com>
Date: Thu, 22 Oct 2009 22:25:38 +0100
From: Alexey Melnikov <alexey.melnikov@isode.com>
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.1.21) Gecko/20090303 SeaMonkey/1.1.15
To: sasl@ietf.org
References: <20091022185234.78A1E3A68E4@core3.amsl.com>
In-Reply-To: <20091022185234.78A1E3A68E4@core3.amsl.com>
MIME-Version: 1.0
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
Subject: Re: [sasl] ID Tracker State Update Notice: draft-ietf-sasl-scram
X-BeenThere: sasl@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: SASL Working Group <sasl.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/sasl>, <mailto:sasl-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/sasl>
List-Post: <mailto:sasl@ietf.org>
List-Help: <mailto:sasl-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/sasl>, <mailto:sasl-request@ietf.org?subject=subscribe>
X-List-Received-Date: Thu, 22 Oct 2009 21:25:30 -0000

The IESG wrote:
> 'State Changes to Approved-announcement to be sent from IESG Evaluation by Cindy Morgan'
> ID Tracker URL: https://datatracker.ietf.org/public/pidtracker.cgi?command=view_id&dTag=18593&rfc_flag=0
>   
SCRAM was approved for publication today. Thanks to everybody who helped.
Now we just need to get GS2 approved by IESG.



From alexey.melnikov@isode.com  Thu Oct 22 14:25:38 2009
Return-Path: <alexey.melnikov@isode.com>
X-Original-To: sasl@core3.amsl.com
Delivered-To: sasl@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id 600F628C191 for <sasl@core3.amsl.com>; Thu, 22 Oct 2009 14:25:38 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.457
X-Spam-Level: 
X-Spam-Status: No, score=-2.457 tagged_above=-999 required=5 tests=[AWL=0.142,  BAYES_00=-2.599]
Received: from mail.ietf.org ([64.170.98.32]) by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id mdXEp1f8-lyS for <sasl@core3.amsl.com>; Thu, 22 Oct 2009 14:25:38 -0700 (PDT)
Received: from rufus.isode.com (rufus.isode.com [62.3.217.251]) by core3.amsl.com (Postfix) with ESMTP id 28BDE28C181 for <sasl@ietf.org>; Thu, 22 Oct 2009 14:25:38 -0700 (PDT)
Received: from [172.16.2.140] (shiny.isode.com [62.3.217.250])  by rufus.isode.com (submission channel) via TCP with ESMTPA  id <SuDN2wBfGwji@rufus.isode.com>; Thu, 22 Oct 2009 22:25:47 +0100
Message-ID: <4AE0CDD8.9090204@isode.com>
Date: Thu, 22 Oct 2009 22:25:44 +0100
From: Alexey Melnikov <alexey.melnikov@isode.com>
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.1.21) Gecko/20090303 SeaMonkey/1.1.15
To: sasl@ietf.org
References: <20091022185234.78A1E3A68E4@core3.amsl.com>
In-Reply-To: <20091022185234.78A1E3A68E4@core3.amsl.com>
MIME-Version: 1.0
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
Subject: Re: [sasl] ID Tracker State Update Notice: draft-ietf-sasl-scram
X-BeenThere: sasl@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: SASL Working Group <sasl.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/sasl>, <mailto:sasl-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/sasl>
List-Post: <mailto:sasl@ietf.org>
List-Help: <mailto:sasl-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/sasl>, <mailto:sasl-request@ietf.org?subject=subscribe>
X-List-Received-Date: Thu, 22 Oct 2009 21:25:38 -0000

The IESG wrote:
> 'State Changes to Approved-announcement to be sent from IESG Evaluation by Cindy Morgan'
> ID Tracker URL: https://datatracker.ietf.org/public/pidtracker.cgi?command=view_id&dTag=18593&rfc_flag=0
>   
SCRAM was approved for publication today. Thanks to everybody who helped.
Now we just need to get GS2 approved by IESG.



From stpeter@stpeter.im  Thu Oct 22 14:38:42 2009
Return-Path: <stpeter@stpeter.im>
X-Original-To: sasl@core3.amsl.com
Delivered-To: sasl@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id 2A7A528C1A6 for <sasl@core3.amsl.com>; Thu, 22 Oct 2009 14:38:42 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.569
X-Spam-Level: 
X-Spam-Status: No, score=-2.569 tagged_above=-999 required=5 tests=[AWL=0.030,  BAYES_00=-2.599]
Received: from mail.ietf.org ([64.170.98.32]) by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id UQHjLw3OKmtk for <sasl@core3.amsl.com>; Thu, 22 Oct 2009 14:38:41 -0700 (PDT)
Received: from stpeter.im (stpeter.im [207.210.219.233]) by core3.amsl.com (Postfix) with ESMTP id 2394528C149 for <sasl@ietf.org>; Thu, 22 Oct 2009 14:38:41 -0700 (PDT)
Received: from dhcp-64-101-72-247.cisco.com (dhcp-64-101-72-247.cisco.com [64.101.72.247]) (Authenticated sender: stpeter) by stpeter.im (Postfix) with ESMTPSA id DEE2140341; Thu, 22 Oct 2009 15:38:50 -0600 (MDT)
Message-ID: <4AE0D0E9.1020504@stpeter.im>
Date: Thu, 22 Oct 2009 15:38:49 -0600
From: Peter Saint-Andre <stpeter@stpeter.im>
User-Agent: Thunderbird 2.0.0.23 (Macintosh/20090812)
MIME-Version: 1.0
To: Alexey Melnikov <alexey.melnikov@isode.com>
References: <20091022185234.78A1E3A68E4@core3.amsl.com> <4AE0CDD8.9090204@isode.com>
In-Reply-To: <4AE0CDD8.9090204@isode.com>
X-Enigmail-Version: 0.96.0
OpenPGP: url=http://www.saint-andre.com/me/stpeter.asc
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 7bit
Cc: sasl@ietf.org
Subject: Re: [sasl] ID Tracker State Update Notice: draft-ietf-sasl-scram
X-BeenThere: sasl@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: SASL Working Group <sasl.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/sasl>, <mailto:sasl-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/sasl>
List-Post: <mailto:sasl@ietf.org>
List-Help: <mailto:sasl-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/sasl>, <mailto:sasl-request@ietf.org?subject=subscribe>
X-List-Received-Date: Thu, 22 Oct 2009 21:38:42 -0000

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On 10/22/09 3:25 PM, Alexey Melnikov wrote:
> The IESG wrote:
>> 'State Changes to Approved-announcement to be sent from IESG
>> Evaluation by Cindy Morgan'
>> ID Tracker URL:
>> https://datatracker.ietf.org/public/pidtracker.cgi?command=view_id&dTag=18593&rfc_flag=0
>>
>>   
> SCRAM was approved for publication today. 

Great. I'm adding it as MTI in draft-ietf-xmpp-3920bis right now...

> Thanks to everybody who helped.

Indeed!

Peter

- --
Peter Saint-Andre
https://stpeter.im/


-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.8 (Darwin)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAkrg0OkACgkQNL8k5A2w/vzsnQCeMuuCV376XLY13ZN8fCsTgYax
5qIAoJrnqoTuECHXD51u3cQJim3YsSvp
=90+3
-----END PGP SIGNATURE-----

From Nicolas.Williams@sun.com  Thu Oct 22 14:39:23 2009
Return-Path: <Nicolas.Williams@sun.com>
X-Original-To: sasl@core3.amsl.com
Delivered-To: sasl@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id 7B4093A680F for <sasl@core3.amsl.com>; Thu, 22 Oct 2009 14:39:23 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -5.799
X-Spam-Level: 
X-Spam-Status: No, score=-5.799 tagged_above=-999 required=5 tests=[AWL=0.247,  BAYES_00=-2.599, HELO_MISMATCH_COM=0.553, RCVD_IN_DNSWL_MED=-4]
Received: from mail.ietf.org ([64.170.98.32]) by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id wGEhFlKWMxPU for <sasl@core3.amsl.com>; Thu, 22 Oct 2009 14:39:22 -0700 (PDT)
Received: from brmea-mail-2.sun.com (brmea-mail-2.Sun.COM [192.18.98.43]) by core3.amsl.com (Postfix) with ESMTP id A075A3A659B for <sasl@ietf.org>; Thu, 22 Oct 2009 14:39:22 -0700 (PDT)
Received: from dm-central-02.central.sun.com ([129.147.62.5]) by brmea-mail-2.sun.com (8.13.6+Sun/8.12.9) with ESMTP id n9MLdWTG020677 for <sasl@ietf.org>; Thu, 22 Oct 2009 21:39:32 GMT
Received: from binky.Central.Sun.COM (binky.Central.Sun.COM [129.153.128.104]) by dm-central-02.central.sun.com (8.13.8+Sun/8.13.8/ENSMAIL, v2.2) with ESMTP id n9MLdWXC063321 for <sasl@ietf.org>; Thu, 22 Oct 2009 15:39:32 -0600 (MDT)
Received: from binky.Central.Sun.COM (localhost [127.0.0.1]) by binky.Central.Sun.COM (8.14.3+Sun/8.14.3) with ESMTP id n9MLS8aQ006468; Thu, 22 Oct 2009 16:28:08 -0500 (CDT)
Received: (from nw141292@localhost) by binky.Central.Sun.COM (8.14.3+Sun/8.14.3/Submit) id n9MLS8J8006467;  Thu, 22 Oct 2009 16:28:08 -0500 (CDT)
X-Authentication-Warning: binky.Central.Sun.COM: nw141292 set sender to Nicolas.Williams@sun.com using -f
Date: Thu, 22 Oct 2009 16:28:08 -0500
From: Nicolas Williams <Nicolas.Williams@sun.com>
To: Alexey Melnikov <alexey.melnikov@isode.com>
Message-ID: <20091022212807.GF892@Sun.COM>
References: <20091022185234.78A1E3A68E4@core3.amsl.com> <4AE0CDD8.9090204@isode.com>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
In-Reply-To: <4AE0CDD8.9090204@isode.com>
User-Agent: Mutt/1.5.7i
Cc: sasl@ietf.org
Subject: Re: [sasl] ID Tracker State Update Notice: draft-ietf-sasl-scram
X-BeenThere: sasl@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: SASL Working Group <sasl.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/sasl>, <mailto:sasl-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/sasl>
List-Post: <mailto:sasl@ietf.org>
List-Help: <mailto:sasl-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/sasl>, <mailto:sasl-request@ietf.org?subject=subscribe>
X-List-Received-Date: Thu, 22 Oct 2009 21:39:23 -0000

On Thu, Oct 22, 2009 at 10:25:44PM +0100, Alexey Melnikov wrote:
> The IESG wrote:
> >'State Changes to Approved-announcement to be sent from IESG Evaluation by 
> >Cindy Morgan'
> >ID Tracker URL: 
> >https://datatracker.ietf.org/public/pidtracker.cgi?command=view_id&dTag=18593&rfc_flag=0
> >  
> SCRAM was approved for publication today. Thanks to everybody who helped.
> Now we just need to get GS2 approved by IESG.

I second that.  Thanks a lot folks!

Nico
-- 

From Pasi.Eronen@nokia.com  Mon Oct 26 06:06:58 2009
Return-Path: <Pasi.Eronen@nokia.com>
X-Original-To: sasl@core3.amsl.com
Delivered-To: sasl@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id 01F4D3A688A for <sasl@core3.amsl.com>; Mon, 26 Oct 2009 06:06:58 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -6.565
X-Spam-Level: 
X-Spam-Status: No, score=-6.565 tagged_above=-999 required=5 tests=[AWL=0.034,  BAYES_00=-2.599, RCVD_IN_DNSWL_MED=-4]
Received: from mail.ietf.org ([64.170.98.32]) by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 6opSNzsO23rn for <sasl@core3.amsl.com>; Mon, 26 Oct 2009 06:06:57 -0700 (PDT)
Received: from mgw-mx09.nokia.com (smtp.nokia.com [192.100.105.134]) by core3.amsl.com (Postfix) with ESMTP id 3216A3A67B5 for <sasl@ietf.org>; Mon, 26 Oct 2009 06:06:56 -0700 (PDT)
Received: from vaebh106.NOE.Nokia.com (vaebh106.europe.nokia.com [10.160.244.32]) by mgw-mx09.nokia.com (Switch-3.3.3/Switch-3.3.3) with ESMTP id n9QD6PKJ012684 for <sasl@ietf.org>; Mon, 26 Oct 2009 08:07:09 -0500
Received: from esebh102.NOE.Nokia.com ([172.21.138.183]) by vaebh106.NOE.Nokia.com with Microsoft SMTPSVC(6.0.3790.3959);  Mon, 26 Oct 2009 15:06:30 +0200
Received: from vaebh101.NOE.Nokia.com ([10.160.244.22]) by esebh102.NOE.Nokia.com with Microsoft SMTPSVC(6.0.3790.3959);  Mon, 26 Oct 2009 15:06:29 +0200
Received: from smtp.mgd.nokia.com ([65.54.30.6]) by vaebh101.NOE.Nokia.com over TLS secured channel with Microsoft SMTPSVC(6.0.3790.3959);  Mon, 26 Oct 2009 15:05:45 +0200
Received: from NOK-EUMSG-01.mgdnok.nokia.com ([65.54.30.86]) by nok-am1mhub-02.mgdnok.nokia.com ([65.54.30.6]) with mapi; Mon, 26 Oct 2009 14:05:44 +0100
From: <Pasi.Eronen@nokia.com>
To: <sasl@ietf.org>
Date: Mon, 26 Oct 2009 14:05:43 +0100
Thread-Topic: AD review comments for draft-ietf-sasl-gs2
Thread-Index: AcpWPQaImOiiJzGGTXmlm+VvOTLAwQ==
Message-ID: <808FD6E27AD4884E94820BC333B2DB774E7F2F03EC@NOK-EUMSG-01.mgdnok.nokia.com>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach: 
X-MS-TNEF-Correlator: 
acceptlanguage: en-US
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: quoted-printable
MIME-Version: 1.0
X-OriginalArrivalTime: 26 Oct 2009 13:05:45.0338 (UTC) FILETIME=[07906DA0:01CA563D]
X-Nokia-AV: Clean
Subject: [sasl] AD review comments for draft-ietf-sasl-gs2
X-BeenThere: sasl@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: SASL Working Group <sasl.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/sasl>, <mailto:sasl-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/sasl>
List-Post: <mailto:sasl@ietf.org>
List-Help: <mailto:sasl-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/sasl>, <mailto:sasl-request@ietf.org?subject=subscribe>
X-List-Received-Date: Mon, 26 Oct 2009 13:06:58 -0000

I've now done my AD review for draft-ietf-sasl-gs2-17. Basically,
it looks good, so I've asked the secretariat to start IETF Last Call.

I do have couple of minor comments that can be considered as the
first last call comments:

- I have two questions about Section 8. First, if the GS2 mechanism
doesn't e.g. support confidentiality, wouldn't setting conf_req_flag
cause things to fail? (so it's not really "irrelevant")

- Second, should Section 8 say something about the flags that are not
related to per-message tokens? (deleg, mutual, anon)

- Section 4 should say either that character case (for things like
"p=3D" and "a=3D") must be exactly as shown here, or that they're case
insensitive (if nothing is said, RFC 5234 strings are by default case
insensitive, I think).

- In Section 5, I would suggest adding parenthesis to the "gs2-cb-flag"
('gs2-cbind-flag  =3D ("p=3D" cb-name) / "n" / "y"') to make it easier
to parse for the reader..

Best regards,
Pasi

From wwwrun@core3.amsl.com  Mon Oct 26 08:05:34 2009
Return-Path: <wwwrun@core3.amsl.com>
X-Original-To: sasl@ietf.org
Delivered-To: sasl@core3.amsl.com
Received: by core3.amsl.com (Postfix, from userid 30) id 160253A696D; Mon, 26 Oct 2009 08:05:33 -0700 (PDT)
X-idtracker: yes
To: IETF-Announce <ietf-announce@ietf.org> 
From: The IESG <iesg-secretary@ietf.org>
Message-Id: <20091026150534.160253A696D@core3.amsl.com>
Date: Mon, 26 Oct 2009 08:05:34 -0700 (PDT)
Cc: sasl@ietf.org
Subject: [sasl] Last Call: draft-ietf-sasl-gs2 (Using GSS-API Mechanisms in SASL: The GS2 Mechanism Family) to Proposed Standard
X-BeenThere: sasl@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
Reply-To: ietf@ietf.org
List-Id: SASL Working Group <sasl.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/sasl>, <mailto:sasl-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/sasl>
List-Post: <mailto:sasl@ietf.org>
List-Help: <mailto:sasl-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/sasl>, <mailto:sasl-request@ietf.org?subject=subscribe>
X-List-Received-Date: Mon, 26 Oct 2009 15:05:34 -0000

The IESG has received a request from the Simple Authentication and 
Security Layer WG (sasl) to consider the following document:

- 'Using GSS-API Mechanisms in SASL: The GS2 Mechanism Family '
   <draft-ietf-sasl-gs2-17.txt> as a Proposed Standard

The IESG plans to make a decision in the next few weeks, and solicits
final comments on this action.  Please send substantive comments to the
ietf@ietf.org mailing lists by 2009-11-18. Exceptionally, 
comments may be sent to iesg@ietf.org instead. In either case, please 
retain the beginning of the Subject line to allow automated sorting.

The file can be obtained via
http://www.ietf.org/internet-drafts/draft-ietf-sasl-gs2-17.txt


IESG discussion can be tracked via
https://datatracker.ietf.org/public/pidtracker.cgi?command=view_id&dTag=14238&rfc_flag=0


From jhutz@cmu.edu  Mon Oct 26 08:42:00 2009
Return-Path: <jhutz@cmu.edu>
X-Original-To: sasl@core3.amsl.com
Delivered-To: sasl@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id 9178B3A6A97 for <sasl@core3.amsl.com>; Mon, 26 Oct 2009 08:42:00 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -4.599
X-Spam-Level: 
X-Spam-Status: No, score=-4.599 tagged_above=-999 required=5 tests=[BAYES_00=-2.599, GB_I_LETTER=-2]
Received: from mail.ietf.org ([64.170.98.32]) by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id h1rE10riK8De for <sasl@core3.amsl.com>; Mon, 26 Oct 2009 08:41:59 -0700 (PDT)
Received: from smtp02.srv.cs.cmu.edu (SMTP02.SRV.CS.CMU.EDU [128.2.217.197]) by core3.amsl.com (Postfix) with ESMTP id 585143A694A for <sasl@ietf.org>; Mon, 26 Oct 2009 08:41:59 -0700 (PDT)
Received: from MINBAR.FAC.CS.CMU.EDU (MINBAR.FAC.CS.CMU.EDU [128.2.216.42]) (authenticated bits=0) by smtp02.srv.cs.cmu.edu (8.13.6/8.13.6) with ESMTP id n9QFg93c011602 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Mon, 26 Oct 2009 11:42:10 -0400 (EDT)
Date: Mon, 26 Oct 2009 11:42:09 -0400
From: Jeffrey Hutzelman <jhutz@cmu.edu>
To: Pasi.Eronen@nokia.com, sasl@ietf.org
Message-ID: <F65304A1F2BF4130124F2B9B@minbar.fac.cs.cmu.edu>
In-Reply-To: <10754_1256562434_n9QD7D4w016698_808FD6E27AD4884E94820BC333B2DB774E7F2F03EC@NOK-EUMSG-01.mgdnok.nokia.com>
References: <10754_1256562434_n9QD7D4w016698_808FD6E27AD4884E94820BC333B2DB774E7F2F03EC@NOK-EUMSG-01.mgdnok.nokia.com>
X-Mailer: Mulberry/4.0.8 (Linux/x86)
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii; format=flowed
Content-Transfer-Encoding: 7bit
Content-Disposition: inline
X-Scanned-By: mimedefang-cmuscs on 128.2.217.197
Subject: Re: [sasl] AD review comments for draft-ietf-sasl-gs2
X-BeenThere: sasl@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: SASL Working Group <sasl.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/sasl>, <mailto:sasl-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/sasl>
List-Post: <mailto:sasl@ietf.org>
List-Help: <mailto:sasl-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/sasl>, <mailto:sasl-request@ietf.org?subject=subscribe>
X-List-Received-Date: Mon, 26 Oct 2009 15:42:01 -0000

--On Monday, October 26, 2009 02:05:43 PM +0100 Pasi.Eronen@nokia.com wrote:

> I've now done my AD review for draft-ietf-sasl-gs2-17. Basically,
> it looks good, so I've asked the secretariat to start IETF Last Call.
>
> I do have couple of minor comments that can be considered as the
> first last call comments:
>
> - I have two questions about Section 8. First, if the GS2 mechanism
> doesn't e.g. support confidentiality, wouldn't setting conf_req_flag
> cause things to fail? (so it's not really "irrelevant")

No.  conf_req_flag indicates a request, not a demand; if the mechanism 
doesn't support confidentiality, or it cannot be negotiated, then you'll 
get a context that doesn't include that feature.  GSS-API applications 
which do require that feature must check that the conf_avail flag is set on 
context establishment, indicating that the feature is available.


> - Second, should Section 8 say something about the flags that are not
> related to per-message tokens? (deleg, mutual, anon)

I'm a fan of being fairly specific about the values that must be passed in 
to the GSS-API, where particular values are needed.  So, I wouldn't object 
to making section 8 a little more verbose.  But, I also don't care very 
much; GS2 doesn't need any of the features requested by these flags, nor 
will it be harmed by requesting them.


> - Section 4 should say either that character case (for things like
> "p=" and "a=") must be exactly as shown here, or that they're case
> insensitive (if nothing is said, RFC 5234 strings are by default case
> insensitive, I think).

In RFC5234 ABNF, strings given in quotes are always case-insensitive.  See 
the bottom of page 5 of that document.  If that's not what we mean, we need 
to specify the letters numerically, like %x61.3d instead of "a=".


-- Jeff

From Nicolas.Williams@sun.com  Mon Oct 26 09:11:59 2009
Return-Path: <Nicolas.Williams@sun.com>
X-Original-To: sasl@core3.amsl.com
Delivered-To: sasl@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id ABDBB28C293 for <sasl@core3.amsl.com>; Mon, 26 Oct 2009 09:11:59 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -5.82
X-Spam-Level: 
X-Spam-Status: No, score=-5.82 tagged_above=-999 required=5 tests=[AWL=0.226,  BAYES_00=-2.599, HELO_MISMATCH_COM=0.553, RCVD_IN_DNSWL_MED=-4]
Received: from mail.ietf.org ([64.170.98.32]) by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id Launqhvl3bzv for <sasl@core3.amsl.com>; Mon, 26 Oct 2009 09:11:58 -0700 (PDT)
Received: from sca-ea-mail-3.sun.com (sca-ea-mail-3.Sun.COM [192.18.43.21]) by core3.amsl.com (Postfix) with ESMTP id 569A228C263 for <sasl@ietf.org>; Mon, 26 Oct 2009 09:11:58 -0700 (PDT)
Received: from dm-central-01.central.sun.com ([129.147.62.4]) by sca-ea-mail-3.sun.com (8.13.6+Sun/8.12.9) with ESMTP id n9QGCBVK003535 for <sasl@ietf.org>; Mon, 26 Oct 2009 16:12:11 GMT
Received: from binky.Central.Sun.COM (binky.Central.Sun.COM [129.153.128.104]) by dm-central-01.central.sun.com (8.13.8+Sun/8.13.8/ENSMAIL, v2.2) with ESMTP id n9QGCB5W028237 for <sasl@ietf.org>; Mon, 26 Oct 2009 10:12:11 -0600 (MDT)
Received: from binky.Central.Sun.COM (localhost [127.0.0.1]) by binky.Central.Sun.COM (8.14.3+Sun/8.14.3) with ESMTP id n9QG0jeu008698; Mon, 26 Oct 2009 11:00:45 -0500 (CDT)
Received: (from nw141292@localhost) by binky.Central.Sun.COM (8.14.3+Sun/8.14.3/Submit) id n9QG0jFI008697;  Mon, 26 Oct 2009 11:00:45 -0500 (CDT)
X-Authentication-Warning: binky.Central.Sun.COM: nw141292 set sender to Nicolas.Williams@sun.com using -f
Date: Mon, 26 Oct 2009 11:00:45 -0500
From: Nicolas Williams <Nicolas.Williams@sun.com>
To: Pasi.Eronen@nokia.com
Message-ID: <20091026160044.GJ892@Sun.COM>
References: <808FD6E27AD4884E94820BC333B2DB774E7F2F03EC@NOK-EUMSG-01.mgdnok.nokia.com>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
In-Reply-To: <808FD6E27AD4884E94820BC333B2DB774E7F2F03EC@NOK-EUMSG-01.mgdnok.nokia.com>
User-Agent: Mutt/1.5.7i
Cc: sasl@ietf.org
Subject: Re: [sasl] AD review comments for draft-ietf-sasl-gs2
X-BeenThere: sasl@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: SASL Working Group <sasl.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/sasl>, <mailto:sasl-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/sasl>
List-Post: <mailto:sasl@ietf.org>
List-Help: <mailto:sasl-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/sasl>, <mailto:sasl-request@ietf.org?subject=subscribe>
X-List-Received-Date: Mon, 26 Oct 2009 16:11:59 -0000

On Mon, Oct 26, 2009 at 02:05:43PM +0100, Pasi.Eronen@nokia.com wrote:
> I do have couple of minor comments that can be considered as the
> first last call comments:
> 
> - I have two questions about Section 8. First, if the GS2 mechanism
> doesn't e.g. support confidentiality, wouldn't setting conf_req_flag
> cause things to fail? (so it's not really "irrelevant")

No because callers of GSS_Init_sec_context() are supposed to check the
ret_flags output argument to ensure that they got what they asked for
(they can get less and more than what they asked for).  Asking for more
than the mechanism can provide does not cause sec context establishment
failure.

> - Second, should Section 8 say something about the flags that are not
> related to per-message tokens? (deleg, mutual, anon)

Hmmm.  Good point.  I think we should REQUIRE that the initiator request
mutual authentication, and that if channel bindings are used then
ret_flags must indicate mutual authentication else GS2 must fail.

But as for anon and deleg, I think those are details of the individual
SASL framework and the GS2 plugin implementations.  I see nothing wrong
with an implementation that provides a SASL interface for requesting
credential delegation / receiving delegated credentials.  Similarly for
anonymity.

> - Section 4 should say either that character case (for things like
> "p=" and "a=") must be exactly as shown here, or that they're case
> insensitive (if nothing is said, RFC 5234 strings are by default case
> insensitive, I think).

Yes, RFC5234, on page 5, says that if you want case-senstive matching
then you must write rules like "rulename = %d97 %d98 %d99" instead of
"rulename = "abc"".  Very annoying, that.

> - In Section 5, I would suggest adding parenthesis to the "gs2-cb-flag"
> ('gs2-cbind-flag  = ("p=" cb-name) / "n" / "y"') to make it easier
> to parse for the reader..

I agree.

Nico
-- 

From simon@josefsson.org  Mon Oct 26 09:54:12 2009
Return-Path: <simon@josefsson.org>
X-Original-To: sasl@core3.amsl.com
Delivered-To: sasl@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id E2C643A68D7 for <sasl@core3.amsl.com>; Mon, 26 Oct 2009 09:54:12 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -3.505
X-Spam-Level: 
X-Spam-Status: No, score=-3.505 tagged_above=-999 required=5 tests=[AWL=1.094,  BAYES_00=-2.599, GB_I_LETTER=-2]
Received: from mail.ietf.org ([64.170.98.32]) by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 6EekyzeSntnQ for <sasl@core3.amsl.com>; Mon, 26 Oct 2009 09:54:12 -0700 (PDT)
Received: from yxa-v.extundo.com (yxa-v.extundo.com [83.241.177.39]) by core3.amsl.com (Postfix) with ESMTP id A1A133A6820 for <sasl@ietf.org>; Mon, 26 Oct 2009 09:54:11 -0700 (PDT)
Received: from mocca.josefsson.org (c80-216-24-211.bredband.comhem.se [80.216.24.211]) (authenticated bits=0) by yxa-v.extundo.com (8.14.3/8.14.3/Debian-5) with ESMTP id n9QGsJmk025551 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES128-SHA bits=128 verify=NOT); Mon, 26 Oct 2009 17:54:21 +0100
From: Simon Josefsson <simon@josefsson.org>
To: <Pasi.Eronen@nokia.com>
References: <808FD6E27AD4884E94820BC333B2DB774E7F2F03EC@NOK-EUMSG-01.mgdnok.nokia.com>
OpenPGP: id=B565716F; url=http://josefsson.org/key.txt
X-Hashcash: 1:22:091026:sasl@ietf.org::naGIIH6R7bGBLtFZ:2XqM
X-Hashcash: 1:22:091026:pasi.eronen@nokia.com::T4/uRxCfBH99Gp2i:3iqT
Date: Mon, 26 Oct 2009 17:54:19 +0100
In-Reply-To: <808FD6E27AD4884E94820BC333B2DB774E7F2F03EC@NOK-EUMSG-01.mgdnok.nokia.com> (Pasi Eronen's message of "Mon, 26 Oct 2009 14:05:43 +0100")
Message-ID: <87aaze85ac.fsf@mocca.josefsson.org>
User-Agent: Gnus/5.110011 (No Gnus v0.11) Emacs/23.1 (gnu/linux)
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
X-Virus-Scanned: clamav-milter 0.95.2 at yxa-v
X-Virus-Status: Clean
Cc: sasl@ietf.org
Subject: Re: [sasl] AD review comments for draft-ietf-sasl-gs2
X-BeenThere: sasl@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: SASL Working Group <sasl.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/sasl>, <mailto:sasl-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/sasl>
List-Post: <mailto:sasl@ietf.org>
List-Help: <mailto:sasl-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/sasl>, <mailto:sasl-request@ietf.org?subject=subscribe>
X-List-Received-Date: Mon, 26 Oct 2009 16:54:13 -0000

<Pasi.Eronen@nokia.com> writes:

> I've now done my AD review for draft-ietf-sasl-gs2-17. Basically,
> it looks good, so I've asked the secretariat to start IETF Last Call.

Great!

> I do have couple of minor comments that can be considered as the
> first last call comments:
>
> - I have two questions about Section 8. First, if the GS2 mechanism
> doesn't e.g. support confidentiality, wouldn't setting conf_req_flag
> cause things to fail? (so it's not really "irrelevant")

I believe discussion indicates no action is required.

> - Second, should Section 8 say something about the flags that are not
> related to per-message tokens? (deleg, mutual, anon)

I'm not sure what to add, but will add text if suggested.

> - Section 4 should say either that character case (for things like
> "p=" and "a=") must be exactly as shown here, or that they're case
> insensitive (if nothing is said, RFC 5234 strings are by default case
> insensitive, I think).

I added this paragraph before the ABNF:

	  <t>The figure below describes the permissible attributes,
	    their use, and the format of their values.  All attribute
	    names are single US-ASCII letters and are
	    case-sensitive.</t>

> - In Section 5, I would suggest adding parenthesis to the "gs2-cb-flag"
> ('gs2-cbind-flag  = ("p=" cb-name) / "n" / "y"') to make it easier
> to parse for the reader..

Agreed.

Live document available from:
http://josefsson.org/sasl-gs2/draft-ietf-sasl-gs2.txt

Comparison against -17 is also available:
http://josefsson.org/sasl-gs2/draft-ietf-sasl-gs2-from--17.diff.html

Thanks,
/Simon

From Nicolas.Williams@sun.com  Mon Oct 26 10:12:37 2009
Return-Path: <Nicolas.Williams@sun.com>
X-Original-To: sasl@core3.amsl.com
Delivered-To: sasl@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id B46443A6921 for <sasl@core3.amsl.com>; Mon, 26 Oct 2009 10:12:37 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -6.83
X-Spam-Level: 
X-Spam-Status: No, score=-6.83 tagged_above=-999 required=5 tests=[AWL=1.216,  BAYES_00=-2.599, GB_I_LETTER=-2, HELO_MISMATCH_COM=0.553, RCVD_IN_DNSWL_MED=-4]
Received: from mail.ietf.org ([64.170.98.32]) by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id GFk6DKSFG7E1 for <sasl@core3.amsl.com>; Mon, 26 Oct 2009 10:12:36 -0700 (PDT)
Received: from sca-ea-mail-4.sun.com (sca-ea-mail-4.Sun.COM [192.18.43.22]) by core3.amsl.com (Postfix) with ESMTP id 633643A6916 for <sasl@ietf.org>; Mon, 26 Oct 2009 10:12:36 -0700 (PDT)
Received: from dm-central-02.central.sun.com ([129.147.62.5]) by sca-ea-mail-4.sun.com (8.13.6+Sun/8.12.9) with ESMTP id n9QHCnum022331 for <sasl@ietf.org>; Mon, 26 Oct 2009 17:12:49 GMT
Received: from binky.Central.Sun.COM (binky.Central.Sun.COM [129.153.128.104]) by dm-central-02.central.sun.com (8.13.8+Sun/8.13.8/ENSMAIL, v2.2) with ESMTP id n9QHCnii054130 for <sasl@ietf.org>; Mon, 26 Oct 2009 11:12:49 -0600 (MDT)
Received: from binky.Central.Sun.COM (localhost [127.0.0.1]) by binky.Central.Sun.COM (8.14.3+Sun/8.14.3) with ESMTP id n9QH1KCk008757; Mon, 26 Oct 2009 12:01:20 -0500 (CDT)
Received: (from nw141292@localhost) by binky.Central.Sun.COM (8.14.3+Sun/8.14.3/Submit) id n9QH1JCL008756;  Mon, 26 Oct 2009 12:01:19 -0500 (CDT)
X-Authentication-Warning: binky.Central.Sun.COM: nw141292 set sender to Nicolas.Williams@sun.com using -f
Date: Mon, 26 Oct 2009 12:01:19 -0500
From: Nicolas Williams <Nicolas.Williams@sun.com>
To: Simon Josefsson <simon@josefsson.org>
Message-ID: <20091026170119.GL892@Sun.COM>
References: <808FD6E27AD4884E94820BC333B2DB774E7F2F03EC@NOK-EUMSG-01.mgdnok.nokia.com> <87aaze85ac.fsf@mocca.josefsson.org>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
In-Reply-To: <87aaze85ac.fsf@mocca.josefsson.org>
User-Agent: Mutt/1.5.7i
Cc: sasl@ietf.org
Subject: Re: [sasl] AD review comments for draft-ietf-sasl-gs2
X-BeenThere: sasl@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: SASL Working Group <sasl.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/sasl>, <mailto:sasl-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/sasl>
List-Post: <mailto:sasl@ietf.org>
List-Help: <mailto:sasl-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/sasl>, <mailto:sasl-request@ietf.org?subject=subscribe>
X-List-Received-Date: Mon, 26 Oct 2009 17:12:37 -0000

On Mon, Oct 26, 2009 at 05:54:19PM +0100, Simon Josefsson wrote:
> <Pasi.Eronen@nokia.com> writes:
> > - Second, should Section 8 say something about the flags that are not
> > related to per-message tokens? (deleg, mutual, anon)
> 
> I'm not sure what to add, but will add text if suggested.

I think we should add something like this:

   The mutual_req_flag MUST be set.  If channel binding is used then the
   client MUST check that the corresponding ret_flag is set when the
   context is fully establish, else authentication MUST fail.

The first requirement is important, while the rest is, IMO, redundant --
channel binding necessarily implies mutual authentication in the
Kerberos sense.  Note that we don't require checking that mutual
authentication actually happened.

SCRAM, incidentally, provides mutual authentication in the Kerberos
sense.  We should state that in the SCRAM doc (oops; but we can still
make that change).  SCRAM does not provide mutual authen. in the sense
that both, the client and server have names that are each authenticated
to the other (SCRAM has no notion of server naming).

And we should add something like this too:

   Use or non-use of deleg_req_flag and anon_req_flag is an
   implementation-specific detail.  SASL and GS2 implementors are
   encouraged to provide programming interfaces by which clients may
   choose to delegate credentials and by which servers may receive them.
   SASL and GS2 implementors are encouraged to provide programming
   interfaces which provide a good mapping of GSS-API naming options.

> > - Section 4 should say either that character case (for things like
> > "p=" and "a=") must be exactly as shown here, or that they're case
> > insensitive (if nothing is said, RFC 5234 strings are by default case
> > insensitive, I think).
> 
> I added this paragraph before the ABNF:
> 
> 	  <t>The figure below describes the permissible attributes,
> 	    their use, and the format of their values.  All attribute
> 	    names are single US-ASCII letters and are
> 	    case-sensitive.</t>

For the record, I don't mind if they're really case-insensitive.

Nico
-- 

From wwwrun@core3.amsl.com  Mon Oct 26 14:08:15 2009
Return-Path: <wwwrun@core3.amsl.com>
X-Original-To: sasl@ietf.org
Delivered-To: sasl@core3.amsl.com
Received: by core3.amsl.com (Postfix, from userid 30) id 38F943A69AE; Mon, 26 Oct 2009 14:08:14 -0700 (PDT)
X-idtracker: yes
From: The IESG <iesg-secretary@ietf.org>
To: IETF-Announce <ietf-announce@ietf.org>
Message-Id: <20091026210815.38F943A69AE@core3.amsl.com>
Date: Mon, 26 Oct 2009 14:08:15 -0700 (PDT)
Cc: sasl chair <sasl-chairs@tools.ietf.org>, Internet Architecture Board <iab@iab.org>, sasl mailing list <sasl@ietf.org>, RFC Editor <rfc-editor@rfc-editor.org>
Subject: [sasl] Protocol Action: 'Salted Challenge Response (SCRAM) SASL and GSS-API Mechanism' to Proposed Standard
X-BeenThere: sasl@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: SASL Working Group <sasl.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/sasl>, <mailto:sasl-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/sasl>
List-Post: <mailto:sasl@ietf.org>
List-Help: <mailto:sasl-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/sasl>, <mailto:sasl-request@ietf.org?subject=subscribe>
X-List-Received-Date: Mon, 26 Oct 2009 21:08:15 -0000

The IESG has approved the following document:

- 'Salted Challenge Response (SCRAM) SASL and GSS-API Mechanism '
   <draft-ietf-sasl-scram-10.txt> as a Proposed Standard


This document is the product of the Simple Authentication and Security Layer Working Group. 

The IESG contact persons are Pasi Eronen and Tim Polk.

A URL of this Internet-Draft is:
http://www.ietf.org/internet-drafts/draft-ietf-sasl-scram-10.txt

Technical Summary

   The secure authentication mechanism most widely deployed and used
   by Internet application protocols is the transmission of clear-text
   passwords over a channel protected by Transport Layer Security
   (TLS).  There are some significant security concerns with that
   mechanism, which could be addressed by the use of a challenge
   response authentication mechanism protected by TLS.  Unfortunately,
   the challenge response mechanisms presently on the standards track
   all fail to meet requirements necessary for widespread deployment,
   and have had success only in limited use.

   This specification describes a family of Simple Authentication and
   Security Layer (SASL, RFC 4422) authentication mechanisms called
   the Salted Challenge Response Authentication Mechanism (SCRAM),
   which addresses the security concerns and meets the deployability
   requirements.  When used in combination with TLS or an equivalent
   security layer, a mechanism from this family could improve the
   status-quo for application protocol authentication and provide a
   suitable choice for a mandatory-to-implement mechanism for future
   application protocol standards.

Working Group Summary

   There were significant and long discussions over several design
   choices, worth mentioning are:

   1) Hash function.  The decision was to define a SASL mechanism
   family to allow for future extension, but not register it as a
   family in the IANA registry.  The decision is to use HMAC-SHA-1 as
   the initial default, and to register SCRAM-SHA-1* the mechanism
   name.  The alternatives considered were HMAC-MD5 and HMAC-SHA-2.
   HMAC-SHA-1 was the compromise proposal.  

   2) Channel binding type negotiation.  After long considerations, it
   was decided to leave channel binding type negotiation external to
   SCRAM and to provide a default of tls-unique.  This simplify the
   design and makes it easy to implement in popular configurations
   (i.e., together with TLS).  

   3) IANA policy.  Two aspects have been considered.  First, whether
   to actually register a SASL mechanism family or just define a
   family and register the two family members as separate mechanism
   names.  The conclusion has been to register a family.  Secondly,
   the registration policy has been discussed.  

Document Quality

   There are several early experimental implementations and more
   implementers are interested.

Personnel

   The document shepherd is Simon Josefsson, and the responsible
   area director is Pasi Eronen.


From alexey.melnikov@isode.com  Tue Oct 27 06:01:58 2009
Return-Path: <alexey.melnikov@isode.com>
X-Original-To: sasl@core3.amsl.com
Delivered-To: sasl@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id C1E873A6864 for <sasl@core3.amsl.com>; Tue, 27 Oct 2009 06:01:58 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.472
X-Spam-Level: 
X-Spam-Status: No, score=-2.472 tagged_above=-999 required=5 tests=[AWL=0.127,  BAYES_00=-2.599]
Received: from mail.ietf.org ([64.170.98.32]) by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id jSvHecrfuZrx for <sasl@core3.amsl.com>; Tue, 27 Oct 2009 06:01:58 -0700 (PDT)
Received: from rufus.isode.com (rufus.isode.com [62.3.217.251]) by core3.amsl.com (Postfix) with ESMTP id E77143A6828 for <sasl@ietf.org>; Tue, 27 Oct 2009 06:01:57 -0700 (PDT)
Received: from [172.16.2.124] (shiny.isode.com [62.3.217.250])  by rufus.isode.com (submission channel) via TCP with ESMTPA  id <SubvUQBfG1MN@rufus.isode.com>; Tue, 27 Oct 2009 13:02:11 +0000
Message-ID: <4AE6EF53.3040800@isode.com>
Date: Tue, 27 Oct 2009 13:02:11 +0000
From: Alexey Melnikov <alexey.melnikov@isode.com>
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.1.21) Gecko/20090303 SeaMonkey/1.1.15
To: Nicolas Williams <Nicolas.Williams@sun.com>
References: <808FD6E27AD4884E94820BC333B2DB774E7F2F03EC@NOK-EUMSG-01.mgdnok.nokia.com> <20091026160044.GJ892@Sun.COM>
In-Reply-To: <20091026160044.GJ892@Sun.COM>
MIME-Version: 1.0
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
Cc: sasl@ietf.org
Subject: Re: [sasl] AD review comments for draft-ietf-sasl-gs2
X-BeenThere: sasl@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: SASL Working Group <sasl.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/sasl>, <mailto:sasl-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/sasl>
List-Post: <mailto:sasl@ietf.org>
List-Help: <mailto:sasl-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/sasl>, <mailto:sasl-request@ietf.org?subject=subscribe>
X-List-Received-Date: Tue, 27 Oct 2009 13:01:58 -0000

Nicolas Williams wrote:
> On Mon, Oct 26, 2009 at 02:05:43PM +0100, Pasi.Eronen@nokia.com wrote:
>   
 [...]
>> - Second, should Section 8 say something about the flags that are not
>> related to per-message tokens? (deleg, mutual, anon)
>>     
> Hmmm.  Good point.  I think we should REQUIRE that the initiator request
> mutual authentication, and that if channel bindings are used then
> ret_flags must indicate mutual authentication else GS2 must fail.
>   
+1.
> But as for anon and deleg, I think those are details of the individual
> SASL framework and the GS2 plugin implementations.  I see nothing wrong
> with an implementation that provides a SASL interface for requesting
> credential delegation / receiving delegated credentials.  Similarly for
> anonymity.
>   
+1.
>> - Section 4 should say either that character case (for things like
>> "p=" and "a=") must be exactly as shown here, or that they're case
>> insensitive (if nothing is said, RFC 5234 strings are by default case
>> insensitive, I think).
>>     
> Yes, RFC5234, on page 5, says that if you want case-senstive matching
> then you must write rules like "rulename = %d97 %d98 %d99" instead of
> "rulename = "abc"".  Very annoying, that.
>   
Yes, it is annoying.
I think the intent was to have all attribute names to be case-sensitive.
>> - In Section 5, I would suggest adding parenthesis to the "gs2-cb-flag"
>> ('gs2-cbind-flag  = ("p=" cb-name) / "n" / "y"') to make it easier
>> to parse for the reader..
>>     
> I agree.
>   
Fine with me.


From stpeter@stpeter.im  Tue Oct 27 15:24:31 2009
Return-Path: <stpeter@stpeter.im>
X-Original-To: sasl@core3.amsl.com
Delivered-To: sasl@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id 648E23A6844 for <sasl@core3.amsl.com>; Tue, 27 Oct 2009 15:24:31 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.579
X-Spam-Level: 
X-Spam-Status: No, score=-2.579 tagged_above=-999 required=5 tests=[AWL=0.020,  BAYES_00=-2.599]
Received: from mail.ietf.org ([64.170.98.32]) by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 9v89fqMye5Eo for <sasl@core3.amsl.com>; Tue, 27 Oct 2009 15:24:30 -0700 (PDT)
Received: from stpeter.im (stpeter.im [207.210.219.233]) by core3.amsl.com (Postfix) with ESMTP id AC2C63A67FB for <sasl@ietf.org>; Tue, 27 Oct 2009 15:24:30 -0700 (PDT)
Received: from dhcp-64-101-72-247.cisco.com (dhcp-64-101-72-247.cisco.com [64.101.72.247]) (Authenticated sender: stpeter) by stpeter.im (Postfix) with ESMTPSA id 6B3934008F for <sasl@ietf.org>; Tue, 27 Oct 2009 16:24:45 -0600 (MDT)
Message-ID: <4AE7732C.2060909@stpeter.im>
Date: Tue, 27 Oct 2009 16:24:44 -0600
From: Peter Saint-Andre <stpeter@stpeter.im>
User-Agent: Thunderbird 2.0.0.23 (Macintosh/20090812)
MIME-Version: 1.0
To: sasl mailing list <sasl@ietf.org>
References: <20091026210815.38F943A69AE@core3.amsl.com>
In-Reply-To: <20091026210815.38F943A69AE@core3.amsl.com>
X-Enigmail-Version: 0.96.0
OpenPGP: url=http://www.saint-andre.com/me/stpeter.asc
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 7bit
Subject: Re: [sasl] Protocol Action: 'Salted Challenge Response (SCRAM) SASL and	GSS-API Mechanism' to Proposed Standard
X-BeenThere: sasl@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: SASL Working Group <sasl.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/sasl>, <mailto:sasl-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/sasl>
List-Post: <mailto:sasl@ietf.org>
List-Help: <mailto:sasl-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/sasl>, <mailto:sasl-request@ietf.org?subject=subscribe>
X-List-Received-Date: Tue, 27 Oct 2009 22:24:31 -0000

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On 10/26/09 3:08 PM, The IESG wrote:
> The IESG has approved the following document:
> 
> - 'Salted Challenge Response (SCRAM) SASL and GSS-API Mechanism '
>    <draft-ietf-sasl-scram-10.txt> as a Proposed Standard

DIGEST-MD5 Delenda Est! :)

Congratulations to the authors.

/psa


-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.8 (Darwin)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAkrncywACgkQNL8k5A2w/vwy7QCfcDKbtezEB38s6tB1dgPikUBo
0dIAoI0JLvkTEKHxkITbzyKona+ZRxyx
=DBVP
-----END PGP SIGNATURE-----

From tlyu@MIT.EDU  Tue Oct 27 15:41:10 2009
Return-Path: <tlyu@MIT.EDU>
X-Original-To: sasl@core3.amsl.com
Delivered-To: sasl@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id D14373A696C for <sasl@core3.amsl.com>; Tue, 27 Oct 2009 15:41:10 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -5.762
X-Spam-Level: 
X-Spam-Status: No, score=-5.762 tagged_above=-999 required=5 tests=[AWL=0.837,  BAYES_00=-2.599, RCVD_IN_DNSWL_MED=-4]
Received: from mail.ietf.org ([64.170.98.32]) by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id HJ8w43R325s6 for <sasl@core3.amsl.com>; Tue, 27 Oct 2009 15:41:10 -0700 (PDT)
Received: from biscayne-one-station.mit.edu (BISCAYNE-ONE-STATION.MIT.EDU [18.7.7.80]) by core3.amsl.com (Postfix) with ESMTP id CEEF93A6915 for <sasl@ietf.org>; Tue, 27 Oct 2009 15:41:09 -0700 (PDT)
Received: from outgoing.mit.edu (OUTGOING-AUTH.MIT.EDU [18.7.22.103]) by biscayne-one-station.mit.edu (8.13.6/8.9.2) with ESMTP id n9RMfCLO026306 for <sasl@ietf.org>; Tue, 27 Oct 2009 18:41:13 -0400 (EDT)
Received: from cathode-dark-space.mit.edu (CATHODE-DARK-SPACE.MIT.EDU [18.18.1.96]) (authenticated bits=56) (User authenticated as tlyu@ATHENA.MIT.EDU) by outgoing.mit.edu (8.13.6/8.12.4) with ESMTP id n9RMfNMI002067 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT) for <sasl@ietf.org>; Tue, 27 Oct 2009 18:41:24 -0400 (EDT)
Received: (from tlyu@localhost) by cathode-dark-space.mit.edu (8.12.9.20060308) id n9RMfJYW027086; Tue, 27 Oct 2009 18:41:19 -0400 (EDT)
To: sasl@ietf.org
From: Tom Yu <tlyu@MIT.EDU>
Date: Tue, 27 Oct 2009 18:41:19 -0400
Message-ID: <ldvd448jw8g.fsf@cathode-dark-space.mit.edu>
Lines: 19
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
X-Scanned-By: MIMEDefang 2.42
Subject: [sasl] SASL WG agenda and attendance
X-BeenThere: sasl@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: SASL Working Group <sasl.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/sasl>, <mailto:sasl-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/sasl>
List-Post: <mailto:sasl@ietf.org>
List-Help: <mailto:sasl-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/sasl>, <mailto:sasl-request@ietf.org?subject=subscribe>
X-List-Received-Date: Tue, 27 Oct 2009 22:41:11 -0000

I currently plan to attend the Hiroshima meeting.  Polling of other
related working groups indicates that some of the usual participants
will not attend, and I have no agenda set for this session yet.  If
there is something that it would be helpful for us to discuss in
Hiroshima, please suggest agenda items soon: the deadline is tomorrow.

Is there anything left to discuss?  The IESG has approved SCRAM and
GS2 is in IETF Last Call.  I haven't seen very much movement on
SASLprep or 4422bis recently.  Is there anything else I've missed?

If you are planning to attend the SASL WG meeting in Hiroshima, please
respond.  We may cancel the SASL WG session if there is not enough
interest, and it would be best to know before Friday so that people
can minimize cancellation and penalty fees if they choose not to
attend IETF76.  Thanks.

-- 
Tom Yu
IETF SASL WG co-chair

From Pasi.Eronen@nokia.com  Wed Oct 28 00:24:54 2009
Return-Path: <Pasi.Eronen@nokia.com>
X-Original-To: sasl@core3.amsl.com
Delivered-To: sasl@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id 4E5553A689C for <sasl@core3.amsl.com>; Wed, 28 Oct 2009 00:24:54 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -6.563
X-Spam-Level: 
X-Spam-Status: No, score=-6.563 tagged_above=-999 required=5 tests=[AWL=0.036,  BAYES_00=-2.599, RCVD_IN_DNSWL_MED=-4]
Received: from mail.ietf.org ([64.170.98.32]) by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id sb7WpcNtGI3q for <sasl@core3.amsl.com>; Wed, 28 Oct 2009 00:24:53 -0700 (PDT)
Received: from mgw-mx09.nokia.com (smtp.nokia.com [192.100.105.134]) by core3.amsl.com (Postfix) with ESMTP id 7CEAA3A680B for <sasl@ietf.org>; Wed, 28 Oct 2009 00:24:53 -0700 (PDT)
Received: from vaebh105.NOE.Nokia.com (vaebh105.europe.nokia.com [10.160.244.31]) by mgw-mx09.nokia.com (Switch-3.3.3/Switch-3.3.3) with ESMTP id n9S7Nuc6022861; Wed, 28 Oct 2009 02:25:07 -0500
Received: from vaebh104.NOE.Nokia.com ([10.160.244.30]) by vaebh105.NOE.Nokia.com with Microsoft SMTPSVC(6.0.3790.3959);  Wed, 28 Oct 2009 09:25:04 +0200
Received: from smtp.mgd.nokia.com ([65.54.30.6]) by vaebh104.NOE.Nokia.com over TLS secured channel with Microsoft SMTPSVC(6.0.3790.3959);  Wed, 28 Oct 2009 09:24:57 +0200
Received: from NOK-EUMSG-01.mgdnok.nokia.com ([65.54.30.86]) by nok-am1mhub-02.mgdnok.nokia.com ([65.54.30.6]) with mapi; Wed, 28 Oct 2009 08:24:57 +0100
From: <Pasi.Eronen@nokia.com>
To: <alexey.melnikov@isode.com>
Date: Wed, 28 Oct 2009 08:24:56 +0100
Thread-Topic: Next steps for draft-melnikov-sasl-scram-ldap
Thread-Index: AcpXn8AFqj5p1nfOTVOdC3wxqa4wFQ==
Message-ID: <808FD6E27AD4884E94820BC333B2DB774E7F5E058F@NOK-EUMSG-01.mgdnok.nokia.com>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach: 
X-MS-TNEF-Correlator: 
acceptlanguage: en-US
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: quoted-printable
MIME-Version: 1.0
X-OriginalArrivalTime: 28 Oct 2009 07:24:57.0518 (UTC) FILETIME=[C08A34E0:01CA579F]
X-Nokia-AV: Clean
Cc: sasl@ietf.org
Subject: [sasl] Next steps for draft-melnikov-sasl-scram-ldap
X-BeenThere: sasl@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: SASL Working Group <sasl.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/sasl>, <mailto:sasl-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/sasl>
List-Post: <mailto:sasl@ietf.org>
List-Help: <mailto:sasl-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/sasl>, <mailto:sasl-request@ietf.org?subject=subscribe>
X-List-Received-Date: Wed, 28 Oct 2009 07:24:54 -0000

The IETF Last Call for scram-ldap has ended. According to my notes,=20
the following comments were received:

Peter Saint-Andre:
http://www.ietf.org/mail-archive/web/sasl/current/msg04319.html

Chris Lonvick's SecDir review:
http://www.ietf.org/mail-archive/web/secdir/current/msg01143.html
http://www.ietf.org/mail-archive/web/secdir/current/msg01145.html
http://www.ietf.org/mail-archive/web/secdir/current/msg01146.html

IANA's review:
https://datatracker.ietf.org/idtracker/draft-melnikov-sasl-scram-ldap/comme=
nt/103943/

It looks like the draft needs some small changes (mostly of editorial
nature), so I've changed the state to ::Revised ID Needed.

(Although draft submissions are currently closed, they will re-open
again on November 9, and the next IESG telechat isn't until after
IETF76.)

Best regards,
Pasi

From larry.zhu@microsoft.com  Wed Oct 28 03:17:49 2009
Return-Path: <larry.zhu@microsoft.com>
X-Original-To: sasl@core3.amsl.com
Delivered-To: sasl@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id E97B83A679C; Wed, 28 Oct 2009 03:17:49 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -10.599
X-Spam-Level: 
X-Spam-Status: No, score=-10.599 tagged_above=-999 required=5 tests=[BAYES_00=-2.599, RCVD_IN_DNSWL_HI=-8]
Received: from mail.ietf.org ([64.170.98.32]) by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 2IKN+Ft8fX88; Wed, 28 Oct 2009 03:17:49 -0700 (PDT)
Received: from smtp.microsoft.com (mail2.microsoft.com [131.107.115.215]) by core3.amsl.com (Postfix) with ESMTP id 1A5003A67D8; Wed, 28 Oct 2009 03:17:49 -0700 (PDT)
Received: from TK5EX14MLTC102.redmond.corp.microsoft.com (157.54.79.180) by TK5-EXGWY-E802.partners.extranet.microsoft.com (10.251.56.168) with Microsoft SMTP Server (TLS) id 8.2.176.0; Wed, 28 Oct 2009 03:18:03 -0700
Received: from TK5EX14MLTW652.wingroup.windeploy.ntdev.microsoft.com (157.54.71.68) by TK5EX14MLTC102.redmond.corp.microsoft.com (157.54.79.180) with Microsoft SMTP Server id 14.0.639.20; Wed, 28 Oct 2009 03:18:03 -0700
Received: from TK5EX14MBXW653.wingroup.windeploy.ntdev.microsoft.com ([169.254.3.181]) by TK5EX14MLTW652.wingroup.windeploy.ntdev.microsoft.com ([157.54.71.68]) with mapi; Wed, 28 Oct 2009 03:18:04 -0700
From: Larry Zhu <larry.zhu@microsoft.com>
To: "channel-binding@ietf.org" <channel-binding@ietf.org>, "tls@ietf.org" <tls@ietf.org>, "sasl@ietf.org" <sasl@ietf.org>
Thread-Topic: lasgt call comments (st Call: draft-altman-tls-channel-bindings (Channel	Bindings for TLS) to Proposed Standard)
Thread-Index: AQHKV7fuvme20kL+T0ihZxz3sI4KRA==
Date: Wed, 28 Oct 2009 10:18:04 +0000
Message-ID: <D3DC9D45B39CFC4CB312B2DD279B354C29BAE0E5@TK5EX14MBXW653.wingroup.windeploy.ntdev.microsoft.com>
References: <20091005162704.8C1B43A6873@core3.amsl.com> 
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach: 
X-MS-TNEF-Correlator: 
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: quoted-printable
MIME-Version: 1.0
Subject: Re: [sasl] lasgt call comments (st Call: draft-altman-tls-channel-bindings (Channel	Bindings for TLS) to Proposed Standard)
X-BeenThere: sasl@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: SASL Working Group <sasl.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/sasl>, <mailto:sasl-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/sasl>
List-Post: <mailto:sasl@ietf.org>
List-Help: <mailto:sasl-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/sasl>, <mailto:sasl-request@ietf.org?subject=subscribe>
X-List-Received-Date: Wed, 28 Oct 2009 10:17:50 -0000

There is a design issue in tls-unique. For vendors who implement TLS in a s=
eparate library, the TLS library does not by itself control the transport t=
herefore it would not know if there is a new connection, so that the curren=
t specification is not implementable for these vendors.

It would be much easier to say the following instead:

The client's TLS Finished message from the first handshake of the session (=
note: TLS session, not connection, so that the channel binding is specific =
to each TLS session regardless of whether session resumption is used).

And the updated text does reflect what has been deployed for tls-unique. =20

I would like to raise a red flag now. Needless to say that I will start a d=
iscussion with the responsible AD and the rest of the editors of this ID to=
 fix this issue, and do so based on consensus.=20

Pasi, please consider this issue blocking for now.

Thanks,

--Larry

-----Original Message-----
From: tls-bounces@ietf.org [mailto:tls-bounces@ietf.org] On Behalf Of The I=
ESG
Sent: Monday, October 05, 2009 9:27 AM
To: IETF-Announce
Cc: channel-binding@ietf.org; tls@ietf.org; sasl@ietf.org
Subject: [TLS] Last Call: draft-altman-tls-channel-bindings (Channel Bindin=
gs for TLS) to Proposed Standard

The IESG has received a request from an individual submitter to consider=20
the following document:

- 'Channel Bindings for TLS '
   <draft-altman-tls-channel-bindings-07.txt> as a Proposed Standard

The IESG plans to make a decision in the next few weeks, and solicits
final comments on this action.  Please send substantive comments to the
ietf@ietf.org mailing lists by 2009-11-02. Exceptionally,=20
comments may be sent to iesg@ietf.org instead. In either case, please=20
retain the beginning of the Subject line to allow automated sorting.

The file can be obtained via
http://www.ietf.org/internet-drafts/draft-altman-tls-channel-bindings-07.tx=
t


IESG discussion can be tracked via
https://datatracker.ietf.org/public/pidtracker.cgi?command=3Dview_id&dTag=
=3D15087&rfc_flag=3D0

_______________________________________________
TLS mailing list
TLS@ietf.org
https://www.ietf.org/mailman/listinfo/tls


From Pasi.Eronen@nokia.com  Wed Oct 28 06:27:05 2009
Return-Path: <Pasi.Eronen@nokia.com>
X-Original-To: sasl@core3.amsl.com
Delivered-To: sasl@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id CEEAA28C18C; Wed, 28 Oct 2009 06:27:05 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -6.565
X-Spam-Level: 
X-Spam-Status: No, score=-6.565 tagged_above=-999 required=5 tests=[AWL=0.034,  BAYES_00=-2.599, RCVD_IN_DNSWL_MED=-4]
Received: from mail.ietf.org ([64.170.98.32]) by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id lhryLCXE0z5U; Wed, 28 Oct 2009 06:27:05 -0700 (PDT)
Received: from mgw-mx06.nokia.com (smtp.nokia.com [192.100.122.233]) by core3.amsl.com (Postfix) with ESMTP id 83EB328C171; Wed, 28 Oct 2009 06:27:04 -0700 (PDT)
Received: from vaebh106.NOE.Nokia.com (vaebh106.europe.nokia.com [10.160.244.32]) by mgw-mx06.nokia.com (Switch-3.3.3/Switch-3.3.3) with ESMTP id n9SDQ5HJ027250; Wed, 28 Oct 2009 15:27:16 +0200
Received: from vaebh104.NOE.Nokia.com ([10.160.244.30]) by vaebh106.NOE.Nokia.com with Microsoft SMTPSVC(6.0.3790.3959);  Wed, 28 Oct 2009 15:27:11 +0200
Received: from smtp.mgd.nokia.com ([65.54.30.8]) by vaebh104.NOE.Nokia.com over TLS secured channel with Microsoft SMTPSVC(6.0.3790.3959);  Wed, 28 Oct 2009 15:27:07 +0200
Received: from NOK-EUMSG-01.mgdnok.nokia.com ([65.54.30.86]) by nok-am1mhub-04.mgdnok.nokia.com ([65.54.30.8]) with mapi; Wed, 28 Oct 2009 14:27:07 +0100
From: <Pasi.Eronen@nokia.com>
To: <larry.zhu@microsoft.com>, <channel-binding@ietf.org>, <tls@ietf.org>, <sasl@ietf.org>
Date: Wed, 28 Oct 2009 14:27:04 +0100
Thread-Topic: [sasl] lasgt call comments (st Call: draft-altman-tls-channel-bindings (Channel	Bindings for TLS) to Proposed Standard)
Thread-Index: AQHKV7fuvme20kL+T0ihZxz3sI4KRJEa9Icg
Message-ID: <808FD6E27AD4884E94820BC333B2DB774E7F66078D@NOK-EUMSG-01.mgdnok.nokia.com>
References: <20091005162704.8C1B43A6873@core3.amsl.com> <D3DC9D45B39CFC4CB312B2DD279B354C29BAE0E5@TK5EX14MBXW653.wingroup.windeploy.ntdev.microsoft.com>
In-Reply-To: <D3DC9D45B39CFC4CB312B2DD279B354C29BAE0E5@TK5EX14MBXW653.wingroup.windeploy.ntdev.microsoft.com>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach: 
X-MS-TNEF-Correlator: 
acceptlanguage: en-US
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: quoted-printable
MIME-Version: 1.0
X-OriginalArrivalTime: 28 Oct 2009 13:27:07.0071 (UTC) FILETIME=[585CDCF0:01CA57D2]
X-Nokia-AV: Clean
Subject: Re: [sasl] lasgt call comments (st Call: draft-altman-tls-channel-bindings (Channel	Bindings for TLS) to Proposed Standard)
X-BeenThere: sasl@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: SASL Working Group <sasl.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/sasl>, <mailto:sasl-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/sasl>
List-Post: <mailto:sasl@ietf.org>
List-Help: <mailto:sasl-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/sasl>, <mailto:sasl-request@ietf.org?subject=subscribe>
X-List-Received-Date: Wed, 28 Oct 2009 13:27:05 -0000

Larry,

Could you elaborate a bit about your first paragraph? =20

Certainly the TLS library knows when there's a new connection, because
it receives (on the server) or sends (on the client) an unencrypted=20
ClientHello message?

Best regards,
Pasi

> -----Original Message-----
> From: sasl-bounces@ietf.org [mailto:sasl-bounces@ietf.org] On Behalf Of
> ext Larry Zhu
> Sent: 28 October, 2009 12:18
> To: channel-binding@ietf.org; tls@ietf.org; sasl@ietf.org
> Subject: Re: [sasl] lasgt call comments (st Call: draft-altman-tls-
> channel-bindings (Channel Bindings for TLS) to Proposed Standard)
>=20
>=20
> There is a design issue in tls-unique. For vendors who implement TLS in
> a separate library, the TLS library does not by itself control the
> transport therefore it would not know if there is a new connection, so
> that the current specification is not implementable for these vendors.
>=20
> It would be much easier to say the following instead:
>=20
> The client's TLS Finished message from the first handshake of the
> session (note: TLS session, not connection, so that the channel binding
> is specific to each TLS session regardless of whether session
> resumption is used).
>=20
> And the updated text does reflect what has been deployed for tls-
> unique.
>=20
> I would like to raise a red flag now. Needless to say that I will start
> a discussion with the responsible AD and the rest of the editors of
> this ID to fix this issue, and do so based on consensus.
>=20
> Pasi, please consider this issue blocking for now.
>=20
> Thanks,
>=20
> --Larry
>=20
> -----Original Message-----
> From: tls-bounces@ietf.org [mailto:tls-bounces@ietf.org] On Behalf Of
> The IESG
> Sent: Monday, October 05, 2009 9:27 AM
> To: IETF-Announce
> Cc: channel-binding@ietf.org; tls@ietf.org; sasl@ietf.org
> Subject: [TLS] Last Call: draft-altman-tls-channel-bindings (Channel
> Bindings for TLS) to Proposed Standard
>=20
> The IESG has received a request from an individual submitter to
> consider
> the following document:
>=20
> - 'Channel Bindings for TLS '
>    <draft-altman-tls-channel-bindings-07.txt> as a Proposed Standard
>=20
> The IESG plans to make a decision in the next few weeks, and solicits
> final comments on this action.  Please send substantive comments to the
> ietf@ietf.org mailing lists by 2009-11-02. Exceptionally,
> comments may be sent to iesg@ietf.org instead. In either case, please
> retain the beginning of the Subject line to allow automated sorting.
>=20
> The file can be obtained via
> http://www.ietf.org/internet-drafts/draft-altman-tls-channel-bindings-
> 07.txt
>=20
>=20
> IESG discussion can be tracked via
> https://datatracker.ietf.org/public/pidtracker.cgi?command=3Dview_id&dTag
> =3D15087&rfc_flag=3D0
>=20
> _______________________________________________
> TLS mailing list
> TLS@ietf.org
> https://www.ietf.org/mailman/listinfo/tls
>=20
> _______________________________________________
> sasl mailing list
> sasl@ietf.org
> https://www.ietf.org/mailman/listinfo/sasl


From simon@josefsson.org  Wed Oct 28 07:11:18 2009
Return-Path: <simon@josefsson.org>
X-Original-To: sasl@core3.amsl.com
Delivered-To: sasl@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id D8E1E28C1B0; Wed, 28 Oct 2009 07:11:18 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.724
X-Spam-Level: 
X-Spam-Status: No, score=-2.724 tagged_above=-999 required=5 tests=[AWL=-0.125, BAYES_00=-2.599]
Received: from mail.ietf.org ([64.170.98.32]) by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id TZl2EdaCDI2z; Wed, 28 Oct 2009 07:11:17 -0700 (PDT)
Received: from yxa-v.extundo.com (yxa-v.extundo.com [83.241.177.39]) by core3.amsl.com (Postfix) with ESMTP id 6598028C187; Wed, 28 Oct 2009 07:11:16 -0700 (PDT)
Received: from mocca.josefsson.org (c80-216-24-211.bredband.comhem.se [80.216.24.211]) (authenticated bits=0) by yxa-v.extundo.com (8.14.3/8.14.3/Debian-5) with ESMTP id n9SEBRaQ017498 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES128-SHA bits=128 verify=NOT); Wed, 28 Oct 2009 15:11:29 +0100
From: Simon Josefsson <simon@josefsson.org>
To: Larry Zhu <larry.zhu@microsoft.com>
References: <20091005162704.8C1B43A6873@core3.amsl.com> <D3DC9D45B39CFC4CB312B2DD279B354C29BAE0E5@TK5EX14MBXW653.wingroup.windeploy.ntdev.microsoft.com>
OpenPGP: id=B565716F; url=http://josefsson.org/key.txt
X-Hashcash: 1:22:091028:larry.zhu@microsoft.com::EI86AA0//9OMStfJ:369+
X-Hashcash: 1:22:091028:sasl@ietf.org::xFFGQYY2sXIzmc8Z:BtXJ
X-Hashcash: 1:22:091028:channel-binding@ietf.org::7scYWHr9BwUTqkD3:Ajbd
X-Hashcash: 1:22:091028:tls@ietf.org::dREygPsbHj7GTjNV:xGjQ
Date: Wed, 28 Oct 2009 15:11:28 +0100
In-Reply-To: <D3DC9D45B39CFC4CB312B2DD279B354C29BAE0E5@TK5EX14MBXW653.wingroup.windeploy.ntdev.microsoft.com> (Larry Zhu's message of "Wed, 28 Oct 2009 10:18:04 +0000")
Message-ID: <87ocnrpq0f.fsf@mocca.josefsson.org>
User-Agent: Gnus/5.110011 (No Gnus v0.11) Emacs/23.1 (gnu/linux)
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
X-Virus-Scanned: clamav-milter 0.95.2 at yxa-v
X-Virus-Status: Clean
Cc: "channel-binding@ietf.org" <channel-binding@ietf.org>, "tls@ietf.org" <tls@ietf.org>, "sasl@ietf.org" <sasl@ietf.org>
Subject: Re: [sasl] lasgt call comments (st Call: draft-altman-tls-channel-bindings (Channel	Bindings for TLS) to Proposed Standard)
X-BeenThere: sasl@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: SASL Working Group <sasl.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/sasl>, <mailto:sasl-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/sasl>
List-Post: <mailto:sasl@ietf.org>
List-Help: <mailto:sasl-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/sasl>, <mailto:sasl-request@ietf.org?subject=subscribe>
X-List-Received-Date: Wed, 28 Oct 2009 14:11:19 -0000

I agree with Larry that the current definition of tls-unique is
impossible to implement in TLS libraries in the way you'd typically
want, i.e., a tls_get_tls_unique_cb() function.

However, there IS a way that TLS libraries can support the current
approach: add a callback interface to provide applications with the TLS
Finished message, and let the application handle the complexities
regarding connections vs session.

That is what I decided to do in GnuTLS, a callback like this:

  typedef void (*gnutls_finished_callback_func) (gnutls_session_t session,
						 const void *finished,
						 size_t len);
  void
  gnutls_session_set_finished_function (gnutls_session_t session,
					gnutls_finished_callback_func func);

Generally, I'm not happy with draft-altman-tls-channel-bindings so if
this is an opportunity to consider alternatives I want to remind you of
this work:

http://josefsson.org/sasl-gs2/draft-josefsson-sasl-tls-cb-02.txt

It makes sure to bind the channel binding uniquely to BOTH the current
connection and the current session.  The
draft-altman-tls-channel-bindings-07 document only binds to the current
TLS connection.  So from this perspective, my work has the same issue,
but it is different in other aspects.

/Simon

Larry Zhu <larry.zhu@microsoft.com> writes:

> There is a design issue in tls-unique. For vendors who implement TLS in a separate library, the TLS library does not by itself control the transport therefore it would not know if there is a new connection, so that the current specification is not implementable for these vendors.
>
> It would be much easier to say the following instead:
>
> The client's TLS Finished message from the first handshake of the session (note: TLS session, not connection, so that the channel binding is specific to each TLS session regardless of whether session resumption is used).
>
> And the updated text does reflect what has been deployed for tls-unique.  
>
> I would like to raise a red flag now. Needless to say that I will start a discussion with the responsible AD and the rest of the editors of this ID to fix this issue, and do so based on consensus. 
>
> Pasi, please consider this issue blocking for now.
>
> Thanks,
>
> --Larry
>
> -----Original Message-----
> From: tls-bounces@ietf.org [mailto:tls-bounces@ietf.org] On Behalf Of The IESG
> Sent: Monday, October 05, 2009 9:27 AM
> To: IETF-Announce
> Cc: channel-binding@ietf.org; tls@ietf.org; sasl@ietf.org
> Subject: [TLS] Last Call: draft-altman-tls-channel-bindings (Channel Bindings for TLS) to Proposed Standard
>
> The IESG has received a request from an individual submitter to consider 
> the following document:
>
> - 'Channel Bindings for TLS '
>    <draft-altman-tls-channel-bindings-07.txt> as a Proposed Standard
>
> The IESG plans to make a decision in the next few weeks, and solicits
> final comments on this action.  Please send substantive comments to the
> ietf@ietf.org mailing lists by 2009-11-02. Exceptionally, 
> comments may be sent to iesg@ietf.org instead. In either case, please 
> retain the beginning of the Subject line to allow automated sorting.
>
> The file can be obtained via
> http://www.ietf.org/internet-drafts/draft-altman-tls-channel-bindings-07.txt
>
>
> IESG discussion can be tracked via
> https://datatracker.ietf.org/public/pidtracker.cgi?command=view_id&dTag=15087&rfc_flag=0
>
> _______________________________________________
> TLS mailing list
> TLS@ietf.org
> https://www.ietf.org/mailman/listinfo/tls

From simon@josefsson.org  Wed Oct 28 07:23:59 2009
Return-Path: <simon@josefsson.org>
X-Original-To: sasl@core3.amsl.com
Delivered-To: sasl@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id C266F3A688A; Wed, 28 Oct 2009 07:23:59 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.703
X-Spam-Level: 
X-Spam-Status: No, score=-2.703 tagged_above=-999 required=5 tests=[AWL=-0.104, BAYES_00=-2.599]
Received: from mail.ietf.org ([64.170.98.32]) by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id VZRpSDlW+eE5; Wed, 28 Oct 2009 07:23:59 -0700 (PDT)
Received: from yxa-v.extundo.com (yxa-v.extundo.com [83.241.177.39]) by core3.amsl.com (Postfix) with ESMTP id 8715B3A6802; Wed, 28 Oct 2009 07:23:58 -0700 (PDT)
Received: from mocca.josefsson.org (c80-216-24-211.bredband.comhem.se [80.216.24.211]) (authenticated bits=0) by yxa-v.extundo.com (8.14.3/8.14.3/Debian-5) with ESMTP id n9SEO9A5017808 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES128-SHA bits=128 verify=NOT); Wed, 28 Oct 2009 15:24:11 +0100
From: Simon Josefsson <simon@josefsson.org>
To: Larry Zhu <larry.zhu@microsoft.com>
References: <20091005162704.8C1B43A6873@core3.amsl.com> <D3DC9D45B39CFC4CB312B2DD279B354C29BAE0E5@TK5EX14MBXW653.wingroup.windeploy.ntdev.microsoft.com> <87ocnrpq0f.fsf@mocca.josefsson.org>
OpenPGP: id=B565716F; url=http://josefsson.org/key.txt
X-Hashcash: 1:22:091028:larry.zhu@microsoft.com::qCr4riIOKTCzZhd5:2Nly
X-Hashcash: 1:22:091028:sasl@ietf.org::/qW9gdiPsqOxoR6Q:6gs2
X-Hashcash: 1:22:091028:tls@ietf.org::mZpenux+wCdG4ep7:8Ngg
X-Hashcash: 1:22:091028:channel-binding@ietf.org::pddBusMwiZxZOSpQ:FPqa
Date: Wed, 28 Oct 2009 15:24:09 +0100
In-Reply-To: <87ocnrpq0f.fsf@mocca.josefsson.org> (Simon Josefsson's message of "Wed, 28 Oct 2009 15:11:28 +0100")
Message-ID: <87hbtjppfa.fsf@mocca.josefsson.org>
User-Agent: Gnus/5.110011 (No Gnus v0.11) Emacs/23.1 (gnu/linux)
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
X-Virus-Scanned: clamav-milter 0.95.2 at yxa-v
X-Virus-Status: Clean
Cc: "channel-binding@ietf.org" <channel-binding@ietf.org>, "tls@ietf.org" <tls@ietf.org>, "sasl@ietf.org" <sasl@ietf.org>
Subject: Re: [sasl] lasgt call comments (st Call: draft-altman-tls-channel-bindings (Channel	Bindings for TLS) to Proposed Standard)
X-BeenThere: sasl@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: SASL Working Group <sasl.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/sasl>, <mailto:sasl-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/sasl>
List-Post: <mailto:sasl@ietf.org>
List-Help: <mailto:sasl-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/sasl>, <mailto:sasl-request@ietf.org?subject=subscribe>
X-List-Received-Date: Wed, 28 Oct 2009 14:23:59 -0000

Simon Josefsson <simon@josefsson.org> writes:

> http://josefsson.org/sasl-gs2/draft-josefsson-sasl-tls-cb-02.txt
>
> It makes sure to bind the channel binding uniquely to BOTH the current
> connection and the current session.  The
> draft-altman-tls-channel-bindings-07 document only binds to the current
> TLS connection.  So from this perspective, my work has the same issue,
> but it is different in other aspects.

This reminded me of an earlier observation, and it might be relevant to
re-iterate it here.  Consider this:

Day 1:

1. Client establish TLS anon-anon to server.
2. User authenticates using SCRAM with channel binding to the TLS
   channel
3. User/client disconnects

Day 2:

4. Client resumes the TLS anon-anon connection
5. Client rehandshake with X.509 client + server authentication
6. User authenticates using SCRAM with channel binding to the
   TLS channel
7. User/client disconnects

Day 3:

7. Client resumes the TLS session
8. Client rehandshake it as anon-anon
9. User authenticates using SCRAM with channel binding to the
   TLS channel
10. User/client disconnects

With draft-altman-tls-channel-bindings-07, the channel binding data used
in all three SCRAM authentications is the same bit sequence.  That means
there is only an indirect cryptographic binding between the SCRAM user
authentication and the X.509 client authentication.

/Simon

From larry.zhu@microsoft.com  Wed Oct 28 03:09:44 2009
Return-Path: <larry.zhu@microsoft.com>
X-Original-To: sasl@core3.amsl.com
Delivered-To: sasl@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id 1C5DB3A6875; Wed, 28 Oct 2009 03:09:44 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -10.599
X-Spam-Level: 
X-Spam-Status: No, score=-10.599 tagged_above=-999 required=5 tests=[BAYES_00=-2.599, RCVD_IN_DNSWL_HI=-8]
Received: from mail.ietf.org ([64.170.98.32]) by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id iscsYzzLd9C6; Wed, 28 Oct 2009 03:09:43 -0700 (PDT)
Received: from smtp.microsoft.com (mail3.microsoft.com [131.107.115.214]) by core3.amsl.com (Postfix) with ESMTP id 4D3043A679C; Wed, 28 Oct 2009 03:09:43 -0700 (PDT)
Received: from TK5EX14MLTC102.redmond.corp.microsoft.com (157.54.79.180) by TK5-EXGWY-E803.partners.extranet.microsoft.com (10.251.56.169) with Microsoft SMTP Server (TLS) id 8.2.176.0; Wed, 28 Oct 2009 03:10:11 -0700
Received: from TK5EX14MLTW651.wingroup.windeploy.ntdev.microsoft.com (157.54.71.39) by TK5EX14MLTC102.redmond.corp.microsoft.com (157.54.79.180) with Microsoft SMTP Server id 14.0.639.20; Wed, 28 Oct 2009 03:09:58 -0700
Received: from TK5EX14MBXW653.wingroup.windeploy.ntdev.microsoft.com ([169.254.3.181]) by TK5EX14MLTW651.wingroup.windeploy.ntdev.microsoft.com ([157.54.71.39]) with mapi; Wed, 28 Oct 2009 03:09:56 -0700
From: Larry Zhu <larry.zhu@microsoft.com>
To: "channel-binding@ietf.org" <channel-binding@ietf.org>, "tls@ietf.org" <tls@ietf.org>, "sasl@ietf.org" <sasl@ietf.org>
Thread-Topic: lasgt call comments (st Call: draft-altman-tls-channel-bindings (Channel	Bindings for TLS) to Proposed Standard)
Thread-Index: AQHKV7bNkYZKmFk3aUmrP688ZIDTOQ==
Date: Wed, 28 Oct 2009 10:09:58 +0000
Message-ID: <D3DC9D45B39CFC4CB312B2DD279B354C29BADFF7@TK5EX14MBXW653.wingroup.windeploy.ntdev.microsoft.com>
References: <20091005162704.8C1B43A6873@core3.amsl.com>
In-Reply-To: <20091005162704.8C1B43A6873@core3.amsl.com>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach: 
X-MS-TNEF-Correlator: 
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: quoted-printable
MIME-Version: 1.0
X-Mailman-Approved-At: Wed, 28 Oct 2009 07:32:40 -0700
Subject: [sasl] lasgt call comments (st Call: draft-altman-tls-channel-bindings (Channel	Bindings for TLS) to Proposed Standard)
X-BeenThere: sasl@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: SASL Working Group <sasl.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/sasl>, <mailto:sasl-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/sasl>
List-Post: <mailto:sasl@ietf.org>
List-Help: <mailto:sasl-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/sasl>, <mailto:sasl-request@ietf.org?subject=subscribe>
X-List-Received-Date: Wed, 28 Oct 2009 10:09:44 -0000

There is a design issue in tls-unique. For vendors who implement TLS in a s=
eparate library, the TLS library does not by itself control the transport t=
herefore it would not know if there is a new connection, so that the curren=
t specification is not implementable for these vendors.

It would be much easier to say the following instead:

The client's TLS Finished message from the first handshake of the session (=
note: TLS session, not connection, so that the channel binding is specific =
to each TLS session regardless of whether session resumption is used).

And the updated text does reflect what has been deployed for tls-unique. =20

I would like to raise a red flag now. Needless to say that I will start a d=
iscussion with the responsible AD and the rest of the editors of this ID to=
 fix this issue, and do so based on consensus.=20

Pasi, please consider this issue blocking for now.

Thanks,

--Larry

-----Original Message-----
From: tls-bounces@ietf.org [mailto:tls-bounces@ietf.org] On Behalf Of The I=
ESG
Sent: Monday, October 05, 2009 9:27 AM
To: IETF-Announce
Cc: channel-binding@ietf.org; tls@ietf.org; sasl@ietf.org
Subject: [TLS] Last Call: draft-altman-tls-channel-bindings (Channel Bindin=
gs for TLS) to Proposed Standard

The IESG has received a request from an individual submitter to consider=20
the following document:

- 'Channel Bindings for TLS '
   <draft-altman-tls-channel-bindings-07.txt> as a Proposed Standard

The IESG plans to make a decision in the next few weeks, and solicits
final comments on this action.  Please send substantive comments to the
ietf@ietf.org mailing lists by 2009-11-02. Exceptionally,=20
comments may be sent to iesg@ietf.org instead. In either case, please=20
retain the beginning of the Subject line to allow automated sorting.

The file can be obtained via
http://www.ietf.org/internet-drafts/draft-altman-tls-channel-bindings-07.tx=
t


IESG discussion can be tracked via
https://datatracker.ietf.org/public/pidtracker.cgi?command=3Dview_id&dTag=
=3D15087&rfc_flag=3D0

_______________________________________________
TLS mailing list
TLS@ietf.org
https://www.ietf.org/mailman/listinfo/tls


From Nicolas.Williams@sun.com  Wed Oct 28 09:11:28 2009
Return-Path: <Nicolas.Williams@sun.com>
X-Original-To: sasl@core3.amsl.com
Delivered-To: sasl@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id 28BD83A6858; Wed, 28 Oct 2009 09:11:28 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -5.985
X-Spam-Level: 
X-Spam-Status: No, score=-5.985 tagged_above=-999 required=5 tests=[AWL=0.061,  BAYES_00=-2.599, HELO_MISMATCH_COM=0.553, RCVD_IN_DNSWL_MED=-4]
Received: from mail.ietf.org ([64.170.98.32]) by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id eZUegWPx01qm; Wed, 28 Oct 2009 09:11:27 -0700 (PDT)
Received: from sca-ea-mail-2.sun.com (sca-ea-mail-2.Sun.COM [192.18.43.25]) by core3.amsl.com (Postfix) with ESMTP id 5B24D3A6847; Wed, 28 Oct 2009 09:11:27 -0700 (PDT)
Received: from dm-central-01.central.sun.com ([129.147.62.4]) by sca-ea-mail-2.sun.com (8.13.7+Sun/8.12.9) with ESMTP id n9SGBe3t009036; Wed, 28 Oct 2009 16:11:40 GMT
Received: from binky.Central.Sun.COM (binky.Central.Sun.COM [129.153.128.104]) by dm-central-01.central.sun.com (8.13.8+Sun/8.13.8/ENSMAIL,v2.2) with ESMTP id n9SGBeuK042429; Wed, 28 Oct 2009 10:11:40 -0600 (MDT)
Received: from binky.Central.Sun.COM (localhost [127.0.0.1]) by binky.Central.Sun.COM (8.14.3+Sun/8.14.3) with ESMTP id n9SG0EOb002442; Wed, 28 Oct 2009 11:00:14 -0500 (CDT)
Received: (from nw141292@localhost) by binky.Central.Sun.COM (8.14.3+Sun/8.14.3/Submit) id n9SG0DF4002441;  Wed, 28 Oct 2009 11:00:13 -0500 (CDT)
X-Authentication-Warning: binky.Central.Sun.COM: nw141292 set sender to Nicolas.Williams@sun.com using -f
Date: Wed, 28 Oct 2009 11:00:13 -0500
From: Nicolas Williams <Nicolas.Williams@sun.com>
To: Larry Zhu <larry.zhu@microsoft.com>
Message-ID: <20091028160013.GL1105@Sun.COM>
References: <20091005162704.8C1B43A6873@core3.amsl.com> <D3DC9D45B39CFC4CB312B2DD279B354C29BAE0E5@TK5EX14MBXW653.wingroup.windeploy.ntdev.microsoft.com>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
In-Reply-To: <D3DC9D45B39CFC4CB312B2DD279B354C29BAE0E5@TK5EX14MBXW653.wingroup.windeploy.ntdev.microsoft.com>
User-Agent: Mutt/1.5.7i
Cc: "channel-binding@ietf.org" <channel-binding@ietf.org>, "tls@ietf.org" <tls@ietf.org>, "sasl@ietf.org" <sasl@ietf.org>
Subject: Re: [sasl] lasgt call comments (st Call: draft-altman-tls-channel-bindings (Channel	Bindings for TLS) to Proposed Standard)
X-BeenThere: sasl@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: SASL Working Group <sasl.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/sasl>, <mailto:sasl-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/sasl>
List-Post: <mailto:sasl@ietf.org>
List-Help: <mailto:sasl-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/sasl>, <mailto:sasl-request@ietf.org?subject=subscribe>
X-List-Received-Date: Wed, 28 Oct 2009 16:11:28 -0000

On Wed, Oct 28, 2009 at 10:18:04AM +0000, Larry Zhu wrote:
> There is a design issue in tls-unique. For vendors who implement TLS
> in a separate library, the TLS library does not by itself control the
> transport therefore it would not know if there is a new connection, so
> that the current specification is not implementable for these vendors.
> 
> It would be much easier to say the following instead:
> 
> The client's TLS Finished message from the first handshake of the
> session (note: TLS session, not connection, so that the channel
> binding is specific to each TLS session regardless of whether session
> resumption is used).
> 
> And the updated text does reflect what has been deployed for
> tls-unique.  
> 
> I would like to raise a red flag now. Needless to say that I will
> start a discussion with the responsible AD and the rest of the editors
> of this ID to fix this issue, and do so based on consensus. 
> 
> Pasi, please consider this issue blocking for now.

Larry,

It's hard to parse your message because the words "connection" and
"transport" have multiple possible meanings in this context.

In any case we've discussed this before, and the _current_ text is what
we reached consensus on earlier.  I believe the current text says what I
think you meant to say, in your e-mail.

Nico
-- 

From Nicolas.Williams@sun.com  Wed Oct 28 09:44:48 2009
Return-Path: <Nicolas.Williams@sun.com>
X-Original-To: sasl@core3.amsl.com
Delivered-To: sasl@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id 4E3663A68AC; Wed, 28 Oct 2009 09:44:48 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -5.987
X-Spam-Level: 
X-Spam-Status: No, score=-5.987 tagged_above=-999 required=5 tests=[AWL=0.059,  BAYES_00=-2.599, HELO_MISMATCH_COM=0.553, RCVD_IN_DNSWL_MED=-4]
Received: from mail.ietf.org ([64.170.98.32]) by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id DAVGvXcO6lh9; Wed, 28 Oct 2009 09:44:47 -0700 (PDT)
Received: from brmea-mail-2.sun.com (brmea-mail-2.Sun.COM [192.18.98.43]) by core3.amsl.com (Postfix) with ESMTP id E9B1E28C205; Wed, 28 Oct 2009 09:44:34 -0700 (PDT)
Received: from dm-central-02.central.sun.com ([129.147.62.5]) by brmea-mail-2.sun.com (8.13.6+Sun/8.12.9) with ESMTP id n9SGin5V013332; Wed, 28 Oct 2009 16:44:49 GMT
Received: from binky.Central.Sun.COM (binky.Central.Sun.COM [129.153.128.104]) by dm-central-02.central.sun.com (8.13.8+Sun/8.13.8/ENSMAIL,v2.2) with ESMTP id n9SGinsL050176; Wed, 28 Oct 2009 10:44:49 -0600 (MDT)
Received: from binky.Central.Sun.COM (localhost [127.0.0.1]) by binky.Central.Sun.COM (8.14.3+Sun/8.14.3) with ESMTP id n9SGXNJL002486; Wed, 28 Oct 2009 11:33:23 -0500 (CDT)
Received: (from nw141292@localhost) by binky.Central.Sun.COM (8.14.3+Sun/8.14.3/Submit) id n9SGXN8L002485;  Wed, 28 Oct 2009 11:33:23 -0500 (CDT)
X-Authentication-Warning: binky.Central.Sun.COM: nw141292 set sender to Nicolas.Williams@sun.com using -f
Date: Wed, 28 Oct 2009 11:33:23 -0500
From: Nicolas Williams <Nicolas.Williams@sun.com>
To: Larry Zhu <larry.zhu@microsoft.com>
Message-ID: <20091028163322.GO1105@Sun.COM>
References: <20091005162704.8C1B43A6873@core3.amsl.com> <D3DC9D45B39CFC4CB312B2DD279B354C29BAE0E5@TK5EX14MBXW653.wingroup.windeploy.ntdev.microsoft.com> <20091028160013.GL1105@Sun.COM>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
In-Reply-To: <20091028160013.GL1105@Sun.COM>
User-Agent: Mutt/1.5.7i
Cc: "channel-binding@ietf.org" <channel-binding@ietf.org>, "tls@ietf.org" <tls@ietf.org>, "sasl@ietf.org" <sasl@ietf.org>
Subject: Re: [sasl] [TLS] lasgt call comments (st Call: draft-altman-tls-channel-bindings (Channel	Bindings for TLS)	to Proposed Standard)
X-BeenThere: sasl@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: SASL Working Group <sasl.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/sasl>, <mailto:sasl-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/sasl>
List-Post: <mailto:sasl@ietf.org>
List-Help: <mailto:sasl-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/sasl>, <mailto:sasl-request@ietf.org?subject=subscribe>
X-List-Received-Date: Wed, 28 Oct 2009 16:44:48 -0000

On Wed, Oct 28, 2009 at 11:00:13AM -0500, Nicolas Williams wrote:
> On Wed, Oct 28, 2009 at 10:18:04AM +0000, Larry Zhu wrote:
> > There is a design issue in tls-unique. For vendors who implement TLS
> > in a separate library, the TLS library does not by itself control the
> > transport therefore it would not know if there is a new connection, so
> > that the current specification is not implementable for these vendors.
> > 
> > It would be much easier to say the following instead:
> > 
> > The client's TLS Finished message from the first handshake of the
> > session (note: TLS session, not connection, so that the channel
> > binding is specific to each TLS session regardless of whether session
> > resumption is used).

I spoke to Jeff and I think I understand your issue, and I agree that we
never meant for that interpretation.  Proposed new text is below, but
first...

What the text says now:

   Description: The client's TLS Finished message (note: the Finished
   struct) from the first handshake of the connection (note: connection,
   not session, so that the channel binding is specific to each
   connection regardless of whether session resumption is used).

I think we meant to say is that if you're a server, and you see a
ClientHello, and you do a handshake and then receive a client Finished
message, and then return a handle to the application for the resulting
TLS whatever-you-call-it, then _that_ Finished message will be the
channel binding, EVEN IF the client then does a second handshake (for
re-keying, for authenticating the client, whatever).

Similarly, if you're a client and send a ClientHello and so on and so
forth and then return a handle to the application for the resulting TLS
whatever-you-call-it, then the first Finished message will be the
channel binding, EVEN IF the client then does a second handshake (for
re-keying, for authenticating the client, whatever).

The reason we used the word "connection" in the description was to avoid
the possibility that in a session resumption someone might interpret
tls-unique to be the client Finished message of the original connection
that established the session resumption state.  Changing the text to say
"session" instead of "connection" now would risk creating that
confusion.

The key issue here is how to write the description in such a way that
it is obvious to a TLS implementor in spite of the fact that the words
"connection", "session" and "transport" have multiple possible meanings
in the contexts where TLS is used.

Here, then, is my proposed clarification:

   Description: The client's TLS Finished message (note: the Finished 
   struct) from the first handshake of the TLS session.

(Yes, I changed "connection" to "session", followed by this:)

   Clarification: If a connection resumes a previous session, then the
   Finished message to use is that of the new session, not the one from
   the original session.  If a session has multiple handshakes and,
   therefore, multiple client Finished messages, the first client
   Finished message of that session is the one to use as the tls-unique
   channel binding.  From an application programming interface (API)
   perspective, the client's Finished message is saved in the contextual
   object handle that the client and server applications obtain when
   they initiate or resume a TLS session; later, when the applications
   request the tls-unique channel binding, the TLS implementation
   retrieves the saved first client Finished message from that context
   handle.

Nico
-- 

From Martin.Rex@sap.com  Wed Oct 28 13:49:18 2009
Return-Path: <Martin.Rex@sap.com>
X-Original-To: sasl@core3.amsl.com
Delivered-To: sasl@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id 910E73A6A6A; Wed, 28 Oct 2009 13:49:18 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -6.424
X-Spam-Level: 
X-Spam-Status: No, score=-6.424 tagged_above=-999 required=5 tests=[AWL=-0.175, BAYES_00=-2.599, HELO_EQ_DE=0.35, RCVD_IN_DNSWL_MED=-4]
Received: from mail.ietf.org ([64.170.98.32]) by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id qHyGQPzgBfkw; Wed, 28 Oct 2009 13:49:17 -0700 (PDT)
Received: from smtpde01.sap-ag.de (smtpde01.sap-ag.de [155.56.68.171]) by core3.amsl.com (Postfix) with ESMTP id DF1143A686C; Wed, 28 Oct 2009 13:49:15 -0700 (PDT)
Received: from mail.sap.corp by smtpde01.sap-ag.de (26) with ESMTP id n9SKnSDG021053 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Wed, 28 Oct 2009 21:49:28 +0100 (MET)
From: Martin Rex <Martin.Rex@sap.com>
Message-Id: <200910282049.n9SKnSdG000971@fs4113.wdf.sap.corp>
To: Nicolas.Williams@sun.com (Nicolas Williams)
Date: Wed, 28 Oct 2009 21:49:28 +0100 (MET)
In-Reply-To: <20091028163322.GO1105@Sun.COM> from "Nicolas Williams" at Oct 28, 9 11:33:23 am
MIME-Version: 1.0
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 8bit
X-Scanner: Virus Scanner virwal05
X-SAP: out
X-Mailman-Approved-At: Wed, 28 Oct 2009 13:57:04 -0700
Cc: channel-binding@ietf.org, sasl@ietf.org, tls@ietf.org
Subject: Re: [sasl] [TLS]  lasgt call comments (st Call:
X-BeenThere: sasl@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
Reply-To: mrex@sap.com
List-Id: SASL Working Group <sasl.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/sasl>, <mailto:sasl-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/sasl>
List-Post: <mailto:sasl@ietf.org>
List-Help: <mailto:sasl-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/sasl>, <mailto:sasl-request@ietf.org?subject=subscribe>
X-List-Received-Date: Wed, 28 Oct 2009 20:49:18 -0000

Nicolas Williams wrote:
> 
> Here, then, is my proposed clarification:
> 
>    Description: The client's TLS Finished message (note: the Finished 
>    struct) from the first handshake of the TLS session.
> 
> (Yes, I changed "connection" to "session", followed by this:)
> 
>    Clarification: If a connection resumes a previous session, then the
>    Finished message to use is that of the new session, not the one from
>    the original session.  If a session has multiple handshakes and,
>    therefore, multiple client Finished messages, the first client
>    Finished message of that session is the one to use as the tls-unique
>    channel binding.

This description/terminology about resume/previous/new/original session
is confusing and wrong.


If a TLS session is resumed, then the result is always the SAME session,
which is indicated by the use of the SAME session id (and internally,
by the use of the same underlying master secret).

A cached TLS session can be resumed quite often and simultaneously is
parallel (which leads to multiple parallel/forked sessions).

The session keys are newly re-derived for each connection and each
session resume, and they should be unique because of the client
random and server random that go into the session key derivation
of every new connection (=resumed session).

A resumed TLS session will also NOT exchange (and therefore not verify)
any certificates.


A new TLS session is created when one of
  - the client does not propose TLS session resume at all
  - the server does not agree to TLS session resumption, and
    creates and returns a new/different session id and
    performs a full handshake
  - the client performs a renegotiate for an established
    session (usually upon request from the server) and
    the server goes through a full ssl handshake.


Since the finished messages of the tls handshake cover the
client random and server random of the SSL handshake, the finished
messages are going to be unique for each connection, even for
two resumes of the same session.


>                      From an application programming interface (API)
>    perspective, the client's Finished message is saved in the contextual
>    object handle that the client and server applications obtain when
>    they initiate or resume a TLS session; later, when the applications
>    request the tls-unique channel binding, the TLS implementation
>    retrieves the saved first client Finished message from that context
>    handle.


Asking the TLS protocol stack to memorize the original finished message
sounds awkward to me.  The thing that the ssl session cache is already
memorizing for a session is the master secret, so maybe deriving something
from that would be better suited for the purpose than a requirement to
store the original finished message.


-Martin

From larry.zhu@microsoft.com  Wed Oct 28 13:59:41 2009
Return-Path: <larry.zhu@microsoft.com>
X-Original-To: sasl@core3.amsl.com
Delivered-To: sasl@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id 0D95B3A6A81; Wed, 28 Oct 2009 13:59:41 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -10.599
X-Spam-Level: 
X-Spam-Status: No, score=-10.599 tagged_above=-999 required=5 tests=[BAYES_00=-2.599, RCVD_IN_DNSWL_HI=-8]
Received: from mail.ietf.org ([64.170.98.32]) by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id KgpZ4K5sm2WX; Wed, 28 Oct 2009 13:59:40 -0700 (PDT)
Received: from smtp.microsoft.com (mail2.microsoft.com [131.107.115.215]) by core3.amsl.com (Postfix) with ESMTP id 06DE83A6A6F; Wed, 28 Oct 2009 13:59:39 -0700 (PDT)
Received: from TK5EX14MLTC102.redmond.corp.microsoft.com (157.54.79.180) by TK5-EXGWY-E802.partners.extranet.microsoft.com (10.251.56.168) with Microsoft SMTP Server (TLS) id 8.2.176.0; Wed, 28 Oct 2009 13:59:55 -0700
Received: from TK5EX14MLTW652.wingroup.windeploy.ntdev.microsoft.com (157.54.71.68) by TK5EX14MLTC102.redmond.corp.microsoft.com (157.54.79.180) with Microsoft SMTP Server id 14.0.639.20; Wed, 28 Oct 2009 13:59:54 -0700
Received: from TK5EX14MBXW653.wingroup.windeploy.ntdev.microsoft.com ([169.254.3.181]) by TK5EX14MLTW652.wingroup.windeploy.ntdev.microsoft.com ([157.54.71.68]) with mapi; Wed, 28 Oct 2009 13:59:53 -0700
From: Larry Zhu <larry.zhu@microsoft.com>
To: Nicolas Williams <Nicolas.Williams@sun.com>
Thread-Topic: [TLS] [sasl] lasgt call comments (st Call: draft-altman-tls-channel-bindings (Channel	Bindings for	TLS)	to Proposed Standard)
Thread-Index: AQHKV+4iBeoFgQlJYUez5TZwqZCo85EbZYWg
Date: Wed, 28 Oct 2009 20:59:53 +0000
Message-ID: <D3DC9D45B39CFC4CB312B2DD279B354C29BAEE4B@TK5EX14MBXW653.wingroup.windeploy.ntdev.microsoft.com>
References: <20091005162704.8C1B43A6873@core3.amsl.com> <D3DC9D45B39CFC4CB312B2DD279B354C29BAE0E5@TK5EX14MBXW653.wingroup.windeploy.ntdev.microsoft.com> <20091028160013.GL1105@Sun.COM> <20091028163322.GO1105@Sun.COM>
In-Reply-To: <20091028163322.GO1105@Sun.COM>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach: 
X-MS-TNEF-Correlator: 
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: quoted-printable
MIME-Version: 1.0
Cc: "channel-binding@ietf.org" <channel-binding@ietf.org>, "tls@ietf.org" <tls@ietf.org>, "sasl@ietf.org" <sasl@ietf.org>
Subject: Re: [sasl] [TLS] lasgt call comments (st Call:	draft-altman-tls-channel-bindings (Channel	Bindings for	TLS)	to Proposed Standard)
X-BeenThere: sasl@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: SASL Working Group <sasl.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/sasl>, <mailto:sasl-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/sasl>
List-Post: <mailto:sasl@ietf.org>
List-Help: <mailto:sasl-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/sasl>, <mailto:sasl-request@ietf.org?subject=subscribe>
X-List-Received-Date: Wed, 28 Oct 2009 20:59:41 -0000

How about

   The client's TLS Finished message (note: the Finished=20
   struct) in the clear text form from the first handshake of=20
   the TLS session as identified by the=20
   session ID in the server=20
   hello message, as defined in 7.4.1.3 of RFC5246,=20
    of the last handshake in the current active TLS session.
  =20

Can we label this as "tls-session-unique"? The existing deployment seems to=
 have a different interpretation but we do not have a real usage case for t=
hat. It does not hurt to create another label just to avoid potential inter=
operability issues.

This seems to be the most intuitive definition and we do not have any ambig=
uity here.

Thanks,

--Larry

-----Original Message-----
From: tls-bounces@ietf.org [mailto:tls-bounces@ietf.org] On Behalf Of Nicol=
as Williams
Sent: Wednesday, October 28, 2009 9:33 AM
To: Larry Zhu
Cc: channel-binding@ietf.org; tls@ietf.org; sasl@ietf.org
Subject: Re: [TLS] [sasl] lasgt call comments (st Call: draft-altman-tls-ch=
annel-bindings (Channel Bindings for TLS) to Proposed Standard)

On Wed, Oct 28, 2009 at 11:00:13AM -0500, Nicolas Williams wrote:
> On Wed, Oct 28, 2009 at 10:18:04AM +0000, Larry Zhu wrote:
> > There is a design issue in tls-unique. For vendors who implement TLS
> > in a separate library, the TLS library does not by itself control the
> > transport therefore it would not know if there is a new connection, so
> > that the current specification is not implementable for these vendors.
> >=20
> > It would be much easier to say the following instead:
> >=20
> > The client's TLS Finished message from the first handshake of the
> > session (note: TLS session, not connection, so that the channel
> > binding is specific to each TLS session regardless of whether session
> > resumption is used).

I spoke to Jeff and I think I understand your issue, and I agree that we
never meant for that interpretation.  Proposed new text is below, but
first...

What the text says now:

   Description: The client's TLS Finished message (note: the Finished
   struct) from the first handshake of the connection (note: connection,
   not session, so that the channel binding is specific to each
   connection regardless of whether session resumption is used).

I think we meant to say is that if you're a server, and you see a
ClientHello, and you do a handshake and then receive a client Finished
message, and then return a handle to the application for the resulting
TLS whatever-you-call-it, then _that_ Finished message will be the
channel binding, EVEN IF the client then does a second handshake (for
re-keying, for authenticating the client, whatever).

Similarly, if you're a client and send a ClientHello and so on and so
forth and then return a handle to the application for the resulting TLS
whatever-you-call-it, then the first Finished message will be the
channel binding, EVEN IF the client then does a second handshake (for
re-keying, for authenticating the client, whatever).

The reason we used the word "connection" in the description was to avoid
the possibility that in a session resumption someone might interpret
tls-unique to be the client Finished message of the original connection
that established the session resumption state.  Changing the text to say
"session" instead of "connection" now would risk creating that
confusion.

The key issue here is how to write the description in such a way that
it is obvious to a TLS implementor in spite of the fact that the words
"connection", "session" and "transport" have multiple possible meanings
in the contexts where TLS is used.

Here, then, is my proposed clarification:

   Description: The client's TLS Finished message (note: the Finished=20
   struct) from the first handshake of the TLS session.

(Yes, I changed "connection" to "session", followed by this:)

   Clarification: If a connection resumes a previous session, then the
   Finished message to use is that of the new session, not the one from
   the original session.  If a session has multiple handshakes and,
   therefore, multiple client Finished messages, the first client
   Finished message of that session is the one to use as the tls-unique
   channel binding.  From an application programming interface (API)
   perspective, the client's Finished message is saved in the contextual
   object handle that the client and server applications obtain when
   they initiate or resume a TLS session; later, when the applications
   request the tls-unique channel binding, the TLS implementation
   retrieves the saved first client Finished message from that context
   handle.

Nico
--=20
_______________________________________________
TLS mailing list
TLS@ietf.org
https://www.ietf.org/mailman/listinfo/tls


From Nicolas.Williams@sun.com  Wed Oct 28 14:05:36 2009
Return-Path: <Nicolas.Williams@sun.com>
X-Original-To: sasl@core3.amsl.com
Delivered-To: sasl@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id C38F828C104; Wed, 28 Oct 2009 14:05:36 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -6.018
X-Spam-Level: 
X-Spam-Status: No, score=-6.018 tagged_above=-999 required=5 tests=[AWL=0.028,  BAYES_00=-2.599, HELO_MISMATCH_COM=0.553, RCVD_IN_DNSWL_MED=-4]
Received: from mail.ietf.org ([64.170.98.32]) by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id SzRPAwTuo+Ml; Wed, 28 Oct 2009 14:05:36 -0700 (PDT)
Received: from brmea-mail-1.sun.com (brmea-mail-1.Sun.COM [192.18.98.31]) by core3.amsl.com (Postfix) with ESMTP id C0A223A6989; Wed, 28 Oct 2009 14:05:35 -0700 (PDT)
Received: from dm-central-02.central.sun.com ([129.147.62.5]) by brmea-mail-1.sun.com (8.13.6+Sun/8.12.9) with ESMTP id n9SL5pHS023180; Wed, 28 Oct 2009 21:05:51 GMT
Received: from binky.Central.Sun.COM (binky.Central.Sun.COM [129.153.128.104]) by dm-central-02.central.sun.com (8.13.8+Sun/8.13.8/ENSMAIL,v2.2) with ESMTP id n9SL5oIa039884; Wed, 28 Oct 2009 15:05:51 -0600 (MDT)
Received: from binky.Central.Sun.COM (localhost [127.0.0.1]) by binky.Central.Sun.COM (8.14.3+Sun/8.14.3) with ESMTP id n9SKsOxx002768; Wed, 28 Oct 2009 15:54:24 -0500 (CDT)
Received: (from nw141292@localhost) by binky.Central.Sun.COM (8.14.3+Sun/8.14.3/Submit) id n9SKsO3P002767;  Wed, 28 Oct 2009 15:54:24 -0500 (CDT)
X-Authentication-Warning: binky.Central.Sun.COM: nw141292 set sender to Nicolas.Williams@sun.com using -f
Date: Wed, 28 Oct 2009 15:54:24 -0500
From: Nicolas Williams <Nicolas.Williams@sun.com>
To: mrex@sap.com
Message-ID: <20091028205423.GG1105@Sun.COM>
References: <20091028163322.GO1105@Sun.COM> <200910282049.n9SKnSdG000971@fs4113.wdf.sap.corp>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
In-Reply-To: <200910282049.n9SKnSdG000971@fs4113.wdf.sap.corp>
User-Agent: Mutt/1.5.7i
Cc: channel-binding@ietf.org, sasl@ietf.org, tls@ietf.org
Subject: Re: [sasl] [TLS]  lasgt call comments (st Call:
X-BeenThere: sasl@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: SASL Working Group <sasl.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/sasl>, <mailto:sasl-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/sasl>
List-Post: <mailto:sasl@ietf.org>
List-Help: <mailto:sasl-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/sasl>, <mailto:sasl-request@ietf.org?subject=subscribe>
X-List-Received-Date: Wed, 28 Oct 2009 21:05:36 -0000

On Wed, Oct 28, 2009 at 09:49:28PM +0100, Martin Rex wrote:
> Nicolas Williams wrote:
> > 
> > Here, then, is my proposed clarification:
> > 
> >    Description: The client's TLS Finished message (note: the Finished 
> >    struct) from the first handshake of the TLS session.
> > 
> > (Yes, I changed "connection" to "session", followed by this:)
> > 
> >    Clarification: If a connection resumes a previous session, then the
> >    Finished message to use is that of the new session, not the one from
> >    the original session.  If a session has multiple handshakes and,
> >    therefore, multiple client Finished messages, the first client
> >    Finished message of that session is the one to use as the tls-unique
> >    channel binding.
> 
> This description/terminology about resume/previous/new/original session
> is confusing and wrong.
> 
> 
> If a TLS session is resumed, then the result is always the SAME session,
> which is indicated by the use of the SAME session id (and internally,
> by the use of the same underlying master secret).

Yes, I know.  That's why we had written "connection" instead of session!
But now Larry finds that confusing as well.

> A cached TLS session can be resumed quite often and simultaneously is
> parallel (which leads to multiple parallel/forked sessions).
> 
> The session keys are newly re-derived for each connection and each
> session resume, and they should be unique because of the client
> random and server random that go into the session key derivation
> of every new connection (=resumed session).
> 
> A resumed TLS session will also NOT exchange (and therefore not verify)
> any certificates.

Indeed.  But it does exchange Finished messages.  That's crucial here.

> Since the finished messages of the tls handshake cover the
> client random and server random of the SSL handshake, the finished
> messages are going to be unique for each connection, even for
> two resumes of the same session.

Exactly.  That's what we want.

> >                      From an application programming interface (API)
> >    perspective, the client's Finished message is saved in the contextual
> >    object handle that the client and server applications obtain when
> >    they initiate or resume a TLS session; later, when the applications
> >    request the tls-unique channel binding, the TLS implementation
> >    retrieves the saved first client Finished message from that context
> >    handle.
> 
> Asking the TLS protocol stack to memorize the original finished message
> sounds awkward to me.  The thing that the ssl session cache is already
> memorizing for a session is the master secret, so maybe deriving something
> from that would be better suited for the purpose than a requirement to
> store the original finished message.

Argh, I've managed to confuse you too.  I mean EXACTLY this: it's NOT
the client Finished message from the _session_ that is being resumed
(when one is), but the one for the connection.

Martin,

I appreciate your help, but we really need to hear from Larry, because
I'm all confused, and as a result I'm confusing you too.

Larry, can you please clarify?

Nico
-- 

From larry.zhu@microsoft.com  Wed Oct 28 14:18:24 2009
Return-Path: <larry.zhu@microsoft.com>
X-Original-To: sasl@core3.amsl.com
Delivered-To: sasl@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id 83D2028C14E; Wed, 28 Oct 2009 14:18:24 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -10.599
X-Spam-Level: 
X-Spam-Status: No, score=-10.599 tagged_above=-999 required=5 tests=[BAYES_00=-2.599, RCVD_IN_DNSWL_HI=-8]
Received: from mail.ietf.org ([64.170.98.32]) by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id xW-1jQJluLVc; Wed, 28 Oct 2009 14:18:23 -0700 (PDT)
Received: from smtp.microsoft.com (mail1.microsoft.com [131.107.115.212]) by core3.amsl.com (Postfix) with ESMTP id 630DD28C155; Wed, 28 Oct 2009 14:18:23 -0700 (PDT)
Received: from TK5EX14MLTC101.redmond.corp.microsoft.com (157.54.79.178) by TK5-EXGWY-E801.partners.extranet.microsoft.com (10.251.56.50) with Microsoft SMTP Server (TLS) id 8.2.176.0; Wed, 28 Oct 2009 14:18:50 -0700
Received: from TK5EX14MLTW651.wingroup.windeploy.ntdev.microsoft.com (157.54.71.39) by TK5EX14MLTC101.redmond.corp.microsoft.com (157.54.79.178) with Microsoft SMTP Server id 14.0.639.20; Wed, 28 Oct 2009 13:59:55 -0700
Received: from TK5EX14MBXW653.wingroup.windeploy.ntdev.microsoft.com ([169.254.3.181]) by TK5EX14MLTW651.wingroup.windeploy.ntdev.microsoft.com ([157.54.71.39]) with mapi; Wed, 28 Oct 2009 13:59:52 -0700
From: Larry Zhu <larry.zhu@microsoft.com>
To: "Pasi.Eronen@nokia.com" <Pasi.Eronen@nokia.com>, "channel-binding@ietf.org" <channel-binding@ietf.org>, "tls@ietf.org" <tls@ietf.org>, "sasl@ietf.org" <sasl@ietf.org>
Thread-Topic: [sasl] lasgt call comments (st Call: draft-altman-tls-channel-bindings (Channel	Bindings for TLS) to Proposed Standard)
Thread-Index: AQHKV9Jq+JazopF2qkSChPC47bDhk5EbWFXw
Date: Wed, 28 Oct 2009 20:59:53 +0000
Message-ID: <D3DC9D45B39CFC4CB312B2DD279B354C29BAEE46@TK5EX14MBXW653.wingroup.windeploy.ntdev.microsoft.com>
References: <20091005162704.8C1B43A6873@core3.amsl.com> <D3DC9D45B39CFC4CB312B2DD279B354C29BAE0E5@TK5EX14MBXW653.wingroup.windeploy.ntdev.microsoft.com> <808FD6E27AD4884E94820BC333B2DB774E7F66078D@NOK-EUMSG-01.mgdnok.nokia.com>
In-Reply-To: <808FD6E27AD4884E94820BC333B2DB774E7F66078D@NOK-EUMSG-01.mgdnok.nokia.com>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach: 
X-MS-TNEF-Correlator: 
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: quoted-printable
MIME-Version: 1.0
Subject: Re: [sasl] lasgt call comments (st Call: draft-altman-tls-channel-bindings (Channel	Bindings for TLS) to Proposed Standard)
X-BeenThere: sasl@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: SASL Working Group <sasl.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/sasl>, <mailto:sasl-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/sasl>
List-Post: <mailto:sasl@ietf.org>
List-Help: <mailto:sasl-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/sasl>, <mailto:sasl-request@ietf.org?subject=subscribe>
X-List-Received-Date: Wed, 28 Oct 2009 21:18:24 -0000

Hi Pasi,=20

Thanks for allowing me to expand. A quick summary is that the tls-unique de=
finition hinges on an ambiguous notation of "connection", and that is unnec=
essary if not harmful.=20

To show why we should look at RFC5246 first. Please allow a disclaimer firs=
t too. The following information is provided in order to demonstrate we can=
 make this better or over specified thus leave with no ambiguity therefore =
improve interoperability.

On page 39 of RFC 5246, we have the following text that describes the sessi=
on id in the client hello message:

   The session identifier MAY be from an earlier connection,
   this connection, or from another currently active connection.

This suggests that a connection can be associated with multiple sessions (a=
s identified by "session IDs"). But then on page 79, we have the following =
text

   Every connection is associated with one session.

This seems to suggest a connection can only have one session (as identified=
 by a session ID). On page 81, we have the following text:

    Sessions are used to avoid the expensive negotiation of new security pa=
rameters for each connection.

Which seems to suggest that a session is identified by a session id. Do we =
have a real inconsistency here?=20

With that it gets worse if we read the text on page 36:

   The server then checks its session cache for a match.
   If a match is found, and the server is willing to re-establish the
   connection under the specified session state, it will send a
   ServerHello with the same Session ID value.

Let's note the words "re-establish the connection" used here. It seems to s=
uggest that in a TLS session resumption, we are merely re-establishing a pr=
evious connection. There are evidences that suggest different interpretatio=
ns exist as the recent responses from Joseph clearly demonstrated.

Now the reader is left to wonder what really identifies a connection? Does =
an unencrypted hello really demarcate a new connection as you suggested? If=
 we follow the path you suggested, it is desirable?

If we interpret that a connection is one in the transport layer, the TLS li=
brary does not know and should not care. In that case, it would have the pr=
oblem I alluded earlier.

Furthermore the current definition would not work with DTLS though if we th=
row out the notion of "connection", say for example use the TLS session or =
the last handshake, we can reuse the work for DTLS.

I will discuss with the rest of the editor team and we should come up with =
a recommendation for how to address this issue. Thanks,

--Larry


-----Original Message-----
From: Pasi.Eronen@nokia.com [mailto:Pasi.Eronen@nokia.com]=20
Sent: Wednesday, October 28, 2009 6:27 AM
To: Larry Zhu; channel-binding@ietf.org; tls@ietf.org; sasl@ietf.org
Subject: RE: [sasl] lasgt call comments (st Call: draft-altman-tls-channel-=
bindings (Channel Bindings for TLS) to Proposed Standard)

Larry,

Could you elaborate a bit about your first paragraph? =20

Certainly the TLS library knows when there's a new connection, because
it receives (on the server) or sends (on the client) an unencrypted=20
ClientHello message?

Best regards,
Pasi

> -----Original Message-----
> From: sasl-bounces@ietf.org [mailto:sasl-bounces@ietf.org] On Behalf Of
> ext Larry Zhu
> Sent: 28 October, 2009 12:18
> To: channel-binding@ietf.org; tls@ietf.org; sasl@ietf.org
> Subject: Re: [sasl] lasgt call comments (st Call: draft-altman-tls-
> channel-bindings (Channel Bindings for TLS) to Proposed Standard)
>=20
>=20
> There is a design issue in tls-unique. For vendors who implement TLS in
> a separate library, the TLS library does not by itself control the
> transport therefore it would not know if there is a new connection, so
> that the current specification is not implementable for these vendors.
>=20
> It would be much easier to say the following instead:
>=20
> The client's TLS Finished message from the first handshake of the
> session (note: TLS session, not connection, so that the channel binding
> is specific to each TLS session regardless of whether session
> resumption is used).
>=20
> And the updated text does reflect what has been deployed for tls-
> unique.
>=20
> I would like to raise a red flag now. Needless to say that I will start
> a discussion with the responsible AD and the rest of the editors of
> this ID to fix this issue, and do so based on consensus.
>=20
> Pasi, please consider this issue blocking for now.
>=20
> Thanks,
>=20
> --Larry
>=20
> -----Original Message-----
> From: tls-bounces@ietf.org [mailto:tls-bounces@ietf.org] On Behalf Of
> The IESG
> Sent: Monday, October 05, 2009 9:27 AM
> To: IETF-Announce
> Cc: channel-binding@ietf.org; tls@ietf.org; sasl@ietf.org
> Subject: [TLS] Last Call: draft-altman-tls-channel-bindings (Channel
> Bindings for TLS) to Proposed Standard
>=20
> The IESG has received a request from an individual submitter to
> consider
> the following document:
>=20
> - 'Channel Bindings for TLS '
>    <draft-altman-tls-channel-bindings-07.txt> as a Proposed Standard
>=20
> The IESG plans to make a decision in the next few weeks, and solicits
> final comments on this action.  Please send substantive comments to the
> ietf@ietf.org mailing lists by 2009-11-02. Exceptionally,
> comments may be sent to iesg@ietf.org instead. In either case, please
> retain the beginning of the Subject line to allow automated sorting.
>=20
> The file can be obtained via
> http://www.ietf.org/internet-drafts/draft-altman-tls-channel-bindings-
> 07.txt
>=20
>=20
> IESG discussion can be tracked via
> https://datatracker.ietf.org/public/pidtracker.cgi?command=3Dview_id&dTag
> =3D15087&rfc_flag=3D0
>=20
> _______________________________________________
> TLS mailing list
> TLS@ietf.org
> https://www.ietf.org/mailman/listinfo/tls
>=20
> _______________________________________________
> sasl mailing list
> sasl@ietf.org
> https://www.ietf.org/mailman/listinfo/sasl



From Nicolas.Williams@sun.com  Wed Oct 28 14:32:28 2009
Return-Path: <Nicolas.Williams@sun.com>
X-Original-To: sasl@core3.amsl.com
Delivered-To: sasl@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id E0D0D3A68C3; Wed, 28 Oct 2009 14:32:28 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -6.026
X-Spam-Level: 
X-Spam-Status: No, score=-6.026 tagged_above=-999 required=5 tests=[AWL=0.020,  BAYES_00=-2.599, HELO_MISMATCH_COM=0.553, RCVD_IN_DNSWL_MED=-4]
Received: from mail.ietf.org ([64.170.98.32]) by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id Z+Al+uglr3KS; Wed, 28 Oct 2009 14:32:28 -0700 (PDT)
Received: from brmea-mail-1.sun.com (brmea-mail-1.Sun.COM [192.18.98.31]) by core3.amsl.com (Postfix) with ESMTP id 121973A67F4; Wed, 28 Oct 2009 14:32:28 -0700 (PDT)
Received: from dm-central-02.central.sun.com ([129.147.62.5]) by brmea-mail-1.sun.com (8.13.6+Sun/8.12.9) with ESMTP id n9SLWhmO004701; Wed, 28 Oct 2009 21:32:43 GMT
Received: from binky.Central.Sun.COM (binky.Central.Sun.COM [129.153.128.104]) by dm-central-02.central.sun.com (8.13.8+Sun/8.13.8/ENSMAIL,v2.2) with ESMTP id n9SLWheo056711; Wed, 28 Oct 2009 15:32:43 -0600 (MDT)
Received: from binky.Central.Sun.COM (localhost [127.0.0.1]) by binky.Central.Sun.COM (8.14.3+Sun/8.14.3) with ESMTP id n9SLLHlU002786; Wed, 28 Oct 2009 16:21:17 -0500 (CDT)
Received: (from nw141292@localhost) by binky.Central.Sun.COM (8.14.3+Sun/8.14.3/Submit) id n9SLLHC8002785;  Wed, 28 Oct 2009 16:21:17 -0500 (CDT)
X-Authentication-Warning: binky.Central.Sun.COM: nw141292 set sender to Nicolas.Williams@sun.com using -f
Date: Wed, 28 Oct 2009 16:21:17 -0500
From: Nicolas Williams <Nicolas.Williams@sun.com>
To: Larry Zhu <larry.zhu@microsoft.com>
Message-ID: <20091028212116.GI1105@Sun.COM>
References: <20091005162704.8C1B43A6873@core3.amsl.com> <D3DC9D45B39CFC4CB312B2DD279B354C29BAE0E5@TK5EX14MBXW653.wingroup.windeploy.ntdev.microsoft.com> <20091028160013.GL1105@Sun.COM> <20091028163322.GO1105@Sun.COM> <D3DC9D45B39CFC4CB312B2DD279B354C29BAEE4B@TK5EX14MBXW653.wingroup.windeploy.ntdev.microsoft.com>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
In-Reply-To: <D3DC9D45B39CFC4CB312B2DD279B354C29BAEE4B@TK5EX14MBXW653.wingroup.windeploy.ntdev.microsoft.com>
User-Agent: Mutt/1.5.7i
Cc: "channel-binding@ietf.org" <channel-binding@ietf.org>, "tls@ietf.org" <tls@ietf.org>, "sasl@ietf.org" <sasl@ietf.org>
Subject: Re: [sasl] [TLS] lasgt call comments (st Call: draft-altman-tls-channel-bindings (Channel	Bindings for	TLS)	to Proposed Standard)
X-BeenThere: sasl@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: SASL Working Group <sasl.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/sasl>, <mailto:sasl-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/sasl>
List-Post: <mailto:sasl@ietf.org>
List-Help: <mailto:sasl-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/sasl>, <mailto:sasl-request@ietf.org?subject=subscribe>
X-List-Received-Date: Wed, 28 Oct 2009 21:32:29 -0000

On Wed, Oct 28, 2009 at 08:59:53PM +0000, Larry Zhu wrote:
> How about
> 
>    The client's TLS Finished message (note: the Finished 
>    struct) in the clear text form from the first handshake of 
>    the TLS session as identified by the 
>    session ID in the server 
>    hello message, as defined in 7.4.1.3 of RFC5246, 
>     of the last handshake in the current active TLS session.
>    
> 
> Can we label this as "tls-session-unique"? The existing deployment
> seems to have a different interpretation but we do not have a real
> usage case for that. It does not hurt to create another label just to
> avoid potential interoperability issues.
> 
> This seems to be the most intuitive definition and we do not have any
> ambiguity here.

Larry and I just spoke on the phone.

The real issue is the word "connection".  Apparently RFC5246 uses it in
two senses, one of them being the-transport-layer-above-IP (i.e., TCP
for TLS and UDP for DTLS, typically), and that is confusing.

I explained to Larry that using "session" instead, as in his proposed
text above is nearly impossible to implement, because it means updating
session resumption state caches -- a very intrusive change to existing
TLS implementations.

What Larry really wants is to find a way to refer to what Microsoft's
SSPI-based implementation of TLS calls a "security context".  Advice on
what would be the best TLS-specific term for "security context" is
welcome.

Nico
-- 

From simon@josefsson.org  Thu Oct 29 07:31:53 2009
Return-Path: <simon@josefsson.org>
X-Original-To: sasl@core3.amsl.com
Delivered-To: sasl@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id C77913A6768 for <sasl@core3.amsl.com>; Thu, 29 Oct 2009 07:31:53 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -3.688
X-Spam-Level: 
X-Spam-Status: No, score=-3.688 tagged_above=-999 required=5 tests=[AWL=0.911,  BAYES_00=-2.599, GB_I_LETTER=-2]
Received: from mail.ietf.org ([64.170.98.32]) by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id nEwY1Fm3eJr8 for <sasl@core3.amsl.com>; Thu, 29 Oct 2009 07:31:53 -0700 (PDT)
Received: from yxa-v.extundo.com (yxa-v.extundo.com [83.241.177.39]) by core3.amsl.com (Postfix) with ESMTP id 2ED3E3A67AB for <sasl@ietf.org>; Thu, 29 Oct 2009 07:31:48 -0700 (PDT)
Received: from mocca.josefsson.org (c80-216-24-211.bredband.comhem.se [80.216.24.211]) (authenticated bits=0) by yxa-v.extundo.com (8.14.3/8.14.3/Debian-5) with ESMTP id n9TEVwZe016977 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES128-SHA bits=128 verify=NOT); Thu, 29 Oct 2009 15:32:00 +0100
From: Simon Josefsson <simon@josefsson.org>
To: Nicolas Williams <Nicolas.Williams@sun.com>
References: <808FD6E27AD4884E94820BC333B2DB774E7F2F03EC@NOK-EUMSG-01.mgdnok.nokia.com> <87aaze85ac.fsf@mocca.josefsson.org> <20091026170119.GL892@Sun.COM>
OpenPGP: id=B565716F; url=http://josefsson.org/key.txt
X-Hashcash: 1:22:091029:sasl@ietf.org::Ax1JAGI4OljZtQUR:42AB
X-Hashcash: 1:22:091029:nicolas.williams@sun.com::r+WSA7h0/dBEmI/u:FCar
Date: Thu, 29 Oct 2009 15:31:58 +0100
In-Reply-To: <20091026170119.GL892@Sun.COM> (Nicolas Williams's message of "Mon, 26 Oct 2009 12:01:19 -0500")
Message-ID: <87bpjqfezl.fsf@mocca.josefsson.org>
User-Agent: Gnus/5.110011 (No Gnus v0.11) Emacs/23.1 (gnu/linux)
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
X-Virus-Scanned: clamav-milter 0.95.2 at yxa-v
X-Virus-Status: Clean
Cc: sasl@ietf.org
Subject: Re: [sasl] AD review comments for draft-ietf-sasl-gs2
X-BeenThere: sasl@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: SASL Working Group <sasl.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/sasl>, <mailto:sasl-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/sasl>
List-Post: <mailto:sasl@ietf.org>
List-Help: <mailto:sasl-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/sasl>, <mailto:sasl-request@ietf.org?subject=subscribe>
X-List-Received-Date: Thu, 29 Oct 2009 14:31:53 -0000

Nicolas Williams <Nicolas.Williams@sun.com> writes:

> On Mon, Oct 26, 2009 at 05:54:19PM +0100, Simon Josefsson wrote:
>> <Pasi.Eronen@nokia.com> writes:
>> > - Second, should Section 8 say something about the flags that are not
>> > related to per-message tokens? (deleg, mutual, anon)
>> 
>> I'm not sure what to add, but will add text if suggested.
>
> I think we should add something like this:
>
>    The mutual_req_flag MUST be set.  If channel binding is used then the
>    client MUST check that the corresponding ret_flag is set when the
>    context is fully establish, else authentication MUST fail.
>
> The first requirement is important, while the rest is, IMO, redundant --
> channel binding necessarily implies mutual authentication in the
> Kerberos sense.  Note that we don't require checking that mutual
> authentication actually happened.

Seems fine to me, added in my local copy.

> And we should add something like this too:
>
>    Use or non-use of deleg_req_flag and anon_req_flag is an
>    implementation-specific detail.  SASL and GS2 implementors are
>    encouraged to provide programming interfaces by which clients may
>    choose to delegate credentials and by which servers may receive them.
>    SASL and GS2 implementors are encouraged to provide programming
>    interfaces which provide a good mapping of GSS-API naming options.

Added too.

>> > - Section 4 should say either that character case (for things like
>> > "p=" and "a=") must be exactly as shown here, or that they're case
>> > insensitive (if nothing is said, RFC 5234 strings are by default case
>> > insensitive, I think).
>> 
>> I added this paragraph before the ABNF:
>> 
>> 	  <t>The figure below describes the permissible attributes,
>> 	    their use, and the format of their values.  All attribute
>> 	    names are single US-ASCII letters and are
>> 	    case-sensitive.</t>
>
> For the record, I don't mind if they're really case-insensitive.

I would prefer to keep SCRAM and GS2 in sync here.

Thanks,
/Simon

From tlyu@MIT.EDU  Thu Oct 29 13:27:44 2009
Return-Path: <tlyu@MIT.EDU>
X-Original-To: sasl@core3.amsl.com
Delivered-To: sasl@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id ACA7528C0E7 for <sasl@core3.amsl.com>; Thu, 29 Oct 2009 13:27:44 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -6.39
X-Spam-Level: 
X-Spam-Status: No, score=-6.39 tagged_above=-999 required=5 tests=[AWL=0.209,  BAYES_00=-2.599, RCVD_IN_DNSWL_MED=-4]
Received: from mail.ietf.org ([64.170.98.32]) by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 7W987z4qnQcx for <sasl@core3.amsl.com>; Thu, 29 Oct 2009 13:27:43 -0700 (PDT)
Received: from biscayne-one-station.mit.edu (BISCAYNE-ONE-STATION.MIT.EDU [18.7.7.80]) by core3.amsl.com (Postfix) with ESMTP id C1F923A6A66 for <sasl@ietf.org>; Thu, 29 Oct 2009 13:27:43 -0700 (PDT)
Received: from outgoing.mit.edu (OUTGOING-AUTH.MIT.EDU [18.7.22.103]) by biscayne-one-station.mit.edu (8.13.6/8.9.2) with ESMTP id n9TKRjSk000046 for <sasl@ietf.org>; Thu, 29 Oct 2009 16:27:45 -0400 (EDT)
Received: from cathode-dark-space.mit.edu (CATHODE-DARK-SPACE.MIT.EDU [18.18.1.96]) (authenticated bits=56) (User authenticated as tlyu@ATHENA.MIT.EDU) by outgoing.mit.edu (8.13.6/8.12.4) with ESMTP id n9TKRvP0020197 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT) for <sasl@ietf.org>; Thu, 29 Oct 2009 16:27:58 -0400 (EDT)
Received: (from tlyu@localhost) by cathode-dark-space.mit.edu (8.12.9.20060308) id n9TKRrcb004884; Thu, 29 Oct 2009 16:27:53 -0400 (EDT)
To: <sasl@ietf.org>
References: <ldvd448jw8g.fsf@cathode-dark-space.mit.edu>
From: Tom Yu <tlyu@MIT.EDU>
Date: Thu, 29 Oct 2009 16:27:53 -0400
In-Reply-To: <ldvd448jw8g.fsf@cathode-dark-space.mit.edu> (Tom Yu's message of "Tue, 27 Oct 2009 18:41:19 -0400")
Message-ID: <ldv3a529c8m.fsf@cathode-dark-space.mit.edu>
Lines: 4
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
X-Scanned-By: MIMEDefang 2.42
Subject: Re: [sasl] SASL WG agenda and attendance
X-BeenThere: sasl@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: SASL Working Group <sasl.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/sasl>, <mailto:sasl-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/sasl>
List-Post: <mailto:sasl@ietf.org>
List-Help: <mailto:sasl-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/sasl>, <mailto:sasl-request@ietf.org?subject=subscribe>
X-List-Received-Date: Thu, 29 Oct 2009 20:27:44 -0000

You might have noticed that I have not uploaded a SASL agenda for
IETF76.  At this point, I am leaning toward cancelling the session for
lack of agenda items.  Please let me know before Monday if you have
objections.

From alexey.melnikov@isode.com  Thu Oct 29 13:55:27 2009
Return-Path: <alexey.melnikov@isode.com>
X-Original-To: sasl@core3.amsl.com
Delivered-To: sasl@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id E04CB3A69B5 for <sasl@core3.amsl.com>; Thu, 29 Oct 2009 13:55:27 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.327
X-Spam-Level: 
X-Spam-Status: No, score=-2.327 tagged_above=-999 required=5 tests=[AWL=0.272,  BAYES_00=-2.599]
Received: from mail.ietf.org ([64.170.98.32]) by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 5pSOkwi1GdQg for <sasl@core3.amsl.com>; Thu, 29 Oct 2009 13:55:27 -0700 (PDT)
Received: from rufus.isode.com (rufus.isode.com [62.3.217.251]) by core3.amsl.com (Postfix) with ESMTP id 0295D3A68E7 for <sasl@ietf.org>; Thu, 29 Oct 2009 13:55:27 -0700 (PDT)
Received: from [92.40.79.110] (92.40.79.110.sub.mbb.three.co.uk [92.40.79.110])  by rufus.isode.com (submission channel) via TCP with ESMTPA  id <SuoBSABfGw4b@rufus.isode.com>; Thu, 29 Oct 2009 20:55:41 +0000
Message-ID: <4AEA013F.5050008@isode.com>
Date: Thu, 29 Oct 2009 20:55:27 +0000
From: Alexey Melnikov <alexey.melnikov@isode.com>
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7.12) Gecko/20050915
X-Accept-Language: en-us, en
To: Tom Yu <tlyu@MIT.EDU>
References: <ldvd448jw8g.fsf@cathode-dark-space.mit.edu> <ldv3a529c8m.fsf@cathode-dark-space.mit.edu>
In-Reply-To: <ldv3a529c8m.fsf@cathode-dark-space.mit.edu>
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii; format=flowed
Content-Transfer-Encoding: 7bit
Cc: sasl@ietf.org
Subject: Re: [sasl] SASL WG agenda and attendance
X-BeenThere: sasl@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: SASL Working Group <sasl.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/sasl>, <mailto:sasl-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/sasl>
List-Post: <mailto:sasl@ietf.org>
List-Help: <mailto:sasl-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/sasl>, <mailto:sasl-request@ietf.org?subject=subscribe>
X-List-Received-Date: Thu, 29 Oct 2009 20:55:28 -0000

Tom Yu wrote:

>You might have noticed that I have not uploaded a SASL agenda for
>IETF76.  At this point, I am leaning toward cancelling the session for
>lack of agenda items.  Please let me know before Monday if you have
>objections.
>
I would like to suggest that we can use the SASL slot to discuss 
requirements on SASLPrep/StringPrep update/replacement. I understand 
that not all interested parties will be present, but it would be nice to 
get some progress on this before Anaheim.

From alexey.melnikov@isode.com  Thu Oct 29 14:28:36 2009
Return-Path: <alexey.melnikov@isode.com>
X-Original-To: sasl@core3.amsl.com
Delivered-To: sasl@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id AE5163A695D; Thu, 29 Oct 2009 14:28:36 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.377
X-Spam-Level: 
X-Spam-Status: No, score=-2.377 tagged_above=-999 required=5 tests=[AWL=0.222,  BAYES_00=-2.599]
Received: from mail.ietf.org ([64.170.98.32]) by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id DN2KWsdymwcY; Thu, 29 Oct 2009 14:28:35 -0700 (PDT)
Received: from rufus.isode.com (rufus.isode.com [62.3.217.251]) by core3.amsl.com (Postfix) with ESMTP id 8C2013A686C; Thu, 29 Oct 2009 14:28:35 -0700 (PDT)
Received: from [92.40.79.110] (92.40.79.110.sub.mbb.three.co.uk [92.40.79.110])  by rufus.isode.com (submission channel) via TCP with ESMTPA  id <SuoJCwBfGxg8@rufus.isode.com>; Thu, 29 Oct 2009 21:28:50 +0000
Message-ID: <4AEA0905.6030306@isode.com>
Date: Thu, 29 Oct 2009 21:28:37 +0000
From: Alexey Melnikov <alexey.melnikov@isode.com>
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7.12) Gecko/20050915
X-Accept-Language: en-us, en
To: ietf@ietf.org
References: <20091026150534.160253A696D@core3.amsl.com>
In-Reply-To: <20091026150534.160253A696D@core3.amsl.com>
MIME-Version: 1.0
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
Cc: sasl@ietf.org
Subject: Re: [sasl] Last Call: draft-ietf-sasl-gs2 (Using GSS-API Mechanisms in SASL: The GS2 Mechanism Family) to Proposed Standard
X-BeenThere: sasl@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: SASL Working Group <sasl.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/sasl>, <mailto:sasl-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/sasl>
List-Post: <mailto:sasl@ietf.org>
List-Help: <mailto:sasl-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/sasl>, <mailto:sasl-request@ietf.org?subject=subscribe>
X-List-Received-Date: Thu, 29 Oct 2009 21:28:36 -0000

The IESG wrote:

>The IESG has received a request from the Simple Authentication and 
>Security Layer WG (sasl) to consider the following document:
>
>- 'Using GSS-API Mechanisms in SASL: The GS2 Mechanism Family '
>   <draft-ietf-sasl-gs2-17.txt> as a Proposed Standard
>
>The IESG plans to make a decision in the next few weeks, and solicits
>final comments on this action.  Please send substantive comments to the
>ietf@ietf.org mailing lists by 2009-11-18. Exceptionally, 
>comments may be sent to iesg@ietf.org instead. In either case, please 
>retain the beginning of the Subject line to allow automated sorting.
>  
>
I would like to suggest a clarification to the IANA registration for 
GS2-* family of SASL mechanisms:

In Section 15, 3rd paragraph:

OLD:
  The IANA is advised that SASL mechanism names starting with "GS2-"
  are reserved for SASL mechanisms which conform to this document.  The
  IANA is directed to place a statement to that effect in the sasl-
  mechanisms registry.

NEW:
  The IANA is advised that SASL mechanism names starting with "GS2-"
  are reserved for SASL mechanisms which conform to this document. The
  IANA is directed to place a statement to that effect in the sasl-
  mechanisms registry.  With the exception of "GS2-KRB5" and 
"GS2-KRB5-PLUS"
  (registered later in this section), all other mechanism names in this 
family are constructed as
  defined in section 3.1.

Opinions?


From stpeter@stpeter.im  Thu Oct 29 14:30:12 2009
Return-Path: <stpeter@stpeter.im>
X-Original-To: sasl@core3.amsl.com
Delivered-To: sasl@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id 2156E3A686C for <sasl@core3.amsl.com>; Thu, 29 Oct 2009 14:30:12 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.549
X-Spam-Level: 
X-Spam-Status: No, score=-2.549 tagged_above=-999 required=5 tests=[AWL=0.050,  BAYES_00=-2.599]
Received: from mail.ietf.org ([64.170.98.32]) by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id ztNHkIIR7Xlz for <sasl@core3.amsl.com>; Thu, 29 Oct 2009 14:30:10 -0700 (PDT)
Received: from stpeter.im (stpeter.im [207.210.219.233]) by core3.amsl.com (Postfix) with ESMTP id C49283A6800 for <sasl@ietf.org>; Thu, 29 Oct 2009 14:30:10 -0700 (PDT)
Received: from leavealone.cisco.com (72-163-0-129.cisco.com [72.163.0.129]) (Authenticated sender: stpeter) by stpeter.im (Postfix) with ESMTPSA id 3D20B4008F; Thu, 29 Oct 2009 15:30:26 -0600 (MDT)
Message-ID: <4AEA096F.5020604@stpeter.im>
Date: Thu, 29 Oct 2009 15:30:23 -0600
From: Peter Saint-Andre <stpeter@stpeter.im>
User-Agent: Thunderbird 2.0.0.23 (Macintosh/20090812)
MIME-Version: 1.0
To: Alexey Melnikov <alexey.melnikov@isode.com>
References: <ldvd448jw8g.fsf@cathode-dark-space.mit.edu> <ldv3a529c8m.fsf@cathode-dark-space.mit.edu> <4AEA013F.5050008@isode.com>
In-Reply-To: <4AEA013F.5050008@isode.com>
X-Enigmail-Version: 0.96.0
OpenPGP: url=http://www.saint-andre.com/me/stpeter.asc
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 7bit
Cc: sasl@ietf.org, Tom Yu <tlyu@MIT.EDU>
Subject: Re: [sasl] SASL WG agenda and attendance
X-BeenThere: sasl@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: SASL Working Group <sasl.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/sasl>, <mailto:sasl-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/sasl>
List-Post: <mailto:sasl@ietf.org>
List-Help: <mailto:sasl-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/sasl>, <mailto:sasl-request@ietf.org?subject=subscribe>
X-List-Received-Date: Thu, 29 Oct 2009 21:30:12 -0000

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On 10/29/09 2:55 PM, Alexey Melnikov wrote:
> Tom Yu wrote:
> 
>> You might have noticed that I have not uploaded a SASL agenda for
>> IETF76.  At this point, I am leaning toward cancelling the session for
>> lack of agenda items.  Please let me know before Monday if you have
>> objections.
>>
> I would like to suggest that we can use the SASL slot to discuss
> requirements on SASLPrep/StringPrep update/replacement. I understand
> that not all interested parties will be present, but it would be nice to
> get some progress on this before Anaheim.

Works for me. I know that some XMPP folks are interested both in
SASLprep and in general stringprep issues.

/psa


-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.8 (Darwin)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAkrqCW8ACgkQNL8k5A2w/vzRsACaA9LqAchJflHduivJuTUMSajs
OcwAoIR5tB6R72B1MdFSTcHS3YTqo3js
=tZZ3
-----END PGP SIGNATURE-----

From simon@josefsson.org  Fri Oct 30 00:31:39 2009
Return-Path: <simon@josefsson.org>
X-Original-To: sasl@core3.amsl.com
Delivered-To: sasl@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id B1D193A69F3; Fri, 30 Oct 2009 00:31:39 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.802
X-Spam-Level: 
X-Spam-Status: No, score=-2.802 tagged_above=-999 required=5 tests=[AWL=-0.203, BAYES_00=-2.599]
Received: from mail.ietf.org ([64.170.98.32]) by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 2MhjbaqD41WG; Fri, 30 Oct 2009 00:31:38 -0700 (PDT)
Received: from yxa-v.extundo.com (yxa-v.extundo.com [83.241.177.39]) by core3.amsl.com (Postfix) with ESMTP id 8470B3A69EB; Fri, 30 Oct 2009 00:31:37 -0700 (PDT)
Received: from mocca.josefsson.org (c80-216-24-211.bredband.comhem.se [80.216.24.211]) (authenticated bits=0) by yxa-v.extundo.com (8.14.3/8.14.3/Debian-5) with ESMTP id n9U7Vo9Y006263 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES128-SHA bits=128 verify=NOT); Fri, 30 Oct 2009 08:31:51 +0100
From: Simon Josefsson <simon@josefsson.org>
To: Alexey Melnikov <alexey.melnikov@isode.com>
References: <20091026150534.160253A696D@core3.amsl.com> <4AEA0905.6030306@isode.com>
OpenPGP: id=B565716F; url=http://josefsson.org/key.txt
X-Hashcash: 1:22:091030:ietf@ietf.org::b8PImG1X+fQ0pwof:QqRy
X-Hashcash: 1:22:091030:sasl@ietf.org::eMWLIUdSBm6c5z/3:VN1z
X-Hashcash: 1:22:091030:alexey.melnikov@isode.com::EUuIkxpndLu3WaDN:gWnj
Date: Fri, 30 Oct 2009 08:31:50 +0100
In-Reply-To: <4AEA0905.6030306@isode.com> (Alexey Melnikov's message of "Thu,  29 Oct 2009 21:28:37 +0000")
Message-ID: <87vdhxcp7d.fsf@mocca.josefsson.org>
User-Agent: Gnus/5.110011 (No Gnus v0.11) Emacs/23.1 (gnu/linux)
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
X-Virus-Scanned: clamav-milter 0.95.2 at yxa-v
X-Virus-Status: Clean
Cc: ietf@ietf.org, sasl@ietf.org
Subject: Re: [sasl] Last Call: draft-ietf-sasl-gs2 (Using GSS-API Mechanisms in SASL: The GS2 Mechanism Family) to Proposed Standard
X-BeenThere: sasl@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: SASL Working Group <sasl.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/sasl>, <mailto:sasl-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/sasl>
List-Post: <mailto:sasl@ietf.org>
List-Help: <mailto:sasl-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/sasl>, <mailto:sasl-request@ietf.org?subject=subscribe>
X-List-Received-Date: Fri, 30 Oct 2009 07:31:39 -0000

Alexey Melnikov <alexey.melnikov@isode.com> writes:

> The IESG wrote:
>
>> The IESG has received a request from the Simple Authentication and
>> Security Layer WG (sasl) to consider the following document:
>>
>>- 'Using GSS-API Mechanisms in SASL: The GS2 Mechanism Family '
>>   <draft-ietf-sasl-gs2-17.txt> as a Proposed Standard
>>
>>The IESG plans to make a decision in the next few weeks, and solicits
>>final comments on this action.  Please send substantive comments to the
>> ietf@ietf.org mailing lists by 2009-11-18. Exceptionally, comments
>> may be sent to iesg@ietf.org instead. In either case, please retain
>> the beginning of the Subject line to allow automated sorting.
>>  
>>
> I would like to suggest a clarification to the IANA registration for
> GS2-* family of SASL mechanisms:
>
> In Section 15, 3rd paragraph:
>
> OLD:
>  The IANA is advised that SASL mechanism names starting with "GS2-"
>  are reserved for SASL mechanisms which conform to this document.  The
>  IANA is directed to place a statement to that effect in the sasl-
>  mechanisms registry.
>
> NEW:
>  The IANA is advised that SASL mechanism names starting with "GS2-"
>  are reserved for SASL mechanisms which conform to this document. The
>  IANA is directed to place a statement to that effect in the sasl-
>  mechanisms registry.  With the exception of "GS2-KRB5" and
> "GS2-KRB5-PLUS"
>  (registered later in this section), all other mechanism names in this
> family are constructed as
>  defined in section 3.1.
>
> Opinions?

This forces future GSS-API mechanisms that provide a SASL mechanism name
to use a SASL name outside of the GS2-* prefix.  Was that your
intention?

I thought it would be nice to allow a future GSS-API mechanism, called
say FOOBAR, to be able to register the SASL mechanism name GS2-FOOBAR.
But having them register FOOBAR instead is of course fine too.

I'm fine with adding the text if this situation was what you intended.

/Simon

From Nicolas.Williams@sun.com  Fri Oct 30 15:48:02 2009
Return-Path: <Nicolas.Williams@sun.com>
X-Original-To: sasl@core3.amsl.com
Delivered-To: sasl@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id F411B3A68B1; Fri, 30 Oct 2009 15:48:01 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -6.045
X-Spam-Level: 
X-Spam-Status: No, score=-6.045 tagged_above=-999 required=5 tests=[AWL=0.001,  BAYES_00=-2.599, HELO_MISMATCH_COM=0.553, RCVD_IN_DNSWL_MED=-4]
Received: from mail.ietf.org ([64.170.98.32]) by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id tfIUfHhXy2Bj; Fri, 30 Oct 2009 15:48:01 -0700 (PDT)
Received: from brmea-mail-1.sun.com (brmea-mail-1.Sun.COM [192.18.98.31]) by core3.amsl.com (Postfix) with ESMTP id 0973B3A6843; Fri, 30 Oct 2009 15:48:00 -0700 (PDT)
Received: from dm-central-02.central.sun.com ([129.147.62.5]) by brmea-mail-1.sun.com (8.13.6+Sun/8.12.9) with ESMTP id n9UMmFPs019151; Fri, 30 Oct 2009 22:48:15 GMT
Received: from binky.Central.Sun.COM (binky.Central.Sun.COM [129.153.128.104]) by dm-central-02.central.sun.com (8.13.8+Sun/8.13.8/ENSMAIL,v2.2) with ESMTP id n9UMmFvG011443; Fri, 30 Oct 2009 16:48:15 -0600 (MDT)
Received: from binky.Central.Sun.COM (localhost [127.0.0.1]) by binky.Central.Sun.COM (8.14.3+Sun/8.14.3) with ESMTP id n9UMamJo004135; Fri, 30 Oct 2009 17:36:48 -0500 (CDT)
Received: (from nw141292@localhost) by binky.Central.Sun.COM (8.14.3+Sun/8.14.3/Submit) id n9UMam8c004134;  Fri, 30 Oct 2009 17:36:48 -0500 (CDT)
X-Authentication-Warning: binky.Central.Sun.COM: nw141292 set sender to Nicolas.Williams@sun.com using -f
Date: Fri, 30 Oct 2009 17:36:48 -0500
From: Nicolas Williams <Nicolas.Williams@sun.com>
To: Larry Zhu <larry.zhu@microsoft.com>
Message-ID: <20091030223647.GO1105@Sun.COM>
References: <20091005162704.8C1B43A6873@core3.amsl.com> <D3DC9D45B39CFC4CB312B2DD279B354C29BADFF7@TK5EX14MBXW653.wingroup.windeploy.ntdev.microsoft.com>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
In-Reply-To: <D3DC9D45B39CFC4CB312B2DD279B354C29BADFF7@TK5EX14MBXW653.wingroup.windeploy.ntdev.microsoft.com>
User-Agent: Mutt/1.5.7i
Cc: "channel-binding@ietf.org" <channel-binding@ietf.org>, "tls@ietf.org" <tls@ietf.org>, "sasl@ietf.org" <sasl@ietf.org>
Subject: [sasl] RESOLVED (Re: lasgt call comments (st Call: draft-altman-tls-channel-bindings (Channel	Bindings for TLS) to Proposed Standard))
X-BeenThere: sasl@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: SASL Working Group <sasl.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/sasl>, <mailto:sasl-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/sasl>
List-Post: <mailto:sasl@ietf.org>
List-Help: <mailto:sasl-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/sasl>, <mailto:sasl-request@ietf.org?subject=subscribe>
X-List-Received-Date: Fri, 30 Oct 2009 22:48:02 -0000

I spoke at length with Larry.

His concern is that the word "conenction" might be taken to mean "TCP
connection" or "connection for the transport below TLS".

Clearly it is not reasonable to expect to extract the TLS channel
binding from the "connection for the transport below TLS"!

Larry's proposal to say "session" was only to make that confusion go
away, but that proposal is very difficult to implement (as I described
separately already).

Larry has indicated to me (and I expect will indicate on the list in
reply to this email) that he will be happy if we simply clarify that
"TLS connection" refers to the TLS state, NOT to the transport below.

Unfortunately RFC5246 does not seem to have a term by which to refer the
"TLS connection" unambiguously: "connection" is defined in the glossary
(page 80) to mean that which Larry doesn't want (underlying transport),
but then, in section 6.1 RFC5246 quite clearly uses the word
"connection" to refer to "TLS connection", not to the underlying
transport.

Thus this is a simple matter of wordsmithing.

Another problem that Larry has is that in his implementation what I call
a "TLS connection" is called a "security context", and if the
application re-handshakes (e.g., to authenticate a user) then the result
is a second security context -- we need to be extra clear that it's the
client Finished message from the _first_ "security context" that we're
after.

My proposal, then, is this:

OLD:

   Description: The client's TLS Finished message (note: the Finished
   struct) from the first handshake of the connection (note: connection,
   not session, so that the channel binding is specific to each
   connection regardless of whether session resumption is used).

NEW:

   Description: The client's TLS Finished message (note: the Finished
   struct) from the first handshake of the application's TLS connection.

   NOTES:

   a) If a session is resumed, the client's TLS Finished message from
      the session resumption handshake is to be used;

   b) If a client does multiple TLS handshakes in sequence, each
      protected by the previous one, then the client's TLS Finished
      message from the first/outermost TLS connection is to be used;

   c) By "TLS connection" we refer to the TLS connection state, not to
      any notion of connection of any underlying transport protocols
      (such as TCP, UDP, SCTP, etcetera).

I'm not sure that we can make it any clearer.

Larry, please review.

Martin, please review.

Nico
-- 
