
From owner-ietf-sasl@mail.imc.org  Mon Aug  3 01:22:05 2009
Return-Path: <owner-ietf-sasl@mail.imc.org>
X-Original-To: ietfarch-sasl-archive-Zoh8yoh9@core3.amsl.com
Delivered-To: ietfarch-sasl-archive-Zoh8yoh9@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id 5038D28C0F8 for <ietfarch-sasl-archive-Zoh8yoh9@core3.amsl.com>; Mon,  3 Aug 2009 01:22:05 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.582
X-Spam-Level: 
X-Spam-Status: No, score=-2.582 tagged_above=-999 required=5 tests=[AWL=0.017, 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 16DmgzfD-Hzl for <ietfarch-sasl-archive-Zoh8yoh9@core3.amsl.com>; Mon,  3 Aug 2009 01:22:04 -0700 (PDT)
Received: from balder-227.proper.com (properopus-pt.tunnel.tserv3.fmt2.ipv6.he.net [IPv6:2001:470:1f04:392::2]) by core3.amsl.com (Postfix) with ESMTP id 1A57F28C0EE for <sasl-archive-Zoh8yoh9@ietf.org>; Mon,  3 Aug 2009 01:22:03 -0700 (PDT)
Received: from balder-227.proper.com (localhost [127.0.0.1]) by balder-227.proper.com (8.14.2/8.14.2) with ESMTP id n7389J44056591 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Mon, 3 Aug 2009 01:09:19 -0700 (MST) (envelope-from owner-ietf-sasl@mail.imc.org)
Received: (from majordom@localhost) by balder-227.proper.com (8.14.2/8.13.5/Submit) id n7389JRt056590; Mon, 3 Aug 2009 01:09:19 -0700 (MST) (envelope-from owner-ietf-sasl@mail.imc.org)
X-Authentication-Warning: balder-227.proper.com: majordom set sender to owner-ietf-sasl@mail.imc.org using -f
Received: from yxa-v.extundo.com (yxa-v.extundo.com [83.241.177.39]) by balder-227.proper.com (8.14.2/8.14.2) with ESMTP id n7389BA1056565 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=FAIL) for <ietf-sasl@imc.org>; Mon, 3 Aug 2009 01:09:18 -0700 (MST) (envelope-from simon@josefsson.org)
Received: from mocca.josefsson.org (c80-216-31-183.bredband.comhem.se [80.216.31.183]) (authenticated bits=0) by yxa-v.extundo.com (8.14.3/8.14.3/Debian-5) with ESMTP id n73897aW008267 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES128-SHA bits=128 verify=NOT); Mon, 3 Aug 2009 10:09:09 +0200
From: Simon Josefsson <simon@josefsson.org>
To: Peter Saint-Andre <stpeter@stpeter.im>
Cc: Alexey Melnikov <alexey.melnikov@isode.com>, ietf-sasl@imc.org
Subject: Re: WG Last Call: draft-ietf-sasl-scram-02
References: <ldvbpnouhy3.fsf@cathode-dark-space.mit.edu> <4A703964.3090203@stpeter.im> <4A71D97F.10202@stpeter.im> <4A71DEA0.7020700@isode.com> <877hxqow3d.fsf@mocca.josefsson.org> <4A737AE8.7010108@stpeter.im>
OpenPGP: id=B565716F; url=http://josefsson.org/key.txt
X-Hashcash: 1:22:090803:stpeter@stpeter.im::L+9Cnl5J8u9dPdNA:HfsI
X-Hashcash: 1:22:090803:ietf-sasl@imc.org::6hqONuEvHgQDSskp:KzSw
X-Hashcash: 1:22:090803:alexey.melnikov@isode.com::SR+1xVA9HZmrMgS0:J3hj
Date: Mon, 03 Aug 2009 10:09:07 +0200
In-Reply-To: <4A737AE8.7010108@stpeter.im> (Peter Saint-Andre's message of "Fri, 31 Jul 2009 19:14:48 -0400")
Message-ID: <87prbdiajg.fsf@mocca.josefsson.org>
User-Agent: Gnus/5.110011 (No Gnus v0.11) Emacs/23.0.96 (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
Sender: owner-ietf-sasl@mail.imc.org
Precedence: bulk
List-Archive: <http://www.imc.org/ietf-sasl/mail-archive/>
List-ID: <ietf-sasl.imc.org>
List-Unsubscribe: <mailto:ietf-sasl-request@imc.org?body=unsubscribe>

Peter Saint-Andre <stpeter@stpeter.im> writes:

> On 7/30/09 2:37 PM, Simon Josefsson wrote:
>> Alexey Melnikov <alexey.melnikov@isode.com> writes:
>> 
>>> Peter Saint-Andre wrote:
>>>
>>>>> SECTION 4
>>>>>
>>>>> Typo: "hashed function" => "hash function"
>>>>>
>>>>> I think the following text is slightly ambiguous:
>>>>>
>>>>>   The "-PLUS" suffix is used only when the server supports channel
>>>>>   binding to the external channel.  In this case the server will
>>>>>   advertise both, SCRAM-SHA-1 and SCRAM-SHA-1-PLUS, otherwise the
>>>>>   server will advertise only SCRAM-SHA-1.  The "-PLUS" exists to allow
>>>>>   negotiation of the use of channel binding.  See Section 6.
>>>>>
>>>>> This could be read to mean that if a server does not support channel
>>>>> bindings, then it will advertise only all and only SCRAM-SHA-1 (but
>>>>> never, say, SCRAM-SHA-256). I think we mean that if a server does not
>>>>> support channel bindings, then it will advertise only mechanisms of the
>>>>> form SCRAM-SHA-length and never mechanisms of the form
>>>>> SCRAM-SHA-length-PLUS (thus not forbidding support for hash functions
>>>>> other than SHA-1).
>>>>>    
>>>>>
>>>> Alexey and I talked about this in Stockholm. I suggest the following text:
>>>>
>>>>   The "-PLUS" suffix is used only when the server supports channel
>>>>   binding to the external channel.  If the server supports channel
>>>>   binding, it will advertise both the "bare" and "plus" versions of
>>>>   whatever mechanisms it supports (e.g., if the server supports only
>>>>   SCRAM with SHA-1 then it will advertise support for both SCRAM-SHA-1
>>>>   and SCRAM-SHA-1-PLUS); if the server does not support channel
>>>>   binding, then it will advertise only the "bare" version of the
>>>>   mechanism (e.g., only SCRAM-SHA-1).  The "-PLUS" exists to allow
>>>>   negotiation of the use of channel binding.  See Section 6.
>>>>  
>>>>
>>> Ok, this text will be in -04.
>> 
>> Please reassure me that the same change isn't needed in GS2?  I don't
>> see any normative words above, and as far as I can tell the described
>> behaviour is already covered by other text in both SCRAM and GS2 anyway.
>
> Do you think that the former text was not ambiguous?

No, I think your version is definitely better, but I couldn't find
matching text in GS2 to change.  I _think_ your clarification is already
covered by what's in GS2 today, including for example this text:

	      <t>Servers SHOULD advertise both non-PLUS and the
		PLUS-variant of each GS2 mechanism name.  If the
		server cannot support channel binding, it MAY
		advertise only the non-PLUS variant.  If the server
		would never succeed authentication of the non-PLUS
		variant due to policy reasons, it MAY advertise only
		the PLUS-variant.</t>

It doesn't use the same words although I believe the intention is the
same.

/Simon


From owner-ietf-sasl@mail.imc.org  Tue Aug  4 08:40:20 2009
Return-Path: <owner-ietf-sasl@mail.imc.org>
X-Original-To: ietfarch-sasl-archive-Zoh8yoh9@core3.amsl.com
Delivered-To: ietfarch-sasl-archive-Zoh8yoh9@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id 6B5623A67CF for <ietfarch-sasl-archive-Zoh8yoh9@core3.amsl.com>; Tue,  4 Aug 2009 08:40:20 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -104.317
X-Spam-Level: 
X-Spam-Status: No, score=-104.317 tagged_above=-999 required=5 tests=[AWL=2.282, BAYES_00=-2.599, RCVD_IN_DNSWL_MED=-4, USER_IN_WHITELIST=-100]
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 1ikQG3qhekyx for <ietfarch-sasl-archive-Zoh8yoh9@core3.amsl.com>; Tue,  4 Aug 2009 08:40:14 -0700 (PDT)
Received: from balder-227.proper.com (properopus-pt.tunnel.tserv3.fmt2.ipv6.he.net [IPv6:2001:470:1f04:392::2]) by core3.amsl.com (Postfix) with ESMTP id 79EE43A708A for <sasl-archive-Zoh8yoh9@ietf.org>; Tue,  4 Aug 2009 08:39:20 -0700 (PDT)
Received: from balder-227.proper.com (localhost [127.0.0.1]) by balder-227.proper.com (8.14.2/8.14.2) with ESMTP id n74FU8YM092124 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Tue, 4 Aug 2009 08:30:08 -0700 (MST) (envelope-from owner-ietf-sasl@mail.imc.org)
Received: (from majordom@localhost) by balder-227.proper.com (8.14.2/8.13.5/Submit) id n74FU8bJ092123; Tue, 4 Aug 2009 08:30:08 -0700 (MST) (envelope-from owner-ietf-sasl@mail.imc.org)
X-Authentication-Warning: balder-227.proper.com: majordom set sender to owner-ietf-sasl@mail.imc.org using -f
Received: from mail.ietf.org (mail.ietf.org [64.170.98.32]) by balder-227.proper.com (8.14.2/8.14.2) with ESMTP id n74FU8kW092116 for <ietf-sasl@imc.org>; Tue, 4 Aug 2009 08:30:08 -0700 (MST) (envelope-from root@core3.amsl.com)
Received: by core3.amsl.com (Postfix, from userid 0) id 294E828C41C; Tue,  4 Aug 2009 08:30:01 -0700 (PDT)
From: Internet-Drafts@ietf.org
To: i-d-announce@ietf.org
Cc: ietf-sasl@imc.org
Subject: I-D Action:draft-ietf-sasl-gs2-16.txt 
Content-Type: Multipart/Mixed; Boundary="NextPart"
Mime-Version: 1.0
Message-Id: <20090804153002.294E828C41C@core3.amsl.com>
Date: Tue,  4 Aug 2009 08:30:02 -0700 (PDT)
Sender: owner-ietf-sasl@mail.imc.org
Precedence: bulk
List-Archive: <http://www.imc.org/ietf-sasl/mail-archive/>
List-ID: <ietf-sasl.imc.org>
List-Unsubscribe: <mailto:ietf-sasl-request@imc.org?body=unsubscribe>

--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           : Using GSS-API Mechanisms in SASL: The GS2 Mechanism Family
	Author(s)       : S. Josefsson, N. Williams
	Filename        : draft-ietf-sasl-gs2-16.txt
	Pages           : 24
	Date            : 2009-08-04

This document describes how to use a Generic Security Service
Application Program Interface (GSS-API) mechanism in the the Simple
Authentication and Security Layer (SASL) framework.  This is done by
defining a new SASL mechanism family, called GS2.  This mechanism
family offers a number of improvements over the previous "SASL/
GSSAPI" mechanism: it is more general, uses fewer messages for the
authentication phase in some cases, and supports negotiable use of
channel binding.  Only GSS-API mechanisms that support channel
binding are supported.

See <http://josefsson.org/sasl-gs2-*/> for more information.

A URL for this Internet-Draft is:
http://www.ietf.org/internet-drafts/draft-ietf-sasl-gs2-16.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-gs2-16.txt";
	site="ftp.ietf.org";
	access-type="anon-ftp";
	directory="internet-drafts"

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

--NextPart--


From owner-ietf-sasl@mail.imc.org  Mon Aug 10 13:08:12 2009
Return-Path: <owner-ietf-sasl@mail.imc.org>
X-Original-To: ietfarch-sasl-archive-Zoh8yoh9@core3.amsl.com
Delivered-To: ietfarch-sasl-archive-Zoh8yoh9@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id C264C28C2C1 for <ietfarch-sasl-archive-Zoh8yoh9@core3.amsl.com>; Mon, 10 Aug 2009 13:08:12 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.599
X-Spam-Level: 
X-Spam-Status: No, score=-2.599 tagged_above=-999 required=5 tests=[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 mLz+OdC+mUxo for <ietfarch-sasl-archive-Zoh8yoh9@core3.amsl.com>; Mon, 10 Aug 2009 13:08:11 -0700 (PDT)
Received: from balder-227.proper.com (properopus-pt.tunnel.tserv3.fmt2.ipv6.he.net [IPv6:2001:470:1f04:392::2]) by core3.amsl.com (Postfix) with ESMTP id 7C46A28C2BC for <sasl-archive-Zoh8yoh9@ietf.org>; Mon, 10 Aug 2009 13:08:11 -0700 (PDT)
Received: from balder-227.proper.com (localhost [127.0.0.1]) by balder-227.proper.com (8.14.2/8.14.2) with ESMTP id n7AK1QBH029289 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Mon, 10 Aug 2009 13:01:26 -0700 (MST) (envelope-from owner-ietf-sasl@mail.imc.org)
Received: (from majordom@localhost) by balder-227.proper.com (8.14.2/8.13.5/Submit) id n7AK1QkN029288; Mon, 10 Aug 2009 13:01:26 -0700 (MST) (envelope-from owner-ietf-sasl@mail.imc.org)
X-Authentication-Warning: balder-227.proper.com: majordom set sender to owner-ietf-sasl@mail.imc.org using -f
Received: from stpeter.im (stpeter.im [207.210.219.233]) by balder-227.proper.com (8.14.2/8.14.2) with ESMTP id n7AK1H85029268 for <ietf-sasl@imc.org>; Mon, 10 Aug 2009 13:01:25 -0700 (MST) (envelope-from stpeter@stpeter.im)
Received: from dhcp-64-101-72-211.cisco.com (dhcp-64-101-72-211.cisco.com [64.101.72.211]) (Authenticated sender: stpeter) by stpeter.im (Postfix) with ESMTPSA id 1286F4007B; Mon, 10 Aug 2009 14:01:14 -0600 (MDT)
Message-ID: <4A807C89.7@stpeter.im>
Date: Mon, 10 Aug 2009 14:01:13 -0600
From: Peter Saint-Andre <stpeter@stpeter.im>
User-Agent: Thunderbird 2.0.0.22 (Macintosh/20090605)
MIME-Version: 1.0
To: Tom Yu <tlyu@MIT.EDU>
CC: ietf-sasl@imc.org
Subject: Re: WG Last Call: draft-ietf-sasl-scram-02
References: <ldvbpnouhy3.fsf@cathode-dark-space.mit.edu>
In-Reply-To: <ldvbpnouhy3.fsf@cathode-dark-space.mit.edu>
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
Sender: owner-ietf-sasl@mail.imc.org
Precedence: bulk
List-Archive: <http://www.imc.org/ietf-sasl/mail-archive/>
List-ID: <ietf-sasl.imc.org>
List-Unsubscribe: <mailto:ietf-sasl-request@imc.org?body=unsubscribe>

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

On 7/13/09 8:17 PM, Tom Yu wrote:
> This message commences a WG Last Call on the following Internet-Draft:
> 
> 	Title           : Salted Challenge Response (SCRAM) SASL Mechanism

Although the WGLC is officially over, I have a question about the use of
SASLprep.

The SCRAM I-D (draft-ietf-sasl-scram-04) says the following:

   Before sending the username to the server, the client MUST
   prepare the username using the "SASLPrep" profile [RFC4013]
   of the "stringprep" algorithm [RFC3454].

In XMPP, we have traditionally used a different stringprep profile
("nodeprep") to prepare usernames. As far as I can see, nodeprep is more
strict than SASLprep. Therefore, any username which is prepared
according to nodeprep would be safe according to SASLprep.

Instead of requiring the application of SASLprep, I would prefer wording
such as this:

   Before sending the username to the server, the client MUST
   ensure that the username is formatted such that the "SASLPrep"
   profile [RFC4013] of the "stringprep" algorithm [RFC3454] can be
   applied to it without failing.

(We have similar wording in RFC 3920 and in rfc3920bis.)

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/

iEYEARECAAYFAkqAfIkACgkQNL8k5A2w/vwYrwCZATJzn3RcK+Cjs996FnIIr7El
3pwAnR95RzWJWcp6TDv91Er44bNOVa5m
=9AOc
-----END PGP SIGNATURE-----


From owner-ietf-sasl@mail.imc.org  Mon Aug 10 13:26:29 2009
Return-Path: <owner-ietf-sasl@mail.imc.org>
X-Original-To: ietfarch-sasl-archive-Zoh8yoh9@core3.amsl.com
Delivered-To: ietfarch-sasl-archive-Zoh8yoh9@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id 11E7428C28D for <ietfarch-sasl-archive-Zoh8yoh9@core3.amsl.com>; Mon, 10 Aug 2009 13:26:29 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.599
X-Spam-Level: 
X-Spam-Status: No, score=-2.599 tagged_above=-999 required=5 tests=[AWL=0.000, 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 TbvgttPrrNmZ for <ietfarch-sasl-archive-Zoh8yoh9@core3.amsl.com>; Mon, 10 Aug 2009 13:26:28 -0700 (PDT)
Received: from balder-227.proper.com (properopus-pt.tunnel.tserv3.fmt2.ipv6.he.net [IPv6:2001:470:1f04:392::2]) by core3.amsl.com (Postfix) with ESMTP id BA8583A6F01 for <sasl-archive-Zoh8yoh9@ietf.org>; Mon, 10 Aug 2009 13:26:27 -0700 (PDT)
Received: from balder-227.proper.com (localhost [127.0.0.1]) by balder-227.proper.com (8.14.2/8.14.2) with ESMTP id n7AKKF6T030609 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Mon, 10 Aug 2009 13:20:15 -0700 (MST) (envelope-from owner-ietf-sasl@mail.imc.org)
Received: (from majordom@localhost) by balder-227.proper.com (8.14.2/8.13.5/Submit) id n7AKKFp1030608; Mon, 10 Aug 2009 13:20:15 -0700 (MST) (envelope-from owner-ietf-sasl@mail.imc.org)
X-Authentication-Warning: balder-227.proper.com: majordom set sender to owner-ietf-sasl@mail.imc.org using -f
Received: from peirce.dave.cridland.net (peirce.dave.cridland.net [217.155.137.61]) by balder-227.proper.com (8.14.2/8.14.2) with ESMTP id n7AKKDMp030600 for <ietf-sasl@imc.org>; Mon, 10 Aug 2009 13:20:14 -0700 (MST) (envelope-from dave@cridland.net)
Received: from puncture ((unknown) [217.155.137.60]) by peirce.dave.cridland.net (submission) via TCP with ESMTPA id <SoCA-QAqP7wt@peirce.dave.cridland.net>; Mon, 10 Aug 2009 21:20:10 +0100
X-SMTP-Protocol-Errors: NORDNS
Subject: Re: WG Last Call: draft-ietf-sasl-scram-02
References: <ldvbpnouhy3.fsf@cathode-dark-space.mit.edu> <4A807C89.7@stpeter.im>
In-Reply-To: <4A807C89.7@stpeter.im>
MIME-Version: 1.0
Message-Id: <8048.1249935609.418434@puncture>
Date: Mon, 10 Aug 2009 21:20:09 +0100
From: Dave Cridland <dave@cridland.net>
To: Peter Saint-Andre <stpeter@stpeter.im>, <ietf-sasl@imc.org>, Tom Yu <tlyu@MIT.EDU>
Content-Type: text/plain; delsp="yes"; charset="us-ascii"; format="flowed"
Sender: owner-ietf-sasl@mail.imc.org
Precedence: bulk
List-Archive: <http://www.imc.org/ietf-sasl/mail-archive/>
List-ID: <ietf-sasl.imc.org>
List-Unsubscribe: <mailto:ietf-sasl-request@imc.org?body=unsubscribe>

On Mon Aug 10 21:01:13 2009, Peter Saint-Andre wrote:
> Instead of requiring the application of SASLprep, I would prefer  
> wording
> such as this:
> 
>    Before sending the username to the server, the client MUST
>    ensure that the username is formatted such that the "SASLPrep"
>    profile [RFC4013] of the "stringprep" algorithm [RFC3454] can be
>    applied to it without failing.
> 
> 
Although initially, my thought was this wasn't needed, I wondered  
about the consequences.

It seems to me that, unless we assume that both client and server  
will always have precisely the same concept of "SASLprep", then one  
would assume the server would always have to apply SASLprep anyway.

SASLprep is, also bound to change - either gradual changes in Unicode  
will cause problems sufficient to case a rewrite, or we'll change  
SASLprep itself to be a property-based, instead of table-based,  
mechanism, and the gradual changes will filter through to  
implementations.

I'm inclined, therefore, to suggest that not only is this text  
reasonable, but the "MUST" can probably be reduced to a SHOULD.

Dave.
-- 
Dave Cridland - mailto:dave@cridland.net - xmpp:dwd@dave.cridland.net
  - acap://acap.dave.cridland.net/byowner/user/dwd/bookmarks/
  - http://dave.cridland.net/
Infotrope Polymer - ACAP, IMAP, ESMTP, and Lemonade


From owner-ietf-sasl@mail.imc.org  Wed Aug 12 07:15:17 2009
Return-Path: <owner-ietf-sasl@mail.imc.org>
X-Original-To: ietfarch-sasl-archive-Zoh8yoh9@core3.amsl.com
Delivered-To: ietfarch-sasl-archive-Zoh8yoh9@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id 32BC73A6886 for <ietfarch-sasl-archive-Zoh8yoh9@core3.amsl.com>; Wed, 12 Aug 2009 07:15:17 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.415
X-Spam-Level: 
X-Spam-Status: No, score=-2.415 tagged_above=-999 required=5 tests=[AWL=0.184, 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 0nrhS3m+3Wiy for <ietfarch-sasl-archive-Zoh8yoh9@core3.amsl.com>; Wed, 12 Aug 2009 07:15:16 -0700 (PDT)
Received: from balder-227.proper.com (properopus-pt.tunnel.tserv3.fmt2.ipv6.he.net [IPv6:2001:470:1f04:392::2]) by core3.amsl.com (Postfix) with ESMTP id 92A673A683F for <sasl-archive-Zoh8yoh9@ietf.org>; Wed, 12 Aug 2009 07:15:10 -0700 (PDT)
Received: from balder-227.proper.com (localhost [127.0.0.1]) by balder-227.proper.com (8.14.2/8.14.2) with ESMTP id n7CE8TbB007799 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Wed, 12 Aug 2009 07:08:29 -0700 (MST) (envelope-from owner-ietf-sasl@mail.imc.org)
Received: (from majordom@localhost) by balder-227.proper.com (8.14.2/8.13.5/Submit) id n7CE8TD2007798; Wed, 12 Aug 2009 07:08:29 -0700 (MST) (envelope-from owner-ietf-sasl@mail.imc.org)
X-Authentication-Warning: balder-227.proper.com: majordom set sender to owner-ietf-sasl@mail.imc.org using -f
Received: from rufus.isode.com (rufus.isode.com [62.3.217.251]) by balder-227.proper.com (8.14.2/8.14.2) with ESMTP id n7CE8Ju3007775 for <ietf-sasl@imc.org>; Wed, 12 Aug 2009 07:08:28 -0700 (MST) (envelope-from alexey.melnikov@isode.com)
Received: from [192.168.1.124] ((unknown) [62.3.217.253])  by rufus.isode.com (submission channel) via TCP with ESMTPA  id <SoLMzwB9YT29@rufus.isode.com>; Wed, 12 Aug 2009 15:08:17 +0100
X-SMTP-Protocol-Errors: NORDNS
Message-ID: <4A82CCCB.2070406@isode.com>
Date: Wed, 12 Aug 2009 15:08:11 +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: Dave Cridland <dave@cridland.net>
CC: Peter Saint-Andre <stpeter@stpeter.im>, ietf-sasl@imc.org
Subject: Re: WG Last Call: draft-ietf-sasl-scram-02
References: <ldvbpnouhy3.fsf@cathode-dark-space.mit.edu> <4A807C89.7@stpeter.im> <8048.1249935609.418434@puncture>
In-Reply-To: <8048.1249935609.418434@puncture>
MIME-Version: 1.0
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
Sender: owner-ietf-sasl@mail.imc.org
Precedence: bulk
List-Archive: <http://www.imc.org/ietf-sasl/mail-archive/>
List-ID: <ietf-sasl.imc.org>
List-Unsubscribe: <mailto:ietf-sasl-request@imc.org?body=unsubscribe>

Dave Cridland wrote:

> On Mon Aug 10 21:01:13 2009, Peter Saint-Andre wrote:
>
>> Instead of requiring the application of SASLprep, I would prefer  
>> wording
>> such as this:
>>
>>    Before sending the username to the server, the client MUST
>>    ensure that the username is formatted such that the "SASLPrep"
>>    profile [RFC4013] of the "stringprep" algorithm [RFC3454] can be
>>    applied to it without failing.
>
> Although initially, my thought was this wasn't needed, I wondered  
> about the consequences.
>
> It seems to me that, unless we assume that both client and server  
> will always have precisely the same concept of "SASLprep", then one  
> would assume the server would always have to apply SASLprep anyway.
>
> SASLprep is, also bound to change - either gradual changes in Unicode  
> will cause problems sufficient to case a rewrite, or we'll change  
> SASLprep itself to be a property-based, instead of table-based,  
> mechanism, and the gradual changes will filter through to  
> implementations.
>
> I'm inclined, therefore, to suggest that not only is this text  
> reasonable, but the "MUST" can probably be reduced to a SHOULD.

I can live with the SHOULD.
 


From owner-ietf-sasl@mail.imc.org  Mon Aug 17 07:25:54 2009
Return-Path: <owner-ietf-sasl@mail.imc.org>
X-Original-To: ietfarch-sasl-archive-Zoh8yoh9@core3.amsl.com
Delivered-To: ietfarch-sasl-archive-Zoh8yoh9@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id 978393A6E28 for <ietfarch-sasl-archive-Zoh8yoh9@core3.amsl.com>; Mon, 17 Aug 2009 07:25:54 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.587
X-Spam-Level: 
X-Spam-Status: No, score=-2.587 tagged_above=-999 required=5 tests=[AWL=0.012, 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 gT9JzwB-7X6w for <ietfarch-sasl-archive-Zoh8yoh9@core3.amsl.com>; Mon, 17 Aug 2009 07:25:53 -0700 (PDT)
Received: from balder-227.proper.com (properopus-pt.tunnel.tserv3.fmt2.ipv6.he.net [IPv6:2001:470:1f04:392::2]) by core3.amsl.com (Postfix) with ESMTP id 33CC03A672E for <sasl-archive-Zoh8yoh9@ietf.org>; Mon, 17 Aug 2009 07:25:52 -0700 (PDT)
Received: from balder-227.proper.com (localhost [127.0.0.1]) by balder-227.proper.com (8.14.2/8.14.2) with ESMTP id n7HEGKV6001773 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Mon, 17 Aug 2009 07:16:20 -0700 (MST) (envelope-from owner-ietf-sasl@mail.imc.org)
Received: (from majordom@localhost) by balder-227.proper.com (8.14.2/8.13.5/Submit) id n7HEGKIC001772; Mon, 17 Aug 2009 07:16:20 -0700 (MST) (envelope-from owner-ietf-sasl@mail.imc.org)
X-Authentication-Warning: balder-227.proper.com: majordom set sender to owner-ietf-sasl@mail.imc.org using -f
Received: from yxa-v.extundo.com (yxa-v.extundo.com [83.241.177.39]) by balder-227.proper.com (8.14.2/8.14.2) with ESMTP id n7HEG4V7001733 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=FAIL) for <ietf-sasl@imc.org>; Mon, 17 Aug 2009 07:16:15 -0700 (MST) (envelope-from simon@josefsson.org)
Received: from mocca.josefsson.org (c80-216-31-183.bredband.comhem.se [80.216.31.183]) (authenticated bits=0) by yxa-v.extundo.com (8.14.3/8.14.3/Debian-5) with ESMTP id n7HCojw1021951 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES128-SHA bits=128 verify=NOT); Mon, 17 Aug 2009 14:50:48 +0200
From: Simon Josefsson <simon@josefsson.org>
To: <Pasi.Eronen@nokia.com>
Cc: <Kurt@OpenLDAP.org>, <jhutz@cmu.edu>, <rfc-editor@rfc-editor.org>, <tim.polk@nist.gov>, <tlyu@mit.edu>, <alexey.melnikov@isode.com>, <ietf-sasl@imc.org>
Subject: Re: [Editorial Errata Reported] RFC4013 (1812)
References: <200907182012.n6IKCnhM012626@boreas.isi.edu> <8763dka8b1.fsf@mocca.josefsson.org> <4273FB5691FFB40568367C4E@atlantis.pc.cs.cmu.edu> <E1013707-4A2F-4425-8DBD-4D74BAACEE58@OpenLDAP.org> <808FD6E27AD4884E94820BC333B2DB773A72E2883E@NOK-EUMSG-01.mgdnok.nokia.com>
OpenPGP: id=B565716F; url=http://josefsson.org/key.txt
X-Hashcash: 1:22:090817:alexey.melnikov@isode.com::QUR2ujEjhRMxq4hw:Dd0
X-Hashcash: 1:22:090817:ietf-sasl@imc.org::0KDVMz+1hNIY3rJD:3T4O
X-Hashcash: 1:22:090817:tlyu@mit.edu::AxNNR3r3N9B02bIG:Buq/
X-Hashcash: 1:22:090817:rfc-editor@rfc-editor.org::xDvmvveunHAOh6C8:6h03
X-Hashcash: 1:22:090817:kurt@openldap.org::vP2Wfi462nR6YEEP:EjJ3
X-Hashcash: 1:22:090817:tim.polk@nist.gov::iJmMGbeqjiU8PHeW:FkTr
X-Hashcash: 1:22:090817:jhutz@cmu.edu::L+R/9p3V89mLIwdu:NBaa
X-Hashcash: 1:22:090817:pasi.eronen@nokia.com::OIYkot2tJDZfzrVz:OWJn
Date: Mon, 17 Aug 2009 14:50:45 +0200
In-Reply-To: <808FD6E27AD4884E94820BC333B2DB773A72E2883E@NOK-EUMSG-01.mgdnok.nokia.com> (Pasi Eronen's message of "Mon, 17 Aug 2009 13:24:11 +0200")
Message-ID: <874os6li3e.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
Sender: owner-ietf-sasl@mail.imc.org
Precedence: bulk
List-Archive: <http://www.imc.org/ietf-sasl/mail-archive/>
List-ID: <ietf-sasl.imc.org>
List-Unsubscribe: <mailto:ietf-sasl-request@imc.org?body=unsubscribe>

I think your fix is better.  RFC 3454 talks about prohibiting code
points in the output.  It doesn't say anything about prohibiting code
points in inputs, since the algorithm doesn't work like that.  I don't
think the intention of RFC 4013 was to change the ordering of RFC 3454
algorithm steps, so treating it as a typo in RFC 4013 appears
appropriate to me.

/Simon

<Pasi.Eronen@nokia.com> writes:

> Hmm.. it looks like there are Unicode characters that are in the
> "prohibited output" list, but will get changed to another, allowed
> characters during the "Map" or "Normalize" steps. 
>
> Since "Prohibit" step is done after Map and Normalize, these
> characters can actually appear in the input, right? (and this would 
> not be an error)
>
> (For example, it looks like U+0340 is prohibited by Table C.8, but
> will get normalized to U+0300, which is allowed.)
>
> So actually should the errata be something like this?
>
>   OLD:
>      This profile specifies the following characters as prohibited input:     
>   NEW:
>      This profile specifies the following characters as prohibited output:
>
>  Discussion: Per RFC 3454, the check for prohibited characters
>  is done after the "Map" and "Normalize" steps. Characters listed
>  here are actually allowed as inputs if they get removed by the 
>  "Map" or "Normalize" steps.
>
> Best regards,
> Pasi
>
>> -----Original Message-----
>> From: ext Kurt Zeilenga [mailto:Kurt@OpenLDAP.org]
>> Sent: 23 July, 2009 04:32
>> To: Jeffrey Hutzelman
>> Cc: Simon Josefsson; RFC Errata System; tim.polk@nist.gov; Eronen Pasi
>> (Nokia-NRC/Helsinki); tlyu@mit.edu; alexey.melnikov@isode.com; ietf-
>> sasl@imc.org
>> Subject: Re: [Editorial Errata Reported] RFC4013 (1812)
>> 
>> 
>> On Jul 22, 2009, at 1:44 PM, Jeffrey Hutzelman wrote:
>> 
>> > There is, however, an error -- the first sentence of this section
>> > does in fact claim to be specifying prohibited input characters.
>> > The correct fix is to that text, not to the section title.
>> 
>> 
>> I support the following errata:
>> 
>> OLD:
>> 	prohibited input:
>> 
>> NEW
>> 	prohibited:
>> 
>> 
>> Discussion:
>> Per RFC 3454, if a prohibited character appears in the input, an error
>> must result.  That is, the prohibited characters cannot appear in the
>> output.


From owner-ietf-sasl@mail.imc.org  Mon Aug 17 07:26:03 2009
Return-Path: <owner-ietf-sasl@mail.imc.org>
X-Original-To: ietfarch-sasl-archive-Zoh8yoh9@core3.amsl.com
Delivered-To: ietfarch-sasl-archive-Zoh8yoh9@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id D845F3A6853 for <ietfarch-sasl-archive-Zoh8yoh9@core3.amsl.com>; Mon, 17 Aug 2009 07:26:03 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -6.247
X-Spam-Level: 
X-Spam-Status: No, score=-6.247 tagged_above=-999 required=5 tests=[AWL=0.352, 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 zj7NRx9323kk for <ietfarch-sasl-archive-Zoh8yoh9@core3.amsl.com>; Mon, 17 Aug 2009 07:26:03 -0700 (PDT)
Received: from balder-227.proper.com (properopus-pt.tunnel.tserv3.fmt2.ipv6.he.net [IPv6:2001:470:1f04:392::2]) by core3.amsl.com (Postfix) with ESMTP id A1DE83A672E for <sasl-archive-Zoh8yoh9@ietf.org>; Mon, 17 Aug 2009 07:26:02 -0700 (PDT)
Received: from balder-227.proper.com (localhost [127.0.0.1]) by balder-227.proper.com (8.14.2/8.14.2) with ESMTP id n7HEHShF001938 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Mon, 17 Aug 2009 07:17:28 -0700 (MST) (envelope-from owner-ietf-sasl@mail.imc.org)
Received: (from majordom@localhost) by balder-227.proper.com (8.14.2/8.13.5/Submit) id n7HEHS98001937; Mon, 17 Aug 2009 07:17:28 -0700 (MST) (envelope-from owner-ietf-sasl@mail.imc.org)
X-Authentication-Warning: balder-227.proper.com: majordom set sender to owner-ietf-sasl@mail.imc.org using -f
Received: from mgw-mx03.nokia.com (smtp.nokia.com [192.100.122.230]) by balder-227.proper.com (8.14.2/8.14.2) with ESMTP id n7HEHEpU001912 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=FAIL) for <ietf-sasl@imc.org>; Mon, 17 Aug 2009 07:17:25 -0700 (MST) (envelope-from Pasi.Eronen@nokia.com)
Received: from esebh105.NOE.Nokia.com (esebh105.ntc.nokia.com [172.21.138.211]) by mgw-mx03.nokia.com (Switch-3.3.3/Switch-3.3.3) with ESMTP id n7HBOAPR032448; Mon, 17 Aug 2009 14:24:18 +0300
Received: from esebh102.NOE.Nokia.com ([172.21.138.183]) by esebh105.NOE.Nokia.com with Microsoft SMTPSVC(6.0.3790.3959); Mon, 17 Aug 2009 14:24:14 +0300
Received: from smtp.mgd.nokia.com ([65.54.30.5]) by esebh102.NOE.Nokia.com over TLS secured channel with Microsoft SMTPSVC(6.0.3790.3959); Mon, 17 Aug 2009 14:24:13 +0300
Received: from NOK-EUMSG-01.mgdnok.nokia.com ([65.54.30.86]) by nok-am1mhub-01.mgdnok.nokia.com ([65.54.30.5]) with mapi; Mon, 17 Aug 2009 13:24:12 +0200
From: <Pasi.Eronen@nokia.com>
To: <Kurt@OpenLDAP.org>, <jhutz@cmu.edu>
CC: <simon@josefsson.org>, <rfc-editor@rfc-editor.org>, <tim.polk@nist.gov>, <tlyu@mit.edu>, <alexey.melnikov@isode.com>, <ietf-sasl@imc.org>
Date: Mon, 17 Aug 2009 13:24:11 +0200
Subject: RE: [Editorial Errata Reported] RFC4013 (1812)
Thread-Topic: [Editorial Errata Reported] RFC4013 (1812)
Thread-Index: AcoLNYPxIHHYWOv2TjCf7rf5U7F7aAT9zWyA
Message-ID: <808FD6E27AD4884E94820BC333B2DB773A72E2883E@NOK-EUMSG-01.mgdnok.nokia.com>
References: <200907182012.n6IKCnhM012626@boreas.isi.edu> <8763dka8b1.fsf@mocca.josefsson.org> <4273FB5691FFB40568367C4E@atlantis.pc.cs.cmu.edu> <E1013707-4A2F-4425-8DBD-4D74BAACEE58@OpenLDAP.org>
In-Reply-To: <E1013707-4A2F-4425-8DBD-4D74BAACEE58@OpenLDAP.org>
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: 17 Aug 2009 11:24:13.0406 (UTC) FILETIME=[3F92DFE0:01CA1F2D]
X-Nokia-AV: Clean
Sender: owner-ietf-sasl@mail.imc.org
Precedence: bulk
List-Archive: <http://www.imc.org/ietf-sasl/mail-archive/>
List-ID: <ietf-sasl.imc.org>
List-Unsubscribe: <mailto:ietf-sasl-request@imc.org?body=unsubscribe>

Hmm.. it looks like there are Unicode characters that are in the
"prohibited output" list, but will get changed to another, allowed
characters during the "Map" or "Normalize" steps.=20

Since "Prohibit" step is done after Map and Normalize, these
characters can actually appear in the input, right? (and this would=20
not be an error)

(For example, it looks like U+0340 is prohibited by Table C.8, but
will get normalized to U+0300, which is allowed.)

So actually should the errata be something like this?

  OLD:
     This profile specifies the following characters as prohibited input:  =
  =20
  NEW:
     This profile specifies the following characters as prohibited output:

 Discussion: Per RFC 3454, the check for prohibited characters
 is done after the "Map" and "Normalize" steps. Characters listed
 here are actually allowed as inputs if they get removed by the=20
 "Map" or "Normalize" steps.

Best regards,
Pasi

> -----Original Message-----
> From: ext Kurt Zeilenga [mailto:Kurt@OpenLDAP.org]
> Sent: 23 July, 2009 04:32
> To: Jeffrey Hutzelman
> Cc: Simon Josefsson; RFC Errata System; tim.polk@nist.gov; Eronen Pasi
> (Nokia-NRC/Helsinki); tlyu@mit.edu; alexey.melnikov@isode.com; ietf-
> sasl@imc.org
> Subject: Re: [Editorial Errata Reported] RFC4013 (1812)
>=20
>=20
> On Jul 22, 2009, at 1:44 PM, Jeffrey Hutzelman wrote:
>=20
> > There is, however, an error -- the first sentence of this section
> > does in fact claim to be specifying prohibited input characters.
> > The correct fix is to that text, not to the section title.
>=20
>=20
> I support the following errata:
>=20
> OLD:
> 	prohibited input:
>=20
> NEW
> 	prohibited:
>=20
>=20
> Discussion:
> Per RFC 3454, if a prohibited character appears in the input, an error
> must result.  That is, the prohibited characters cannot appear in the
> output.


From owner-ietf-sasl@mail.imc.org  Tue Aug 18 14:58:40 2009
Return-Path: <owner-ietf-sasl@mail.imc.org>
X-Original-To: ietfarch-sasl-archive-Zoh8yoh9@core3.amsl.com
Delivered-To: ietfarch-sasl-archive-Zoh8yoh9@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id EA40F3A6AD4 for <ietfarch-sasl-archive-Zoh8yoh9@core3.amsl.com>; Tue, 18 Aug 2009 14:58:40 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -5.908
X-Spam-Level: 
X-Spam-Status: No, score=-5.908 tagged_above=-999 required=5 tests=[AWL=0.138, 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 4ptGyhXzC4rh for <ietfarch-sasl-archive-Zoh8yoh9@core3.amsl.com>; Tue, 18 Aug 2009 14:58:40 -0700 (PDT)
Received: from balder-227.proper.com (properopus-pt.tunnel.tserv3.fmt2.ipv6.he.net [IPv6:2001:470:1f04:392::2]) by core3.amsl.com (Postfix) with ESMTP id C85E23A68F8 for <sasl-archive-Zoh8yoh9@ietf.org>; Tue, 18 Aug 2009 14:58:39 -0700 (PDT)
Received: from balder-227.proper.com (localhost [127.0.0.1]) by balder-227.proper.com (8.14.2/8.14.2) with ESMTP id n7ILqpMd020436 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Tue, 18 Aug 2009 14:52:51 -0700 (MST) (envelope-from owner-ietf-sasl@mail.imc.org)
Received: (from majordom@localhost) by balder-227.proper.com (8.14.2/8.13.5/Submit) id n7ILqpe3020435; Tue, 18 Aug 2009 14:52:51 -0700 (MST) (envelope-from owner-ietf-sasl@mail.imc.org)
X-Authentication-Warning: balder-227.proper.com: majordom set sender to owner-ietf-sasl@mail.imc.org using -f
Received: from brmea-mail-1.sun.com (brmea-mail-1.Sun.COM [192.18.98.31]) by balder-227.proper.com (8.14.2/8.14.2) with ESMTP id n7ILqik2020422 for <ietf-sasl@imc.org>; Tue, 18 Aug 2009 14:52:51 -0700 (MST) (envelope-from Nicolas.Williams@sun.com)
Received: from dm-central-01.central.sun.com ([129.147.62.4]) by brmea-mail-1.sun.com (8.13.6+Sun/8.12.9) with ESMTP id n7ILqhR2020925 for <ietf-sasl@imc.org>; Tue, 18 Aug 2009 21:52:44 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 n7ILqhjn055505 for <ietf-sasl@imc.org>; Tue, 18 Aug 2009 15:52: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 n7ILYUbQ003684; Tue, 18 Aug 2009 16:34:30 -0500 (CDT)
Received: (from nw141292@localhost) by binky.Central.Sun.COM (8.14.3+Sun/8.14.3/Submit) id n7ILYSfi003683; Tue, 18 Aug 2009 16:34:28 -0500 (CDT)
X-Authentication-Warning: binky.Central.Sun.COM: nw141292 set sender to Nicolas.Williams@sun.com using -f
Date: Tue, 18 Aug 2009 16:34:28 -0500
From: Nicolas Williams <Nicolas.Williams@sun.com>
To: ietf-sasl@imc.org, tls@ietf.org
Subject: "Last call" on draft-altman-tls-channel-bindings-05.txt
Message-ID: <20090818213427.GU1043@Sun.COM>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
User-Agent: Mutt/1.5.7i
Sender: owner-ietf-sasl@mail.imc.org
Precedence: bulk
List-Archive: <http://www.imc.org/ietf-sasl/mail-archive/>
List-ID: <ietf-sasl.imc.org>
List-Unsubscribe: <mailto:ietf-sasl-request@imc.org?body=unsubscribe>

Per RFC5056, three channel binding types for TLS have been registered in
the IANA channel binding type registry.  Recently we've decided that we
actually need a Standards-Track RFC to define these channel binding
types so as to make it easier to make normative reference to them.

Therefore we've revived and updated draft-altman-tls-channel-bindings to
include the text of those three channel binding type registrations, as
well as to update introductory and security considerations text.

We seek comments on draft-altman-tls-channel-bindings-05.  In two weeks
we'll request that an AD shepherd this individual submission.  We seek
Proposed Standard status for the resulting RFC.

Consider this a pseudo-WGLC.  Please review and comment.

Thanks,

Nico
-- 


From owner-ietf-sasl@mail.imc.org  Tue Aug 18 15:50:27 2009
Return-Path: <owner-ietf-sasl@mail.imc.org>
X-Original-To: ietfarch-sasl-archive-Zoh8yoh9@core3.amsl.com
Delivered-To: ietfarch-sasl-archive-Zoh8yoh9@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id 90F033A6B4F for <ietfarch-sasl-archive-Zoh8yoh9@core3.amsl.com>; Tue, 18 Aug 2009 15:50:27 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.589
X-Spam-Level: 
X-Spam-Status: No, score=-2.589 tagged_above=-999 required=5 tests=[AWL=0.010, 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 cLVf72-4CH2b for <ietfarch-sasl-archive-Zoh8yoh9@core3.amsl.com>; Tue, 18 Aug 2009 15:50:26 -0700 (PDT)
Received: from balder-227.proper.com (properopus-pt.tunnel.tserv3.fmt2.ipv6.he.net [IPv6:2001:470:1f04:392::2]) by core3.amsl.com (Postfix) with ESMTP id 6D3773A6B14 for <sasl-archive-Zoh8yoh9@ietf.org>; Tue, 18 Aug 2009 15:50:26 -0700 (PDT)
Received: from balder-227.proper.com (localhost [127.0.0.1]) by balder-227.proper.com (8.14.2/8.14.2) with ESMTP id n7IMjsmQ023777 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Tue, 18 Aug 2009 15:45:54 -0700 (MST) (envelope-from owner-ietf-sasl@mail.imc.org)
Received: (from majordom@localhost) by balder-227.proper.com (8.14.2/8.13.5/Submit) id n7IMjsgl023776; Tue, 18 Aug 2009 15:45:54 -0700 (MST) (envelope-from owner-ietf-sasl@mail.imc.org)
X-Authentication-Warning: balder-227.proper.com: majordom set sender to owner-ietf-sasl@mail.imc.org using -f
Received: from yxa-v.extundo.com (yxa-v.extundo.com [83.241.177.39]) by balder-227.proper.com (8.14.2/8.14.2) with ESMTP id n7IMjju3023744 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=FAIL) for <ietf-sasl@imc.org>; Tue, 18 Aug 2009 15:45:53 -0700 (MST) (envelope-from simon@josefsson.org)
Received: from mocca.josefsson.org (c80-216-31-183.bredband.comhem.se [80.216.31.183]) (authenticated bits=0) by yxa-v.extundo.com (8.14.3/8.14.3/Debian-5) with ESMTP id n7IMjHA8001016 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES128-SHA bits=128 verify=NOT); Wed, 19 Aug 2009 00:45:19 +0200
From: Simon Josefsson <simon@josefsson.org>
To: Nicolas Williams <Nicolas.Williams@sun.com>
Cc: ietf-sasl@imc.org, tls@ietf.org
Subject: Re: "Last call" on draft-altman-tls-channel-bindings-05.txt
References: <20090818213427.GU1043@Sun.COM>
OpenPGP: id=B565716F; url=http://josefsson.org/key.txt
X-Hashcash: 1:22:090818:ietf-sasl@imc.org::phGjYQ2dCe/ST4ZG:27Ek
X-Hashcash: 1:22:090818:nicolas.williams@sun.com::Sp9lVljf2yG9TozZ:1dgY
X-Hashcash: 1:22:090818:tls@ietf.org::HHy/gYRdIGhZPWU0:AZ1D
Date: Wed, 19 Aug 2009 00:45:17 +0200
In-Reply-To: <20090818213427.GU1043@Sun.COM> (Nicolas Williams's message of "Tue, 18 Aug 2009 16:34:28 -0500")
Message-ID: <87ljlgbv2a.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
Sender: owner-ietf-sasl@mail.imc.org
Precedence: bulk
List-Archive: <http://www.imc.org/ietf-sasl/mail-archive/>
List-ID: <ietf-sasl.imc.org>
List-Unsubscribe: <mailto:ietf-sasl-request@imc.org?body=unsubscribe>

Quoting:

   Description: The hash of the TLS server's end entity certificate
   [RFC5280] as it appears, octet for octet, in the server's Certificate
   message (note that the Certificate message contains a
   certificate_list, the first element of which is the server's end
   entity certificate.)

I suggest replacing "server's end entity certificate" with "server's
certificate".  As far as I understand, it is possibly to use non-EE
certs, e.g. proxy certs, as a server certificate.  The RFC 5246
terminology is to say "sender's certificate" and there is no requirement
to use a EE cert.

Quoting:

   agility.  The algorithm to be used, however, is derived from the
   certificate itself: use SHA-256 if the certificate uses MD5 or SHA-1,
   else use whatever hash function the certificate uses.  This

Please say "is signed with" instead of "uses".  Hash values may be
present for other purposes in a certificate, but signature fields will
typically only use one hash function.

For completeness, I would add:

   This algorithm agility resolution mechanism assumes that there is a
   mapping from every Public-key signature algorithm to one hash
   function algorithm.  This is the case for all practically used public
   key signature algorithms today, but if future public-key signature
   algorithms would employ multiple hash functions (or none at all) this
   specification needs to be updated to resolve which hash function
   should be used.

Nits:

   note (that is, the first such note in the descritption is a new
                                                   ^
/Simon


From owner-ietf-sasl@mail.imc.org  Tue Aug 18 16:22:25 2009
Return-Path: <owner-ietf-sasl@mail.imc.org>
X-Original-To: ietfarch-sasl-archive-Zoh8yoh9@core3.amsl.com
Delivered-To: ietfarch-sasl-archive-Zoh8yoh9@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id 8D70428C38C for <ietfarch-sasl-archive-Zoh8yoh9@core3.amsl.com>; Tue, 18 Aug 2009 16:22:25 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -5.919
X-Spam-Level: 
X-Spam-Status: No, score=-5.919 tagged_above=-999 required=5 tests=[AWL=0.127, 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 g6uIkulMMLU7 for <ietfarch-sasl-archive-Zoh8yoh9@core3.amsl.com>; Tue, 18 Aug 2009 16:22:24 -0700 (PDT)
Received: from balder-227.proper.com (properopus-pt.tunnel.tserv3.fmt2.ipv6.he.net [IPv6:2001:470:1f04:392::2]) by core3.amsl.com (Postfix) with ESMTP id 575C428C184 for <sasl-archive-Zoh8yoh9@ietf.org>; Tue, 18 Aug 2009 16:22:24 -0700 (PDT)
Received: from balder-227.proper.com (localhost [127.0.0.1]) by balder-227.proper.com (8.14.2/8.14.2) with ESMTP id n7INI5TT025824 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Tue, 18 Aug 2009 16:18:05 -0700 (MST) (envelope-from owner-ietf-sasl@mail.imc.org)
Received: (from majordom@localhost) by balder-227.proper.com (8.14.2/8.13.5/Submit) id n7INI5RS025823; Tue, 18 Aug 2009 16:18:05 -0700 (MST) (envelope-from owner-ietf-sasl@mail.imc.org)
X-Authentication-Warning: balder-227.proper.com: majordom set sender to owner-ietf-sasl@mail.imc.org using -f
Received: from sca-ea-mail-4.sun.com (sca-ea-mail-4.Sun.COM [192.18.43.22]) by balder-227.proper.com (8.14.2/8.14.2) with ESMTP id n7INHqD9025813 for <ietf-sasl@imc.org>; Tue, 18 Aug 2009 16:18:01 -0700 (MST) (envelope-from Nicolas.Williams@sun.com)
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 n7INHp1x009249 for <ietf-sasl@imc.org>; Tue, 18 Aug 2009 23:17:51 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 n7INHpxw039394 for <ietf-sasl@imc.org>; Tue, 18 Aug 2009 17:17: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 n7IMxbUN003790; Tue, 18 Aug 2009 17:59:37 -0500 (CDT)
Received: (from nw141292@localhost) by binky.Central.Sun.COM (8.14.3+Sun/8.14.3/Submit) id n7IMxYwu003789; Tue, 18 Aug 2009 17:59:34 -0500 (CDT)
X-Authentication-Warning: binky.Central.Sun.COM: nw141292 set sender to Nicolas.Williams@sun.com using -f
Date: Tue, 18 Aug 2009 17:59:34 -0500
From: Nicolas Williams <Nicolas.Williams@sun.com>
To: Simon Josefsson <simon@josefsson.org>
Cc: ietf-sasl@imc.org, tls@ietf.org
Subject: Re: "Last call" on draft-altman-tls-channel-bindings-05.txt
Message-ID: <20090818225934.GW1043@Sun.COM>
References: <20090818213427.GU1043@Sun.COM> <87ljlgbv2a.fsf@mocca.josefsson.org>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
In-Reply-To: <87ljlgbv2a.fsf@mocca.josefsson.org>
User-Agent: Mutt/1.5.7i
Sender: owner-ietf-sasl@mail.imc.org
Precedence: bulk
List-Archive: <http://www.imc.org/ietf-sasl/mail-archive/>
List-ID: <ietf-sasl.imc.org>
List-Unsubscribe: <mailto:ietf-sasl-request@imc.org?body=unsubscribe>

On Wed, Aug 19, 2009 at 12:45:17AM +0200, Simon Josefsson wrote:
> Quoting:
> 
>    Description: The hash of the TLS server's end entity certificate
>    [RFC5280] as it appears, octet for octet, in the server's Certificate
>    message (note that the Certificate message contains a
>    certificate_list, the first element of which is the server's end
>    entity certificate.)
> 
> I suggest replacing "server's end entity certificate" with "server's
> certificate".  As far as I understand, it is possibly to use non-EE
> certs, e.g. proxy certs, as a server certificate.  The RFC 5246
> terminology is to say "sender's certificate" and there is no requirement
> to use a EE cert.

OK.  The thing to emphasize is that we're talking about the first cert
in the certificate_list that would be sent by the server.

(I say "would be" just to be mindful of the TLS client caching
extensions, but I don't think the I-D has to say "would" since the
certificate_list will always have been sent at one point or another.)

So how about:

   Description: The hash of the TLS server's certificate [RFC5280] as it
   appears, octet for octet, in the server's Certificate message (note
   that the Certificate message contains a certificate_list, the first
   element of which is the server's certificate.)  The hash function ...

> Quoting:
> 
>    agility.  The algorithm to be used, however, is derived from the
>    certificate itself: use SHA-256 if the certificate uses MD5 or SHA-1,
>    else use whatever hash function the certificate uses.  This
> 
> Please say "is signed with" instead of "uses".  Hash values may be
> present for other purposes in a certificate, but signature fields will
> typically only use one hash function.

The text you quote is security considerations text; the normative text
already says exactly what you ask for.  But OK:

        ...  The algorithm to be used, however, is derived from the
   certificate's signature as described in Section 4.1; to recap: use
   SHA-256 if the certificate signature algorithm uses MD5 or SHA-1,
   else use whatever hash function the certificate uses.

Now, section 4.1 says "if the certificate's signature hash algorithm is
...".  But perhaps it should say "if the hash algorithm used in the
certificate's signatureAlgorithm is ...", just to be really accurate and
avoid any possible confusion (with, say, the algorithm field of
SubjectPublicKeyInfo).  Yes?

> For completeness, I would add:
> 
>    This algorithm agility resolution mechanism assumes that there is a
>    mapping from every Public-key signature algorithm to one hash
>    function algorithm.  This is the case for all practically used public
>    key signature algorithms today, but if future public-key signature
>    algorithms would employ multiple hash functions (or none at all) this
>    specification needs to be updated to resolve which hash function
>    should be used.

Good point.

Thanks!

Nico
-- 


From owner-ietf-sasl@mail.imc.org  Tue Aug 18 17:19:54 2009
Return-Path: <owner-ietf-sasl@mail.imc.org>
X-Original-To: ietfarch-sasl-archive-Zoh8yoh9@core3.amsl.com
Delivered-To: ietfarch-sasl-archive-Zoh8yoh9@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id 9744C3A6CA8 for <ietfarch-sasl-archive-Zoh8yoh9@core3.amsl.com>; Tue, 18 Aug 2009 17:19:54 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.59
X-Spam-Level: 
X-Spam-Status: No, score=-2.59 tagged_above=-999 required=5 tests=[AWL=0.009, 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 P46unG-ce45x for <ietfarch-sasl-archive-Zoh8yoh9@core3.amsl.com>; Tue, 18 Aug 2009 17:19:53 -0700 (PDT)
Received: from balder-227.proper.com (properopus-pt.tunnel.tserv3.fmt2.ipv6.he.net [IPv6:2001:470:1f04:392::2]) by core3.amsl.com (Postfix) with ESMTP id A3DB53A67A8 for <sasl-archive-Zoh8yoh9@ietf.org>; Tue, 18 Aug 2009 17:19:33 -0700 (PDT)
Received: from balder-227.proper.com (localhost [127.0.0.1]) by balder-227.proper.com (8.14.2/8.14.2) with ESMTP id n7J0EvCG028849 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Tue, 18 Aug 2009 17:14:57 -0700 (MST) (envelope-from owner-ietf-sasl@mail.imc.org)
Received: (from majordom@localhost) by balder-227.proper.com (8.14.2/8.13.5/Submit) id n7J0Ev78028848; Tue, 18 Aug 2009 17:14:57 -0700 (MST) (envelope-from owner-ietf-sasl@mail.imc.org)
X-Authentication-Warning: balder-227.proper.com: majordom set sender to owner-ietf-sasl@mail.imc.org using -f
Received: from yxa-v.extundo.com (yxa-v.extundo.com [83.241.177.39]) by balder-227.proper.com (8.14.2/8.14.2) with ESMTP id n7J0Es6h028842 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=FAIL) for <ietf-sasl@imc.org>; Tue, 18 Aug 2009 17:14:55 -0700 (MST) (envelope-from simon@josefsson.org)
Received: from mocca.josefsson.org (c80-216-31-183.bredband.comhem.se [80.216.31.183]) (authenticated bits=0) by yxa-v.extundo.com (8.14.3/8.14.3/Debian-5) with ESMTP id n7J0Ect1002404 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES128-SHA bits=128 verify=NOT); Wed, 19 Aug 2009 02:14:47 +0200
From: Simon Josefsson <simon@josefsson.org>
To: Nicolas Williams <Nicolas.Williams@sun.com>
Cc: ietf-sasl@imc.org, tls@ietf.org
Subject: Re: "Last call" on draft-altman-tls-channel-bindings-05.txt
References: <20090818213427.GU1043@Sun.COM> <87ljlgbv2a.fsf@mocca.josefsson.org> <20090818225934.GW1043@Sun.COM>
OpenPGP: id=B565716F; url=http://josefsson.org/key.txt
X-Hashcash: 1:22:090819:ietf-sasl@imc.org::XcO9khQ7yKWKB+bJ:1zR4
X-Hashcash: 1:22:090819:nicolas.williams@sun.com::xQBD+AnB68GkFtvc:5LOR
X-Hashcash: 1:22:090819:tls@ietf.org::9tI8e5seg85tFhXg:Bi0/
Date: Wed, 19 Aug 2009 02:14:38 +0200
In-Reply-To: <20090818225934.GW1043@Sun.COM> (Nicolas Williams's message of "Tue, 18 Aug 2009 17:59:34 -0500")
Message-ID: <87bpmcbqxd.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
Sender: owner-ietf-sasl@mail.imc.org
Precedence: bulk
List-Archive: <http://www.imc.org/ietf-sasl/mail-archive/>
List-ID: <ietf-sasl.imc.org>
List-Unsubscribe: <mailto:ietf-sasl-request@imc.org?body=unsubscribe>

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

> On Wed, Aug 19, 2009 at 12:45:17AM +0200, Simon Josefsson wrote:
>> Quoting:
>> 
>>    Description: The hash of the TLS server's end entity certificate
>>    [RFC5280] as it appears, octet for octet, in the server's Certificate
>>    message (note that the Certificate message contains a
>>    certificate_list, the first element of which is the server's end
>>    entity certificate.)
>> 
>> I suggest replacing "server's end entity certificate" with "server's
>> certificate".  As far as I understand, it is possibly to use non-EE
>> certs, e.g. proxy certs, as a server certificate.  The RFC 5246
>> terminology is to say "sender's certificate" and there is no requirement
>> to use a EE cert.
>
> OK.  The thing to emphasize is that we're talking about the first cert
> in the certificate_list that would be sent by the server.
>
> (I say "would be" just to be mindful of the TLS client caching
> extensions, but I don't think the I-D has to say "would" since the
> certificate_list will always have been sent at one point or another.)
>
> So how about:
>
>    Description: The hash of the TLS server's certificate [RFC5280] as it
>    appears, octet for octet, in the server's Certificate message (note
>    that the Certificate message contains a certificate_list, the first
>    element of which is the server's certificate.)  The hash function ...

Looks fine to me.

>> Quoting:
>> 
>>    agility.  The algorithm to be used, however, is derived from the
>>    certificate itself: use SHA-256 if the certificate uses MD5 or SHA-1,
>>    else use whatever hash function the certificate uses.  This
>> 
>> Please say "is signed with" instead of "uses".  Hash values may be
>> present for other purposes in a certificate, but signature fields will
>> typically only use one hash function.
>
> The text you quote is security considerations text; the normative text
> already says exactly what you ask for.  But OK:
>
>         ...  The algorithm to be used, however, is derived from the
>    certificate's signature as described in Section 4.1; to recap: use
>    SHA-256 if the certificate signature algorithm uses MD5 or SHA-1,
>    else use whatever hash function the certificate uses.

There were two uses of "uses" in the sentence, and the second is still
present, but at least this is better than before.

> Now, section 4.1 says "if the certificate's signature hash algorithm is
> ...".  But perhaps it should say "if the hash algorithm used in the
> certificate's signatureAlgorithm is ...", just to be really accurate and
> avoid any possible confusion (with, say, the algorithm field of
> SubjectPublicKeyInfo).  Yes?

The more precise the better, although SubjectPublicKeyInfo generally do
not imply any particular hash function.  But for new implementers, it is
easy to go wrong if the text is not specific.

/Simon


From owner-ietf-sasl@mail.imc.org  Wed Aug 19 10:34:55 2009
Return-Path: <owner-ietf-sasl@mail.imc.org>
X-Original-To: ietfarch-sasl-archive-Zoh8yoh9@core3.amsl.com
Delivered-To: ietfarch-sasl-archive-Zoh8yoh9@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id 40B5C3A6D78 for <ietfarch-sasl-archive-Zoh8yoh9@core3.amsl.com>; Wed, 19 Aug 2009 10:34:55 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -5.923
X-Spam-Level: 
X-Spam-Status: No, score=-5.923 tagged_above=-999 required=5 tests=[AWL=0.123, 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 zk0ZgnPIXYwW for <ietfarch-sasl-archive-Zoh8yoh9@core3.amsl.com>; Wed, 19 Aug 2009 10:34:54 -0700 (PDT)
Received: from balder-227.proper.com (Balder-227.Proper.COM [192.245.12.227]) by core3.amsl.com (Postfix) with ESMTP id 16CCB3A6D88 for <sasl-archive-Zoh8yoh9@ietf.org>; Wed, 19 Aug 2009 10:34:17 -0700 (PDT)
Received: from balder-227.proper.com (localhost [127.0.0.1]) by balder-227.proper.com (8.14.2/8.14.2) with ESMTP id n7JHOx5g003728 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Wed, 19 Aug 2009 10:24:59 -0700 (MST) (envelope-from owner-ietf-sasl@mail.imc.org)
Received: (from majordom@localhost) by balder-227.proper.com (8.14.2/8.13.5/Submit) id n7JHOxbX003727; Wed, 19 Aug 2009 10:24:59 -0700 (MST) (envelope-from owner-ietf-sasl@mail.imc.org)
X-Authentication-Warning: balder-227.proper.com: majordom set sender to owner-ietf-sasl@mail.imc.org using -f
Received: from sca-ea-mail-1.sun.com (sca-ea-mail-1.Sun.COM [192.18.43.24]) by balder-227.proper.com (8.14.2/8.14.2) with ESMTP id n7JHOY0i003699 (version=TLSv1/SSLv3 cipher=EDH-RSA-DES-CBC3-SHA bits=168 verify=NO) for <ietf-sasl@imc.org>; Wed, 19 Aug 2009 10:24:43 -0700 (MST) (envelope-from Nicolas.Williams@sun.com)
Received: from dm-central-02.central.sun.com ([129.147.62.5]) by sca-ea-mail-1.sun.com (8.13.7+Sun/8.12.9) with ESMTP id n7JGZqFO013219 for <ietf-sasl@imc.org>; Wed, 19 Aug 2009 16:35:56 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 n7JGZpEQ043975 for <ietf-sasl@imc.org>; Wed, 19 Aug 2009 10:35: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 n7JGHXVB004013; Wed, 19 Aug 2009 11:17:33 -0500 (CDT)
Received: (from nw141292@localhost) by binky.Central.Sun.COM (8.14.3+Sun/8.14.3/Submit) id n7JGHSpp004012; Wed, 19 Aug 2009 11:17:28 -0500 (CDT)
X-Authentication-Warning: binky.Central.Sun.COM: nw141292 set sender to Nicolas.Williams@sun.com using -f
Date: Wed, 19 Aug 2009 11:17:28 -0500
From: Nicolas Williams <Nicolas.Williams@sun.com>
To: Simon Josefsson <simon@josefsson.org>
Cc: ietf-sasl@imc.org, tls@ietf.org
Subject: Re: "Last call" on draft-altman-tls-channel-bindings-05.txt
Message-ID: <20090819161728.GB1043@Sun.COM>
References: <20090818213427.GU1043@Sun.COM> <87ljlgbv2a.fsf@mocca.josefsson.org> <20090818225934.GW1043@Sun.COM> <87bpmcbqxd.fsf@mocca.josefsson.org>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
In-Reply-To: <87bpmcbqxd.fsf@mocca.josefsson.org>
User-Agent: Mutt/1.5.7i
Sender: owner-ietf-sasl@mail.imc.org
Precedence: bulk
List-Archive: <http://www.imc.org/ietf-sasl/mail-archive/>
List-ID: <ietf-sasl.imc.org>
List-Unsubscribe: <mailto:ietf-sasl-request@imc.org?body=unsubscribe>

On Wed, Aug 19, 2009 at 02:14:38AM +0200, Simon Josefsson wrote:
> Nicolas Williams <Nicolas.Williams@sun.com> writes:
> >    Description: ...
> 
> Looks fine to me.
> 
> > The text you quote is security considerations text; the normative text
> > already says exactly what you ask for.  But OK:
> >
> >         ...  The algorithm to be used, however, is derived from the
> >    certificate's signature as described in Section 4.1; to recap: use
> >    SHA-256 if the certificate signature algorithm uses MD5 or SHA-1,
> >    else use whatever hash function the certificate uses.
> 
> There were two uses of "uses" in the sentence, and the second is still
> present, but at least this is better than before.

Ah yes:

        ...  The algorithm to be used, however, is derived from the
   certificate's signature as described in Section 4.1; to recap: use
   SHA-256 if the certificate signature algorithm uses MD5 or SHA-1,
   else use whatever hash function the certificate signature algorithm
   uses.

> > Now, section 4.1 says "if the certificate's signature hash algorithm is
> > ...".  But perhaps it should say "if the hash algorithm used in the
> > certificate's signatureAlgorithm is ...", just to be really accurate and
> > avoid any possible confusion (with, say, the algorithm field of
> > SubjectPublicKeyInfo).  Yes?
> 
> The more precise the better, although SubjectPublicKeyInfo generally do
> not imply any particular hash function.  But for new implementers, it is
> easy to go wrong if the text is not specific.

So let's add that precision and address signature algs that don't use
hash functions:

   Description: The hash of the TLS server's certificate [RFC5280] as it
   appears, octet for octet, in the server's Certificate message (note
   that the Certificate message contains a certificate_list, the first
   element of which is the server's certificate.)  The hash function is
   to be selected as follows: if the hash algorithm used in the
   certificate's signatureAlgorithm is either MD5 [RFC1321] or SHA-1
   [RFC3174] or if the certificate's signatureAlgorithm does not use any
   hash functions, then use SHA-256 [FIPS-180-2], otherwise use whatever
   hash algorithm is used by the certificate's signatureAlgorithm.

Nico
-- 


From owner-ietf-sasl@mail.imc.org  Wed Aug 19 14:45:32 2009
Return-Path: <owner-ietf-sasl@mail.imc.org>
X-Original-To: ietfarch-sasl-archive-Zoh8yoh9@core3.amsl.com
Delivered-To: ietfarch-sasl-archive-Zoh8yoh9@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id E231C3A6D5A for <ietfarch-sasl-archive-Zoh8yoh9@core3.amsl.com>; Wed, 19 Aug 2009 14:45:32 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -5.016
X-Spam-Level: 
X-Spam-Status: No, score=-5.016 tagged_above=-999 required=5 tests=[AWL=-0.770, BAYES_00=-2.599, HELO_MISMATCH_COM=0.553, J_CHICKENPOX_12=0.6, J_CHICKENPOX_31=0.6, J_CHICKENPOX_32=0.6, 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 ECTGDItKztGU for <ietfarch-sasl-archive-Zoh8yoh9@core3.amsl.com>; Wed, 19 Aug 2009 14:45:32 -0700 (PDT)
Received: from balder-227.proper.com (Balder-227.Proper.COM [192.245.12.227]) by core3.amsl.com (Postfix) with ESMTP id 20F483A6BEA for <sasl-archive-Zoh8yoh9@ietf.org>; Wed, 19 Aug 2009 14:45:32 -0700 (PDT)
Received: from balder-227.proper.com (localhost [127.0.0.1]) by balder-227.proper.com (8.14.2/8.14.2) with ESMTP id n7JLeiHZ002650 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Wed, 19 Aug 2009 14:40:44 -0700 (MST) (envelope-from owner-ietf-sasl@mail.imc.org)
Received: (from majordom@localhost) by balder-227.proper.com (8.14.2/8.13.5/Submit) id n7JLei21002648; Wed, 19 Aug 2009 14:40:44 -0700 (MST) (envelope-from owner-ietf-sasl@mail.imc.org)
X-Authentication-Warning: balder-227.proper.com: majordom set sender to owner-ietf-sasl@mail.imc.org using -f
Received: from sca-ea-mail-1.sun.com (sca-ea-mail-1.Sun.COM [192.18.43.24]) by balder-227.proper.com (8.14.2/8.14.2) with ESMTP id n7JLecNK002636 (version=TLSv1/SSLv3 cipher=EDH-RSA-DES-CBC3-SHA bits=168 verify=NO) for <ietf-sasl@imc.org>; Wed, 19 Aug 2009 14:40:42 -0700 (MST) (envelope-from Nicolas.Williams@sun.com)
Received: from dm-central-01.central.sun.com ([129.147.62.4]) by sca-ea-mail-1.sun.com (8.13.7+Sun/8.12.9) with ESMTP id n7JLebsm028052 for <ietf-sasl@imc.org>; Wed, 19 Aug 2009 21:40:37 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 n7JLebmJ027639 for <ietf-sasl@imc.org>; Wed, 19 Aug 2009 15:40:37 -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 n7JLMOoK004480; Wed, 19 Aug 2009 16:22:24 -0500 (CDT)
Received: (from nw141292@localhost) by binky.Central.Sun.COM (8.14.3+Sun/8.14.3/Submit) id n7JLMOUh004479; Wed, 19 Aug 2009 16:22:24 -0500 (CDT)
X-Authentication-Warning: binky.Central.Sun.COM: nw141292 set sender to Nicolas.Williams@sun.com using -f
Date: Wed, 19 Aug 2009 16:22:24 -0500
From: Nicolas Williams <Nicolas.Williams@sun.com>
To: Simon Josefsson <simon@josefsson.org>
Cc: ietf-sasl@imc.org, tls@ietf.org
Subject: Re: "Last call" on draft-altman-tls-channel-bindings-05.txt
Message-ID: <20090819212223.GN1043@Sun.COM>
References: <20090818213427.GU1043@Sun.COM> <87ljlgbv2a.fsf@mocca.josefsson.org>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
In-Reply-To: <87ljlgbv2a.fsf@mocca.josefsson.org>
User-Agent: Mutt/1.5.7i
Sender: owner-ietf-sasl@mail.imc.org
Precedence: bulk
List-Archive: <http://www.imc.org/ietf-sasl/mail-archive/>
List-ID: <ietf-sasl.imc.org>
List-Unsubscribe: <mailto:ietf-sasl-request@imc.org?body=unsubscribe>

On Wed, Aug 19, 2009 at 12:45:17AM +0200, Simon Josefsson wrote:
> For completeness, I would add:
> 
>    This algorithm agility resolution mechanism assumes that there is a
>    mapping from every Public-key signature algorithm to one hash
>    function algorithm.  This is the case for all practically used public
>    key signature algorithms today, but if future public-key signature
>    algorithms would employ multiple hash functions (or none at all) this
>    specification needs to be updated to resolve which hash function
>    should be used.

This brings up a question: what to do in the case of randomized digital
signatures?  In the case of NIST-SP-800-106 there's still a hash
function, so that's OK.  But one can imagine a digital signature
algorithm where a MAC and random key are used instead of a hash.

Traditionally a digital signature

	S'(Kp, M) = S(Kp, H(M))

while in NIST-SP-800-106

	S'(Kp, M) = {rv = rng(rv_len),
		     S(Kp, H(rv ||
			     (pad(M, rv_len) XOR xor_pad_gen(rv) ||
			     rv_length_indicator(rv_len))))
		    }

One could imagine this, however:

	S'(Kp, M) = {mk = rng(),
		     S(Kp, MAC(k, M))}

in which case there'd be no hash function.  Of course, we could define a
pseudo-hash function in that case: H(x) = MAC(mk, x), where mk is the mk
that would appear in the signature.

But I don't want to guess at what might happen in the future
of digital signatures.  Instead I'd rather either say either
that tls-server-end-point CB is undefined if the cert's
signature alg does not use a signature, or pick a hash
function (e.g., SHA-512) to use in such cases.

Comments?

Nico
-- 


From owner-ietf-sasl@mail.imc.org  Wed Aug 19 15:32:34 2009
Return-Path: <owner-ietf-sasl@mail.imc.org>
X-Original-To: ietfarch-sasl-archive-Zoh8yoh9@core3.amsl.com
Delivered-To: ietfarch-sasl-archive-Zoh8yoh9@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id 4E2B43A6A6A for <ietfarch-sasl-archive-Zoh8yoh9@core3.amsl.com>; Wed, 19 Aug 2009 15:32:34 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -4.314
X-Spam-Level: 
X-Spam-Status: No, score=-4.314 tagged_above=-999 required=5 tests=[AWL=1.732, 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 fr9jMMOZ7xug for <ietfarch-sasl-archive-Zoh8yoh9@core3.amsl.com>; Wed, 19 Aug 2009 15:32:33 -0700 (PDT)
Received: from balder-227.proper.com (Balder-227.Proper.COM [192.245.12.227]) by core3.amsl.com (Postfix) with ESMTP id 74B0E3A6C7B for <sasl-archive-Zoh8yoh9@ietf.org>; Wed, 19 Aug 2009 15:32:33 -0700 (PDT)
Received: from balder-227.proper.com (localhost [127.0.0.1]) by balder-227.proper.com (8.14.2/8.14.2) with ESMTP id n7JMPsG5005260 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Wed, 19 Aug 2009 15:25:54 -0700 (MST) (envelope-from owner-ietf-sasl@mail.imc.org)
Received: (from majordom@localhost) by balder-227.proper.com (8.14.2/8.13.5/Submit) id n7JMPsQL005259; Wed, 19 Aug 2009 15:25:54 -0700 (MST) (envelope-from owner-ietf-sasl@mail.imc.org)
X-Authentication-Warning: balder-227.proper.com: majordom set sender to owner-ietf-sasl@mail.imc.org using -f
Received: from yxa-v.extundo.com (yxa-v.extundo.com [83.241.177.39]) by balder-227.proper.com (8.14.2/8.14.2) with ESMTP id n7JMPjMO005224 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=FAIL) for <ietf-sasl@imc.org>; Wed, 19 Aug 2009 15:25:53 -0700 (MST) (envelope-from simon@josefsson.org)
Received: from mocca.josefsson.org (c80-216-31-183.bredband.comhem.se [80.216.31.183]) (authenticated bits=0) by yxa-v.extundo.com (8.14.3/8.14.3/Debian-5) with ESMTP id n7JMPcBJ031296 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES128-SHA bits=128 verify=NOT); Thu, 20 Aug 2009 00:25:40 +0200
From: Simon Josefsson <simon@josefsson.org>
To: Nicolas Williams <Nicolas.Williams@sun.com>
Cc: ietf-sasl@imc.org, tls@ietf.org
Subject: Re: "Last call" on draft-altman-tls-channel-bindings-05.txt
References: <20090818213427.GU1043@Sun.COM> <87ljlgbv2a.fsf@mocca.josefsson.org> <20090819212223.GN1043@Sun.COM>
OpenPGP: id=B565716F; url=http://josefsson.org/key.txt
X-Hashcash: 1:22:090819:ietf-sasl@imc.org::KeyHv/WeE0AMzTIv:03lZ
X-Hashcash: 1:22:090819:tls@ietf.org::0rTKIlPk8SZjIqkT:ZnPW
X-Hashcash: 1:22:090819:nicolas.williams@sun.com::wy96xQShYma/iDOS:g3wg
Date: Thu, 20 Aug 2009 00:25:38 +0200
In-Reply-To: <20090819212223.GN1043@Sun.COM> (Nicolas Williams's message of "Wed, 19 Aug 2009 16:22:24 -0500")
Message-ID: <87d46r4f19.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
Sender: owner-ietf-sasl@mail.imc.org
Precedence: bulk
List-Archive: <http://www.imc.org/ietf-sasl/mail-archive/>
List-ID: <ietf-sasl.imc.org>
List-Unsubscribe: <mailto:ietf-sasl-request@imc.org?body=unsubscribe>

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

> But I don't want to guess at what might happen in the future
> of digital signatures.

I agree, we could decide to not resolve this concern.

> Instead I'd rather either say either that tls-server-end-point CB is
> undefined if the cert's signature alg does not use a signature, or
> pick a hash function (e.g., SHA-512) to use in such cases.

If use of SHA-512 is hard-coded, we run into problem when it is phased
out.  Negotiation any other hash function will be tricky.  Alas, I'm not
sure leaving it undefined is any better: negotiating what hash function
to use in that situation seems equally tricky.

This is one reason where deriving channel binding data from the TLS
channel using tls-extractor appears more robust: it leaves negotiation
of the hash function to the TLS protocol.

/Simon


From owner-ietf-sasl@mail.imc.org  Wed Aug 19 15:46:15 2009
Return-Path: <owner-ietf-sasl@mail.imc.org>
X-Original-To: ietfarch-sasl-archive-Zoh8yoh9@core3.amsl.com
Delivered-To: ietfarch-sasl-archive-Zoh8yoh9@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id D26CF3A6FEA for <ietfarch-sasl-archive-Zoh8yoh9@core3.amsl.com>; Wed, 19 Aug 2009 15:46:15 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -5.91
X-Spam-Level: 
X-Spam-Status: No, score=-5.91 tagged_above=-999 required=5 tests=[AWL=0.136, 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 qgWwHiF2xkP0 for <ietfarch-sasl-archive-Zoh8yoh9@core3.amsl.com>; Wed, 19 Aug 2009 15:46:15 -0700 (PDT)
Received: from balder-227.proper.com (Balder-227.Proper.COM [192.245.12.227]) by core3.amsl.com (Postfix) with ESMTP id 044983A6AF5 for <sasl-archive-Zoh8yoh9@ietf.org>; Wed, 19 Aug 2009 15:46:14 -0700 (PDT)
Received: from balder-227.proper.com (localhost [127.0.0.1]) by balder-227.proper.com (8.14.2/8.14.2) with ESMTP id n7JMeiF6006009 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Wed, 19 Aug 2009 15:40:44 -0700 (MST) (envelope-from owner-ietf-sasl@mail.imc.org)
Received: (from majordom@localhost) by balder-227.proper.com (8.14.2/8.13.5/Submit) id n7JMeiiP006008; Wed, 19 Aug 2009 15:40:44 -0700 (MST) (envelope-from owner-ietf-sasl@mail.imc.org)
X-Authentication-Warning: balder-227.proper.com: majordom set sender to owner-ietf-sasl@mail.imc.org using -f
Received: from sca-ea-mail-1.sun.com (sca-ea-mail-1.Sun.COM [192.18.43.24]) by balder-227.proper.com (8.14.2/8.14.2) with ESMTP id n7JMegGx006002 (version=TLSv1/SSLv3 cipher=EDH-RSA-DES-CBC3-SHA bits=168 verify=NO) for <ietf-sasl@imc.org>; Wed, 19 Aug 2009 15:40:43 -0700 (MST) (envelope-from Nicolas.Williams@sun.com)
Received: from dm-central-01.central.sun.com ([129.147.62.4]) by sca-ea-mail-1.sun.com (8.13.7+Sun/8.12.9) with ESMTP id n7JMeg7s008446 for <ietf-sasl@imc.org>; Wed, 19 Aug 2009 22:40:42 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 n7JMef5o062222 for <ietf-sasl@imc.org>; Wed, 19 Aug 2009 16:40:41 -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 n7JMMU9U004576; Wed, 19 Aug 2009 17:22:30 -0500 (CDT)
Received: (from nw141292@localhost) by binky.Central.Sun.COM (8.14.3+Sun/8.14.3/Submit) id n7JMMUYM004575; Wed, 19 Aug 2009 17:22:30 -0500 (CDT)
X-Authentication-Warning: binky.Central.Sun.COM: nw141292 set sender to Nicolas.Williams@sun.com using -f
Date: Wed, 19 Aug 2009 17:22:29 -0500
From: Nicolas Williams <Nicolas.Williams@sun.com>
To: Simon Josefsson <simon@josefsson.org>
Cc: ietf-sasl@imc.org, tls@ietf.org
Subject: Re: [TLS] "Last call" on draft-altman-tls-channel-bindings-05.txt
Message-ID: <20090819222229.GS1043@Sun.COM>
References: <20090818213427.GU1043@Sun.COM> <87ljlgbv2a.fsf@mocca.josefsson.org> <20090819212223.GN1043@Sun.COM>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
In-Reply-To: <20090819212223.GN1043@Sun.COM>
User-Agent: Mutt/1.5.7i
Sender: owner-ietf-sasl@mail.imc.org
Precedence: bulk
List-Archive: <http://www.imc.org/ietf-sasl/mail-archive/>
List-ID: <ietf-sasl.imc.org>
List-Unsubscribe: <mailto:ietf-sasl-request@imc.org?body=unsubscribe>

On Wed, Aug 19, 2009 at 04:22:24PM -0500, Nicolas Williams wrote:
> On Wed, Aug 19, 2009 at 12:45:17AM +0200, Simon Josefsson wrote:
> > For completeness, I would add:
> > 
> >    This algorithm agility resolution mechanism assumes that there is a
> >    mapping from every Public-key signature algorithm to one hash
> >    function algorithm.  This is the case for all practically used public
> >    key signature algorithms today, but if future public-key signature
> >    algorithms would employ multiple hash functions (or none at all) this
> >    specification needs to be updated to resolve which hash function
> >    should be used.
> 
> This brings up a question: what to do in the case of randomized digital
> signatures?  In the case of NIST-SP-800-106 there's still a hash
> function, so that's OK.  But one can imagine a digital signature
> algorithm where a MAC and random key are used instead of a hash.
> 
> ...
> 
> But I don't want to guess at what might happen in the future
> of digital signatures.  Instead I'd rather either say either
> that tls-server-end-point CB is undefined if the cert's
> signature alg does not use a signature, or pick a hash
> function (e.g., SHA-512) to use in such cases.

After asking others I propose the former solution:

   Description: The hash of the TLS server's certificate [RFC5280] as it
   appears, octet for octet, in the server's Certificate message (note
   that the Certificate message contains a certificate_list, the first
   element of which is the server's certificate.)

   The hash function is to be selected as follows:

    - if the certificate's signatureAlgorithm uses a single hash
      function, and that hash function is either MD5 [RFC1321] or SHA-1
      [RFC3174] then use SHA-256 [FIPS-180-2];

    - if the certificate's signatureAlgorithm uses a single hash
      function and that hash function neither MD5 nor SHA-1, then use
      the hash function associated with the certificate's
      signatureAlgorithm;

    - if the certificate's signatureAlgorithm uses no hash functions, or
      multiple hash functions, then this channel binding type's channel
      bindings are undefined at this time (updates to is channel binding
      type may occur to address this issue if it ever arises).

Nico
-- 


From owner-ietf-sasl@mail.imc.org  Wed Aug 19 15:48:50 2009
Return-Path: <owner-ietf-sasl@mail.imc.org>
X-Original-To: ietfarch-sasl-archive-Zoh8yoh9@core3.amsl.com
Delivered-To: ietfarch-sasl-archive-Zoh8yoh9@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id BE86A3A6AF5 for <ietfarch-sasl-archive-Zoh8yoh9@core3.amsl.com>; Wed, 19 Aug 2009 15:48:50 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -5.912
X-Spam-Level: 
X-Spam-Status: No, score=-5.912 tagged_above=-999 required=5 tests=[AWL=0.134, 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 X5jovOcxRx6h for <ietfarch-sasl-archive-Zoh8yoh9@core3.amsl.com>; Wed, 19 Aug 2009 15:48:50 -0700 (PDT)
Received: from balder-227.proper.com (Balder-227.Proper.COM [192.245.12.227]) by core3.amsl.com (Postfix) with ESMTP id EA3153A6FEA for <sasl-archive-Zoh8yoh9@ietf.org>; Wed, 19 Aug 2009 15:48:49 -0700 (PDT)
Received: from balder-227.proper.com (localhost [127.0.0.1]) by balder-227.proper.com (8.14.2/8.14.2) with ESMTP id n7JMjClP006391 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Wed, 19 Aug 2009 15:45:12 -0700 (MST) (envelope-from owner-ietf-sasl@mail.imc.org)
Received: (from majordom@localhost) by balder-227.proper.com (8.14.2/8.13.5/Submit) id n7JMjCWS006390; Wed, 19 Aug 2009 15:45:12 -0700 (MST) (envelope-from owner-ietf-sasl@mail.imc.org)
X-Authentication-Warning: balder-227.proper.com: majordom set sender to owner-ietf-sasl@mail.imc.org using -f
Received: from sca-ea-mail-1.sun.com (sca-ea-mail-1.Sun.COM [192.18.43.24]) by balder-227.proper.com (8.14.2/8.14.2) with ESMTP id n7JMjAUj006383 (version=TLSv1/SSLv3 cipher=EDH-RSA-DES-CBC3-SHA bits=168 verify=NO) for <ietf-sasl@imc.org>; Wed, 19 Aug 2009 15:45:11 -0700 (MST) (envelope-from Nicolas.Williams@sun.com)
Received: from dm-central-01.central.sun.com ([129.147.62.4]) by sca-ea-mail-1.sun.com (8.13.7+Sun/8.12.9) with ESMTP id n7JMjAt9009231 for <ietf-sasl@imc.org>; Wed, 19 Aug 2009 22:45:10 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 n7JMjAj7064386 for <ietf-sasl@imc.org>; Wed, 19 Aug 2009 16:45:10 -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 n7JMQw4c004584; Wed, 19 Aug 2009 17:26:58 -0500 (CDT)
Received: (from nw141292@localhost) by binky.Central.Sun.COM (8.14.3+Sun/8.14.3/Submit) id n7JMQwpe004583; Wed, 19 Aug 2009 17:26:58 -0500 (CDT)
X-Authentication-Warning: binky.Central.Sun.COM: nw141292 set sender to Nicolas.Williams@sun.com using -f
Date: Wed, 19 Aug 2009 17:26:58 -0500
From: Nicolas Williams <Nicolas.Williams@sun.com>
To: Simon Josefsson <simon@josefsson.org>
Cc: ietf-sasl@imc.org, tls@ietf.org
Subject: Re: [TLS] "Last call" on draft-altman-tls-channel-bindings-05.txt
Message-ID: <20090819222658.GT1043@Sun.COM>
References: <20090818213427.GU1043@Sun.COM> <87ljlgbv2a.fsf@mocca.josefsson.org> <20090819212223.GN1043@Sun.COM> <87d46r4f19.fsf@mocca.josefsson.org>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
In-Reply-To: <87d46r4f19.fsf@mocca.josefsson.org>
User-Agent: Mutt/1.5.7i
Sender: owner-ietf-sasl@mail.imc.org
Precedence: bulk
List-Archive: <http://www.imc.org/ietf-sasl/mail-archive/>
List-ID: <ietf-sasl.imc.org>
List-Unsubscribe: <mailto:ietf-sasl-request@imc.org?body=unsubscribe>

On Thu, Aug 20, 2009 at 12:25:38AM +0200, Simon Josefsson wrote:
> Nicolas Williams <Nicolas.Williams@sun.com> writes:
> > But I don't want to guess at what might happen in the future
> > of digital signatures.
> 
> I agree, we could decide to not resolve this concern.
> 
> > Instead I'd rather either say either that tls-server-end-point CB is
> > undefined if the cert's signature alg does not use a signature, or
> > pick a hash function (e.g., SHA-512) to use in such cases.
> 
> If use of SHA-512 is hard-coded, we run into problem when it is phased
> out.  Negotiation any other hash function will be tricky.  Alas, I'm not
> sure leaving it undefined is any better: negotiating what hash function
> to use in that situation seems equally tricky.

I chatted with Jeff Hutzelman about this, and we both concluded that
leaving tls-server-end-point undefined in this case is acceptable
because we could change the spec to define tls-server-end-point for such
signature algorithms when they arise.

> This is one reason where deriving channel binding data from the TLS
> channel using tls-extractor appears more robust: it leaves negotiation
> of the hash function to the TLS protocol.

tls-unique does that already (though not using the extractor).  We're
talking about end-point channel binding types here, which are
independent of actual channels, therefore we couldn't use the extractor.

Nico
-- 


From sasl-bounces@ietf.org  Wed Aug 19 19:46:36 2009
Return-Path: <sasl-bounces@ietf.org>
X-Original-To: sasl-archive-Zoh8yoh9@lists.ietf.org
Delivered-To: ietfarch-sasl-archive-Zoh8yoh9@core3.amsl.com
Received: from [127.0.0.1] (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id B558C28C4A9 for <sasl-archive-Zoh8yoh9@lists.ietf.org>; Wed, 19 Aug 2009 19:46:36 -0700 (PDT)
MIME-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
Subject: Welcome to the "sasl" mailing list
From: sasl-request@ietf.org
To: sasl-archive-Zoh8yoh9@lists.ietf.org
X-No-Archive: yes
Message-ID: <mailman.124.1250736393.8168.sasl@ietf.org>
Date: Wed, 19 Aug 2009 19:46:33 -0700
Precedence: bulk
X-BeenThere: sasl@ietf.org
X-Mailman-Version: 2.1.9
List-Id: <sasl.ietf.org>
X-List-Administrivia: yes
Sender: sasl-bounces@ietf.org
Errors-To: sasl-bounces@ietf.org

The list has moved!

Welcome to the sasl@ietf.org mailing list! Note Well

Any submission to the IETF intended by the Contributor for publication
as all or part of an IETF Internet-Draft or RFC and any statement made
within the context of an IETF activity is considered an "IETF
Contribution". Such statements include oral statements in IETF
sessions, as well as written and electronic communications made at any
time or place, which are addressed to:

  - the IETF plenary session,
  - any IETF working group or portion thereof,
  - the IESG or any member thereof on behalf of the IESG,
  - the IAB or any member thereof on behalf of the IAB,
  - any IETF mailing list, including the IETF list itself, any working
group or design team list, or any other list functioning under IETF
auspices,
  - the RFC Editor or the Internet-Drafts function

All IETF Contributions are subject to the rules of RFC 5378 and RFC
3979 (updated by RFC 4879).

Statements made outside of an IETF session, mailing list or other
function, that are clearly not intended to be input to an IETF
activity, group or function, are not IETF Contributions in the context
of this notice.  Please consult RFC 5378 and RFC 3979 for details.

A participant in any IETF activity is deemed to accept all IETF rules
of process, as documented in Best Current Practices RFCs and IESG
Statements.

A participant in any IETF activity acknowledges that written, audio
and video records of meetings may be made and may be available to the
public.


To post to this list, send your email to:

  sasl@ietf.org

General information about the mailing list is at:

  https://www.ietf.org/mailman/listinfo/sasl

If you ever want to unsubscribe or change your options (eg, switch to
or from digest mode, change your password, etc.), visit your
subscription page at:

  https://www.ietf.org/mailman/options/sasl/sasl-archive-zoh8yoh9%40lists.ietf.org


You can also make such adjustments via email by sending a message to:

  sasl-request@ietf.org

with the word `help' in the subject or body (don't include the
quotes), and you will get back a message with instructions.

You must know your password to change your options (including changing
the password, itself) or to unsubscribe.  It is:

  D9Us96ap

Normally, Mailman will remind you of your ietf.org mailing list
passwords once every month, although you can disable this if you
prefer.  This reminder will also include instructions on how to
unsubscribe or change your account options.  There is also a button on
your options page that will email your current password to you.

From sasl-bounces@ietf.org  Wed Aug 19 19:48:31 2009
Return-Path: <sasl-bounces@ietf.org>
X-Original-To: sasl-archive-Zoh8yoh9@lists.ietf.org
Delivered-To: ietfarch-sasl-archive-Zoh8yoh9@core3.amsl.com
Received: from [127.0.0.1] (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id 4B5E428C407; Wed, 19 Aug 2009 19:48:31 -0700 (PDT)
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 52E2B28C407 for <sasl@core3.amsl.com>; Wed, 19 Aug 2009 19:48:30 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -5.118
X-Spam-Level: 
X-Spam-Status: No, score=-5.118 tagged_above=-999 required=5 tests=[AWL=0.928,  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 NN+X+Wuti6NN for <sasl@core3.amsl.com>; Wed, 19 Aug 2009 19:48:29 -0700 (PDT)
Received: from balder-227.proper.com (Balder-227.Proper.COM [192.245.12.227]) by core3.amsl.com (Postfix) with ESMTP id AD89728C0D0 for <sasl@ietf.org>; Wed, 19 Aug 2009 19:48:26 -0700 (PDT)
Received: from [10.20.30.158] (75-101-30-90.dsl.dynamic.sonic.net [75.101.30.90]) (authenticated bits=0) by balder-227.proper.com (8.14.2/8.14.2) with ESMTP id n7K2mUxe019344 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO) for <ietf-sasl@imc.org>; Wed, 19 Aug 2009 19:48:31 -0700 (MST) (envelope-from phoffman@imc.org)
Mime-Version: 1.0
Message-Id: <p06240815c6b269f39bc8@[10.20.30.158]>
Date: Wed, 19 Aug 2009 19:48:29 -0700
To: ietf-sasl@imc.org
From: Paul Hoffman <phoffman@imc.org>
Subject: [sasl] The list has moved
X-BeenThere: sasl@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: <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>
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
Sender: sasl-bounces@ietf.org
Errors-To: sasl-bounces@ietf.org

Please use "sasl@ietf.org" in the future.
_______________________________________________
sasl mailing list
sasl@ietf.org
https://www.ietf.org/mailman/listinfo/sasl

From phoffman@imc.org  Wed Aug 19 19:48:30 2009
Return-Path: <phoffman@imc.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 52E2B28C407 for <sasl@core3.amsl.com>; Wed, 19 Aug 2009 19:48:30 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -5.118
X-Spam-Level: 
X-Spam-Status: No, score=-5.118 tagged_above=-999 required=5 tests=[AWL=0.928,  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 NN+X+Wuti6NN for <sasl@core3.amsl.com>; Wed, 19 Aug 2009 19:48:29 -0700 (PDT)
Received: from balder-227.proper.com (Balder-227.Proper.COM [192.245.12.227]) by core3.amsl.com (Postfix) with ESMTP id AD89728C0D0 for <sasl@ietf.org>; Wed, 19 Aug 2009 19:48:26 -0700 (PDT)
Received: from [10.20.30.158] (75-101-30-90.dsl.dynamic.sonic.net [75.101.30.90]) (authenticated bits=0) by balder-227.proper.com (8.14.2/8.14.2) with ESMTP id n7K2mUxe019344 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO) for <ietf-sasl@imc.org>; Wed, 19 Aug 2009 19:48:31 -0700 (MST) (envelope-from phoffman@imc.org)
Mime-Version: 1.0
Message-Id: <p06240815c6b269f39bc8@[10.20.30.158]>
Date: Wed, 19 Aug 2009 19:48:29 -0700
To: ietf-sasl@imc.org
From: Paul Hoffman <phoffman@imc.org>
Content-Type: text/plain; charset="us-ascii"
Subject: [sasl] The list has moved
X-BeenThere: sasl@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: <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, 20 Aug 2009 02:48:30 -0000

Please use "sasl@ietf.org" in the future.

From jhutz@cmu.edu  Thu Aug 20 07:07:25 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 AAD883A6808 for <sasl@core3.amsl.com>; Thu, 20 Aug 2009 07:07:25 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.501
X-Spam-Level: 
X-Spam-Status: No, score=-2.501 tagged_above=-999 required=5 tests=[AWL=0.098,  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 vUQzybvk4aZp for <sasl@core3.amsl.com>; Thu, 20 Aug 2009 07:07:25 -0700 (PDT)
Received: from balder-227.proper.com (Balder-227.Proper.COM [192.245.12.227]) by core3.amsl.com (Postfix) with ESMTP id 04DEE3A6ECC for <sasl@ietf.org>; Thu, 20 Aug 2009 07:07:24 -0700 (PDT)
Received: from smtp01.srv.cs.cmu.edu (SMTP01.SRV.CS.CMU.EDU [128.2.217.196]) by balder-227.proper.com (8.14.2/8.14.2) with ESMTP id n7KE7PY2057472 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=FAIL) for <ietf-sasl@imc.org>; Thu, 20 Aug 2009 07:07:30 -0700 (MST) (envelope-from jhutz@cmu.edu)
Received: from ATLANTIS-GHC.PC.CS.CMU.EDU (SIRIUS.FAC.CS.CMU.EDU [128.2.216.216]) (authenticated bits=0) by smtp01.srv.cs.cmu.edu (8.13.6/8.13.6) with ESMTP id n7KE7LoK007948 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Thu, 20 Aug 2009 10:07:21 -0400 (EDT)
Date: Thu, 20 Aug 2009 10:07:20 -0400
From: Jeffrey Hutzelman <jhutz@cmu.edu>
To: Nicolas Williams <Nicolas.Williams@sun.com>, Simon Josefsson <simon@josefsson.org>
Message-ID: <A7B99A36C9F4DEA5F4F250FF@atlantis.pc.cs.cmu.edu>
In-Reply-To: <20090819222229.GS1043@Sun.COM>
References: <20090818213427.GU1043@Sun.COM> <87ljlgbv2a.fsf@mocca.josefsson.org> <20090819212223.GN1043@Sun.COM> <20090819222229.GS1043@Sun.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.196
Cc: ietf-sasl@imc.org, tls@ietf.org
Subject: Re: [sasl] [TLS] "Last call" on draft-altman-tls-channel-bindings-05.txt
X-BeenThere: sasl@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: <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, 20 Aug 2009 14:07:25 -0000

--On Wednesday, August 19, 2009 05:22:29 PM -0500 Nicolas Williams 
<Nicolas.Williams@sun.com> wrote:

> After asking others I propose the former solution:
>
>    Description: The hash of the TLS server's certificate [RFC5280] as it
>    appears, octet for octet, in the server's Certificate message (note
>    that the Certificate message contains a certificate_list, the first
>    element of which is the server's certificate.)
>
>    The hash function is to be selected as follows:
>
>     - if the certificate's signatureAlgorithm uses a single hash
>       function, and that hash function is either MD5 [RFC1321] or SHA-1
>       [RFC3174] then use SHA-256 [FIPS-180-2];
>
>     - if the certificate's signatureAlgorithm uses a single hash
>       function and that hash function neither MD5 nor SHA-1, then use
>       the hash function associated with the certificate's
>       signatureAlgorithm;
>
>     - if the certificate's signatureAlgorithm uses no hash functions, or
>       multiple hash functions, then this channel binding type's channel
>       bindings are undefined at this time (updates to is channel binding
>       type may occur to address this issue if it ever arises).

+1

From tlyu@MIT.EDU  Thu Aug 20 22:05:12 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 3B66E3A68F0 for <sasl@core3.amsl.com>; Thu, 20 Aug 2009 22:05:12 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -5.932
X-Spam-Level: 
X-Spam-Status: No, score=-5.932 tagged_above=-999 required=5 tests=[AWL=0.667,  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 BLG+Uy2yq5hE for <sasl@core3.amsl.com>; Thu, 20 Aug 2009 22:05:11 -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 5F0C63A6405 for <sasl@ietf.org>; Thu, 20 Aug 2009 22:05:11 -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 n7L55EAK007741 for <sasl@ietf.org>; Fri, 21 Aug 2009 01:05:14 -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 n7L55D6G003178 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT) for <sasl@ietf.org>; Fri, 21 Aug 2009 01:05:14 -0400 (EDT)
Received: (from tlyu@localhost) by cathode-dark-space.mit.edu (8.12.9.20060308) id n7L55D0v024700; Fri, 21 Aug 2009 01:05:13 -0400 (EDT)
To: sasl@ietf.org
From: Tom Yu <tlyu@MIT.EDU>
Date: Fri, 21 Aug 2009 01:05:12 -0400
Message-ID: <ldviqghdaev.fsf@cathode-dark-space.mit.edu>
Lines: 29
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
X-Scanned-By: MIMEDefang 2.42
Subject: [sasl] WLGC summary for SCRAM and GS2
X-BeenThere: sasl@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: <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, 21 Aug 2009 05:05:12 -0000

SCRAM:

Looks ready to me.  The WGLC issues were mostly editorial in nature,
all of which are resolved as far as I can tell.  I will forward it on
to the IESG, probably in the next few days.

In the IANA considerations, it's not clear whether the consensus was
for "IETF Consensus" or "Standards Action", but the current revision
of the document says "IETF Consensus" and I have heard no objections.

GS2:

Looks ready except for IANA considerations.

After noticing the IANA situation with SCRAM, I looked at the GS2
document and determined:

* It doesn't clearly indicate that it is registering a SASL mechanism
  family.

* There is no stated IANA registration policy for GS2 mechanisms.  I
  would guess that Expert Review is desired (e.g., who gets to decide
  that a proposed mechanism registration conforms to the GS2
  specification?) but would like to hear some confirmation of whether
  this is the consensus.

-- 
Tom Yu
IETF SASL WG co-chair

From Nicolas.Williams@sun.com  Thu Aug 20 22:35:19 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 CABA43A6DAC for <sasl@core3.amsl.com>; Thu, 20 Aug 2009 22:35:19 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -5.902
X-Spam-Level: 
X-Spam-Status: No, score=-5.902 tagged_above=-999 required=5 tests=[AWL=0.144,  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 HXuA7LKcQPq9 for <sasl@core3.amsl.com>; Thu, 20 Aug 2009 22:35:19 -0700 (PDT)
Received: from sca-ea-mail-1.sun.com (sca-ea-mail-1.Sun.COM [192.18.43.24]) by core3.amsl.com (Postfix) with ESMTP id BECF93A6DD4 for <sasl@ietf.org>; Thu, 20 Aug 2009 22:35:18 -0700 (PDT)
Received: from dm-central-02.central.sun.com ([129.147.62.5]) by sca-ea-mail-1.sun.com (8.13.7+Sun/8.12.9) with ESMTP id n7L5Z3Wg003854 for <sasl@ietf.org>; Fri, 21 Aug 2009 05:35: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 n7L5Z2Y7062780 for <sasl@ietf.org>; Thu, 20 Aug 2009 23:35:02 -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 n7L5OJRT005793; Fri, 21 Aug 2009 00:24:19 -0500 (CDT)
Received: (from nw141292@localhost) by binky.Central.Sun.COM (8.14.3+Sun/8.14.3/Submit) id n7L5OHLf005792;  Fri, 21 Aug 2009 00:24:17 -0500 (CDT)
X-Authentication-Warning: binky.Central.Sun.COM: nw141292 set sender to Nicolas.Williams@sun.com using -f
Date: Fri, 21 Aug 2009 00:24:17 -0500
From: Nicolas Williams <Nicolas.Williams@sun.com>
To: Tom Yu <tlyu@MIT.EDU>
Message-ID: <20090821052417.GP1043@Sun.COM>
References: <ldviqghdaev.fsf@cathode-dark-space.mit.edu>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
In-Reply-To: <ldviqghdaev.fsf@cathode-dark-space.mit.edu>
User-Agent: Mutt/1.5.7i
Cc: sasl@ietf.org
Subject: Re: [sasl] WLGC summary for SCRAM and GS2
X-BeenThere: sasl@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: <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, 21 Aug 2009 05:35:19 -0000

On Fri, Aug 21, 2009 at 01:05:12AM -0400, Tom Yu wrote:
> SCRAM:
> 
> Looks ready to me.  The WGLC issues were mostly editorial in nature,
> all of which are resolved as far as I can tell.  I will forward it on
> to the IESG, probably in the next few days.
> 
> In the IANA considerations, it's not clear whether the consensus was
> for "IETF Consensus" or "Standards Action", but the current revision
> of the document says "IETF Consensus" and I have heard no objections.

For SCRAM with different hash functions?  IETF consensus, even expert
review[*], should do if the only thing that differs w.r.t. the original is
the hash function and the mechanism name, else Standards Action. 

> GS2:
> 
> Looks ready except for IANA considerations.
> 
> After noticing the IANA situation with SCRAM, I looked at the GS2
> document and determined:
> 
> * It doesn't clearly indicate that it is registering a SASL mechanism
>   family.

Well, it's almost clear enough.  On page 19, in the registration for the
GS2- prefix we could add the word "family" after "mechanism" in the
Subject line.

> * There is no stated IANA registration policy for GS2 mechanisms.  I
>   would guess that Expert Review is desired (e.g., who gets to decide
>   that a proposed mechanism registration conforms to the GS2
>   specification?) but would like to hear some confirmation of whether
>   this is the consensus.

Mechanism names with prefix GS2- are either registed by this I-D or else
they are OID-derived, in which case no registration is needed.  The
registration of the GS2- prefix stops at disallowing registration of
GS2-* mechanism names:

   The IANA is advised that SASL mechanism names starting with "GS2-"
   are reserved for SASL mechanisms which conform to this document.  The
       ^^^^^^^^

I don't recall which one of us wrote that, but I think we meant that
"registrations of mechanism names that start with GS2- are disallowed".
Perhaps we should make that more explicit?

Any GSS-API mechanism that provides channel binding support and which is
not one of the mechanisms listed in this I-D[**] may be used as a GS2
mechanism without registration unless one wishes to use a mechanism name
that does not begin with GS2-.

[*]  Well, as we learned in the case of the channel binding registry,
     it's useful to have RFCs to reference.  Therefore expert review for
     SCRAM variants is probably not a good idea.

[**] The krb5 GSS mech and SPNEGO, the latter being disallowed.

Nico
-- 

From alexey.melnikov@isode.com  Fri Aug 21 06:32:52 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 141853A67D8 for <sasl@core3.amsl.com>; Fri, 21 Aug 2009 06:32:52 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.528
X-Spam-Level: 
X-Spam-Status: No, score=-2.528 tagged_above=-999 required=5 tests=[AWL=0.071,  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 PUA4C499myhv for <sasl@core3.amsl.com>; Fri, 21 Aug 2009 06:32:51 -0700 (PDT)
Received: from rufus.isode.com (rufus.isode.com [62.3.217.251]) by core3.amsl.com (Postfix) with ESMTP id D94923A6A5E for <sasl@ietf.org>; Fri, 21 Aug 2009 06:32:50 -0700 (PDT)
Received: from [172.16.2.196] (shiny.isode.com [62.3.217.250])  by rufus.isode.com (submission channel) via TCP with ESMTPA  id <So6iAwB9YQTO@rufus.isode.com>; Fri, 21 Aug 2009 14:32:55 +0100
Message-ID: <4A8EA1F4.3070209@isode.com>
Date: Fri, 21 Aug 2009 14:32:36 +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: <ldviqghdaev.fsf@cathode-dark-space.mit.edu> <20090821052417.GP1043@Sun.COM>
In-Reply-To: <20090821052417.GP1043@Sun.COM>
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii; format=flowed
Content-Transfer-Encoding: 7bit
Cc: sasl@ietf.org, Tom Yu <tlyu@MIT.EDU>
Subject: Re: [sasl] WLGC summary for SCRAM and GS2
X-BeenThere: sasl@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: <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, 21 Aug 2009 13:32:52 -0000

Nicolas Williams wrote:

>On Fri, Aug 21, 2009 at 01:05:12AM -0400, Tom Yu wrote:  
>
>>SCRAM:
>>
>>Looks ready to me.  The WGLC issues were mostly editorial in nature,
>>all of which are resolved as far as I can tell.  I will forward it on
>>to the IESG, probably in the next few days.
>>
>>In the IANA considerations, it's not clear whether the consensus was
>>for "IETF Consensus" or "Standards Action", but the current revision
>>of the document says "IETF Consensus" and I have heard no objections.
>>    
>>
>
>For SCRAM with different hash functions?  IETF consensus, even expert
>review[*], should do if the only thing that differs w.r.t. the original is
>the hash function and the mechanism name, else Standards Action. 
>  
>
Agreed. So no change needed.

>>GS2:
>>
>>Looks ready except for IANA considerations.
>>
>>After noticing the IANA situation with SCRAM, I looked at the GS2
>>document and determined:
>>
>>* It doesn't clearly indicate that it is registering a SASL mechanism
>>  family.
>>
>
>Well, it's almost clear enough.
>
I think it is. I think we've used "*" in a SASL mechanism registration 
before.

>On page 19, in the registration for the
>GS2- prefix we could add the word "family" after "mechanism" in the
>Subject line.
>
That would be fine as well.

>>* There is no stated IANA registration policy for GS2 mechanisms.  I
>>  would guess that Expert Review is desired (e.g., who gets to decide
>>  that a proposed mechanism registration conforms to the GS2
>>  specification?) but would like to hear some confirmation of whether
>>  this is the consensus.
>>    
>>
>
>Mechanism names with prefix GS2- are either registed by this I-D or else
>they are OID-derived, in which case no registration is needed.  The
>registration of the GS2- prefix stops at disallowing registration of
>GS2-* mechanism names:
>
>   The IANA is advised that SASL mechanism names starting with "GS2-"
>   are reserved for SASL mechanisms which conform to this document.  The
>       ^^^^^^^^
>
>I don't recall which one of us wrote that, but I think we meant that
>"registrations of mechanism names that start with GS2- are disallowed".
>Perhaps we should make that more explicit?
>
I don't have a problem with registering a mechanism name starting with 
GS2-, as long as it conforms to the GS2 spec.
I think this is what "reserved" means here.

>Any GSS-API mechanism that provides channel binding support and which is
>not one of the mechanisms listed in this I-D[**] may be used as a GS2
>mechanism without registration unless one wishes to use a mechanism name
>that does not begin with GS2-.
>
>[*]  Well, as we learned in the case of the channel binding registry,
>     it's useful to have RFCs to reference.  Therefore expert review for
>     SCRAM variants is probably not a good idea.
>
>[**] The krb5 GSS mech and SPNEGO, the latter being disallowed.
>

From jhutz@cmu.edu  Fri Aug 21 08:41:30 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 57F0D28C21C for <sasl@core3.amsl.com>; Fri, 21 Aug 2009 08:41:30 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.506
X-Spam-Level: 
X-Spam-Status: No, score=-2.506 tagged_above=-999 required=5 tests=[AWL=0.093,  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 roYOEo4ja0EF for <sasl@core3.amsl.com>; Fri, 21 Aug 2009 08:41:29 -0700 (PDT)
Received: from smtp03.srv.cs.cmu.edu (SMTP03.SRV.CS.CMU.EDU [128.2.217.198]) by core3.amsl.com (Postfix) with ESMTP id 9706328C204 for <sasl@ietf.org>; Fri, 21 Aug 2009 08:41:28 -0700 (PDT)
Received: from ATLANTIS-GHC.PC.CS.CMU.EDU (SIRIUS.FAC.CS.CMU.EDU [128.2.216.216]) (authenticated bits=0) by smtp03.srv.cs.cmu.edu (8.13.6/8.13.6) with ESMTP id n7LFfVv2016616 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Fri, 21 Aug 2009 11:41:32 -0400 (EDT)
Date: Fri, 21 Aug 2009 11:41:31 -0400
From: Jeffrey Hutzelman <jhutz@cmu.edu>
To: Nicolas Williams <Nicolas.Williams@sun.com>, Tom Yu <tlyu@MIT.EDU>
Message-ID: <05CE234CEB100400F0C7CB16@atlantis.pc.cs.cmu.edu>
In-Reply-To: <21956_1250832928_n7L5ZRe0020555_20090821052417.GP1043@Sun.COM>
References: <ldviqghdaev.fsf@cathode-dark-space.mit.edu> <21956_1250832928_n7L5ZRe0020555_20090821052417.GP1043@Sun.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.198
Cc: sasl@ietf.org
Subject: Re: [sasl] WLGC summary for SCRAM and GS2
X-BeenThere: sasl@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: <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, 21 Aug 2009 15:41:31 -0000

--On Friday, August 21, 2009 12:24:17 AM -0500 Nicolas Williams 
<Nicolas.Williams@sun.com> wrote:

> Mechanism names with prefix GS2- are either registed by this I-D or else
> they are OID-derived, in which case no registration is needed.  The
> registration of the GS2- prefix stops at disallowing registration of
> GS2-* mechanism names:
>
>    The IANA is advised that SASL mechanism names starting with "GS2-"
>    are reserved for SASL mechanisms which conform to this document.  The
>        ^^^^^^^^
>
> I don't recall which one of us wrote that, but I think we meant that
> "registrations of mechanism names that start with GS2- are disallowed".
> Perhaps we should make that more explicit?

Yes, I agree that's what we meant, mostly.  IANA should not ever register 
mechanism names which could confilict with OID-derived names.  However, I 
thought we wanted to allow for the possibility of registering friendly GS2 
mechanism names for future GSSAPI mechanisms, provided the registration 
happens when the mechanism is defined.

-- Jeff

From jhutz@cmu.edu  Fri Aug 21 09:21:56 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 22BE428C0DD for <sasl@core3.amsl.com>; Fri, 21 Aug 2009 09:21:56 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.51
X-Spam-Level: 
X-Spam-Status: No, score=-2.51 tagged_above=-999 required=5 tests=[AWL=0.089,  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 iyT7FFgJxexh for <sasl@core3.amsl.com>; Fri, 21 Aug 2009 09:21:55 -0700 (PDT)
Received: from smtp01.srv.cs.cmu.edu (SMTP01.SRV.CS.CMU.EDU [128.2.217.196]) by core3.amsl.com (Postfix) with ESMTP id 4F6033A6B9E for <sasl@ietf.org>; Fri, 21 Aug 2009 09:21:55 -0700 (PDT)
Received: from ATLANTIS-GHC.PC.CS.CMU.EDU (SIRIUS.FAC.CS.CMU.EDU [128.2.216.216]) (authenticated bits=0) by smtp01.srv.cs.cmu.edu (8.13.6/8.13.6) with ESMTP id n7LGLwbp004381 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Fri, 21 Aug 2009 12:21:59 -0400 (EDT)
Date: Fri, 21 Aug 2009 12:21:58 -0400
From: Jeffrey Hutzelman <jhutz@cmu.edu>
To: Alexey Melnikov <alexey.melnikov@isode.com>, Nicolas Williams <Nicolas.Williams@sun.com>
Message-ID: <1D1A390B0DEBED054A897CFC@atlantis.pc.cs.cmu.edu>
In-Reply-To: <29139_1250861580_n7LDWwts004929_4A8EA1F4.3070209@isode.com>
References: <ldviqghdaev.fsf@cathode-dark-space.mit.edu> <20090821052417.GP1043@Sun.COM> <29139_1250861580_n7LDWwts004929_4A8EA1F4.3070209@isode.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.196
Cc: Tom Yu <tlyu@MIT.EDU>, sasl@ietf.org
Subject: Re: [sasl] WLGC summary for SCRAM and GS2
X-BeenThere: sasl@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: <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, 21 Aug 2009 16:21:56 -0000

--On Friday, August 21, 2009 02:32:36 PM +0100 Alexey Melnikov 
<alexey.melnikov@isode.com> wrote:

> I don't have a problem with registering a mechanism name starting with
> GS2-, as long as it conforms to the GS2 spec.
> I think this is what "reserved" means here.

It's important that we not do that for already-existing GSSAPI mechanisms, 
in order to avoid the interoperability problems that arise from having two 
names for the same mechanism.

-- Jeff

From Nicolas.Williams@sun.com  Fri Aug 21 09:32:25 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 2E2D83A6999 for <sasl@core3.amsl.com>; Fri, 21 Aug 2009 09:32:25 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -5.904
X-Spam-Level: 
X-Spam-Status: No, score=-5.904 tagged_above=-999 required=5 tests=[AWL=0.142,  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 QdZoRLLDrwI8 for <sasl@core3.amsl.com>; Fri, 21 Aug 2009 09:32:24 -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 5103A3A6886 for <sasl@ietf.org>; Fri, 21 Aug 2009 09:32:24 -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 n7LGWQ1e003869 for <sasl@ietf.org>; Fri, 21 Aug 2009 16:32:30 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 n7LGWPBR029804 for <sasl@ietf.org>; Fri, 21 Aug 2009 10:32:26 -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 n7LGECBP005996; Fri, 21 Aug 2009 11:14:12 -0500 (CDT)
Received: (from nw141292@localhost) by binky.Central.Sun.COM (8.14.3+Sun/8.14.3/Submit) id n7LGECHs005995;  Fri, 21 Aug 2009 11:14:12 -0500 (CDT)
X-Authentication-Warning: binky.Central.Sun.COM: nw141292 set sender to Nicolas.Williams@sun.com using -f
Date: Fri, 21 Aug 2009 11:14:12 -0500
From: Nicolas Williams <Nicolas.Williams@sun.com>
To: Jeffrey Hutzelman <jhutz@cmu.edu>
Message-ID: <20090821161411.GV1043@Sun.COM>
References: <ldviqghdaev.fsf@cathode-dark-space.mit.edu> <21956_1250832928_n7L5ZRe0020555_20090821052417.GP1043@Sun.COM> <05CE234CEB100400F0C7CB16@atlantis.pc.cs.cmu.edu>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
In-Reply-To: <05CE234CEB100400F0C7CB16@atlantis.pc.cs.cmu.edu>
User-Agent: Mutt/1.5.7i
Cc: sasl@ietf.org, Tom Yu <tlyu@MIT.EDU>
Subject: Re: [sasl] WLGC summary for SCRAM and GS2
X-BeenThere: sasl@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: <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, 21 Aug 2009 16:32:25 -0000

On Fri, Aug 21, 2009 at 11:41:31AM -0400, Jeffrey Hutzelman wrote:
> Yes, I agree that's what we meant, mostly.  IANA should not ever register 
> mechanism names which could confilict with OID-derived names.  However, I 
> thought we wanted to allow for the possibility of registering friendly GS2 
> mechanism names for future GSSAPI mechanisms, provided the registration 
> happens when the mechanism is defined.

We do allow for friendly GS2 mechanism names for future GSSAPI
mechanisms.  But there's nothing much for the GS2 RFC to say about that,
unless...

... we want to make sure that the registry says whether any SASL
mechanism that doesn't start with GS2- is a GS2 mechanism nonetheless.
How would we actually achieve this?  Wouldn't that make the GS2 document
update the base SASL spec by changing the SASL mechanism name
registration rules?

Nico
-- 

From jhutz@cmu.edu  Fri Aug 21 09:32:51 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 0F1DB3A6DCF for <sasl@core3.amsl.com>; Fri, 21 Aug 2009 09:32:51 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.514
X-Spam-Level: 
X-Spam-Status: No, score=-2.514 tagged_above=-999 required=5 tests=[AWL=0.085,  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 9fBZotIMKaAF for <sasl@core3.amsl.com>; Fri, 21 Aug 2009 09:32:49 -0700 (PDT)
Received: from smtp03.srv.cs.cmu.edu (SMTP03.SRV.CS.CMU.EDU [128.2.217.198]) by core3.amsl.com (Postfix) with ESMTP id 86B3D3A6D90 for <sasl@ietf.org>; Fri, 21 Aug 2009 09:32:49 -0700 (PDT)
Received: from ATLANTIS-GHC.PC.CS.CMU.EDU (SIRIUS.FAC.CS.CMU.EDU [128.2.216.216]) (authenticated bits=0) by smtp03.srv.cs.cmu.edu (8.13.6/8.13.6) with ESMTP id n7LGWqdg017604 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Fri, 21 Aug 2009 12:32:52 -0400 (EDT)
Date: Fri, 21 Aug 2009 12:32:52 -0400
From: Jeffrey Hutzelman <jhutz@cmu.edu>
To: Nicolas Williams <Nicolas.Williams@sun.com>
Message-ID: <F3C4ACA06FC67387D58A7EA3@atlantis.pc.cs.cmu.edu>
In-Reply-To: <20090821161411.GV1043@Sun.COM>
References: <ldviqghdaev.fsf@cathode-dark-space.mit.edu> <21956_1250832928_n7L5ZRe0020555_20090821052417.GP1043@Sun.COM> <05CE234CEB100400F0C7CB16@atlantis.pc.cs.cmu.edu> <20090821161411.GV1043@Sun.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.198
Cc: sasl@ietf.org, Tom Yu <tlyu@MIT.EDU>
Subject: Re: [sasl] WLGC summary for SCRAM and GS2
X-BeenThere: sasl@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: <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, 21 Aug 2009 16:32:51 -0000

--On Friday, August 21, 2009 11:14:12 AM -0500 Nicolas Williams 
<Nicolas.Williams@sun.com> wrote:

> On Fri, Aug 21, 2009 at 11:41:31AM -0400, Jeffrey Hutzelman wrote:
>> Yes, I agree that's what we meant, mostly.  IANA should not ever
>> register  mechanism names which could confilict with OID-derived names.
>> However, I  thought we wanted to allow for the possibility of
>> registering friendly GS2  mechanism names for future GSSAPI mechanisms,
>> provided the registration  happens when the mechanism is defined.
>
> We do allow for friendly GS2 mechanism names for future GSSAPI
> mechanisms.  But there's nothing much for the GS2 RFC to say about that,
> unless...
>
> ... we want to make sure that the registry says whether any SASL
> mechanism that doesn't start with GS2- is a GS2 mechanism nonetheless.
> How would we actually achieve this?  Wouldn't that make the GS2 document
> update the base SASL spec by changing the SASL mechanism name
> registration rules?

Nevermind; I was confused.  Friendly names wouldn't start with "GS2-"; that 
prefix is reserved for OID-derived names.  In which case IANA shouldn't 
ever assign names with that prefix; this document reserves them all to 
avoid conflicts with the algorithmic names.

-- Jeff

From jhutz@cmu.edu  Fri Aug 21 10:44:43 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 B8FAC28C1F2 for <sasl@core3.amsl.com>; Fri, 21 Aug 2009 10:44:43 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.517
X-Spam-Level: 
X-Spam-Status: No, score=-2.517 tagged_above=-999 required=5 tests=[AWL=0.082,  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 MWBST2mRXg8h for <sasl@core3.amsl.com>; Fri, 21 Aug 2009 10:44:43 -0700 (PDT)
Received: from smtp01.srv.cs.cmu.edu (SMTP01.SRV.CS.CMU.EDU [128.2.217.196]) by core3.amsl.com (Postfix) with ESMTP id DA4E53A6E01 for <sasl@ietf.org>; Fri, 21 Aug 2009 10:44:15 -0700 (PDT)
Received: from ATLANTIS-GHC.PC.CS.CMU.EDU (SIRIUS.FAC.CS.CMU.EDU [128.2.216.216]) (authenticated bits=0) by smtp01.srv.cs.cmu.edu (8.13.6/8.13.6) with ESMTP id n7LHiIE3006184 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Fri, 21 Aug 2009 13:44:18 -0400 (EDT)
Date: Fri, 21 Aug 2009 13:44:18 -0400
From: Jeffrey Hutzelman <jhutz@cmu.edu>
To: Nicolas Williams <Nicolas.Williams@sun.com>
Message-ID: <8549C0872A7F6A8B969841CE@atlantis.pc.cs.cmu.edu>
In-Reply-To: <20090821172629.GC1043@Sun.COM>
References: <ldviqghdaev.fsf@cathode-dark-space.mit.edu> <20090821052417.GP1043@Sun.COM> <29139_1250861580_n7LDWwts004929_4A8EA1F4.3070209@isode.com> <1D1A390B0DEBED054A897CFC@atlantis.pc.cs.cmu.edu> <20090821172629.GC1043@Sun.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.196
Cc: Alexey Melnikov <alexey.melnikov@isode.com>, Tom Yu <tlyu@MIT.EDU>, sasl@ietf.org
Subject: Re: [sasl] WLGC summary for SCRAM and GS2
X-BeenThere: sasl@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: <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, 21 Aug 2009 17:44:43 -0000

--On Friday, August 21, 2009 12:26:29 PM -0500 Nicolas Williams 
<Nicolas.Williams@sun.com> wrote:

> On Fri, Aug 21, 2009 at 12:21:58PM -0400, Jeffrey Hutzelman wrote:
>> --On Friday, August 21, 2009 02:32:36 PM +0100 Alexey Melnikov
>> <alexey.melnikov@isode.com> wrote:
>>
>> > I don't have a problem with registering a mechanism name starting with
>> > GS2-, as long as it conforms to the GS2 spec.
>> > I think this is what "reserved" means here.
>>
>> It's important that we not do that for already-existing GSSAPI
>> mechanisms,  in order to avoid the interoperability problems that arise
>> from having two  names for the same mechanism.
>
> I think that Alexey meant that GS2 mechs without a friendly SASL mech
> name could be registered with their OID-derived GS2 mech names.
>
> That'd be fine, though not necessary, and would require careful review
> to make sure that there are no mistakes in the name derivation.

Ew.  IANA should just not accept registrations for those, period.


> Incidentally, we say nothing about what to do in the case of OID-derived
> name collisions...  We should!  And what can we say about that, short of
> allowing/recommending registration of GS2-* OID-derived names?

Assign your mech a new OID. :-)

From Nicolas.Williams@sun.com  Fri Aug 21 10:44:45 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 8486228C21A for <sasl@core3.amsl.com>; Fri, 21 Aug 2009 10:44:45 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -5.895
X-Spam-Level: 
X-Spam-Status: No, score=-5.895 tagged_above=-999 required=5 tests=[AWL=0.151,  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 GEqQugfr9ff6 for <sasl@core3.amsl.com>; Fri, 21 Aug 2009 10:44:44 -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 CD1D73A6DDC for <sasl@ietf.org>; Fri, 21 Aug 2009 10:44:41 -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 n7LHijXB005018 for <sasl@ietf.org>; Fri, 21 Aug 2009 17:44:45 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 n7LHijb6013294 for <sasl@ietf.org>; Fri, 21 Aug 2009 11:44:45 -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 n7LHQV8I006051; Fri, 21 Aug 2009 12:26:31 -0500 (CDT)
Received: (from nw141292@localhost) by binky.Central.Sun.COM (8.14.3+Sun/8.14.3/Submit) id n7LHQTjV006050;  Fri, 21 Aug 2009 12:26:29 -0500 (CDT)
X-Authentication-Warning: binky.Central.Sun.COM: nw141292 set sender to Nicolas.Williams@sun.com using -f
Date: Fri, 21 Aug 2009 12:26:29 -0500
From: Nicolas Williams <Nicolas.Williams@sun.com>
To: Jeffrey Hutzelman <jhutz@cmu.edu>
Message-ID: <20090821172629.GC1043@Sun.COM>
References: <ldviqghdaev.fsf@cathode-dark-space.mit.edu> <20090821052417.GP1043@Sun.COM> <29139_1250861580_n7LDWwts004929_4A8EA1F4.3070209@isode.com> <1D1A390B0DEBED054A897CFC@atlantis.pc.cs.cmu.edu>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
In-Reply-To: <1D1A390B0DEBED054A897CFC@atlantis.pc.cs.cmu.edu>
User-Agent: Mutt/1.5.7i
Cc: Alexey Melnikov <alexey.melnikov@isode.com>, Tom Yu <tlyu@MIT.EDU>, sasl@ietf.org
Subject: Re: [sasl] WLGC summary for SCRAM and GS2
X-BeenThere: sasl@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: <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, 21 Aug 2009 17:44:45 -0000

On Fri, Aug 21, 2009 at 12:21:58PM -0400, Jeffrey Hutzelman wrote:
> --On Friday, August 21, 2009 02:32:36 PM +0100 Alexey Melnikov 
> <alexey.melnikov@isode.com> wrote:
> 
> >I don't have a problem with registering a mechanism name starting with
> >GS2-, as long as it conforms to the GS2 spec.
> >I think this is what "reserved" means here.
> 
> It's important that we not do that for already-existing GSSAPI mechanisms, 
> in order to avoid the interoperability problems that arise from having two 
> names for the same mechanism.

I think that Alexey meant that GS2 mechs without a friendly SASL mech
name could be registered with their OID-derived GS2 mech names.

That'd be fine, though not necessary, and would require careful review
to make sure that there are no mistakes in the name derivation.

Incidentally, we say nothing about what to do in the case of OID-derived
name collisions...  We should!  And what can we say about that, short of
allowing/recommending registration of GS2-* OID-derived names?

Nico
-- 

From Nicolas.Williams@sun.com  Fri Aug 21 10:49:39 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 53DBC3A6C10 for <sasl@core3.amsl.com>; Fri, 21 Aug 2009 10:49:39 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -5.897
X-Spam-Level: 
X-Spam-Status: No, score=-5.897 tagged_above=-999 required=5 tests=[AWL=0.149,  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 Sq6tfYxukBXn for <sasl@core3.amsl.com>; Fri, 21 Aug 2009 10:49:38 -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 700943A6B5A for <sasl@ietf.org>; Fri, 21 Aug 2009 10:49:38 -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 n7LHniYL007046 for <sasl@ietf.org>; Fri, 21 Aug 2009 17:49:44 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 n7LHniq6016397 for <sasl@ietf.org>; Fri, 21 Aug 2009 11:49:44 -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 n7LHVTLL006069; Fri, 21 Aug 2009 12:31:29 -0500 (CDT)
Received: (from nw141292@localhost) by binky.Central.Sun.COM (8.14.3+Sun/8.14.3/Submit) id n7LHVTSD006068;  Fri, 21 Aug 2009 12:31:29 -0500 (CDT)
X-Authentication-Warning: binky.Central.Sun.COM: nw141292 set sender to Nicolas.Williams@sun.com using -f
Date: Fri, 21 Aug 2009 12:31:29 -0500
From: Nicolas Williams <Nicolas.Williams@sun.com>
To: Jeffrey Hutzelman <jhutz@cmu.edu>
Message-ID: <20090821173129.GD1043@Sun.COM>
References: <ldviqghdaev.fsf@cathode-dark-space.mit.edu> <21956_1250832928_n7L5ZRe0020555_20090821052417.GP1043@Sun.COM> <05CE234CEB100400F0C7CB16@atlantis.pc.cs.cmu.edu> <20090821161411.GV1043@Sun.COM> <F3C4ACA06FC67387D58A7EA3@atlantis.pc.cs.cmu.edu>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
In-Reply-To: <F3C4ACA06FC67387D58A7EA3@atlantis.pc.cs.cmu.edu>
User-Agent: Mutt/1.5.7i
Cc: sasl@ietf.org, Tom Yu <tlyu@MIT.EDU>
Subject: Re: [sasl] WLGC summary for SCRAM and GS2
X-BeenThere: sasl@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: <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, 21 Aug 2009 17:49:39 -0000

On Fri, Aug 21, 2009 at 12:32:52PM -0400, Jeffrey Hutzelman wrote:
> Nevermind; I was confused.  Friendly names wouldn't start with "GS2-"; that 

Right.

> prefix is reserved for OID-derived names.  In which case IANA shouldn't 
> ever assign names with that prefix; this document reserves them all to 
> avoid conflicts with the algorithmic names.

Yes.  But see my other note about hash collisions.

Also, what about GS2 SASL friendly names registration after the GSS-API
mechanism is specified?  I see two possible solutions:

 - don't do that; if a GSS mechanism has no friendly SASL mech name
   when the GSS mechanism specification is published, then that
   mechanism gets stuck with an OID-derived name

or

 - let gss_inquire_mech_for_saslname() return two names: the friendly
   one, if there is one, and the OID-derived name in any case.  Clients
   MUST use the friendly name, if there is one, servers MUST accept the
   friendly name if there is one, MUST/SHOULD accept the OID-derived
   name even if there is a friendly name.

Nico
-- 

From Nicolas.Williams@sun.com  Fri Aug 21 11:03: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 513843A6C19 for <sasl@core3.amsl.com>; Fri, 21 Aug 2009 11:03:43 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -5.899
X-Spam-Level: 
X-Spam-Status: No, score=-5.899 tagged_above=-999 required=5 tests=[AWL=0.147,  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 SH1a43GHliQg for <sasl@core3.amsl.com>; Fri, 21 Aug 2009 11:03:42 -0700 (PDT)
Received: from brmea-mail-4.sun.com (brmea-mail-4.Sun.COM [192.18.98.36]) by core3.amsl.com (Postfix) with ESMTP id 78A733A6C10 for <sasl@ietf.org>; Fri, 21 Aug 2009 11:03:42 -0700 (PDT)
Received: from dm-central-02.central.sun.com ([129.147.62.5]) by brmea-mail-4.sun.com (8.13.6+Sun/8.12.9) with ESMTP id n7LI3lVK021226 for <sasl@ietf.org>; Fri, 21 Aug 2009 18:03:47 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 n7LI3lX4025928 for <sasl@ietf.org>; Fri, 21 Aug 2009 12:03:47 -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 n7LHjXGe006079; Fri, 21 Aug 2009 12:45:33 -0500 (CDT)
Received: (from nw141292@localhost) by binky.Central.Sun.COM (8.14.3+Sun/8.14.3/Submit) id n7LHjWXa006078;  Fri, 21 Aug 2009 12:45:32 -0500 (CDT)
X-Authentication-Warning: binky.Central.Sun.COM: nw141292 set sender to Nicolas.Williams@sun.com using -f
Date: Fri, 21 Aug 2009 12:45:32 -0500
From: Nicolas Williams <Nicolas.Williams@sun.com>
To: Jeffrey Hutzelman <jhutz@cmu.edu>
Message-ID: <20090821174532.GE1043@Sun.COM>
References: <ldviqghdaev.fsf@cathode-dark-space.mit.edu> <20090821052417.GP1043@Sun.COM> <29139_1250861580_n7LDWwts004929_4A8EA1F4.3070209@isode.com> <1D1A390B0DEBED054A897CFC@atlantis.pc.cs.cmu.edu> <20090821172629.GC1043@Sun.COM> <8549C0872A7F6A8B969841CE@atlantis.pc.cs.cmu.edu>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
In-Reply-To: <8549C0872A7F6A8B969841CE@atlantis.pc.cs.cmu.edu>
User-Agent: Mutt/1.5.7i
Cc: Alexey Melnikov <alexey.melnikov@isode.com>, Tom Yu <tlyu@MIT.EDU>, sasl@ietf.org
Subject: Re: [sasl] WLGC summary for SCRAM and GS2
X-BeenThere: sasl@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: <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, 21 Aug 2009 18:03:43 -0000

On Fri, Aug 21, 2009 at 01:44:18PM -0400, Jeffrey Hutzelman wrote:
> --On Friday, August 21, 2009 12:26:29 PM -0500 Nicolas Williams 
> <Nicolas.Williams@sun.com> wrote:
> >I think that Alexey meant that GS2 mechs without a friendly SASL mech
> >name could be registered with their OID-derived GS2 mech names.
> >
> >That'd be fine, though not necessary, and would require careful review
> >to make sure that there are no mistakes in the name derivation.
> 
> Ew.  IANA should just not accept registrations for those, period.

That would be my preference as well.

> >Incidentally, we say nothing about what to do in the case of OID-derived
> >name collisions...  We should!  And what can we say about that, short of
> >allowing/recommending registration of GS2-* OID-derived names?
> 
> Assign your mech a new OID. :-)

I suppose that's possible, though it might be easier to register a
friendly SASL name for it instead.

I think we should change gss_inquire_mech_for_saslname() to output both,
the friendly name (if there is one) and the OID-derived name.  If
there's a collision amongst locally available mechs' OID-derived name,
then don't output the OID-derived names for the afflicted mechs.  And we
should say that clients MUST use the friendly name, if there is one, and
servers MUST accept friendly names, and MUST accept OID-derived names
(except in the case of collisions amongst locally available mechs).

Nico
-- 

From jhutz@cmu.edu  Fri Aug 21 11:44:54 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 392D928C190 for <sasl@core3.amsl.com>; Fri, 21 Aug 2009 11:44:54 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.52
X-Spam-Level: 
X-Spam-Status: No, score=-2.52 tagged_above=-999 required=5 tests=[AWL=0.079,  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 6n7MPE-RPJcR for <sasl@core3.amsl.com>; Fri, 21 Aug 2009 11:44:53 -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 738333A6A8A for <sasl@ietf.org>; Fri, 21 Aug 2009 11:43:54 -0700 (PDT)
Received: from ATLANTIS-GHC.PC.CS.CMU.EDU (SIRIUS.FAC.CS.CMU.EDU [128.2.216.216]) (authenticated bits=0) by smtp02.srv.cs.cmu.edu (8.13.6/8.13.6) with ESMTP id n7LIhwuh002339 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Fri, 21 Aug 2009 14:43:58 -0400 (EDT)
Date: Fri, 21 Aug 2009 14:43:58 -0400
From: Jeffrey Hutzelman <jhutz@cmu.edu>
To: Nicolas Williams <Nicolas.Williams@sun.com>
Message-ID: <0EECB3D31220A6210B439F2F@atlantis.pc.cs.cmu.edu>
In-Reply-To: <20090821174532.GE1043@Sun.COM>
References: <ldviqghdaev.fsf@cathode-dark-space.mit.edu> <20090821052417.GP1043@Sun.COM> <29139_1250861580_n7LDWwts004929_4A8EA1F4.3070209@isode.com> <1D1A390B0DEBED054A897CFC@atlantis.pc.cs.cmu.edu> <20090821172629.GC1043@Sun.COM> <8549C0872A7F6A8B969841CE@atlantis.pc.cs.cmu.edu> <20090821174532.GE1043@Sun.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
Cc: Alexey Melnikov <alexey.melnikov@isode.com>, Tom Yu <tlyu@MIT.EDU>, sasl@ietf.org
Subject: Re: [sasl] WLGC summary for SCRAM and GS2
X-BeenThere: sasl@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: <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, 21 Aug 2009 18:44:54 -0000

--On Friday, August 21, 2009 12:45:32 PM -0500 Nicolas Williams 
<Nicolas.Williams@sun.com> wrote:

>> > Incidentally, we say nothing about what to do in the case of
>> > OID-derived name collisions...  We should!  And what can we say about
>> > that, short of allowing/recommending registration of GS2-* OID-derived
>> > names?
>>
>> Assign your mech a new OID. :-)
>
> I suppose that's possible, though it might be easier to register a
> friendly SASL name for it instead.
>
> I think we should change gss_inquire_mech_for_saslname() to output both,
> the friendly name (if there is one) and the OID-derived name.

I think we should not institutionalize the practice of using two distinct 
names for a single mechanism.  If a mechanism has a friendly name, that is 
the only name for that mechanism, period.

>  If
> there's a collision amongst locally available mechs' OID-derived name,
> then don't output the OID-derived names for the afflicted mechs.  And we

You're worrying too much about collisions.  They'll probably never happen, 
which is the assumption we've made in other cases where we used hashed 
OID's to identify mechanisms.  What is more likely to happen, IMHO, is the 
existence of two or more mechanisms with long OID's that differ only near 
the end; using a hash mitigates this problem.

-- Jeff

From Nicolas.Williams@sun.com  Fri Aug 21 12:21:52 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 AB82928C28C for <sasl@core3.amsl.com>; Fri, 21 Aug 2009 12:21:52 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -5.903
X-Spam-Level: 
X-Spam-Status: No, score=-5.903 tagged_above=-999 required=5 tests=[AWL=0.143,  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 FvC-VBvCx4lV for <sasl@core3.amsl.com>; Fri, 21 Aug 2009 12:21:52 -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 369C028C29F for <sasl@ietf.org>; Fri, 21 Aug 2009 12:20:08 -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 n7LJKBha027715 for <sasl@ietf.org>; Fri, 21 Aug 2009 19:20:11 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 n7LJKBan008157 for <sasl@ietf.org>; Fri, 21 Aug 2009 13:20: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 n7LJ1wRr006119; Fri, 21 Aug 2009 14:01:58 -0500 (CDT)
Received: (from nw141292@localhost) by binky.Central.Sun.COM (8.14.3+Sun/8.14.3/Submit) id n7LJ1vbj006118;  Fri, 21 Aug 2009 14:01:57 -0500 (CDT)
X-Authentication-Warning: binky.Central.Sun.COM: nw141292 set sender to Nicolas.Williams@sun.com using -f
Date: Fri, 21 Aug 2009 14:01:57 -0500
From: Nicolas Williams <Nicolas.Williams@sun.com>
To: Jeffrey Hutzelman <jhutz@cmu.edu>
Message-ID: <20090821190157.GI1043@Sun.COM>
References: <ldviqghdaev.fsf@cathode-dark-space.mit.edu> <20090821052417.GP1043@Sun.COM> <29139_1250861580_n7LDWwts004929_4A8EA1F4.3070209@isode.com> <1D1A390B0DEBED054A897CFC@atlantis.pc.cs.cmu.edu> <20090821172629.GC1043@Sun.COM> <8549C0872A7F6A8B969841CE@atlantis.pc.cs.cmu.edu> <20090821174532.GE1043@Sun.COM> <0EECB3D31220A6210B439F2F@atlantis.pc.cs.cmu.edu>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
In-Reply-To: <0EECB3D31220A6210B439F2F@atlantis.pc.cs.cmu.edu>
User-Agent: Mutt/1.5.7i
Cc: Alexey Melnikov <alexey.melnikov@isode.com>, Tom Yu <tlyu@MIT.EDU>, sasl@ietf.org
Subject: Re: [sasl] WLGC summary for SCRAM and GS2
X-BeenThere: sasl@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: <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, 21 Aug 2009 19:21:52 -0000

On Fri, Aug 21, 2009 at 02:43:58PM -0400, Jeffrey Hutzelman wrote:
> I think we should not institutionalize the practice of using two distinct 
> names for a single mechanism.  If a mechanism has a friendly name, that is 
> the only name for that mechanism, period.

I'd like that to be so, but I'm not sure we can enforce this.  At the
very least this means that any GSS mech that did not have a friendly
SASL name when first specified and deployed may never have one.  We need
to state that clearly.

> > If
> >there's a collision amongst locally available mechs' OID-derived name,
> >then don't output the OID-derived names for the afflicted mechs.  And we
> 
> You're worrying too much about collisions.  They'll probably never happen, 

True.  Right.  I'm happy to ignore this likely non-problem.

Nico
-- 

From jhutz@cmu.edu  Fri Aug 21 12:35:15 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 A5CFE28C1E3 for <sasl@core3.amsl.com>; Fri, 21 Aug 2009 12:35:15 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.523
X-Spam-Level: 
X-Spam-Status: No, score=-2.523 tagged_above=-999 required=5 tests=[AWL=0.076,  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 C0dBGF82YCPS for <sasl@core3.amsl.com>; Fri, 21 Aug 2009 12:35:15 -0700 (PDT)
Received: from smtp03.srv.cs.cmu.edu (SMTP03.SRV.CS.CMU.EDU [128.2.217.198]) by core3.amsl.com (Postfix) with ESMTP id D2A5F3A68BE for <sasl@ietf.org>; Fri, 21 Aug 2009 12:35:14 -0700 (PDT)
Received: from ATLANTIS-GHC.PC.CS.CMU.EDU (SIRIUS.FAC.CS.CMU.EDU [128.2.216.216]) (authenticated bits=0) by smtp03.srv.cs.cmu.edu (8.13.6/8.13.6) with ESMTP id n7LJZJbk022530 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Fri, 21 Aug 2009 15:35:19 -0400 (EDT)
Date: Fri, 21 Aug 2009 15:35:19 -0400
From: Jeffrey Hutzelman <jhutz@cmu.edu>
To: Nicolas Williams <Nicolas.Williams@sun.com>
Message-ID: <F02ECD753096C35F1CE75963@atlantis.pc.cs.cmu.edu>
In-Reply-To: <20090821190157.GI1043@Sun.COM>
References: <ldviqghdaev.fsf@cathode-dark-space.mit.edu> <20090821052417.GP1043@Sun.COM> <29139_1250861580_n7LDWwts004929_4A8EA1F4.3070209@isode.com> <1D1A390B0DEBED054A897CFC@atlantis.pc.cs.cmu.edu> <20090821172629.GC1043@Sun.COM> <8549C0872A7F6A8B969841CE@atlantis.pc.cs.cmu.edu> <20090821174532.GE1043@Sun.COM> <0EECB3D31220A6210B439F2F@atlantis.pc.cs.cmu.edu> <20090821190157.GI1043@Sun.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.198
Cc: Alexey Melnikov <alexey.melnikov@isode.com>, Tom Yu <tlyu@MIT.EDU>, sasl@ietf.org
Subject: Re: [sasl] WLGC summary for SCRAM and GS2
X-BeenThere: sasl@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: <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, 21 Aug 2009 19:35:15 -0000

--On Friday, August 21, 2009 02:01:57 PM -0500 Nicolas Williams 
<Nicolas.Williams@sun.com> wrote:

> On Fri, Aug 21, 2009 at 02:43:58PM -0400, Jeffrey Hutzelman wrote:
>> I think we should not institutionalize the practice of using two
>> distinct  names for a single mechanism.  If a mechanism has a friendly
>> name, that is  the only name for that mechanism, period.
>
> I'd like that to be so, but I'm not sure we can enforce this.  At the
> very least this means that any GSS mech that did not have a friendly
> SASL name when first specified and deployed may never have one.  We need
> to state that clearly.

Yes, we do.

From Nicolas.Williams@sun.com  Fri Aug 21 13:57:42 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 E92603A6A85 for <sasl@core3.amsl.com>; Fri, 21 Aug 2009 13:57:42 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -5.905
X-Spam-Level: 
X-Spam-Status: No, score=-5.905 tagged_above=-999 required=5 tests=[AWL=0.141,  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 PnfdzaXBuMCi for <sasl@core3.amsl.com>; Fri, 21 Aug 2009 13:57:42 -0700 (PDT)
Received: from brmea-mail-4.sun.com (brmea-mail-4.Sun.COM [192.18.98.36]) by core3.amsl.com (Postfix) with ESMTP id CBFD03A68CE for <sasl@ietf.org>; Fri, 21 Aug 2009 13:57:41 -0700 (PDT)
Received: from dm-central-02.central.sun.com ([129.147.62.5]) by brmea-mail-4.sun.com (8.13.6+Sun/8.12.9) with ESMTP id n7LKvlcH023095 for <sasl@ietf.org>; Fri, 21 Aug 2009 20:57:47 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 n7LKvkAg004389 for <sasl@ietf.org>; Fri, 21 Aug 2009 14:57:47 -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 n7LKdWm1006345; Fri, 21 Aug 2009 15:39:32 -0500 (CDT)
Received: (from nw141292@localhost) by binky.Central.Sun.COM (8.14.3+Sun/8.14.3/Submit) id n7LKdV1G006344;  Fri, 21 Aug 2009 15:39:31 -0500 (CDT)
X-Authentication-Warning: binky.Central.Sun.COM: nw141292 set sender to Nicolas.Williams@sun.com using -f
Date: Fri, 21 Aug 2009 15:39:31 -0500
From: Nicolas Williams <Nicolas.Williams@sun.com>
To: Jeffrey Hutzelman <jhutz@cmu.edu>
Message-ID: <20090821203931.GQ1043@Sun.COM>
References: <ldviqghdaev.fsf@cathode-dark-space.mit.edu> <20090821052417.GP1043@Sun.COM> <29139_1250861580_n7LDWwts004929_4A8EA1F4.3070209@isode.com> <1D1A390B0DEBED054A897CFC@atlantis.pc.cs.cmu.edu> <20090821172629.GC1043@Sun.COM> <8549C0872A7F6A8B969841CE@atlantis.pc.cs.cmu.edu> <20090821174532.GE1043@Sun.COM> <0EECB3D31220A6210B439F2F@atlantis.pc.cs.cmu.edu> <20090821190157.GI1043@Sun.COM> <F02ECD753096C35F1CE75963@atlantis.pc.cs.cmu.edu>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
In-Reply-To: <F02ECD753096C35F1CE75963@atlantis.pc.cs.cmu.edu>
User-Agent: Mutt/1.5.7i
Cc: Alexey Melnikov <alexey.melnikov@isode.com>, Tom Yu <tlyu@MIT.EDU>, sasl@ietf.org
Subject: Re: [sasl] WLGC summary for SCRAM and GS2
X-BeenThere: sasl@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: <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, 21 Aug 2009 20:57:43 -0000

On Fri, Aug 21, 2009 at 03:35:19PM -0400, Jeffrey Hutzelman wrote:
> --On Friday, August 21, 2009 02:01:57 PM -0500 Nicolas Williams 
> <Nicolas.Williams@sun.com> wrote:
> 
> >On Fri, Aug 21, 2009 at 02:43:58PM -0400, Jeffrey Hutzelman wrote:
> >>I think we should not institutionalize the practice of using two
> >>distinct  names for a single mechanism.  If a mechanism has a friendly
> >>name, that is  the only name for that mechanism, period.
> >
> >I'd like that to be so, but I'm not sure we can enforce this.  At the
> >very least this means that any GSS mech that did not have a friendly
> >SASL name when first specified and deployed may never have one.  We need
> >to state that clearly.
> 
> Yes, we do.

OK, so I propose the following text:

 - at the end of section 3.1, right before section 3.2 add:

   A GS2 mechanism that has a non-OID-derived SASL mechanism name is
   said to have a "user friendly SASL mechanism name".

   OID-derived GS2 mechanism names may collide.  In the event of a
   collision, the first mechanism published will retain its OID-derived
   GS2 name and all others MUST NOT be used except via user friendly
   SASL mechanism names.

 - right after section 3.4 add:

3.5.  Assigning friendly SASL mechanism names

   Any GSS-API mechanism MAY have a user friendly, non-OID derived name
   assigned provided that: a) the names does not start with "GS2-", b)
   the name is registered for this purpose in the IANA SASL mechanism
   registry (see [RFC4422]), c) the assignment and registration happen
   before publication of the GSS-API mechanism specification, and before
   deployment of the mechanism.

 - in section 15

   /Subject:/s/mechanism/mechanism family/

 - in section 15

   /Note:/s/Note: /Note: No mechanism names may be registered with this
   prefix beyond the ones specified in this document; all other
   mechanism names beginning with the GS2- prefix are automatically
   generated mechanism names./

Nico
-- 

From alexey.melnikov@isode.com  Fri Aug 21 14:08:33 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 A67C728C1AC for <sasl@core3.amsl.com>; Fri, 21 Aug 2009 14:08:33 -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 CUk3r9gNOs15 for <sasl@core3.amsl.com>; Fri, 21 Aug 2009 14:08:33 -0700 (PDT)
Received: from rufus.isode.com (rufus.isode.com [62.3.217.251]) by core3.amsl.com (Postfix) with ESMTP id 98B263A6B31 for <sasl@ietf.org>; Fri, 21 Aug 2009 14:08:32 -0700 (PDT)
Received: from [172.16.2.166] (shiny.isode.com [62.3.217.250])  by rufus.isode.com (submission channel) via TCP with ESMTPA  id <So8M1AB9YQ6d@rufus.isode.com>; Fri, 21 Aug 2009 22:08:37 +0100
Message-ID: <4A8F0CC8.5070107@isode.com>
Date: Fri, 21 Aug 2009 22:08:24 +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: <ldviqghdaev.fsf@cathode-dark-space.mit.edu> <20090821052417.GP1043@Sun.COM> <29139_1250861580_n7LDWwts004929_4A8EA1F4.3070209@isode.com> <1D1A390B0DEBED054A897CFC@atlantis.pc.cs.cmu.edu> <20090821172629.GC1043@Sun.COM>
In-Reply-To: <20090821172629.GC1043@Sun.COM>
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii; format=flowed
Content-Transfer-Encoding: 7bit
Cc: sasl@ietf.org, Tom Yu <tlyu@MIT.EDU>
Subject: Re: [sasl] WLGC summary for SCRAM and GS2
X-BeenThere: sasl@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: <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, 21 Aug 2009 21:08:33 -0000

Nicolas Williams wrote:

>On Fri, Aug 21, 2009 at 12:21:58PM -0400, Jeffrey Hutzelman wrote:
>  
>
>>--On Friday, August 21, 2009 02:32:36 PM +0100 Alexey Melnikov 
>><alexey.melnikov@isode.com> wrote:
>>    
>>
>>>I don't have a problem with registering a mechanism name starting with
>>>GS2-, as long as it conforms to the GS2 spec.
>>>I think this is what "reserved" means here.
>>>      
>>>
>>It's important that we not do that for already-existing GSSAPI mechanisms, 
>>in order to avoid the interoperability problems that arise from having two 
>>names for the same mechanism.
>>    
>>
>I think that Alexey meant that GS2 mechs without a friendly SASL mech
>name could be registered with their OID-derived GS2 mech names.
>  
>
Yes.

>That'd be fine, though not necessary, and would require careful review
>to make sure that there are no mistakes in the name derivation.
>  
>
Yes.

>Incidentally, we say nothing about what to do in the case of OID-derived
>name collisions...  We should!
>
Sure.

>And what can we say about that, short of
>allowing/recommending registration of GS2-* OID-derived names?
>  
>


From alexey.melnikov@isode.com  Fri Aug 21 14:16:23 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 739923A6BC9 for <sasl@core3.amsl.com>; Fri, 21 Aug 2009 14:16:23 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.536
X-Spam-Level: 
X-Spam-Status: No, score=-2.536 tagged_above=-999 required=5 tests=[AWL=0.063,  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 kAZdOaUltp89 for <sasl@core3.amsl.com>; Fri, 21 Aug 2009 14:16:22 -0700 (PDT)
Received: from rufus.isode.com (rufus.isode.com [62.3.217.251]) by core3.amsl.com (Postfix) with ESMTP id 433663A6ABB for <sasl@ietf.org>; Fri, 21 Aug 2009 14:16:22 -0700 (PDT)
Received: from [172.16.2.166] (shiny.isode.com [62.3.217.250])  by rufus.isode.com (submission channel) via TCP with ESMTPA  id <So8OqAB9Yb3w@rufus.isode.com>; Fri, 21 Aug 2009 22:16:26 +0100
Message-ID: <4A8F0E9C.5020402@isode.com>
Date: Fri, 21 Aug 2009 22:16:12 +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: <ldviqghdaev.fsf@cathode-dark-space.mit.edu> <20090821052417.GP1043@Sun.COM> <29139_1250861580_n7LDWwts004929_4A8EA1F4.3070209@isode.com> <1D1A390B0DEBED054A897CFC@atlantis.pc.cs.cmu.edu> <20090821172629.GC1043@Sun.COM> <8549C0872A7F6A8B969841CE@atlantis.pc.cs.cmu.edu> <20090821174532.GE1043@Sun.COM> <0EECB3D31220A6210B439F2F@atlantis.pc.cs.cmu.edu> <20090821190157.GI1043@Sun.COM> <F02ECD753096C35F1CE75963@atlantis.pc.cs.cmu.edu> <20090821203931.GQ1043@Sun.COM>
In-Reply-To: <20090821203931.GQ1043@Sun.COM>
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii; format=flowed
Content-Transfer-Encoding: 7bit
Cc: sasl@ietf.org, Tom Yu <tlyu@MIT.EDU>
Subject: Re: [sasl] WLGC summary for SCRAM and GS2
X-BeenThere: sasl@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: <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, 21 Aug 2009 21:16:23 -0000

Nicolas Williams wrote:

>On Fri, Aug 21, 2009 at 03:35:19PM -0400, Jeffrey Hutzelman wrote:
>  
>
>>--On Friday, August 21, 2009 02:01:57 PM -0500 Nicolas Williams 
>><Nicolas.Williams@sun.com> wrote:
>>    
>>
>>>On Fri, Aug 21, 2009 at 02:43:58PM -0400, Jeffrey Hutzelman wrote:
>>>      
>>>
>>>>I think we should not institutionalize the practice of using two
>>>>distinct  names for a single mechanism.  If a mechanism has a friendly
>>>>name, that is  the only name for that mechanism, period.
>>>>        
>>>>
>>>I'd like that to be so, but I'm not sure we can enforce this.  At the
>>>very least this means that any GSS mech that did not have a friendly
>>>SASL name when first specified and deployed may never have one.  We need
>>>to state that clearly.
>>>      
>>>
>>Yes, we do.
>>    
>>
>OK, so I propose the following text:
>  
>
This looks fine to me, with the exception of 1 comment below:

> - at the end of section 3.1, right before section 3.2 add:
>
>   A GS2 mechanism that has a non-OID-derived SASL mechanism name is
>   said to have a "user friendly SASL mechanism name".
>
>   OID-derived GS2 mechanism names may collide.  In the event of a
>   collision, the first mechanism published will retain its OID-derived
>   GS2 name and all others MUST NOT be used except via user friendly
>   SASL mechanism names.
>
> - right after section 3.4 add:
>
>3.5.  Assigning friendly SASL mechanism names
>
>   Any GSS-API mechanism MAY have a user friendly, non-OID derived name
>   assigned provided that: a) the names does not start with "GS2-", b)
>   the name is registered for this purpose in the IANA SASL mechanism
>   registry (see [RFC4422]), c) the assignment and registration happen
>   before publication of the GSS-API mechanism specification, and before
>   deployment of the mechanism.
>  
>
I am not sure about c).
Firstly, in order to register a SASL mechanism name, one need to have a 
spec defining it in full, which means that the GSS-API mechanism should 
already be described.

So maybe "the assignment and registration happen before *or 
simultaneously with the* publication of the GSS-API mechanism 
specification"?
And possibly add a note suggesting that requesting publication of a 
GSS-API mechanism is a good time for registering its human friendly SASL 
name?

And regarding "before deployment of the mechanism" - I am not sure we 
can really enforce it. And in many cases we want people try to deploy 
before the spec is final.

> - in section 15
>
>   /Subject:/s/mechanism/mechanism family/
>
> - in section 15
>
>   /Note:/s/Note: /Note: No mechanism names may be registered with this
>   prefix beyond the ones specified in this document; all other
>   mechanism names beginning with the GS2- prefix are automatically
>   generated mechanism names./
>
>Nico
>  
>


From jhutz@cmu.edu  Fri Aug 21 14:30:25 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 D51713A6ADF for <sasl@core3.amsl.com>; Fri, 21 Aug 2009 14:30:25 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.526
X-Spam-Level: 
X-Spam-Status: No, score=-2.526 tagged_above=-999 required=5 tests=[AWL=0.073,  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 ghf2EF1fE-OI for <sasl@core3.amsl.com>; Fri, 21 Aug 2009 14:30:25 -0700 (PDT)
Received: from smtp03.srv.cs.cmu.edu (SMTP03.SRV.CS.CMU.EDU [128.2.217.198]) by core3.amsl.com (Postfix) with ESMTP id F03213A6938 for <sasl@ietf.org>; Fri, 21 Aug 2009 14:30:24 -0700 (PDT)
Received: from ATLANTIS-GHC.PC.CS.CMU.EDU (SIRIUS.FAC.CS.CMU.EDU [128.2.216.216]) (authenticated bits=0) by smtp03.srv.cs.cmu.edu (8.13.6/8.13.6) with ESMTP id n7LLUSJG024528 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Fri, 21 Aug 2009 17:30:28 -0400 (EDT)
Date: Fri, 21 Aug 2009 17:30:27 -0400
From: Jeffrey Hutzelman <jhutz@cmu.edu>
To: Nicolas Williams <Nicolas.Williams@sun.com>
Message-ID: <F48FD60121D35990C20156CF@atlantis.pc.cs.cmu.edu>
In-Reply-To: <20090821203931.GQ1043@Sun.COM>
References: <ldviqghdaev.fsf@cathode-dark-space.mit.edu> <20090821052417.GP1043@Sun.COM> <29139_1250861580_n7LDWwts004929_4A8EA1F4.3070209@isode.com> <1D1A390B0DEBED054A897CFC@atlantis.pc.cs.cmu.edu> <20090821172629.GC1043@Sun.COM> <8549C0872A7F6A8B969841CE@atlantis.pc.cs.cmu.edu> <20090821174532.GE1043@Sun.COM> <0EECB3D31220A6210B439F2F@atlantis.pc.cs.cmu.edu> <20090821190157.GI1043@Sun.COM> <F02ECD753096C35F1CE75963@atlantis.pc.cs.cmu.edu> <20090821203931.GQ1043@Sun.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.198
Cc: Alexey Melnikov <alexey.melnikov@isode.com>, Tom Yu <tlyu@MIT.EDU>, sasl@ietf.org
Subject: Re: [sasl] WLGC summary for SCRAM and GS2
X-BeenThere: sasl@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: <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, 21 Aug 2009 21:30:25 -0000

--On Friday, August 21, 2009 03:39:31 PM -0500 Nicolas Williams 
<Nicolas.Williams@sun.com> wrote:

>    OID-derived GS2 mechanism names may collide.  In the event of a
>    collision, the first mechanism published will retain its OID-derived
>    GS2 name and all others MUST NOT be used except via user friendly
>    SASL mechanism names.

Ick ick ick.  "first to publish" is not necessarily the right rule. 
Particularly, we want the right thing to happen if a well-known mechanism 
happens to collide with an obscure mechanism never used with SASL that 
happens to have been "published" first (but possibly not by the IETF).

If there's a collision, the one already in common use should win, and we 
should achieve that by addressing it explicitly if it ever comes up.

> 3.5.  Assigning friendly SASL mechanism names
>
>    Any GSS-API mechanism MAY have a user friendly, non-OID derived name
>    assigned provided that: a) the names does not start with "GS2-", b)
>    the name is registered for this purpose in the IANA SASL mechanism
>    registry (see [RFC4422]), c) the assignment and registration happen
>    before publication of the GSS-API mechanism specification, and before
>    deployment of the mechanism.

(c) s/before/before or concurrent with/

==alexey on deployment, but we should maybe say it anyway.



Otherwise good.

From Nicolas.Williams@sun.com  Fri Aug 21 14:46:47 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 73DA93A6C12 for <sasl@core3.amsl.com>; Fri, 21 Aug 2009 14:46:47 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -5.887
X-Spam-Level: 
X-Spam-Status: No, score=-5.887 tagged_above=-999 required=5 tests=[AWL=0.159,  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 5ZcKFAMmvVoL for <sasl@core3.amsl.com>; Fri, 21 Aug 2009 14:46:46 -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 5A5563A6831 for <sasl@ietf.org>; Fri, 21 Aug 2009 14:46:46 -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 n7LLkp8Q001076 for <sasl@ietf.org>; Fri, 21 Aug 2009 21:46: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 n7LLko52032478 for <sasl@ietf.org>; Fri, 21 Aug 2009 15:46:50 -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 n7LLSaFU006502; Fri, 21 Aug 2009 16:28:36 -0500 (CDT)
Received: (from nw141292@localhost) by binky.Central.Sun.COM (8.14.3+Sun/8.14.3/Submit) id n7LLSZXZ006501;  Fri, 21 Aug 2009 16:28:35 -0500 (CDT)
X-Authentication-Warning: binky.Central.Sun.COM: nw141292 set sender to Nicolas.Williams@sun.com using -f
Date: Fri, 21 Aug 2009 16:28:35 -0500
From: Nicolas Williams <Nicolas.Williams@sun.com>
To: Alexey Melnikov <alexey.melnikov@isode.com>
Message-ID: <20090821212835.GT1043@Sun.COM>
References: <29139_1250861580_n7LDWwts004929_4A8EA1F4.3070209@isode.com> <1D1A390B0DEBED054A897CFC@atlantis.pc.cs.cmu.edu> <20090821172629.GC1043@Sun.COM> <8549C0872A7F6A8B969841CE@atlantis.pc.cs.cmu.edu> <20090821174532.GE1043@Sun.COM> <0EECB3D31220A6210B439F2F@atlantis.pc.cs.cmu.edu> <20090821190157.GI1043@Sun.COM> <F02ECD753096C35F1CE75963@atlantis.pc.cs.cmu.edu> <20090821203931.GQ1043@Sun.COM> <4A8F0E9C.5020402@isode.com>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
In-Reply-To: <4A8F0E9C.5020402@isode.com>
User-Agent: Mutt/1.5.7i
Cc: sasl@ietf.org, Tom Yu <tlyu@MIT.EDU>
Subject: Re: [sasl] WLGC summary for SCRAM and GS2
X-BeenThere: sasl@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: <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, 21 Aug 2009 21:46:47 -0000

On Fri, Aug 21, 2009 at 10:16:12PM +0100, Alexey Melnikov wrote:
> Nicolas Williams wrote:
> >OK, so I propose the following text:
> >
> This looks fine to me, with the exception of 1 comment below:
> 
> >  Any GSS-API mechanism MAY have a user friendly, non-OID derived name
> >  assigned provided that: ...
> >                       ..., c) the assignment and registration happen
> >  before publication of the GSS-API mechanism specification, and before
> >  deployment of the mechanism.
> > 
> >
> I am not sure about c).
> Firstly, in order to register a SASL mechanism name, one need to have a 
> spec defining it in full, which means that the GSS-API mechanism should 
> already be described.

I assume that publication and SASL mechanism registration can happen in
one go, as usual.

> So maybe "the assignment and registration happen before *or 
> simultaneously with the* publication of the GSS-API mechanism 
> specification"?

IANA handles registrations before AUTH48, before final publication.
But, yes, sure.

> And possibly add a note suggesting that requesting publication of a 
> GSS-API mechanism is a good time for registering its human friendly SASL 
> name?

Sure.

> And regarding "before deployment of the mechanism" - I am not sure we 
> can really enforce it. And in many cases we want people try to deploy 
> before the spec is final.

True.  In such cases there'd be a flag day if a friendly name is
desired.

Nico
-- 

From Nicolas.Williams@sun.com  Fri Aug 21 14:58: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 396AC3A6C8D for <sasl@core3.amsl.com>; Fri, 21 Aug 2009 14:58:02 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -5.889
X-Spam-Level: 
X-Spam-Status: No, score=-5.889 tagged_above=-999 required=5 tests=[AWL=0.157,  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 1NJ7-dbi5TMQ for <sasl@core3.amsl.com>; Fri, 21 Aug 2009 14:58:01 -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 43C193A67F2 for <sasl@ietf.org>; Fri, 21 Aug 2009 14:58:01 -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 n7LLw6kI021413 for <sasl@ietf.org>; Fri, 21 Aug 2009 21:58:06 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 n7LLw6WH038564 for <sasl@ietf.org>; Fri, 21 Aug 2009 15:58:06 -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 n7LLdpAh006513; Fri, 21 Aug 2009 16:39:51 -0500 (CDT)
Received: (from nw141292@localhost) by binky.Central.Sun.COM (8.14.3+Sun/8.14.3/Submit) id n7LLdpEq006512;  Fri, 21 Aug 2009 16:39:51 -0500 (CDT)
X-Authentication-Warning: binky.Central.Sun.COM: nw141292 set sender to Nicolas.Williams@sun.com using -f
Date: Fri, 21 Aug 2009 16:39:51 -0500
From: Nicolas Williams <Nicolas.Williams@sun.com>
To: Jeffrey Hutzelman <jhutz@cmu.edu>
Message-ID: <20090821213951.GU1043@Sun.COM>
References: <29139_1250861580_n7LDWwts004929_4A8EA1F4.3070209@isode.com> <1D1A390B0DEBED054A897CFC@atlantis.pc.cs.cmu.edu> <20090821172629.GC1043@Sun.COM> <8549C0872A7F6A8B969841CE@atlantis.pc.cs.cmu.edu> <20090821174532.GE1043@Sun.COM> <0EECB3D31220A6210B439F2F@atlantis.pc.cs.cmu.edu> <20090821190157.GI1043@Sun.COM> <F02ECD753096C35F1CE75963@atlantis.pc.cs.cmu.edu> <20090821203931.GQ1043@Sun.COM> <F48FD60121D35990C20156CF@atlantis.pc.cs.cmu.edu>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
In-Reply-To: <F48FD60121D35990C20156CF@atlantis.pc.cs.cmu.edu>
User-Agent: Mutt/1.5.7i
Cc: Alexey Melnikov <alexey.melnikov@isode.com>, Tom Yu <tlyu@MIT.EDU>, sasl@ietf.org
Subject: Re: [sasl] WLGC summary for SCRAM and GS2
X-BeenThere: sasl@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: <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, 21 Aug 2009 21:58:02 -0000

On Fri, Aug 21, 2009 at 05:30:27PM -0400, Jeffrey Hutzelman wrote:
> --On Friday, August 21, 2009 03:39:31 PM -0500 Nicolas Williams 
> <Nicolas.Williams@sun.com> wrote:
> 
> >   OID-derived GS2 mechanism names may collide.  In the event of a
> >   collision, the first mechanism published will retain its OID-derived
> >   GS2 name and all others MUST NOT be used except via user friendly
> >   SASL mechanism names.
> 
> Ick ick ick.  "first to publish" is not necessarily the right rule. 
> Particularly, we want the right thing to happen if a well-known mechanism 
> happens to collide with an obscure mechanism never used with SASL that 
> happens to have been "published" first (but possibly not by the IETF).
> 
> If there's a collision, the one already in common use should win, and we 
> should achieve that by addressing it explicitly if it ever comes up.

Why not the one with the most users, or some other rule?

Maybe we don't need a rule.

"One, some or all affected mechanisms must get user friendly SASL
mechanism names assigned and MUST NOT be used except via user friendly
SASL mechanism names."

Nico
-- 

From simon@josefsson.org  Mon Aug 24 06:49:38 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 D34B83A6852 for <sasl@core3.amsl.com>; Mon, 24 Aug 2009 06:49:38 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.61
X-Spam-Level: 
X-Spam-Status: No, score=-2.61 tagged_above=-999 required=5 tests=[AWL=-0.011,  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 fExnP9BASMLa for <sasl@core3.amsl.com>; Mon, 24 Aug 2009 06:49: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 A2A253A6953 for <sasl@ietf.org>; Mon, 24 Aug 2009 06:49:37 -0700 (PDT)
Received: from mocca.josefsson.org (c80-216-31-183.bredband.comhem.se [80.216.31.183]) (authenticated bits=0) by yxa-v.extundo.com (8.14.3/8.14.3/Debian-5) with ESMTP id n7ODnbPf003795 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES128-SHA bits=128 verify=NOT); Mon, 24 Aug 2009 15:49:39 +0200
From: Simon Josefsson <simon@josefsson.org>
To: Alexey Melnikov <alexey.melnikov@isode.com>
References: <ldviqghdaev.fsf@cathode-dark-space.mit.edu> <20090821052417.GP1043@Sun.COM> <4A8EA1F4.3070209@isode.com>
OpenPGP: id=B565716F; url=http://josefsson.org/key.txt
X-Hashcash: 1:22:090824:sasl@ietf.org::avgoRJtEKBuMkhb1:AdGJ
X-Hashcash: 1:22:090824:tlyu@mit.edu::D1Kw2goSXVuSd9Gh:NW/O
X-Hashcash: 1:22:090824:alexey.melnikov@isode.com::rGhi0c/q0FM2wZXf:JMkw
X-Hashcash: 1:22:090824:nicolas.williams@sun.com::CE6tHzwDlPp6m060:NvxV
Date: Mon, 24 Aug 2009 15:49:37 +0200
In-Reply-To: <4A8EA1F4.3070209@isode.com> (Alexey Melnikov's message of "Fri,  21 Aug 2009 14:32:36 +0100")
Message-ID: <87bpm5jp8u.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
X-Mailman-Approved-At: Mon, 24 Aug 2009 07:42:34 -0700
Cc: sasl@ietf.org, Tom Yu <tlyu@MIT.EDU>
Subject: Re: [sasl] WLGC summary for SCRAM and 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, 24 Aug 2009 13:49:38 -0000

>>>GS2:
>>>
>>>Looks ready except for IANA considerations.
>>>
>>>After noticing the IANA situation with SCRAM, I looked at the GS2
>>>document and determined:
>>>
>>>* It doesn't clearly indicate that it is registering a SASL mechanism
>>>  family.
>>>
>>
>>Well, it's almost clear enough.
>>
> I think it is. I think we've used "*" in a SASL mechanism registration
> before.
>
>>On page 19, in the registration for the
>>GS2- prefix we could add the word "family" after "mechanism" in the
>>Subject line.
>>
> That would be fine as well.

I've made this more clear in my local copy:

http://josefsson.org/sasl-gs2/draft-ietf-sasl-gs2.txt
http://josefsson.org/sasl-gs2/draft-ietf-sasl-gs2-from--16.diff.html

I don't see any concrete proposal (i.e., a patch to the document) for
the other IANA issue that has support, so I'll wait with making any
other change until someone tells me to.

/Simon

From stpeter@stpeter.im  Mon Aug 24 09:21:10 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 9C5CC28C217 for <sasl@core3.amsl.com>; Mon, 24 Aug 2009 09:21:10 -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 D+7Q86P+5V53 for <sasl@core3.amsl.com>; Mon, 24 Aug 2009 09:21:10 -0700 (PDT)
Received: from balder-227.proper.com (Balder-227.Proper.COM [192.245.12.227]) by core3.amsl.com (Postfix) with ESMTP id 20E8128C294 for <sasl@ietf.org>; Mon, 24 Aug 2009 09:21:09 -0700 (PDT)
Received: from stpeter.im (stpeter.im [207.210.219.233]) by balder-227.proper.com (8.14.2/8.14.2) with ESMTP id n7OGLF8a019728 for <ietf-sasl@imc.org>; Mon, 24 Aug 2009 09:21:16 -0700 (MST) (envelope-from stpeter@stpeter.im)
Received: from squire.local (unknown [64.101.72.216]) (Authenticated sender: stpeter) by stpeter.im (Postfix) with ESMTPSA id DA9B34007B; Mon, 24 Aug 2009 10:21:00 -0600 (MDT)
Message-ID: <4A92BDEB.8020608@stpeter.im>
Date: Mon, 24 Aug 2009 10:20:59 -0600
From: Peter Saint-Andre <stpeter@stpeter.im>
User-Agent: Thunderbird 2.0.0.23 (Macintosh/20090812)
MIME-Version: 1.0
To: Nicolas Williams <Nicolas.Williams@sun.com>
References: <20090818213427.GU1043@Sun.COM>
In-Reply-To: <20090818213427.GU1043@Sun.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: ietf-sasl@imc.org, tls@ietf.org
Subject: Re: [sasl] "Last call" on draft-altman-tls-channel-bindings-05.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, 24 Aug 2009 16:21:10 -0000

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

On 8/18/09 3:34 PM, Nicolas Williams wrote:
> Per RFC5056, three channel binding types for TLS have been registered in
> the IANA channel binding type registry.  Recently we've decided that we
> actually need a Standards-Track RFC to define these channel binding
> types so as to make it easier to make normative reference to them.

Thanks, this is helpful.

> Therefore we've revived and updated draft-altman-tls-channel-bindings to
> include the text of those three channel binding type registrations, as
> well as to update introductory and security considerations text.
> 
> We seek comments on draft-altman-tls-channel-bindings-05.  In two weeks
> we'll request that an AD shepherd this individual submission.  We seek
> Proposed Standard status for the resulting RFC.

The TLS list seems more appropriate than ietf@ietf.org as the location
for expert review.

Nit: cryptographycally => cryptographically

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/

iEYEARECAAYFAkqSvesACgkQNL8k5A2w/vylXQCfc9VgJXxuu8P/kjn58bwZK4Po
O7AAn2ahPVkvYcVPSsEH4csG4tMQmBEO
=S4nY
-----END PGP SIGNATURE-----

From stpeter@stpeter.im  Mon Aug 24 10:02:16 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 39F353A6E2E for <sasl@core3.amsl.com>; Mon, 24 Aug 2009 10:02:16 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -4.263
X-Spam-Level: 
X-Spam-Status: No, score=-4.263 tagged_above=-999 required=5 tests=[AWL=1.784,  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 URgidnRJmFXv for <sasl@core3.amsl.com>; Mon, 24 Aug 2009 10:02:15 -0700 (PDT)
Received: from balder-227.proper.com (Balder-227.Proper.COM [192.245.12.227]) by core3.amsl.com (Postfix) with ESMTP id 3ED603A6AAE for <sasl@ietf.org>; Mon, 24 Aug 2009 10:02:15 -0700 (PDT)
Received: from stpeter.im (stpeter.im [207.210.219.233]) by balder-227.proper.com (8.14.2/8.14.2) with ESMTP id n7OH2Lnp022189 for <ietf-sasl@imc.org>; Mon, 24 Aug 2009 10:02:21 -0700 (MST) (envelope-from stpeter@stpeter.im)
Received: from squire.local (unknown [64.101.72.216]) (Authenticated sender: stpeter) by stpeter.im (Postfix) with ESMTPSA id 973DA4007B; Mon, 24 Aug 2009 11:02:20 -0600 (MDT)
Message-ID: <4A92C79B.5020802@stpeter.im>
Date: Mon, 24 Aug 2009 11:02:19 -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: <ldvskgettir.fsf@cathode-dark-space.mit.edu> <4A72ABF2.406@isode.com>
In-Reply-To: <4A72ABF2.406@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: ietf-sasl@imc.org, Tom Yu <tlyu@MIT.EDU>
Subject: Re: [sasl] SASL IETF75 summary
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, 24 Aug 2009 17:02:16 -0000

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

On 7/31/09 2:31 AM, Alexey Melnikov wrote:
> 
> Tom Yu wrote:
> [...]
> 
>> Drop EXTERNAL from base spec?  No consensus either way.  Probably not
>> a big deal; could possibly get folded into Simon's external-channel
>> draft.
>>
> I think I've heard some support for removing SASL EXTERNAL from the base
> spec.

I voiced support for that. IMHO it's confusing to have just the one
mechanism defined in the base spec.

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/

iEYEARECAAYFAkqSx5sACgkQNL8k5A2w/vxPHACg4mbFrR5llQld9SBvFhE2rpVW
l78An1qWkMWOim8ozoEo1PvTXPnjoEeK
=mS7M
-----END PGP SIGNATURE-----

From Nicolas.Williams@sun.com  Mon Aug 24 11:07:34 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 E4C3A28C30E for <sasl@core3.amsl.com>; Mon, 24 Aug 2009 11:07:34 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -5.895
X-Spam-Level: 
X-Spam-Status: No, score=-5.895 tagged_above=-999 required=5 tests=[AWL=0.151,  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 dFLIKj5m2gXh for <sasl@core3.amsl.com>; Mon, 24 Aug 2009 11:07:34 -0700 (PDT)
Received: from balder-227.proper.com (Balder-227.Proper.COM [192.245.12.227]) by core3.amsl.com (Postfix) with ESMTP id BDA5F28C300 for <sasl@ietf.org>; Mon, 24 Aug 2009 11:07:34 -0700 (PDT)
Received: from sca-ea-mail-4.sun.com (sca-ea-mail-4.Sun.COM [192.18.43.22]) by balder-227.proper.com (8.14.2/8.14.2) with ESMTP id n7OI7Z8E026685 for <ietf-sasl@imc.org>; Mon, 24 Aug 2009 11:07:40 -0700 (MST) (envelope-from Nicolas.Williams@sun.com)
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 n7OI7ZKL002353 for <ietf-sasl@imc.org>; Mon, 24 Aug 2009 18:07:35 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 n7OI7Ygs055650 for <ietf-sasl@imc.org>; Mon, 24 Aug 2009 12:07:34 -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 n7OHnHho008094; Mon, 24 Aug 2009 12:49:17 -0500 (CDT)
Received: (from nw141292@localhost) by binky.Central.Sun.COM (8.14.3+Sun/8.14.3/Submit) id n7OHnGgm008093;  Mon, 24 Aug 2009 12:49:16 -0500 (CDT)
X-Authentication-Warning: binky.Central.Sun.COM: nw141292 set sender to Nicolas.Williams@sun.com using -f
Date: Mon, 24 Aug 2009 12:49:16 -0500
From: Nicolas Williams <Nicolas.Williams@sun.com>
To: Peter Saint-Andre <stpeter@stpeter.im>
Message-ID: <20090824174916.GW1043@Sun.COM>
References: <20090818213427.GU1043@Sun.COM> <4A92BDEB.8020608@stpeter.im>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
In-Reply-To: <4A92BDEB.8020608@stpeter.im>
User-Agent: Mutt/1.5.7i
Cc: ietf-sasl@imc.org, tls@ietf.org
Subject: Re: [sasl] "Last call" on draft-altman-tls-channel-bindings-05.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, 24 Aug 2009 18:07:35 -0000

On Mon, Aug 24, 2009 at 10:20:59AM -0600, Peter Saint-Andre wrote:
> The TLS list seems more appropriate than ietf@ietf.org as the location
> for expert review.
                   ^ of changes to these channel binding types.

Good point.  I'll make the change.  (But perhaps the TLS WG doesn't
agree?  If so, pipe up!)

Nico
-- 

From Nicolas.Williams@sun.com  Mon Aug 24 15:06:41 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 BEC5D3A6B5A for <sasl@core3.amsl.com>; Mon, 24 Aug 2009 15:06:41 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -5.878
X-Spam-Level: 
X-Spam-Status: No, score=-5.878 tagged_above=-999 required=5 tests=[AWL=0.168,  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 AkmTvk3u3ytY for <sasl@core3.amsl.com>; Mon, 24 Aug 2009 15:06:40 -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 ED7163A6978 for <sasl@ietf.org>; Mon, 24 Aug 2009 15:06:27 -0700 (PDT)
Received: from dm-central-02.central.sun.com ([129.147.62.5]) by sca-ea-mail-2.sun.com (8.13.7+Sun/8.12.9) with ESMTP id n7OM6JiH002685 for <sasl@ietf.org>; Mon, 24 Aug 2009 22:06:34 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 n7OM6J5o026307 for <sasl@ietf.org>; Mon, 24 Aug 2009 16:06:19 -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 n7OLtVtj001476; Mon, 24 Aug 2009 16:55:31 -0500 (CDT)
Received: (from nw141292@localhost) by binky.Central.Sun.COM (8.14.3+Sun/8.14.3/Submit) id n7OLtVvB001475;  Mon, 24 Aug 2009 16:55:31 -0500 (CDT)
X-Authentication-Warning: binky.Central.Sun.COM: nw141292 set sender to Nicolas.Williams@sun.com using -f
Date: Mon, 24 Aug 2009 16:55:30 -0500
From: Nicolas Williams <Nicolas.Williams@sun.com>
To: Simon Josefsson <simon@josefsson.org>
Message-ID: <20090824215530.GF1033@Sun.COM>
References: <ldviqghdaev.fsf@cathode-dark-space.mit.edu> <20090821052417.GP1043@Sun.COM> <4A8EA1F4.3070209@isode.com> <87bpm5jp8u.fsf@mocca.josefsson.org>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
In-Reply-To: <87bpm5jp8u.fsf@mocca.josefsson.org>
User-Agent: Mutt/1.5.7i
Cc: Alexey Melnikov <alexey.melnikov@isode.com>, Tom Yu <tlyu@MIT.EDU>, sasl@ietf.org
Subject: Re: [sasl] WLGC summary for SCRAM and 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, 24 Aug 2009 22:06:41 -0000

On Mon, Aug 24, 2009 at 03:49:37PM +0200, Simon Josefsson wrote:
> I've made this more clear in my local copy:
> 
> http://josefsson.org/sasl-gs2/draft-ietf-sasl-gs2.txt
> http://josefsson.org/sasl-gs2/draft-ietf-sasl-gs2-from--16.diff.html

Should we further clarify that no more GS2-* mechanism names will be
allowed to be registered without protocol action?

> I don't see any concrete proposal (i.e., a patch to the document) for
> the other IANA issue that has support, so I'll wait with making any
> other change until someone tells me to.

Agreed.

From simon@josefsson.org  Mon Aug 24 15:59:27 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 D7D3C3A6CCE for <sasl@core3.amsl.com>; Mon, 24 Aug 2009 15:59:27 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.61
X-Spam-Level: 
X-Spam-Status: No, score=-2.61 tagged_above=-999 required=5 tests=[AWL=-0.011,  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 e6qJzg3YBRxN for <sasl@core3.amsl.com>; Mon, 24 Aug 2009 15:59:27 -0700 (PDT)
Received: from yxa-v.extundo.com (yxa-v.extundo.com [83.241.177.39]) by core3.amsl.com (Postfix) with ESMTP id BFDF23A6D60 for <sasl@ietf.org>; Mon, 24 Aug 2009 15:59:25 -0700 (PDT)
Received: from mocca.josefsson.org (c80-216-31-183.bredband.comhem.se [80.216.31.183]) (authenticated bits=0) by yxa-v.extundo.com (8.14.3/8.14.3/Debian-5) with ESMTP id n7OMxR6x016889 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES128-SHA bits=128 verify=NOT); Tue, 25 Aug 2009 00:59:29 +0200
From: Simon Josefsson <simon@josefsson.org>
To: Nicolas Williams <Nicolas.Williams@sun.com>
References: <ldviqghdaev.fsf@cathode-dark-space.mit.edu> <20090821052417.GP1043@Sun.COM> <4A8EA1F4.3070209@isode.com> <87bpm5jp8u.fsf@mocca.josefsson.org> <20090824215530.GF1033@Sun.COM>
OpenPGP: id=B565716F; url=http://josefsson.org/key.txt
X-Hashcash: 1:22:090824:tlyu@mit.edu::+H1Tlk7oI7DS6Epa:vNm
X-Hashcash: 1:22:090824:nicolas.williams@sun.com::MtJUW6o/zlb79gis:SpR
X-Hashcash: 1:22:090824:sasl@ietf.org::B+wU4aJ/QR++jO1L:1u2r
X-Hashcash: 1:22:090824:alexey.melnikov@isode.com::OBzX8rGYtOMNp4Fh:6TiD
Date: Tue, 25 Aug 2009 00:59:27 +0200
In-Reply-To: <20090824215530.GF1033@Sun.COM> (Nicolas Williams's message of "Mon, 24 Aug 2009 16:55:30 -0500")
Message-ID: <87skfgg6nk.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: Alexey Melnikov <alexey.melnikov@isode.com>, sasl@ietf.org, Tom Yu <tlyu@MIT.EDU>
Subject: Re: [sasl] WLGC summary for SCRAM and 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, 24 Aug 2009 22:59:27 -0000

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

> On Mon, Aug 24, 2009 at 03:49:37PM +0200, Simon Josefsson wrote:
>> I've made this more clear in my local copy:
>> 
>> http://josefsson.org/sasl-gs2/draft-ietf-sasl-gs2.txt
>> http://josefsson.org/sasl-gs2/draft-ietf-sasl-gs2-from--16.diff.html
>
> Should we further clarify that no more GS2-* mechanism names will be
> allowed to be registered without protocol action?

I think requiring protocol action is pointless, as it may lead people to
allocate a new SASL mechanism name FOO and define it to be "use GSS-API
mechanism X under GS2 but call it FOO", which further complicate
mechanism negotiation.

Thinking about this, isn't that what SCRAM does?  SCRAM will be
available under both the SCRAM-* name and the OID-based GS2-* name
derived from the SCRAM OID.  Interestingly, there is only one OID
registered for SCRAM, presumably it is for SCRAM-SHA1?  Is there
something that prevents interop failures when one implementation use the
SCRAM-* names and another uses the GS2-* name?  I may have paged out
this piece of information, but I can't find it searching for SCRAM in
the GS2 document.

I'm not certain this is a problem, but I'm equally not certain that we
have thought about this naming aspect.

/Simon

From jhutz@cmu.edu  Tue Aug 25 09:42:43 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 342C428C378 for <sasl@core3.amsl.com>; Tue, 25 Aug 2009 09:42:43 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.528
X-Spam-Level: 
X-Spam-Status: No, score=-2.528 tagged_above=-999 required=5 tests=[AWL=0.071,  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 kddV2QpYuiJh for <sasl@core3.amsl.com>; Tue, 25 Aug 2009 09:42:42 -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 D31B128C337 for <sasl@ietf.org>; Tue, 25 Aug 2009 09:42:41 -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 n7PGgjCM009605 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Tue, 25 Aug 2009 12:42:45 -0400 (EDT)
Date: Tue, 25 Aug 2009 12:42:45 -0400
From: Jeffrey Hutzelman <jhutz@cmu.edu>
To: Simon Josefsson <simon@josefsson.org>, Nicolas Williams <Nicolas.Williams@sun.com>
Message-ID: <84234A6C6DABBB2719E48267@minbar.fac.cs.cmu.edu>
In-Reply-To: <677_1251154777_n7OMxaQ0029238_87skfgg6nk.fsf@mocca.josefsson.org>
References: <ldviqghdaev.fsf@cathode-dark-space.mit.edu> <20090821052417.GP1043@Sun.COM> <4A8EA1F4.3070209@isode.com>	<87bpm5jp8u.fsf@mocca.josefsson.org> <20090824215530.GF1033@Sun.COM> <677_1251154777_n7OMxaQ0029238_87skfgg6nk.fsf@mocca.josefsson.org>
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
Cc: Alexey Melnikov <alexey.melnikov@isode.com>, Tom Yu <tlyu@MIT.EDU>, sasl@ietf.org
Subject: Re: [sasl] WLGC summary for SCRAM and 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, 25 Aug 2009 16:42:43 -0000

--On Tuesday, August 25, 2009 12:59:27 AM +0200 Simon Josefsson 
<simon@josefsson.org> wrote:

> Nicolas Williams <Nicolas.Williams@sun.com> writes:
>
>> On Mon, Aug 24, 2009 at 03:49:37PM +0200, Simon Josefsson wrote:
>>> I've made this more clear in my local copy:
>>>
>>> http://josefsson.org/sasl-gs2/draft-ietf-sasl-gs2.txt
>>> http://josefsson.org/sasl-gs2/draft-ietf-sasl-gs2-from--16.diff.html
>>
>> Should we further clarify that no more GS2-* mechanism names will be
>> allowed to be registered without protocol action?
>
> I think requiring protocol action is pointless, as it may lead people to
> allocate a new SASL mechanism name FOO and define it to be "use GSS-API
> mechanism X under GS2 but call it FOO", which further complicate
> mechanism negotiation.
>
> Thinking about this, isn't that what SCRAM does?

No.  SCRAM registers a SASL friendly mechanism name, so that is the _only_ 
name that should be used for SCRAM in SASL.  Mechanisms that do this should 
not ever be referred to by OID-derived names.

> Interestingly, there is only one OID
> registered for SCRAM, presumably it is for SCRAM-SHA1?

It is for the only GSS-API mechanism that the document actually defines.

> Is there
> something that prevents interop failures when one implementation use the
> SCRAM-* names and another uses the GS2-* name?

No.  There is something that prevents correct implementations from using 
the GS2-* name.

-- Jeff

From Nicolas.Williams@sun.com  Tue Aug 25 11:21:11 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 24AB43A6F1A for <sasl@core3.amsl.com>; Tue, 25 Aug 2009 11:21:11 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -5.861
X-Spam-Level: 
X-Spam-Status: No, score=-5.861 tagged_above=-999 required=5 tests=[AWL=0.185,  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 nLfqAro5w70a for <sasl@core3.amsl.com>; Tue, 25 Aug 2009 11:21:10 -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 313803A6A07 for <sasl@ietf.org>; Tue, 25 Aug 2009 11:21:07 -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 n7PILDpg027254 for <sasl@ietf.org>; Tue, 25 Aug 2009 18:21:13 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 n7PILDxx063375 for <sasl@ietf.org>; Tue, 25 Aug 2009 12:21:13 -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 n7PI2sJX001938; Tue, 25 Aug 2009 13:02:54 -0500 (CDT)
Received: (from nw141292@localhost) by binky.Central.Sun.COM (8.14.3+Sun/8.14.3/Submit) id n7PI2pJ8001937;  Tue, 25 Aug 2009 13:02:51 -0500 (CDT)
X-Authentication-Warning: binky.Central.Sun.COM: nw141292 set sender to Nicolas.Williams@sun.com using -f
Date: Tue, 25 Aug 2009 13:02:51 -0500
From: Nicolas Williams <Nicolas.Williams@sun.com>
To: Jeffrey Hutzelman <jhutz@cmu.edu>
Message-ID: <20090825180250.GN1033@Sun.COM>
References: <ldviqghdaev.fsf@cathode-dark-space.mit.edu> <20090821052417.GP1043@Sun.COM> <4A8EA1F4.3070209@isode.com> <87bpm5jp8u.fsf@mocca.josefsson.org> <20090824215530.GF1033@Sun.COM> <677_1251154777_n7OMxaQ0029238_87skfgg6nk.fsf@mocca.josefsson.org> <84234A6C6DABBB2719E48267@minbar.fac.cs.cmu.edu>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
In-Reply-To: <84234A6C6DABBB2719E48267@minbar.fac.cs.cmu.edu>
User-Agent: Mutt/1.5.7i
Cc: Simon Josefsson <simon@josefsson.org>, Tom Yu <tlyu@MIT.EDU>, sasl@ietf.org, Alexey Melnikov <alexey.melnikov@isode.com>
Subject: Re: [sasl] WLGC summary for SCRAM and 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, 25 Aug 2009 18:21:11 -0000

On Tue, Aug 25, 2009 at 12:42:45PM -0400, Jeffrey Hutzelman wrote:
> --On Tuesday, August 25, 2009 12:59:27 AM +0200 Simon Josefsson 
> <simon@josefsson.org> wrote:
> >Is there
> >something that prevents interop failures when one implementation use the
> >SCRAM-* names and another uses the GS2-* name?
> 
> No.  There is something that prevents correct implementations from using 
> the GS2-* name.

Specifically: GSS_Inquire_SASLname_for_mech().

A SASL/GS2 implementation must use GSS_Inquire_SASLname_for_mech() to
decide what SASL mech name a GSS-API mechanism shall have.

Of course, one could also have non-GSS-API based implementations of GS2
mechanisms that have friendly mech names, so there's no need to say that
an implementation of GS2 MUST use GSS_Inquire_SASLname_for_mech()

From root@core3.amsl.com  Wed Aug 26 02:00: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 C9E5F3A697D; Wed, 26 Aug 2009 02:00: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: <20090826090001.C9E5F3A697D@core3.amsl.com>
Date: Wed, 26 Aug 2009 02:00:01 -0700 (PDT)
X-Mailman-Approved-At: Wed, 26 Aug 2009 05:11:34 -0700
Cc: sasl@ietf.org
Subject: [sasl] I-D Action:draft-ietf-sasl-scram-05.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, 26 Aug 2009 09:00: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 Mechanism
	Author(s)       : A. Menon-Sen, et al.
	Filename        : draft-ietf-sasl-scram-05.txt
	Pages           : 34
	Date            : 2009-08-26

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-05.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-05.txt";
	site="ftp.ietf.org";
	access-type="anon-ftp";
	directory="internet-drafts"

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


--NextPart--

From stpeter@stpeter.im  Wed Aug 26 08:23: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 CD1643A6CD1 for <sasl@core3.amsl.com>; Wed, 26 Aug 2009 08:23:31 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.647
X-Spam-Level: 
X-Spam-Status: No, score=-2.647 tagged_above=-999 required=5 tests=[AWL=-0.048, 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 RpxmoLIobNMn for <sasl@core3.amsl.com>; Wed, 26 Aug 2009 08:23:30 -0700 (PDT)
Received: from stpeter.im (stpeter.im [207.210.219.233]) by core3.amsl.com (Postfix) with ESMTP id C68833A6CE1 for <sasl@ietf.org>; Wed, 26 Aug 2009 08:22:49 -0700 (PDT)
Received: from squire.local (unknown [64.101.72.216]) (Authenticated sender: stpeter) by stpeter.im (Postfix) with ESMTPSA id EA02C4007B for <sasl@ietf.org>; Wed, 26 Aug 2009 09:21:06 -0600 (MDT)
Message-ID: <4A9552E1.6040303@stpeter.im>
Date: Wed, 26 Aug 2009 09:21:05 -0600
From: Peter Saint-Andre <stpeter@stpeter.im>
User-Agent: Thunderbird 2.0.0.23 (Macintosh/20090812)
MIME-Version: 1.0
To: sasl@ietf.org
References: <20090826090001.C9E5F3A697D@core3.amsl.com>
In-Reply-To: <20090826090001.C9E5F3A697D@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] I-D Action:draft-ietf-sasl-scram-05.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, 26 Aug 2009 15:23:31 -0000

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

On 8/26/09 3:00 AM, Internet-Drafts@ietf.org wrote:
> 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 Mechanism
> 	Author(s)       : A. Menon-Sen, et al.
> 	Filename        : draft-ietf-sasl-scram-05.txt

Looks good to me.

One nit: I still think it might be helpful to describe the circumstances
under which is it appropriate for the server to *not* prepare the value
of the "n" attribute using the "SASLPrep" profile of stringprep (given
that this is a SHOULD for the server but a MUST for the client).

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/

iEYEARECAAYFAkqVUuEACgkQNL8k5A2w/vwX+QCgnnH1NifysKGyM1f74xOE38ym
myQAoIfO/jasNPEoLuSIN+tkg6es0j/T
=2uKi
-----END PGP SIGNATURE-----

From tlyu@MIT.EDU  Wed Aug 26 11:13:36 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 8B7F03A6AA6 for <sasl@core3.amsl.com>; Wed, 26 Aug 2009 11:13:36 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -6.099
X-Spam-Level: 
X-Spam-Status: No, score=-6.099 tagged_above=-999 required=5 tests=[AWL=0.500,  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 8ButNj2hCGq4 for <sasl@core3.amsl.com>; Wed, 26 Aug 2009 11:13:35 -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 CCAE93A6D4C for <sasl@ietf.org>; Wed, 26 Aug 2009 11:12:45 -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 n7QIClNR010116 for <sasl@ietf.org>; Wed, 26 Aug 2009 14:12:49 -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 n7QICjW4015148 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT) for <sasl@ietf.org>; Wed, 26 Aug 2009 14:12:46 -0400 (EDT)
Received: (from tlyu@localhost) by cathode-dark-space.mit.edu (8.12.9.20060308) id n7QICjkI009146; Wed, 26 Aug 2009 14:12:45 -0400 (EDT)
To: sasl@ietf.org
From: Tom Yu <tlyu@MIT.EDU>
Date: Wed, 26 Aug 2009 14:12:45 -0400
Message-ID: <ldvljl6moki.fsf@cathode-dark-space.mit.edu>
Lines: 5
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
X-Scanned-By: MIMEDefang 2.42
Subject: [sasl] SASL minutes from IETF75
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, 26 Aug 2009 18:13:36 -0000

I have uploaded draft minutes at

    http://www.ietf.org/proceedings/75/minutes/sasl.txt

Please let me know if there are corrections I should make.

From Nicolas.Williams@sun.com  Mon Aug 31 13:15:10 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 DC9F228C55C for <sasl@core3.amsl.com>; Mon, 31 Aug 2009 13:15:10 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -5.853
X-Spam-Level: 
X-Spam-Status: No, score=-5.853 tagged_above=-999 required=5 tests=[AWL=0.193,  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 0WxP7NrP6vnm for <sasl@core3.amsl.com>; Mon, 31 Aug 2009 13:15:10 -0700 (PDT)
Received: from balder-227.proper.com (Balder-227.Proper.COM [192.245.12.227]) by core3.amsl.com (Postfix) with ESMTP id 988D128C553 for <sasl@ietf.org>; Mon, 31 Aug 2009 13:15:10 -0700 (PDT)
Received: from sca-ea-mail-4.sun.com (sca-ea-mail-4.Sun.COM [192.18.43.22]) by balder-227.proper.com (8.14.2/8.14.2) with ESMTP id n7VKFLvC033888 for <ietf-sasl@imc.org>; Mon, 31 Aug 2009 13:15:22 -0700 (MST) (envelope-from Nicolas.Williams@sun.com)
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 n7VKFLj8013590 for <ietf-sasl@imc.org>; Mon, 31 Aug 2009 20:15:21 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 n7VKFKOl028363 for <ietf-sasl@imc.org>; Mon, 31 Aug 2009 14:15:20 -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 n7VJur8L007611; Mon, 31 Aug 2009 14:56:53 -0500 (CDT)
Received: (from nw141292@localhost) by binky.Central.Sun.COM (8.14.3+Sun/8.14.3/Submit) id n7VJuq2f007610;  Mon, 31 Aug 2009 14:56:52 -0500 (CDT)
X-Authentication-Warning: binky.Central.Sun.COM: nw141292 set sender to Nicolas.Williams@sun.com using -f
Date: Mon, 31 Aug 2009 14:56:52 -0500
From: Nicolas Williams <Nicolas.Williams@sun.com>
To: ietf-sasl@imc.org, tls@ietf.org
Message-ID: <20090831195652.GV1033@Sun.COM>
References: <20090818213427.GU1043@Sun.COM>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
In-Reply-To: <20090818213427.GU1043@Sun.COM>
User-Agent: Mutt/1.5.7i
Subject: Re: [sasl] "Last call" on draft-altman-tls-channel-bindings-05.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, 31 Aug 2009 20:15:11 -0000

I've just posted version -06, incorporating all changes agreed so far.

This pseudo-WGLC started on August 18th.  Tomorrow I'll ask Pasi to take
the next step in the publication process.

Thanks,

Nico
-- 

Received: from balder-227.proper.com (localhost [127.0.0.1]) by balder-227.proper.com (8.14.2/8.14.2) with ESMTP id n7JMjClP006391 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Wed, 19 Aug 2009 15:45:12 -0700 (MST) (envelope-from owner-ietf-sasl@mail.imc.org)
Received: (from majordom@localhost) by balder-227.proper.com (8.14.2/8.13.5/Submit) id n7JMjCWS006390; Wed, 19 Aug 2009 15:45:12 -0700 (MST) (envelope-from owner-ietf-sasl@mail.imc.org)
X-Authentication-Warning: balder-227.proper.com: majordom set sender to owner-ietf-sasl@mail.imc.org using -f
Received: from sca-ea-mail-1.sun.com (sca-ea-mail-1.Sun.COM [192.18.43.24]) by balder-227.proper.com (8.14.2/8.14.2) with ESMTP id n7JMjAUj006383 (version=TLSv1/SSLv3 cipher=EDH-RSA-DES-CBC3-SHA bits=168 verify=NO) for <ietf-sasl@imc.org>; Wed, 19 Aug 2009 15:45:11 -0700 (MST) (envelope-from Nicolas.Williams@sun.com)
Received: from dm-central-01.central.sun.com ([129.147.62.4]) by sca-ea-mail-1.sun.com (8.13.7+Sun/8.12.9) with ESMTP id n7JMjAt9009231 for <ietf-sasl@imc.org>; Wed, 19 Aug 2009 22:45:10 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 n7JMjAj7064386 for <ietf-sasl@imc.org>; Wed, 19 Aug 2009 16:45:10 -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 n7JMQw4c004584; Wed, 19 Aug 2009 17:26:58 -0500 (CDT)
Received: (from nw141292@localhost) by binky.Central.Sun.COM (8.14.3+Sun/8.14.3/Submit) id n7JMQwpe004583; Wed, 19 Aug 2009 17:26:58 -0500 (CDT)
X-Authentication-Warning: binky.Central.Sun.COM: nw141292 set sender to Nicolas.Williams@sun.com using -f
Date: Wed, 19 Aug 2009 17:26:58 -0500
From: Nicolas Williams <Nicolas.Williams@sun.com>
To: Simon Josefsson <simon@josefsson.org>
Cc: ietf-sasl@imc.org, tls@ietf.org
Subject: Re: [TLS] "Last call" on draft-altman-tls-channel-bindings-05.txt
Message-ID: <20090819222658.GT1043@Sun.COM>
References: <20090818213427.GU1043@Sun.COM> <87ljlgbv2a.fsf@mocca.josefsson.org> <20090819212223.GN1043@Sun.COM> <87d46r4f19.fsf@mocca.josefsson.org>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
In-Reply-To: <87d46r4f19.fsf@mocca.josefsson.org>
User-Agent: Mutt/1.5.7i
Sender: owner-ietf-sasl@mail.imc.org
Precedence: bulk
List-Archive: <http://www.imc.org/ietf-sasl/mail-archive/>
List-ID: <ietf-sasl.imc.org>
List-Unsubscribe: <mailto:ietf-sasl-request@imc.org?body=unsubscribe>

On Thu, Aug 20, 2009 at 12:25:38AM +0200, Simon Josefsson wrote:
> Nicolas Williams <Nicolas.Williams@sun.com> writes:
> > But I don't want to guess at what might happen in the future
> > of digital signatures.
> 
> I agree, we could decide to not resolve this concern.
> 
> > Instead I'd rather either say either that tls-server-end-point CB is
> > undefined if the cert's signature alg does not use a signature, or
> > pick a hash function (e.g., SHA-512) to use in such cases.
> 
> If use of SHA-512 is hard-coded, we run into problem when it is phased
> out.  Negotiation any other hash function will be tricky.  Alas, I'm not
> sure leaving it undefined is any better: negotiating what hash function
> to use in that situation seems equally tricky.

I chatted with Jeff Hutzelman about this, and we both concluded that
leaving tls-server-end-point undefined in this case is acceptable
because we could change the spec to define tls-server-end-point for such
signature algorithms when they arise.

> This is one reason where deriving channel binding data from the TLS
> channel using tls-extractor appears more robust: it leaves negotiation
> of the hash function to the TLS protocol.

tls-unique does that already (though not using the extractor).  We're
talking about end-point channel binding types here, which are
independent of actual channels, therefore we couldn't use the extractor.

Nico
-- 



Received: from balder-227.proper.com (localhost [127.0.0.1]) by balder-227.proper.com (8.14.2/8.14.2) with ESMTP id n7JMeiF6006009 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Wed, 19 Aug 2009 15:40:44 -0700 (MST) (envelope-from owner-ietf-sasl@mail.imc.org)
Received: (from majordom@localhost) by balder-227.proper.com (8.14.2/8.13.5/Submit) id n7JMeiiP006008; Wed, 19 Aug 2009 15:40:44 -0700 (MST) (envelope-from owner-ietf-sasl@mail.imc.org)
X-Authentication-Warning: balder-227.proper.com: majordom set sender to owner-ietf-sasl@mail.imc.org using -f
Received: from sca-ea-mail-1.sun.com (sca-ea-mail-1.Sun.COM [192.18.43.24]) by balder-227.proper.com (8.14.2/8.14.2) with ESMTP id n7JMegGx006002 (version=TLSv1/SSLv3 cipher=EDH-RSA-DES-CBC3-SHA bits=168 verify=NO) for <ietf-sasl@imc.org>; Wed, 19 Aug 2009 15:40:43 -0700 (MST) (envelope-from Nicolas.Williams@sun.com)
Received: from dm-central-01.central.sun.com ([129.147.62.4]) by sca-ea-mail-1.sun.com (8.13.7+Sun/8.12.9) with ESMTP id n7JMeg7s008446 for <ietf-sasl@imc.org>; Wed, 19 Aug 2009 22:40:42 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 n7JMef5o062222 for <ietf-sasl@imc.org>; Wed, 19 Aug 2009 16:40:41 -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 n7JMMU9U004576; Wed, 19 Aug 2009 17:22:30 -0500 (CDT)
Received: (from nw141292@localhost) by binky.Central.Sun.COM (8.14.3+Sun/8.14.3/Submit) id n7JMMUYM004575; Wed, 19 Aug 2009 17:22:30 -0500 (CDT)
X-Authentication-Warning: binky.Central.Sun.COM: nw141292 set sender to Nicolas.Williams@sun.com using -f
Date: Wed, 19 Aug 2009 17:22:29 -0500
From: Nicolas Williams <Nicolas.Williams@sun.com>
To: Simon Josefsson <simon@josefsson.org>
Cc: ietf-sasl@imc.org, tls@ietf.org
Subject: Re: [TLS] "Last call" on draft-altman-tls-channel-bindings-05.txt
Message-ID: <20090819222229.GS1043@Sun.COM>
References: <20090818213427.GU1043@Sun.COM> <87ljlgbv2a.fsf@mocca.josefsson.org> <20090819212223.GN1043@Sun.COM>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
In-Reply-To: <20090819212223.GN1043@Sun.COM>
User-Agent: Mutt/1.5.7i
Sender: owner-ietf-sasl@mail.imc.org
Precedence: bulk
List-Archive: <http://www.imc.org/ietf-sasl/mail-archive/>
List-ID: <ietf-sasl.imc.org>
List-Unsubscribe: <mailto:ietf-sasl-request@imc.org?body=unsubscribe>

On Wed, Aug 19, 2009 at 04:22:24PM -0500, Nicolas Williams wrote:
> On Wed, Aug 19, 2009 at 12:45:17AM +0200, Simon Josefsson wrote:
> > For completeness, I would add:
> > 
> >    This algorithm agility resolution mechanism assumes that there is a
> >    mapping from every Public-key signature algorithm to one hash
> >    function algorithm.  This is the case for all practically used public
> >    key signature algorithms today, but if future public-key signature
> >    algorithms would employ multiple hash functions (or none at all) this
> >    specification needs to be updated to resolve which hash function
> >    should be used.
> 
> This brings up a question: what to do in the case of randomized digital
> signatures?  In the case of NIST-SP-800-106 there's still a hash
> function, so that's OK.  But one can imagine a digital signature
> algorithm where a MAC and random key are used instead of a hash.
> 
> ...
> 
> But I don't want to guess at what might happen in the future
> of digital signatures.  Instead I'd rather either say either
> that tls-server-end-point CB is undefined if the cert's
> signature alg does not use a signature, or pick a hash
> function (e.g., SHA-512) to use in such cases.

After asking others I propose the former solution:

   Description: The hash of the TLS server's certificate [RFC5280] as it
   appears, octet for octet, in the server's Certificate message (note
   that the Certificate message contains a certificate_list, the first
   element of which is the server's certificate.)

   The hash function is to be selected as follows:

    - if the certificate's signatureAlgorithm uses a single hash
      function, and that hash function is either MD5 [RFC1321] or SHA-1
      [RFC3174] then use SHA-256 [FIPS-180-2];

    - if the certificate's signatureAlgorithm uses a single hash
      function and that hash function neither MD5 nor SHA-1, then use
      the hash function associated with the certificate's
      signatureAlgorithm;

    - if the certificate's signatureAlgorithm uses no hash functions, or
      multiple hash functions, then this channel binding type's channel
      bindings are undefined at this time (updates to is channel binding
      type may occur to address this issue if it ever arises).

Nico
-- 



Received: from balder-227.proper.com (localhost [127.0.0.1]) by balder-227.proper.com (8.14.2/8.14.2) with ESMTP id n7JMPsG5005260 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Wed, 19 Aug 2009 15:25:54 -0700 (MST) (envelope-from owner-ietf-sasl@mail.imc.org)
Received: (from majordom@localhost) by balder-227.proper.com (8.14.2/8.13.5/Submit) id n7JMPsQL005259; Wed, 19 Aug 2009 15:25:54 -0700 (MST) (envelope-from owner-ietf-sasl@mail.imc.org)
X-Authentication-Warning: balder-227.proper.com: majordom set sender to owner-ietf-sasl@mail.imc.org using -f
Received: from yxa-v.extundo.com (yxa-v.extundo.com [83.241.177.39]) by balder-227.proper.com (8.14.2/8.14.2) with ESMTP id n7JMPjMO005224 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=FAIL) for <ietf-sasl@imc.org>; Wed, 19 Aug 2009 15:25:53 -0700 (MST) (envelope-from simon@josefsson.org)
Received: from mocca.josefsson.org (c80-216-31-183.bredband.comhem.se [80.216.31.183]) (authenticated bits=0) by yxa-v.extundo.com (8.14.3/8.14.3/Debian-5) with ESMTP id n7JMPcBJ031296 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES128-SHA bits=128 verify=NOT); Thu, 20 Aug 2009 00:25:40 +0200
From: Simon Josefsson <simon@josefsson.org>
To: Nicolas Williams <Nicolas.Williams@sun.com>
Cc: ietf-sasl@imc.org, tls@ietf.org
Subject: Re: "Last call" on draft-altman-tls-channel-bindings-05.txt
References: <20090818213427.GU1043@Sun.COM> <87ljlgbv2a.fsf@mocca.josefsson.org> <20090819212223.GN1043@Sun.COM>
OpenPGP: id=B565716F; url=http://josefsson.org/key.txt
X-Hashcash: 1:22:090819:ietf-sasl@imc.org::KeyHv/WeE0AMzTIv:03lZ
X-Hashcash: 1:22:090819:tls@ietf.org::0rTKIlPk8SZjIqkT:ZnPW
X-Hashcash: 1:22:090819:nicolas.williams@sun.com::wy96xQShYma/iDOS:g3wg
Date: Thu, 20 Aug 2009 00:25:38 +0200
In-Reply-To: <20090819212223.GN1043@Sun.COM> (Nicolas Williams's message of "Wed, 19 Aug 2009 16:22:24 -0500")
Message-ID: <87d46r4f19.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-Spam-Status: No, score=-1.0 required=5.0 tests=AWL,BAYES_00, DATE_IN_FUTURE_96_XX,RDNS_DYNAMIC,SPF_FAIL autolearn=no version=3.2.5
X-Spam-Checker-Version: SpamAssassin 3.2.5 (2008-06-10) on yxa-v.extundo.com
X-Virus-Scanned: clamav-milter 0.95.2 at yxa-v
X-Virus-Status: Clean
Sender: owner-ietf-sasl@mail.imc.org
Precedence: bulk
List-Archive: <http://www.imc.org/ietf-sasl/mail-archive/>
List-ID: <ietf-sasl.imc.org>
List-Unsubscribe: <mailto:ietf-sasl-request@imc.org?body=unsubscribe>

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

> But I don't want to guess at what might happen in the future
> of digital signatures.

I agree, we could decide to not resolve this concern.

> Instead I'd rather either say either that tls-server-end-point CB is
> undefined if the cert's signature alg does not use a signature, or
> pick a hash function (e.g., SHA-512) to use in such cases.

If use of SHA-512 is hard-coded, we run into problem when it is phased
out.  Negotiation any other hash function will be tricky.  Alas, I'm not
sure leaving it undefined is any better: negotiating what hash function
to use in that situation seems equally tricky.

This is one reason where deriving channel binding data from the TLS
channel using tls-extractor appears more robust: it leaves negotiation
of the hash function to the TLS protocol.

/Simon



Received: from balder-227.proper.com (localhost [127.0.0.1]) by balder-227.proper.com (8.14.2/8.14.2) with ESMTP id n7JLeiHZ002650 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Wed, 19 Aug 2009 14:40:44 -0700 (MST) (envelope-from owner-ietf-sasl@mail.imc.org)
Received: (from majordom@localhost) by balder-227.proper.com (8.14.2/8.13.5/Submit) id n7JLei21002648; Wed, 19 Aug 2009 14:40:44 -0700 (MST) (envelope-from owner-ietf-sasl@mail.imc.org)
X-Authentication-Warning: balder-227.proper.com: majordom set sender to owner-ietf-sasl@mail.imc.org using -f
Received: from sca-ea-mail-1.sun.com (sca-ea-mail-1.Sun.COM [192.18.43.24]) by balder-227.proper.com (8.14.2/8.14.2) with ESMTP id n7JLecNK002636 (version=TLSv1/SSLv3 cipher=EDH-RSA-DES-CBC3-SHA bits=168 verify=NO) for <ietf-sasl@imc.org>; Wed, 19 Aug 2009 14:40:42 -0700 (MST) (envelope-from Nicolas.Williams@sun.com)
Received: from dm-central-01.central.sun.com ([129.147.62.4]) by sca-ea-mail-1.sun.com (8.13.7+Sun/8.12.9) with ESMTP id n7JLebsm028052 for <ietf-sasl@imc.org>; Wed, 19 Aug 2009 21:40:37 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 n7JLebmJ027639 for <ietf-sasl@imc.org>; Wed, 19 Aug 2009 15:40:37 -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 n7JLMOoK004480; Wed, 19 Aug 2009 16:22:24 -0500 (CDT)
Received: (from nw141292@localhost) by binky.Central.Sun.COM (8.14.3+Sun/8.14.3/Submit) id n7JLMOUh004479; Wed, 19 Aug 2009 16:22:24 -0500 (CDT)
X-Authentication-Warning: binky.Central.Sun.COM: nw141292 set sender to Nicolas.Williams@sun.com using -f
Date: Wed, 19 Aug 2009 16:22:24 -0500
From: Nicolas Williams <Nicolas.Williams@sun.com>
To: Simon Josefsson <simon@josefsson.org>
Cc: ietf-sasl@imc.org, tls@ietf.org
Subject: Re: "Last call" on draft-altman-tls-channel-bindings-05.txt
Message-ID: <20090819212223.GN1043@Sun.COM>
References: <20090818213427.GU1043@Sun.COM> <87ljlgbv2a.fsf@mocca.josefsson.org>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
In-Reply-To: <87ljlgbv2a.fsf@mocca.josefsson.org>
User-Agent: Mutt/1.5.7i
Sender: owner-ietf-sasl@mail.imc.org
Precedence: bulk
List-Archive: <http://www.imc.org/ietf-sasl/mail-archive/>
List-ID: <ietf-sasl.imc.org>
List-Unsubscribe: <mailto:ietf-sasl-request@imc.org?body=unsubscribe>

On Wed, Aug 19, 2009 at 12:45:17AM +0200, Simon Josefsson wrote:
> For completeness, I would add:
> 
>    This algorithm agility resolution mechanism assumes that there is a
>    mapping from every Public-key signature algorithm to one hash
>    function algorithm.  This is the case for all practically used public
>    key signature algorithms today, but if future public-key signature
>    algorithms would employ multiple hash functions (or none at all) this
>    specification needs to be updated to resolve which hash function
>    should be used.

This brings up a question: what to do in the case of randomized digital
signatures?  In the case of NIST-SP-800-106 there's still a hash
function, so that's OK.  But one can imagine a digital signature
algorithm where a MAC and random key are used instead of a hash.

Traditionally a digital signature

	S'(Kp, M) = S(Kp, H(M))

while in NIST-SP-800-106

	S'(Kp, M) = {rv = rng(rv_len),
		     S(Kp, H(rv ||
			     (pad(M, rv_len) XOR xor_pad_gen(rv) ||
			     rv_length_indicator(rv_len))))
		    }

One could imagine this, however:

	S'(Kp, M) = {mk = rng(),
		     S(Kp, MAC(k, M))}

in which case there'd be no hash function.  Of course, we could define a
pseudo-hash function in that case: H(x) = MAC(mk, x), where mk is the mk
that would appear in the signature.

But I don't want to guess at what might happen in the future
of digital signatures.  Instead I'd rather either say either
that tls-server-end-point CB is undefined if the cert's
signature alg does not use a signature, or pick a hash
function (e.g., SHA-512) to use in such cases.

Comments?

Nico
-- 



Received: from balder-227.proper.com (localhost [127.0.0.1]) by balder-227.proper.com (8.14.2/8.14.2) with ESMTP id n7JHOx5g003728 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Wed, 19 Aug 2009 10:24:59 -0700 (MST) (envelope-from owner-ietf-sasl@mail.imc.org)
Received: (from majordom@localhost) by balder-227.proper.com (8.14.2/8.13.5/Submit) id n7JHOxbX003727; Wed, 19 Aug 2009 10:24:59 -0700 (MST) (envelope-from owner-ietf-sasl@mail.imc.org)
X-Authentication-Warning: balder-227.proper.com: majordom set sender to owner-ietf-sasl@mail.imc.org using -f
Received: from sca-ea-mail-1.sun.com (sca-ea-mail-1.Sun.COM [192.18.43.24]) by balder-227.proper.com (8.14.2/8.14.2) with ESMTP id n7JHOY0i003699 (version=TLSv1/SSLv3 cipher=EDH-RSA-DES-CBC3-SHA bits=168 verify=NO) for <ietf-sasl@imc.org>; Wed, 19 Aug 2009 10:24:43 -0700 (MST) (envelope-from Nicolas.Williams@sun.com)
Received: from dm-central-02.central.sun.com ([129.147.62.5]) by sca-ea-mail-1.sun.com (8.13.7+Sun/8.12.9) with ESMTP id n7JGZqFO013219 for <ietf-sasl@imc.org>; Wed, 19 Aug 2009 16:35:56 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 n7JGZpEQ043975 for <ietf-sasl@imc.org>; Wed, 19 Aug 2009 10:35: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 n7JGHXVB004013; Wed, 19 Aug 2009 11:17:33 -0500 (CDT)
Received: (from nw141292@localhost) by binky.Central.Sun.COM (8.14.3+Sun/8.14.3/Submit) id n7JGHSpp004012; Wed, 19 Aug 2009 11:17:28 -0500 (CDT)
X-Authentication-Warning: binky.Central.Sun.COM: nw141292 set sender to Nicolas.Williams@sun.com using -f
Date: Wed, 19 Aug 2009 11:17:28 -0500
From: Nicolas Williams <Nicolas.Williams@sun.com>
To: Simon Josefsson <simon@josefsson.org>
Cc: ietf-sasl@imc.org, tls@ietf.org
Subject: Re: "Last call" on draft-altman-tls-channel-bindings-05.txt
Message-ID: <20090819161728.GB1043@Sun.COM>
References: <20090818213427.GU1043@Sun.COM> <87ljlgbv2a.fsf@mocca.josefsson.org> <20090818225934.GW1043@Sun.COM> <87bpmcbqxd.fsf@mocca.josefsson.org>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
In-Reply-To: <87bpmcbqxd.fsf@mocca.josefsson.org>
User-Agent: Mutt/1.5.7i
Sender: owner-ietf-sasl@mail.imc.org
Precedence: bulk
List-Archive: <http://www.imc.org/ietf-sasl/mail-archive/>
List-ID: <ietf-sasl.imc.org>
List-Unsubscribe: <mailto:ietf-sasl-request@imc.org?body=unsubscribe>

On Wed, Aug 19, 2009 at 02:14:38AM +0200, Simon Josefsson wrote:
> Nicolas Williams <Nicolas.Williams@sun.com> writes:
> >    Description: ...
> 
> Looks fine to me.
> 
> > The text you quote is security considerations text; the normative text
> > already says exactly what you ask for.  But OK:
> >
> >         ...  The algorithm to be used, however, is derived from the
> >    certificate's signature as described in Section 4.1; to recap: use
> >    SHA-256 if the certificate signature algorithm uses MD5 or SHA-1,
> >    else use whatever hash function the certificate uses.
> 
> There were two uses of "uses" in the sentence, and the second is still
> present, but at least this is better than before.

Ah yes:

        ...  The algorithm to be used, however, is derived from the
   certificate's signature as described in Section 4.1; to recap: use
   SHA-256 if the certificate signature algorithm uses MD5 or SHA-1,
   else use whatever hash function the certificate signature algorithm
   uses.

> > Now, section 4.1 says "if the certificate's signature hash algorithm is
> > ...".  But perhaps it should say "if the hash algorithm used in the
> > certificate's signatureAlgorithm is ...", just to be really accurate and
> > avoid any possible confusion (with, say, the algorithm field of
> > SubjectPublicKeyInfo).  Yes?
> 
> The more precise the better, although SubjectPublicKeyInfo generally do
> not imply any particular hash function.  But for new implementers, it is
> easy to go wrong if the text is not specific.

So let's add that precision and address signature algs that don't use
hash functions:

   Description: The hash of the TLS server's certificate [RFC5280] as it
   appears, octet for octet, in the server's Certificate message (note
   that the Certificate message contains a certificate_list, the first
   element of which is the server's certificate.)  The hash function is
   to be selected as follows: if the hash algorithm used in the
   certificate's signatureAlgorithm is either MD5 [RFC1321] or SHA-1
   [RFC3174] or if the certificate's signatureAlgorithm does not use any
   hash functions, then use SHA-256 [FIPS-180-2], otherwise use whatever
   hash algorithm is used by the certificate's signatureAlgorithm.

Nico
-- 



Received: from balder-227.proper.com (localhost [127.0.0.1]) by balder-227.proper.com (8.14.2/8.14.2) with ESMTP id n7J0EvCG028849 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Tue, 18 Aug 2009 17:14:57 -0700 (MST) (envelope-from owner-ietf-sasl@mail.imc.org)
Received: (from majordom@localhost) by balder-227.proper.com (8.14.2/8.13.5/Submit) id n7J0Ev78028848; Tue, 18 Aug 2009 17:14:57 -0700 (MST) (envelope-from owner-ietf-sasl@mail.imc.org)
X-Authentication-Warning: balder-227.proper.com: majordom set sender to owner-ietf-sasl@mail.imc.org using -f
Received: from yxa-v.extundo.com (yxa-v.extundo.com [83.241.177.39]) by balder-227.proper.com (8.14.2/8.14.2) with ESMTP id n7J0Es6h028842 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=FAIL) for <ietf-sasl@imc.org>; Tue, 18 Aug 2009 17:14:55 -0700 (MST) (envelope-from simon@josefsson.org)
Received: from mocca.josefsson.org (c80-216-31-183.bredband.comhem.se [80.216.31.183]) (authenticated bits=0) by yxa-v.extundo.com (8.14.3/8.14.3/Debian-5) with ESMTP id n7J0Ect1002404 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES128-SHA bits=128 verify=NOT); Wed, 19 Aug 2009 02:14:47 +0200
From: Simon Josefsson <simon@josefsson.org>
To: Nicolas Williams <Nicolas.Williams@sun.com>
Cc: ietf-sasl@imc.org, tls@ietf.org
Subject: Re: "Last call" on draft-altman-tls-channel-bindings-05.txt
References: <20090818213427.GU1043@Sun.COM> <87ljlgbv2a.fsf@mocca.josefsson.org> <20090818225934.GW1043@Sun.COM>
OpenPGP: id=B565716F; url=http://josefsson.org/key.txt
X-Hashcash: 1:22:090819:ietf-sasl@imc.org::XcO9khQ7yKWKB+bJ:1zR4
X-Hashcash: 1:22:090819:nicolas.williams@sun.com::xQBD+AnB68GkFtvc:5LOR
X-Hashcash: 1:22:090819:tls@ietf.org::9tI8e5seg85tFhXg:Bi0/
Date: Wed, 19 Aug 2009 02:14:38 +0200
In-Reply-To: <20090818225934.GW1043@Sun.COM> (Nicolas Williams's message of "Tue, 18 Aug 2009 17:59:34 -0500")
Message-ID: <87bpmcbqxd.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-Spam-Status: No, score=-1.0 required=5.0 tests=AWL,BAYES_00, DATE_IN_FUTURE_96_XX,RDNS_DYNAMIC,SPF_FAIL autolearn=no version=3.2.5
X-Spam-Checker-Version: SpamAssassin 3.2.5 (2008-06-10) on yxa-v.extundo.com
X-Virus-Scanned: clamav-milter 0.95.2 at yxa-v
X-Virus-Status: Clean
Sender: owner-ietf-sasl@mail.imc.org
Precedence: bulk
List-Archive: <http://www.imc.org/ietf-sasl/mail-archive/>
List-ID: <ietf-sasl.imc.org>
List-Unsubscribe: <mailto:ietf-sasl-request@imc.org?body=unsubscribe>

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

> On Wed, Aug 19, 2009 at 12:45:17AM +0200, Simon Josefsson wrote:
>> Quoting:
>> 
>>    Description: The hash of the TLS server's end entity certificate
>>    [RFC5280] as it appears, octet for octet, in the server's Certificate
>>    message (note that the Certificate message contains a
>>    certificate_list, the first element of which is the server's end
>>    entity certificate.)
>> 
>> I suggest replacing "server's end entity certificate" with "server's
>> certificate".  As far as I understand, it is possibly to use non-EE
>> certs, e.g. proxy certs, as a server certificate.  The RFC 5246
>> terminology is to say "sender's certificate" and there is no requirement
>> to use a EE cert.
>
> OK.  The thing to emphasize is that we're talking about the first cert
> in the certificate_list that would be sent by the server.
>
> (I say "would be" just to be mindful of the TLS client caching
> extensions, but I don't think the I-D has to say "would" since the
> certificate_list will always have been sent at one point or another.)
>
> So how about:
>
>    Description: The hash of the TLS server's certificate [RFC5280] as it
>    appears, octet for octet, in the server's Certificate message (note
>    that the Certificate message contains a certificate_list, the first
>    element of which is the server's certificate.)  The hash function ...

Looks fine to me.

>> Quoting:
>> 
>>    agility.  The algorithm to be used, however, is derived from the
>>    certificate itself: use SHA-256 if the certificate uses MD5 or SHA-1,
>>    else use whatever hash function the certificate uses.  This
>> 
>> Please say "is signed with" instead of "uses".  Hash values may be
>> present for other purposes in a certificate, but signature fields will
>> typically only use one hash function.
>
> The text you quote is security considerations text; the normative text
> already says exactly what you ask for.  But OK:
>
>         ...  The algorithm to be used, however, is derived from the
>    certificate's signature as described in Section 4.1; to recap: use
>    SHA-256 if the certificate signature algorithm uses MD5 or SHA-1,
>    else use whatever hash function the certificate uses.

There were two uses of "uses" in the sentence, and the second is still
present, but at least this is better than before.

> Now, section 4.1 says "if the certificate's signature hash algorithm is
> ...".  But perhaps it should say "if the hash algorithm used in the
> certificate's signatureAlgorithm is ...", just to be really accurate and
> avoid any possible confusion (with, say, the algorithm field of
> SubjectPublicKeyInfo).  Yes?

The more precise the better, although SubjectPublicKeyInfo generally do
not imply any particular hash function.  But for new implementers, it is
easy to go wrong if the text is not specific.

/Simon



Received: from balder-227.proper.com (localhost [127.0.0.1]) by balder-227.proper.com (8.14.2/8.14.2) with ESMTP id n7INI5TT025824 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Tue, 18 Aug 2009 16:18:05 -0700 (MST) (envelope-from owner-ietf-sasl@mail.imc.org)
Received: (from majordom@localhost) by balder-227.proper.com (8.14.2/8.13.5/Submit) id n7INI5RS025823; Tue, 18 Aug 2009 16:18:05 -0700 (MST) (envelope-from owner-ietf-sasl@mail.imc.org)
X-Authentication-Warning: balder-227.proper.com: majordom set sender to owner-ietf-sasl@mail.imc.org using -f
Received: from sca-ea-mail-4.sun.com (sca-ea-mail-4.Sun.COM [192.18.43.22]) by balder-227.proper.com (8.14.2/8.14.2) with ESMTP id n7INHqD9025813 for <ietf-sasl@imc.org>; Tue, 18 Aug 2009 16:18:01 -0700 (MST) (envelope-from Nicolas.Williams@sun.com)
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 n7INHp1x009249 for <ietf-sasl@imc.org>; Tue, 18 Aug 2009 23:17:51 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 n7INHpxw039394 for <ietf-sasl@imc.org>; Tue, 18 Aug 2009 17:17: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 n7IMxbUN003790; Tue, 18 Aug 2009 17:59:37 -0500 (CDT)
Received: (from nw141292@localhost) by binky.Central.Sun.COM (8.14.3+Sun/8.14.3/Submit) id n7IMxYwu003789; Tue, 18 Aug 2009 17:59:34 -0500 (CDT)
X-Authentication-Warning: binky.Central.Sun.COM: nw141292 set sender to Nicolas.Williams@sun.com using -f
Date: Tue, 18 Aug 2009 17:59:34 -0500
From: Nicolas Williams <Nicolas.Williams@sun.com>
To: Simon Josefsson <simon@josefsson.org>
Cc: ietf-sasl@imc.org, tls@ietf.org
Subject: Re: "Last call" on draft-altman-tls-channel-bindings-05.txt
Message-ID: <20090818225934.GW1043@Sun.COM>
References: <20090818213427.GU1043@Sun.COM> <87ljlgbv2a.fsf@mocca.josefsson.org>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
In-Reply-To: <87ljlgbv2a.fsf@mocca.josefsson.org>
User-Agent: Mutt/1.5.7i
Sender: owner-ietf-sasl@mail.imc.org
Precedence: bulk
List-Archive: <http://www.imc.org/ietf-sasl/mail-archive/>
List-ID: <ietf-sasl.imc.org>
List-Unsubscribe: <mailto:ietf-sasl-request@imc.org?body=unsubscribe>

On Wed, Aug 19, 2009 at 12:45:17AM +0200, Simon Josefsson wrote:
> Quoting:
> 
>    Description: The hash of the TLS server's end entity certificate
>    [RFC5280] as it appears, octet for octet, in the server's Certificate
>    message (note that the Certificate message contains a
>    certificate_list, the first element of which is the server's end
>    entity certificate.)
> 
> I suggest replacing "server's end entity certificate" with "server's
> certificate".  As far as I understand, it is possibly to use non-EE
> certs, e.g. proxy certs, as a server certificate.  The RFC 5246
> terminology is to say "sender's certificate" and there is no requirement
> to use a EE cert.

OK.  The thing to emphasize is that we're talking about the first cert
in the certificate_list that would be sent by the server.

(I say "would be" just to be mindful of the TLS client caching
extensions, but I don't think the I-D has to say "would" since the
certificate_list will always have been sent at one point or another.)

So how about:

   Description: The hash of the TLS server's certificate [RFC5280] as it
   appears, octet for octet, in the server's Certificate message (note
   that the Certificate message contains a certificate_list, the first
   element of which is the server's certificate.)  The hash function ...

> Quoting:
> 
>    agility.  The algorithm to be used, however, is derived from the
>    certificate itself: use SHA-256 if the certificate uses MD5 or SHA-1,
>    else use whatever hash function the certificate uses.  This
> 
> Please say "is signed with" instead of "uses".  Hash values may be
> present for other purposes in a certificate, but signature fields will
> typically only use one hash function.

The text you quote is security considerations text; the normative text
already says exactly what you ask for.  But OK:

        ...  The algorithm to be used, however, is derived from the
   certificate's signature as described in Section 4.1; to recap: use
   SHA-256 if the certificate signature algorithm uses MD5 or SHA-1,
   else use whatever hash function the certificate uses.

Now, section 4.1 says "if the certificate's signature hash algorithm is
...".  But perhaps it should say "if the hash algorithm used in the
certificate's signatureAlgorithm is ...", just to be really accurate and
avoid any possible confusion (with, say, the algorithm field of
SubjectPublicKeyInfo).  Yes?

> For completeness, I would add:
> 
>    This algorithm agility resolution mechanism assumes that there is a
>    mapping from every Public-key signature algorithm to one hash
>    function algorithm.  This is the case for all practically used public
>    key signature algorithms today, but if future public-key signature
>    algorithms would employ multiple hash functions (or none at all) this
>    specification needs to be updated to resolve which hash function
>    should be used.

Good point.

Thanks!

Nico
-- 



Received: from balder-227.proper.com (localhost [127.0.0.1]) by balder-227.proper.com (8.14.2/8.14.2) with ESMTP id n7IMjsmQ023777 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Tue, 18 Aug 2009 15:45:54 -0700 (MST) (envelope-from owner-ietf-sasl@mail.imc.org)
Received: (from majordom@localhost) by balder-227.proper.com (8.14.2/8.13.5/Submit) id n7IMjsgl023776; Tue, 18 Aug 2009 15:45:54 -0700 (MST) (envelope-from owner-ietf-sasl@mail.imc.org)
X-Authentication-Warning: balder-227.proper.com: majordom set sender to owner-ietf-sasl@mail.imc.org using -f
Received: from yxa-v.extundo.com (yxa-v.extundo.com [83.241.177.39]) by balder-227.proper.com (8.14.2/8.14.2) with ESMTP id n7IMjju3023744 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=FAIL) for <ietf-sasl@imc.org>; Tue, 18 Aug 2009 15:45:53 -0700 (MST) (envelope-from simon@josefsson.org)
Received: from mocca.josefsson.org (c80-216-31-183.bredband.comhem.se [80.216.31.183]) (authenticated bits=0) by yxa-v.extundo.com (8.14.3/8.14.3/Debian-5) with ESMTP id n7IMjHA8001016 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES128-SHA bits=128 verify=NOT); Wed, 19 Aug 2009 00:45:19 +0200
From: Simon Josefsson <simon@josefsson.org>
To: Nicolas Williams <Nicolas.Williams@sun.com>
Cc: ietf-sasl@imc.org, tls@ietf.org
Subject: Re: "Last call" on draft-altman-tls-channel-bindings-05.txt
References: <20090818213427.GU1043@Sun.COM>
OpenPGP: id=B565716F; url=http://josefsson.org/key.txt
X-Hashcash: 1:22:090818:ietf-sasl@imc.org::phGjYQ2dCe/ST4ZG:27Ek
X-Hashcash: 1:22:090818:nicolas.williams@sun.com::Sp9lVljf2yG9TozZ:1dgY
X-Hashcash: 1:22:090818:tls@ietf.org::HHy/gYRdIGhZPWU0:AZ1D
Date: Wed, 19 Aug 2009 00:45:17 +0200
In-Reply-To: <20090818213427.GU1043@Sun.COM> (Nicolas Williams's message of "Tue, 18 Aug 2009 16:34:28 -0500")
Message-ID: <87ljlgbv2a.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-Spam-Status: No, score=-1.0 required=5.0 tests=AWL,BAYES_00, DATE_IN_FUTURE_96_XX,RDNS_DYNAMIC,SPF_FAIL autolearn=no version=3.2.5
X-Spam-Checker-Version: SpamAssassin 3.2.5 (2008-06-10) on yxa-v.extundo.com
X-Virus-Scanned: clamav-milter 0.95.2 at yxa-v
X-Virus-Status: Clean
Sender: owner-ietf-sasl@mail.imc.org
Precedence: bulk
List-Archive: <http://www.imc.org/ietf-sasl/mail-archive/>
List-ID: <ietf-sasl.imc.org>
List-Unsubscribe: <mailto:ietf-sasl-request@imc.org?body=unsubscribe>

Quoting:

   Description: The hash of the TLS server's end entity certificate
   [RFC5280] as it appears, octet for octet, in the server's Certificate
   message (note that the Certificate message contains a
   certificate_list, the first element of which is the server's end
   entity certificate.)

I suggest replacing "server's end entity certificate" with "server's
certificate".  As far as I understand, it is possibly to use non-EE
certs, e.g. proxy certs, as a server certificate.  The RFC 5246
terminology is to say "sender's certificate" and there is no requirement
to use a EE cert.

Quoting:

   agility.  The algorithm to be used, however, is derived from the
   certificate itself: use SHA-256 if the certificate uses MD5 or SHA-1,
   else use whatever hash function the certificate uses.  This

Please say "is signed with" instead of "uses".  Hash values may be
present for other purposes in a certificate, but signature fields will
typically only use one hash function.

For completeness, I would add:

   This algorithm agility resolution mechanism assumes that there is a
   mapping from every Public-key signature algorithm to one hash
   function algorithm.  This is the case for all practically used public
   key signature algorithms today, but if future public-key signature
   algorithms would employ multiple hash functions (or none at all) this
   specification needs to be updated to resolve which hash function
   should be used.

Nits:

   note (that is, the first such note in the descritption is a new
                                                   ^
/Simon



Received: from balder-227.proper.com (localhost [127.0.0.1]) by balder-227.proper.com (8.14.2/8.14.2) with ESMTP id n7ILqpMd020436 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Tue, 18 Aug 2009 14:52:51 -0700 (MST) (envelope-from owner-ietf-sasl@mail.imc.org)
Received: (from majordom@localhost) by balder-227.proper.com (8.14.2/8.13.5/Submit) id n7ILqpe3020435; Tue, 18 Aug 2009 14:52:51 -0700 (MST) (envelope-from owner-ietf-sasl@mail.imc.org)
X-Authentication-Warning: balder-227.proper.com: majordom set sender to owner-ietf-sasl@mail.imc.org using -f
Received: from brmea-mail-1.sun.com (brmea-mail-1.Sun.COM [192.18.98.31]) by balder-227.proper.com (8.14.2/8.14.2) with ESMTP id n7ILqik2020422 for <ietf-sasl@imc.org>; Tue, 18 Aug 2009 14:52:51 -0700 (MST) (envelope-from Nicolas.Williams@sun.com)
Received: from dm-central-01.central.sun.com ([129.147.62.4]) by brmea-mail-1.sun.com (8.13.6+Sun/8.12.9) with ESMTP id n7ILqhR2020925 for <ietf-sasl@imc.org>; Tue, 18 Aug 2009 21:52:44 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 n7ILqhjn055505 for <ietf-sasl@imc.org>; Tue, 18 Aug 2009 15:52: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 n7ILYUbQ003684; Tue, 18 Aug 2009 16:34:30 -0500 (CDT)
Received: (from nw141292@localhost) by binky.Central.Sun.COM (8.14.3+Sun/8.14.3/Submit) id n7ILYSfi003683; Tue, 18 Aug 2009 16:34:28 -0500 (CDT)
X-Authentication-Warning: binky.Central.Sun.COM: nw141292 set sender to Nicolas.Williams@sun.com using -f
Date: Tue, 18 Aug 2009 16:34:28 -0500
From: Nicolas Williams <Nicolas.Williams@sun.com>
To: ietf-sasl@imc.org, tls@ietf.org
Subject: "Last call" on draft-altman-tls-channel-bindings-05.txt
Message-ID: <20090818213427.GU1043@Sun.COM>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
User-Agent: Mutt/1.5.7i
Sender: owner-ietf-sasl@mail.imc.org
Precedence: bulk
List-Archive: <http://www.imc.org/ietf-sasl/mail-archive/>
List-ID: <ietf-sasl.imc.org>
List-Unsubscribe: <mailto:ietf-sasl-request@imc.org?body=unsubscribe>

Per RFC5056, three channel binding types for TLS have been registered in
the IANA channel binding type registry.  Recently we've decided that we
actually need a Standards-Track RFC to define these channel binding
types so as to make it easier to make normative reference to them.

Therefore we've revived and updated draft-altman-tls-channel-bindings to
include the text of those three channel binding type registrations, as
well as to update introductory and security considerations text.

We seek comments on draft-altman-tls-channel-bindings-05.  In two weeks
we'll request that an AD shepherd this individual submission.  We seek
Proposed Standard status for the resulting RFC.

Consider this a pseudo-WGLC.  Please review and comment.

Thanks,

Nico
-- 



Received: from balder-227.proper.com (localhost [127.0.0.1]) by balder-227.proper.com (8.14.2/8.14.2) with ESMTP id n7HEHShF001938 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Mon, 17 Aug 2009 07:17:28 -0700 (MST) (envelope-from owner-ietf-sasl@mail.imc.org)
Received: (from majordom@localhost) by balder-227.proper.com (8.14.2/8.13.5/Submit) id n7HEHS98001937; Mon, 17 Aug 2009 07:17:28 -0700 (MST) (envelope-from owner-ietf-sasl@mail.imc.org)
X-Authentication-Warning: balder-227.proper.com: majordom set sender to owner-ietf-sasl@mail.imc.org using -f
Received: from mgw-mx03.nokia.com (smtp.nokia.com [192.100.122.230]) by balder-227.proper.com (8.14.2/8.14.2) with ESMTP id n7HEHEpU001912 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=FAIL) for <ietf-sasl@imc.org>; Mon, 17 Aug 2009 07:17:25 -0700 (MST) (envelope-from Pasi.Eronen@nokia.com)
Received: from esebh105.NOE.Nokia.com (esebh105.ntc.nokia.com [172.21.138.211]) by mgw-mx03.nokia.com (Switch-3.3.3/Switch-3.3.3) with ESMTP id n7HBOAPR032448; Mon, 17 Aug 2009 14:24:18 +0300
Received: from esebh102.NOE.Nokia.com ([172.21.138.183]) by esebh105.NOE.Nokia.com with Microsoft SMTPSVC(6.0.3790.3959); Mon, 17 Aug 2009 14:24:14 +0300
Received: from smtp.mgd.nokia.com ([65.54.30.5]) by esebh102.NOE.Nokia.com over TLS secured channel with Microsoft SMTPSVC(6.0.3790.3959); Mon, 17 Aug 2009 14:24:13 +0300
Received: from NOK-EUMSG-01.mgdnok.nokia.com ([65.54.30.86]) by nok-am1mhub-01.mgdnok.nokia.com ([65.54.30.5]) with mapi; Mon, 17 Aug 2009 13:24:12 +0200
From: <Pasi.Eronen@nokia.com>
To: <Kurt@OpenLDAP.org>, <jhutz@cmu.edu>
CC: <simon@josefsson.org>, <rfc-editor@rfc-editor.org>, <tim.polk@nist.gov>, <tlyu@mit.edu>, <alexey.melnikov@isode.com>, <ietf-sasl@imc.org>
Date: Mon, 17 Aug 2009 13:24:11 +0200
Subject: RE: [Editorial Errata Reported] RFC4013 (1812)
Thread-Topic: [Editorial Errata Reported] RFC4013 (1812)
Thread-Index: AcoLNYPxIHHYWOv2TjCf7rf5U7F7aAT9zWyA
Message-ID: <808FD6E27AD4884E94820BC333B2DB773A72E2883E@NOK-EUMSG-01.mgdnok.nokia.com>
References: <200907182012.n6IKCnhM012626@boreas.isi.edu> <8763dka8b1.fsf@mocca.josefsson.org> <4273FB5691FFB40568367C4E@atlantis.pc.cs.cmu.edu> <E1013707-4A2F-4425-8DBD-4D74BAACEE58@OpenLDAP.org>
In-Reply-To: <E1013707-4A2F-4425-8DBD-4D74BAACEE58@OpenLDAP.org>
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: 17 Aug 2009 11:24:13.0406 (UTC) FILETIME=[3F92DFE0:01CA1F2D]
X-Nokia-AV: Clean
Sender: owner-ietf-sasl@mail.imc.org
Precedence: bulk
List-Archive: <http://www.imc.org/ietf-sasl/mail-archive/>
List-ID: <ietf-sasl.imc.org>
List-Unsubscribe: <mailto:ietf-sasl-request@imc.org?body=unsubscribe>

Hmm.. it looks like there are Unicode characters that are in the
"prohibited output" list, but will get changed to another, allowed
characters during the "Map" or "Normalize" steps.=20

Since "Prohibit" step is done after Map and Normalize, these
characters can actually appear in the input, right? (and this would=20
not be an error)

(For example, it looks like U+0340 is prohibited by Table C.8, but
will get normalized to U+0300, which is allowed.)

So actually should the errata be something like this?

  OLD:
     This profile specifies the following characters as prohibited input:  =
  =20
  NEW:
     This profile specifies the following characters as prohibited output:

 Discussion: Per RFC 3454, the check for prohibited characters
 is done after the "Map" and "Normalize" steps. Characters listed
 here are actually allowed as inputs if they get removed by the=20
 "Map" or "Normalize" steps.

Best regards,
Pasi

> -----Original Message-----
> From: ext Kurt Zeilenga [mailto:Kurt@OpenLDAP.org]
> Sent: 23 July, 2009 04:32
> To: Jeffrey Hutzelman
> Cc: Simon Josefsson; RFC Errata System; tim.polk@nist.gov; Eronen Pasi
> (Nokia-NRC/Helsinki); tlyu@mit.edu; alexey.melnikov@isode.com; ietf-
> sasl@imc.org
> Subject: Re: [Editorial Errata Reported] RFC4013 (1812)
>=20
>=20
> On Jul 22, 2009, at 1:44 PM, Jeffrey Hutzelman wrote:
>=20
> > There is, however, an error -- the first sentence of this section
> > does in fact claim to be specifying prohibited input characters.
> > The correct fix is to that text, not to the section title.
>=20
>=20
> I support the following errata:
>=20
> OLD:
> 	prohibited input:
>=20
> NEW
> 	prohibited:
>=20
>=20
> Discussion:
> Per RFC 3454, if a prohibited character appears in the input, an error
> must result.  That is, the prohibited characters cannot appear in the
> output.



Received: from balder-227.proper.com (localhost [127.0.0.1]) by balder-227.proper.com (8.14.2/8.14.2) with ESMTP id n7HEGKV6001773 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Mon, 17 Aug 2009 07:16:20 -0700 (MST) (envelope-from owner-ietf-sasl@mail.imc.org)
Received: (from majordom@localhost) by balder-227.proper.com (8.14.2/8.13.5/Submit) id n7HEGKIC001772; Mon, 17 Aug 2009 07:16:20 -0700 (MST) (envelope-from owner-ietf-sasl@mail.imc.org)
X-Authentication-Warning: balder-227.proper.com: majordom set sender to owner-ietf-sasl@mail.imc.org using -f
Received: from yxa-v.extundo.com (yxa-v.extundo.com [83.241.177.39]) by balder-227.proper.com (8.14.2/8.14.2) with ESMTP id n7HEG4V7001733 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=FAIL) for <ietf-sasl@imc.org>; Mon, 17 Aug 2009 07:16:15 -0700 (MST) (envelope-from simon@josefsson.org)
Received: from mocca.josefsson.org (c80-216-31-183.bredband.comhem.se [80.216.31.183]) (authenticated bits=0) by yxa-v.extundo.com (8.14.3/8.14.3/Debian-5) with ESMTP id n7HCojw1021951 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES128-SHA bits=128 verify=NOT); Mon, 17 Aug 2009 14:50:48 +0200
From: Simon Josefsson <simon@josefsson.org>
To: <Pasi.Eronen@nokia.com>
Cc: <Kurt@OpenLDAP.org>, <jhutz@cmu.edu>, <rfc-editor@rfc-editor.org>, <tim.polk@nist.gov>, <tlyu@mit.edu>, <alexey.melnikov@isode.com>, <ietf-sasl@imc.org>
Subject: Re: [Editorial Errata Reported] RFC4013 (1812)
References: <200907182012.n6IKCnhM012626@boreas.isi.edu> <8763dka8b1.fsf@mocca.josefsson.org> <4273FB5691FFB40568367C4E@atlantis.pc.cs.cmu.edu> <E1013707-4A2F-4425-8DBD-4D74BAACEE58@OpenLDAP.org> <808FD6E27AD4884E94820BC333B2DB773A72E2883E@NOK-EUMSG-01.mgdnok.nokia.com>
OpenPGP: id=B565716F; url=http://josefsson.org/key.txt
X-Hashcash: 1:22:090817:alexey.melnikov@isode.com::QUR2ujEjhRMxq4hw:Dd0
X-Hashcash: 1:22:090817:ietf-sasl@imc.org::0KDVMz+1hNIY3rJD:3T4O
X-Hashcash: 1:22:090817:tlyu@mit.edu::AxNNR3r3N9B02bIG:Buq/
X-Hashcash: 1:22:090817:rfc-editor@rfc-editor.org::xDvmvveunHAOh6C8:6h03
X-Hashcash: 1:22:090817:kurt@openldap.org::vP2Wfi462nR6YEEP:EjJ3
X-Hashcash: 1:22:090817:tim.polk@nist.gov::iJmMGbeqjiU8PHeW:FkTr
X-Hashcash: 1:22:090817:jhutz@cmu.edu::L+R/9p3V89mLIwdu:NBaa
X-Hashcash: 1:22:090817:pasi.eronen@nokia.com::OIYkot2tJDZfzrVz:OWJn
Date: Mon, 17 Aug 2009 14:50:45 +0200
In-Reply-To: <808FD6E27AD4884E94820BC333B2DB773A72E2883E@NOK-EUMSG-01.mgdnok.nokia.com> (Pasi Eronen's message of "Mon, 17 Aug 2009 13:24:11 +0200")
Message-ID: <874os6li3e.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-Spam-Status: No, score=-1.0 required=5.0 tests=AWL,BAYES_00, DATE_IN_FUTURE_96_XX,RDNS_DYNAMIC,SPF_FAIL autolearn=no version=3.2.5
X-Spam-Checker-Version: SpamAssassin 3.2.5 (2008-06-10) on yxa-v.extundo.com
X-Virus-Scanned: clamav-milter 0.95.2 at yxa-v
X-Virus-Status: Clean
Sender: owner-ietf-sasl@mail.imc.org
Precedence: bulk
List-Archive: <http://www.imc.org/ietf-sasl/mail-archive/>
List-ID: <ietf-sasl.imc.org>
List-Unsubscribe: <mailto:ietf-sasl-request@imc.org?body=unsubscribe>

I think your fix is better.  RFC 3454 talks about prohibiting code
points in the output.  It doesn't say anything about prohibiting code
points in inputs, since the algorithm doesn't work like that.  I don't
think the intention of RFC 4013 was to change the ordering of RFC 3454
algorithm steps, so treating it as a typo in RFC 4013 appears
appropriate to me.

/Simon

<Pasi.Eronen@nokia.com> writes:

> Hmm.. it looks like there are Unicode characters that are in the
> "prohibited output" list, but will get changed to another, allowed
> characters during the "Map" or "Normalize" steps. 
>
> Since "Prohibit" step is done after Map and Normalize, these
> characters can actually appear in the input, right? (and this would 
> not be an error)
>
> (For example, it looks like U+0340 is prohibited by Table C.8, but
> will get normalized to U+0300, which is allowed.)
>
> So actually should the errata be something like this?
>
>   OLD:
>      This profile specifies the following characters as prohibited input:     
>   NEW:
>      This profile specifies the following characters as prohibited output:
>
>  Discussion: Per RFC 3454, the check for prohibited characters
>  is done after the "Map" and "Normalize" steps. Characters listed
>  here are actually allowed as inputs if they get removed by the 
>  "Map" or "Normalize" steps.
>
> Best regards,
> Pasi
>
>> -----Original Message-----
>> From: ext Kurt Zeilenga [mailto:Kurt@OpenLDAP.org]
>> Sent: 23 July, 2009 04:32
>> To: Jeffrey Hutzelman
>> Cc: Simon Josefsson; RFC Errata System; tim.polk@nist.gov; Eronen Pasi
>> (Nokia-NRC/Helsinki); tlyu@mit.edu; alexey.melnikov@isode.com; ietf-
>> sasl@imc.org
>> Subject: Re: [Editorial Errata Reported] RFC4013 (1812)
>> 
>> 
>> On Jul 22, 2009, at 1:44 PM, Jeffrey Hutzelman wrote:
>> 
>> > There is, however, an error -- the first sentence of this section
>> > does in fact claim to be specifying prohibited input characters.
>> > The correct fix is to that text, not to the section title.
>> 
>> 
>> I support the following errata:
>> 
>> OLD:
>> 	prohibited input:
>> 
>> NEW
>> 	prohibited:
>> 
>> 
>> Discussion:
>> Per RFC 3454, if a prohibited character appears in the input, an error
>> must result.  That is, the prohibited characters cannot appear in the
>> output.



Received: from balder-227.proper.com (localhost [127.0.0.1]) by balder-227.proper.com (8.14.2/8.14.2) with ESMTP id n7CE8TbB007799 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Wed, 12 Aug 2009 07:08:29 -0700 (MST) (envelope-from owner-ietf-sasl@mail.imc.org)
Received: (from majordom@localhost) by balder-227.proper.com (8.14.2/8.13.5/Submit) id n7CE8TD2007798; Wed, 12 Aug 2009 07:08:29 -0700 (MST) (envelope-from owner-ietf-sasl@mail.imc.org)
X-Authentication-Warning: balder-227.proper.com: majordom set sender to owner-ietf-sasl@mail.imc.org using -f
Received: from rufus.isode.com (rufus.isode.com [62.3.217.251]) by balder-227.proper.com (8.14.2/8.14.2) with ESMTP id n7CE8Ju3007775 for <ietf-sasl@imc.org>; Wed, 12 Aug 2009 07:08:28 -0700 (MST) (envelope-from alexey.melnikov@isode.com)
Received: from [192.168.1.124] ((unknown) [62.3.217.253])  by rufus.isode.com (submission channel) via TCP with ESMTPA  id <SoLMzwB9YT29@rufus.isode.com>; Wed, 12 Aug 2009 15:08:17 +0100
X-SMTP-Protocol-Errors: NORDNS
Message-ID: <4A82CCCB.2070406@isode.com>
Date: Wed, 12 Aug 2009 15:08:11 +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: Dave Cridland <dave@cridland.net>
CC: Peter Saint-Andre <stpeter@stpeter.im>, ietf-sasl@imc.org
Subject: Re: WG Last Call: draft-ietf-sasl-scram-02
References: <ldvbpnouhy3.fsf@cathode-dark-space.mit.edu> <4A807C89.7@stpeter.im> <8048.1249935609.418434@puncture>
In-Reply-To: <8048.1249935609.418434@puncture>
MIME-Version: 1.0
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
Sender: owner-ietf-sasl@mail.imc.org
Precedence: bulk
List-Archive: <http://www.imc.org/ietf-sasl/mail-archive/>
List-ID: <ietf-sasl.imc.org>
List-Unsubscribe: <mailto:ietf-sasl-request@imc.org?body=unsubscribe>

Dave Cridland wrote:

> On Mon Aug 10 21:01:13 2009, Peter Saint-Andre wrote:
>
>> Instead of requiring the application of SASLprep, I would prefer  
>> wording
>> such as this:
>>
>>    Before sending the username to the server, the client MUST
>>    ensure that the username is formatted such that the "SASLPrep"
>>    profile [RFC4013] of the "stringprep" algorithm [RFC3454] can be
>>    applied to it without failing.
>
> Although initially, my thought was this wasn't needed, I wondered  
> about the consequences.
>
> It seems to me that, unless we assume that both client and server  
> will always have precisely the same concept of "SASLprep", then one  
> would assume the server would always have to apply SASLprep anyway.
>
> SASLprep is, also bound to change - either gradual changes in Unicode  
> will cause problems sufficient to case a rewrite, or we'll change  
> SASLprep itself to be a property-based, instead of table-based,  
> mechanism, and the gradual changes will filter through to  
> implementations.
>
> I'm inclined, therefore, to suggest that not only is this text  
> reasonable, but the "MUST" can probably be reduced to a SHOULD.

I can live with the SHOULD.
 



Received: from balder-227.proper.com (localhost [127.0.0.1]) by balder-227.proper.com (8.14.2/8.14.2) with ESMTP id n7AKKF6T030609 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Mon, 10 Aug 2009 13:20:15 -0700 (MST) (envelope-from owner-ietf-sasl@mail.imc.org)
Received: (from majordom@localhost) by balder-227.proper.com (8.14.2/8.13.5/Submit) id n7AKKFp1030608; Mon, 10 Aug 2009 13:20:15 -0700 (MST) (envelope-from owner-ietf-sasl@mail.imc.org)
X-Authentication-Warning: balder-227.proper.com: majordom set sender to owner-ietf-sasl@mail.imc.org using -f
Received: from peirce.dave.cridland.net (peirce.dave.cridland.net [217.155.137.61]) by balder-227.proper.com (8.14.2/8.14.2) with ESMTP id n7AKKDMp030600 for <ietf-sasl@imc.org>; Mon, 10 Aug 2009 13:20:14 -0700 (MST) (envelope-from dave@cridland.net)
Received: from puncture ((unknown) [217.155.137.60]) by peirce.dave.cridland.net (submission) via TCP with ESMTPA id <SoCA-QAqP7wt@peirce.dave.cridland.net>; Mon, 10 Aug 2009 21:20:10 +0100
X-SMTP-Protocol-Errors: NORDNS
Subject: Re: WG Last Call: draft-ietf-sasl-scram-02
References: <ldvbpnouhy3.fsf@cathode-dark-space.mit.edu> <4A807C89.7@stpeter.im>
In-Reply-To: <4A807C89.7@stpeter.im>
MIME-Version: 1.0
Message-Id: <8048.1249935609.418434@puncture>
Date: Mon, 10 Aug 2009 21:20:09 +0100
From: Dave Cridland <dave@cridland.net>
To: Peter Saint-Andre <stpeter@stpeter.im>, <ietf-sasl@imc.org>, Tom Yu <tlyu@MIT.EDU>
Content-Type: text/plain; delsp="yes"; charset="us-ascii"; format="flowed"
Sender: owner-ietf-sasl@mail.imc.org
Precedence: bulk
List-Archive: <http://www.imc.org/ietf-sasl/mail-archive/>
List-ID: <ietf-sasl.imc.org>
List-Unsubscribe: <mailto:ietf-sasl-request@imc.org?body=unsubscribe>

On Mon Aug 10 21:01:13 2009, Peter Saint-Andre wrote:
> Instead of requiring the application of SASLprep, I would prefer  
> wording
> such as this:
> 
>    Before sending the username to the server, the client MUST
>    ensure that the username is formatted such that the "SASLPrep"
>    profile [RFC4013] of the "stringprep" algorithm [RFC3454] can be
>    applied to it without failing.
> 
> 
Although initially, my thought was this wasn't needed, I wondered  
about the consequences.

It seems to me that, unless we assume that both client and server  
will always have precisely the same concept of "SASLprep", then one  
would assume the server would always have to apply SASLprep anyway.

SASLprep is, also bound to change - either gradual changes in Unicode  
will cause problems sufficient to case a rewrite, or we'll change  
SASLprep itself to be a property-based, instead of table-based,  
mechanism, and the gradual changes will filter through to  
implementations.

I'm inclined, therefore, to suggest that not only is this text  
reasonable, but the "MUST" can probably be reduced to a SHOULD.

Dave.
-- 
Dave Cridland - mailto:dave@cridland.net - xmpp:dwd@dave.cridland.net
  - acap://acap.dave.cridland.net/byowner/user/dwd/bookmarks/
  - http://dave.cridland.net/
Infotrope Polymer - ACAP, IMAP, ESMTP, and Lemonade



Received: from balder-227.proper.com (localhost [127.0.0.1]) by balder-227.proper.com (8.14.2/8.14.2) with ESMTP id n7AK1QBH029289 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Mon, 10 Aug 2009 13:01:26 -0700 (MST) (envelope-from owner-ietf-sasl@mail.imc.org)
Received: (from majordom@localhost) by balder-227.proper.com (8.14.2/8.13.5/Submit) id n7AK1QkN029288; Mon, 10 Aug 2009 13:01:26 -0700 (MST) (envelope-from owner-ietf-sasl@mail.imc.org)
X-Authentication-Warning: balder-227.proper.com: majordom set sender to owner-ietf-sasl@mail.imc.org using -f
Received: from stpeter.im (stpeter.im [207.210.219.233]) by balder-227.proper.com (8.14.2/8.14.2) with ESMTP id n7AK1H85029268 for <ietf-sasl@imc.org>; Mon, 10 Aug 2009 13:01:25 -0700 (MST) (envelope-from stpeter@stpeter.im)
Received: from dhcp-64-101-72-211.cisco.com (dhcp-64-101-72-211.cisco.com [64.101.72.211]) (Authenticated sender: stpeter) by stpeter.im (Postfix) with ESMTPSA id 1286F4007B; Mon, 10 Aug 2009 14:01:14 -0600 (MDT)
Message-ID: <4A807C89.7@stpeter.im>
Date: Mon, 10 Aug 2009 14:01:13 -0600
From: Peter Saint-Andre <stpeter@stpeter.im>
User-Agent: Thunderbird 2.0.0.22 (Macintosh/20090605)
MIME-Version: 1.0
To: Tom Yu <tlyu@MIT.EDU>
CC: ietf-sasl@imc.org
Subject: Re: WG Last Call: draft-ietf-sasl-scram-02
References: <ldvbpnouhy3.fsf@cathode-dark-space.mit.edu>
In-Reply-To: <ldvbpnouhy3.fsf@cathode-dark-space.mit.edu>
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
Sender: owner-ietf-sasl@mail.imc.org
Precedence: bulk
List-Archive: <http://www.imc.org/ietf-sasl/mail-archive/>
List-ID: <ietf-sasl.imc.org>
List-Unsubscribe: <mailto:ietf-sasl-request@imc.org?body=unsubscribe>

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

On 7/13/09 8:17 PM, Tom Yu wrote:
> This message commences a WG Last Call on the following Internet-Draft:
> 
> 	Title           : Salted Challenge Response (SCRAM) SASL Mechanism

Although the WGLC is officially over, I have a question about the use of
SASLprep.

The SCRAM I-D (draft-ietf-sasl-scram-04) says the following:

   Before sending the username to the server, the client MUST
   prepare the username using the "SASLPrep" profile [RFC4013]
   of the "stringprep" algorithm [RFC3454].

In XMPP, we have traditionally used a different stringprep profile
("nodeprep") to prepare usernames. As far as I can see, nodeprep is more
strict than SASLprep. Therefore, any username which is prepared
according to nodeprep would be safe according to SASLprep.

Instead of requiring the application of SASLprep, I would prefer wording
such as this:

   Before sending the username to the server, the client MUST
   ensure that the username is formatted such that the "SASLPrep"
   profile [RFC4013] of the "stringprep" algorithm [RFC3454] can be
   applied to it without failing.

(We have similar wording in RFC 3920 and in rfc3920bis.)

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/

iEYEARECAAYFAkqAfIkACgkQNL8k5A2w/vwYrwCZATJzn3RcK+Cjs996FnIIr7El
3pwAnR95RzWJWcp6TDv91Er44bNOVa5m
=9AOc
-----END PGP SIGNATURE-----



Received: from balder-227.proper.com (localhost [127.0.0.1]) by balder-227.proper.com (8.14.2/8.14.2) with ESMTP id n74FU8YM092124 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Tue, 4 Aug 2009 08:30:08 -0700 (MST) (envelope-from owner-ietf-sasl@mail.imc.org)
Received: (from majordom@localhost) by balder-227.proper.com (8.14.2/8.13.5/Submit) id n74FU8bJ092123; Tue, 4 Aug 2009 08:30:08 -0700 (MST) (envelope-from owner-ietf-sasl@mail.imc.org)
X-Authentication-Warning: balder-227.proper.com: majordom set sender to owner-ietf-sasl@mail.imc.org using -f
Received: from mail.ietf.org (mail.ietf.org [64.170.98.32]) by balder-227.proper.com (8.14.2/8.14.2) with ESMTP id n74FU8kW092116 for <ietf-sasl@imc.org>; Tue, 4 Aug 2009 08:30:08 -0700 (MST) (envelope-from root@core3.amsl.com)
Received: by core3.amsl.com (Postfix, from userid 0) id 294E828C41C; Tue,  4 Aug 2009 08:30:01 -0700 (PDT)
From: Internet-Drafts@ietf.org
To: i-d-announce@ietf.org
Cc: ietf-sasl@imc.org
Subject: I-D Action:draft-ietf-sasl-gs2-16.txt 
Content-Type: Multipart/Mixed; Boundary="NextPart"
Mime-Version: 1.0
Message-Id: <20090804153002.294E828C41C@core3.amsl.com>
Date: Tue,  4 Aug 2009 08:30:02 -0700 (PDT)
Sender: owner-ietf-sasl@mail.imc.org
Precedence: bulk
List-Archive: <http://www.imc.org/ietf-sasl/mail-archive/>
List-ID: <ietf-sasl.imc.org>
List-Unsubscribe: <mailto:ietf-sasl-request@imc.org?body=unsubscribe>

--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           : Using GSS-API Mechanisms in SASL: The GS2 Mechanism Family
	Author(s)       : S. Josefsson, N. Williams
	Filename        : draft-ietf-sasl-gs2-16.txt
	Pages           : 24
	Date            : 2009-08-04

This document describes how to use a Generic Security Service
Application Program Interface (GSS-API) mechanism in the the Simple
Authentication and Security Layer (SASL) framework.  This is done by
defining a new SASL mechanism family, called GS2.  This mechanism
family offers a number of improvements over the previous "SASL/
GSSAPI" mechanism: it is more general, uses fewer messages for the
authentication phase in some cases, and supports negotiable use of
channel binding.  Only GSS-API mechanisms that support channel
binding are supported.

See <http://josefsson.org/sasl-gs2-*/> for more information.

A URL for this Internet-Draft is:
http://www.ietf.org/internet-drafts/draft-ietf-sasl-gs2-16.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-gs2-16.txt";
	site="ftp.ietf.org";
	access-type="anon-ftp";
	directory="internet-drafts"

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

--NextPart--



Received: from balder-227.proper.com (localhost [127.0.0.1]) by balder-227.proper.com (8.14.2/8.14.2) with ESMTP id n7389J44056591 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Mon, 3 Aug 2009 01:09:19 -0700 (MST) (envelope-from owner-ietf-sasl@mail.imc.org)
Received: (from majordom@localhost) by balder-227.proper.com (8.14.2/8.13.5/Submit) id n7389JRt056590; Mon, 3 Aug 2009 01:09:19 -0700 (MST) (envelope-from owner-ietf-sasl@mail.imc.org)
X-Authentication-Warning: balder-227.proper.com: majordom set sender to owner-ietf-sasl@mail.imc.org using -f
Received: from yxa-v.extundo.com (yxa-v.extundo.com [83.241.177.39]) by balder-227.proper.com (8.14.2/8.14.2) with ESMTP id n7389BA1056565 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=FAIL) for <ietf-sasl@imc.org>; Mon, 3 Aug 2009 01:09:18 -0700 (MST) (envelope-from simon@josefsson.org)
Received: from mocca.josefsson.org (c80-216-31-183.bredband.comhem.se [80.216.31.183]) (authenticated bits=0) by yxa-v.extundo.com (8.14.3/8.14.3/Debian-5) with ESMTP id n73897aW008267 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES128-SHA bits=128 verify=NOT); Mon, 3 Aug 2009 10:09:09 +0200
From: Simon Josefsson <simon@josefsson.org>
To: Peter Saint-Andre <stpeter@stpeter.im>
Cc: Alexey Melnikov <alexey.melnikov@isode.com>, ietf-sasl@imc.org
Subject: Re: WG Last Call: draft-ietf-sasl-scram-02
References: <ldvbpnouhy3.fsf@cathode-dark-space.mit.edu> <4A703964.3090203@stpeter.im> <4A71D97F.10202@stpeter.im> <4A71DEA0.7020700@isode.com> <877hxqow3d.fsf@mocca.josefsson.org> <4A737AE8.7010108@stpeter.im>
OpenPGP: id=B565716F; url=http://josefsson.org/key.txt
X-Hashcash: 1:22:090803:stpeter@stpeter.im::L+9Cnl5J8u9dPdNA:HfsI
X-Hashcash: 1:22:090803:ietf-sasl@imc.org::6hqONuEvHgQDSskp:KzSw
X-Hashcash: 1:22:090803:alexey.melnikov@isode.com::SR+1xVA9HZmrMgS0:J3hj
Date: Mon, 03 Aug 2009 10:09:07 +0200
In-Reply-To: <4A737AE8.7010108@stpeter.im> (Peter Saint-Andre's message of "Fri, 31 Jul 2009 19:14:48 -0400")
Message-ID: <87prbdiajg.fsf@mocca.josefsson.org>
User-Agent: Gnus/5.110011 (No Gnus v0.11) Emacs/23.0.96 (gnu/linux)
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
X-Spam-Status: No, score=-0.8 required=5.0 tests=AWL,BAYES_00, DATE_IN_FUTURE_96_XX,RDNS_DYNAMIC,SPF_FAIL autolearn=no version=3.2.5
X-Spam-Checker-Version: SpamAssassin 3.2.5 (2008-06-10) on yxa-v.extundo.com
X-Virus-Scanned: clamav-milter 0.95.2 at yxa-v
X-Virus-Status: Clean
Sender: owner-ietf-sasl@mail.imc.org
Precedence: bulk
List-Archive: <http://www.imc.org/ietf-sasl/mail-archive/>
List-ID: <ietf-sasl.imc.org>
List-Unsubscribe: <mailto:ietf-sasl-request@imc.org?body=unsubscribe>

Peter Saint-Andre <stpeter@stpeter.im> writes:

> On 7/30/09 2:37 PM, Simon Josefsson wrote:
>> Alexey Melnikov <alexey.melnikov@isode.com> writes:
>> 
>>> Peter Saint-Andre wrote:
>>>
>>>>> SECTION 4
>>>>>
>>>>> Typo: "hashed function" => "hash function"
>>>>>
>>>>> I think the following text is slightly ambiguous:
>>>>>
>>>>>   The "-PLUS" suffix is used only when the server supports channel
>>>>>   binding to the external channel.  In this case the server will
>>>>>   advertise both, SCRAM-SHA-1 and SCRAM-SHA-1-PLUS, otherwise the
>>>>>   server will advertise only SCRAM-SHA-1.  The "-PLUS" exists to allow
>>>>>   negotiation of the use of channel binding.  See Section 6.
>>>>>
>>>>> This could be read to mean that if a server does not support channel
>>>>> bindings, then it will advertise only all and only SCRAM-SHA-1 (but
>>>>> never, say, SCRAM-SHA-256). I think we mean that if a server does not
>>>>> support channel bindings, then it will advertise only mechanisms of the
>>>>> form SCRAM-SHA-length and never mechanisms of the form
>>>>> SCRAM-SHA-length-PLUS (thus not forbidding support for hash functions
>>>>> other than SHA-1).
>>>>>    
>>>>>
>>>> Alexey and I talked about this in Stockholm. I suggest the following text:
>>>>
>>>>   The "-PLUS" suffix is used only when the server supports channel
>>>>   binding to the external channel.  If the server supports channel
>>>>   binding, it will advertise both the "bare" and "plus" versions of
>>>>   whatever mechanisms it supports (e.g., if the server supports only
>>>>   SCRAM with SHA-1 then it will advertise support for both SCRAM-SHA-1
>>>>   and SCRAM-SHA-1-PLUS); if the server does not support channel
>>>>   binding, then it will advertise only the "bare" version of the
>>>>   mechanism (e.g., only SCRAM-SHA-1).  The "-PLUS" exists to allow
>>>>   negotiation of the use of channel binding.  See Section 6.
>>>>  
>>>>
>>> Ok, this text will be in -04.
>> 
>> Please reassure me that the same change isn't needed in GS2?  I don't
>> see any normative words above, and as far as I can tell the described
>> behaviour is already covered by other text in both SCRAM and GS2 anyway.
>
> Do you think that the former text was not ambiguous?

No, I think your version is definitely better, but I couldn't find
matching text in GS2 to change.  I _think_ your clarification is already
covered by what's in GS2 today, including for example this text:

	      <t>Servers SHOULD advertise both non-PLUS and the
		PLUS-variant of each GS2 mechanism name.  If the
		server cannot support channel binding, it MAY
		advertise only the non-PLUS variant.  If the server
		would never succeed authentication of the non-PLUS
		variant due to policy reasons, it MAY advertise only
		the PLUS-variant.</t>

It doesn't use the same words although I believe the intention is the
same.

/Simon


