
Received: from balder-227.proper.com (localhost [127.0.0.1]) by balder-227.proper.com (8.13.5/8.13.5) with ESMTP id l1QNtmSd013732 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Mon, 26 Feb 2007 16:55:48 -0700 (MST) (envelope-from owner-ietf-sasl@mail.imc.org)
Received: (from majordom@localhost) by balder-227.proper.com (8.13.5/8.13.5/Submit) id l1QNtmNk013731; Mon, 26 Feb 2007 16:55:48 -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.13.5/8.13.5) with ESMTP id l1QNtl8e013723 for <ietf-sasl@imc.org>; Mon, 26 Feb 2007 16:55:47 -0700 (MST) (envelope-from Kurt.Zeilenga@Isode.com)
Received: from [192.168.1.102] ((unknown) [24.176.246.106])  by rufus.isode.com (submission channel) via TCP with ESMTPA  id <ReNzgAB5I8BC@rufus.isode.com> for <ietf-sasl@imc.org>; Mon, 26 Feb 2007 23:55:45 +0000
X-SMTP-Protocol-Errors: NORDNS
Mime-Version: 1.0 (Apple Message framework v752.3)
In-Reply-To: <ldvhctqdvd7.fsf@cathode-dark-space.mit.edu>
References: <ldvhctqdvd7.fsf@cathode-dark-space.mit.edu>
Content-Type: text/plain; charset=US-ASCII; delsp=yes; format=flowed
Message-Id: <5A26F47F-E1F9-4749-9FBF-7185347A1B25@Isode.com>
Content-Transfer-Encoding: 7bit
From: Kurt Zeilenga <Kurt.Zeilenga@isode.com>
Subject: Re: SASL WG session at IETF68
Date: Mon, 26 Feb 2007 15:55:43 -0800
To: ietf-sasl@imc.org
X-Mailer: Apple Mail (2.752.3)
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>

Those with items for our agenda should contact Tom and I in the next  
week
or so with a basic description of the topic and time needs.

-- Kurt



Received: from balder-227.proper.com (localhost [127.0.0.1]) by balder-227.proper.com (8.13.5/8.13.5) with ESMTP id l1OH81Le071786 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Sat, 24 Feb 2007 10:08:01 -0700 (MST) (envelope-from owner-ietf-sasl@mail.imc.org)
Received: (from majordom@localhost) by balder-227.proper.com (8.13.5/8.13.5/Submit) id l1OH81Jd071785; Sat, 24 Feb 2007 10:08:01 -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 ciao.gmane.org (main.gmane.org [80.91.229.2]) by balder-227.proper.com (8.13.5/8.13.5) with ESMTP id l1OH7w8o071779 (version=TLSv1/SSLv3 cipher=AES256-SHA bits=256 verify=NO) for <ietf-sasl@imc.org>; Sat, 24 Feb 2007 10:08:00 -0700 (MST) (envelope-from gis-ietf-sasl-560@gmane.org)
Received: from list by ciao.gmane.org with local (Exim 4.43) id 1HL0NB-0000sI-7h for ietf-sasl@imc.org; Sat, 24 Feb 2007 18:07:49 +0100
Received: from 212.82.251.32 ([212.82.251.32]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for <ietf-sasl@imc.org>; Sat, 24 Feb 2007 18:07:49 +0100
Received: from nobody by 212.82.251.32 with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for <ietf-sasl@imc.org>; Sat, 24 Feb 2007 18:07:49 +0100
X-Injected-Via-Gmane: http://gmane.org/
To: ietf-sasl@imc.org
From: Frank Ellermann <nobody@xyzzy.claranet.de>
Subject:  Re: remaining DIGEST-MD5 items?
Date:  Sat, 24 Feb 2007 18:06:32 +0100
Organization:  <URL:http://purl.net/xyzzy>
Lines: 51
Message-ID:  <45E07098.6DA@xyzzy.claranet.de>
References:  <ldvhcuhkuk6.fsf@cathode-dark-space.mit.edu>         <45BA4840.3FA9@xyzzy.claranet.de> <3FA651B8AE8218E89AA3A0C8@[10.1.110.5]> <45C61377.6BD0@xyzzy.claranet.de> <45CC56D5.4020906@isode.com> <45CCA0E2.75CB@xyzzy.claranet.de> <45D1A452.1070401@isode.com>
Mime-Version:  1.0
Content-Type:  text/plain; charset=us-ascii
Content-Transfer-Encoding:  7bit
X-Complaints-To: usenet@sea.gmane.org
X-Gmane-NNTP-Posting-Host: 212.82.251.32
X-Mailer: Mozilla 3.0 (OS/2; U)
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>

Alexey Melnikov wrote:

>> Accept multiple commas instead of only one comma to separate elements,
>> why not, it's no rocket science.

> Yes, but somebody just pointed out an error related to this in Cyrus
> SASL code ;-)

LOL.  Interpreting the 2068 BNF was really a PITA, I hope the admittedly
more verbose RFC 4234 style will convince them that that's a bug.

 [continuation lines consisting only of trailing white space]
> This particular thing causes no harm in SASL, as it is not being used
> inside RFC 2822 messages.

Relevant for 2617bis, where the Auth digest stuff isn't B64-encoded.

Do _all_ SASL-applications use B64 ?  Checking, no, ACAP (RFC 2244)
apparently uses lines of plain text, no LWSP folding at all, let alone
continuation lines consisting only of trailing white space.

>> Maybe a case for a MUST NOT generate + MUST accept (?)

> I think "SHOULD NOT generate LWS + MUST accept them" is more reasonable,
> as there might be implementations that already use them. And I would
> rather not declare them non compliant just for that.

The 2822 <obs-FWS> is a MUST NOT.   The main point here is to mention
the (potential) issue somewhere in the prose, SHOULD NOT is also fine.

>> I still don't know if your're really really sure about your new and
>> in theory incompatible with 2831/2617/2069 "backslash unescaping"
>> _within_ <qdstr-value>.

> I always thought that "unquoting" also means removing any escaping
> backslashes. I might be wrong on this.

I looked into Simon's GNU SASL code, and found no hint that he tries
to get rid of backslashes anywhere - or is that a feature of asprintf ?
Apparently his Digest-MD5 code is 2831 (written 2006), not 2831bis.

> I haven't seen anybody using backslashes in DIGEST-MD5 except for 
> Microsoft implementation, which uses them in usernames.  I think I 
> need to do some testing to confirm one way or the other.

"Take <qdstr-val> as is (after removing the quotes)" could be a very
simple solution, if folks always escape a '\' and '"' as '\\' or '\"',
and otherwise stay away from <quoted-pair>.

Frank




Received: from balder-227.proper.com (localhost [127.0.0.1]) by balder-227.proper.com (8.13.5/8.13.5) with ESMTP id l1DDjXSH038494 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Tue, 13 Feb 2007 06:45:33 -0700 (MST) (envelope-from owner-ietf-sasl@mail.imc.org)
Received: (from majordom@localhost) by balder-227.proper.com (8.13.5/8.13.5/Submit) id l1DDjXX2038492; Tue, 13 Feb 2007 06:45:33 -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 biscayne-one-station.mit.edu (BISCAYNE-ONE-STATION.MIT.EDU [18.7.7.80]) by balder-227.proper.com (8.13.5/8.13.5) with ESMTP id l1DDjV13038485 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO) for <ietf-sasl@imc.org>; Tue, 13 Feb 2007 06:45:32 -0700 (MST) (envelope-from tlyu@MIT.EDU)
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 l1DDjR9a024349 for <ietf-sasl@imc.org>; Tue, 13 Feb 2007 08:45:30 -0500 (EST)
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 l1DDjOL6000953 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT) for <ietf-sasl@imc.org>; Tue, 13 Feb 2007 08:45:27 -0500 (EST)
Received: (from tlyu@localhost) by cathode-dark-space.mit.edu (8.12.9.20060308) id l1DDjOUU014193; Tue, 13 Feb 2007 08:45:24 -0500 (EST)
To: ietf-sasl@imc.org
Subject: SASL WG session at IETF68
From: Tom Yu <tlyu@MIT.EDU>
Date: Tue, 13 Feb 2007 08:45:24 -0500
Message-ID: <ldvhctqdvd7.fsf@cathode-dark-space.mit.edu>
Lines: 7
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
X-Scanned-By: MIMEDefang 2.42
X-Spam-Flag: NO
X-Spam-Score: 0.00
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>

The SASL WG session at IETF68 is currently scheduled for Wednesday 21
March at 13:00-15:00.

We have until the 21st of February to request changes.  Does anyone
have a problem with the current schedule?

---Tom



Received: from balder-227.proper.com (localhost [127.0.0.1]) by balder-227.proper.com (8.13.5/8.13.5) with ESMTP id l1DDJTfK036697 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Tue, 13 Feb 2007 06:19:29 -0700 (MST) (envelope-from owner-ietf-sasl@mail.imc.org)
Received: (from majordom@localhost) by balder-227.proper.com (8.13.5/8.13.5/Submit) id l1DDJT4t036696; Tue, 13 Feb 2007 06:19: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.13.5/8.13.5) with ESMTP id l1DDJRtR036687 for <ietf-sasl@imc.org>; Tue, 13 Feb 2007 06:19:28 -0700 (MST) (envelope-from alexey.melnikov@isode.com)
Received: from [172.16.1.99] (shiny.isode.com [62.3.217.250])  by rufus.isode.com (submission channel) via TCP with ESMTPA  id <RdG61QBXDqrb@rufus.isode.com>; Tue, 13 Feb 2007 13:19:18 +0000
Message-ID: <45D1A452.1070401@isode.com>
Date: Tue, 13 Feb 2007 11:43:14 +0000
From: Alexey Melnikov <alexey.melnikov@isode.com>
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7.12) Gecko/20050915
X-Accept-Language: en-us, en
MIME-Version: 1.0
To: Frank Ellermann <nobody@xyzzy.claranet.de>
CC: ietf-sasl@imc.org
Subject: Re: remaining DIGEST-MD5 items?
References: <ldvhcuhkuk6.fsf@cathode-dark-space.mit.edu>         <45BA4840.3FA9@xyzzy.claranet.de> <3FA651B8AE8218E89AA3A0C8@[10.1.110.5]> <45C61377.6BD0@xyzzy.claranet.de> <45CC56D5.4020906@isode.com> <45CCA0E2.75CB@xyzzy.claranet.de>
In-Reply-To: <45CCA0E2.75CB@xyzzy.claranet.de>
Content-Type: text/plain; charset=us-ascii; 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>

Frank Ellermann wrote:

>Alexey Melnikov wrote:
>  
>
>>I personally like the n#rule construct, as it is much more compact    
>>
>I hate the LWSP hidden in it.  Something in the same direction based
>on FWS (as in 2822) could be nice.  With LWSP the following is valid:
>
>element1<SP>,<HT>,<CRLF>
><SP><CRLF>
><HT><CRLF>
><SP>element2,<SP>element3<CRLF>
>
>Accept HT as white space in addition to SP is not nice, but okay, if
>it somehwere gets replaced by spaces no harm done (wrt LWSP or FWS).
>
>Accept multiple commas instead of only one comma to separate elements,
>why not, it's no rocket science.
>
Yes, but somebody just pointed out an error related to this in Cyrus 
SASL code ;-)

>But accept lines consisting only of trailing white space, and treat
>that as valid continuation / folding, I really don't like this, it's
>too easy to get this wrong with some tools (including text editors).
>
This particular thing causes no harm in SASL, as it is not being used 
inside RFC 2822 messages.

>Maybe a case for a MUST NOT generate + MUST accept (?)
>
I think "SHOULD NOT generate LWS + MUST accept them" is more reasonable, 
as there might be implementations that already use them. And I would 
rather not declare them non compliant just for that.

>We had the in essence same issue already in USEFOR, you know the arguments :-)
>  
>
>>>s/<<channel-type/channel-type/
>>>      
>>>
>>I use <<>> markers to highlight something which needs fixing.
>>Currently the exact format of channel bindings is not finalized yet.
>>    
>>
>Okay.  Bill's 4234-ABNF validator would make sure that it's fixed.
>
>Apart from the LWSP issue (with 4234-ABNF it's at least obvious) I
>still don't know if your're really really sure about your new and
>in theory incompatible with 2831/2617/2069 "backslash unescaping"
>_within_ <qdstr-value>.
>
I always thought that "unquoting" also means removing any escaping 
backslashes. I might be wrong on this.

In practice, I haven't seen anybody using backslashes in DIGEST-MD5 
except for Microsoft implementation, which uses them in usernames.
I think I need to do some testing to confirm one way or the other.

>I didn't have this in my own attempt to
>implement a 2831-digest.  It was simple to add it, but that's not
>the point, what do "real" 2831/2617/2069 implementations with it ?
>  
>




Received: from balder-227.proper.com (localhost [127.0.0.1]) by balder-227.proper.com (8.13.5/8.13.5) with ESMTP id l1AGNsAI047081 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Sat, 10 Feb 2007 09:23:54 -0700 (MST) (envelope-from owner-ietf-sasl@mail.imc.org)
Received: (from majordom@localhost) by balder-227.proper.com (8.13.5/8.13.5/Submit) id l1AGNs9N047080; Sat, 10 Feb 2007 09:23: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.extundo.com (178.230.13.217.in-addr.dgcsystems.net [217.13.230.178]) by balder-227.proper.com (8.13.5/8.13.5) with ESMTP id l1AGNp3e047073 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=FAIL) for <ietf-sasl@imc.org>; Sat, 10 Feb 2007 09:23:53 -0700 (MST) (envelope-from simon@josefsson.org)
Received: from localhost.localdomain (yxa.extundo.com [217.13.230.178]) (authenticated bits=0) by yxa.extundo.com (8.13.4/8.13.4/Debian-3sarge3) with ESMTP id l1AGNiv7026743 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO) for <ietf-sasl@imc.org>; Sat, 10 Feb 2007 17:23:45 +0100
From: Simon Josefsson <simon@josefsson.org>
To: ietf-sasl@imc.org
Subject: Re: I-D ACTION:draft-ietf-sasl-gs2-06.txt
References: <E1HFfVC-0002fG-Au@stiedprstage1.ietf.org>
OpenPGP: id=B565716F; url=http://josefsson.org/key.txt
X-Hashcash: 1:22:070210:i-d-announce@ietf.org::oecA1PxMX01wom3F:ZsZ
X-Hashcash: 1:22:070210:ietf-sasl@imc.org::87p+gIFuhORmaO+L:4iA3
X-Hashcash: 1:22:070210:internet-drafts@ietf.org::PKtl4bzqkwGbEL2w:8OHI
Date: Sat, 10 Feb 2007 17:23:44 +0100
In-Reply-To: <E1HFfVC-0002fG-Au@stiedprstage1.ietf.org> (Internet-Drafts@ietf.org's message of "Fri\, 09 Feb 2007 18\:50\:02 -0500")
Message-ID: <878xf63rsf.fsf@latte.josefsson.org>
User-Agent: Gnus/5.110006 (No Gnus v0.6) Emacs/22.0.93 (gnu/linux)
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
X-Spam-Status: No, score=-0.9 required=4.0 tests=AWL,BAYES_20, FORGED_RCVD_HELO autolearn=ham version=3.1.1
X-Spam-Checker-Version: SpamAssassin 3.1.1 (2006-03-10) on yxa-iv
X-Virus-Scanned: ClamAV version 0.88.2, clamav-milter version 0.88.2 on yxa.extundo.com
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>

Internet-Drafts@ietf.org writes:

> http://www.ietf.org/internet-drafts/draft-ietf-sasl-gs2-06.txt

This fixes some typos and IDNits, which are the only things that have
been pointed out to me since -05.  I believe this version is ready for
WGLC.

/Simon



Received: from balder-227.proper.com (localhost [127.0.0.1]) by balder-227.proper.com (8.13.5/8.13.5) with ESMTP id l19No3Un084868 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Fri, 9 Feb 2007 16:50:04 -0700 (MST) (envelope-from owner-ietf-sasl@mail.imc.org)
Received: (from majordom@localhost) by balder-227.proper.com (8.13.5/8.13.5/Submit) id l19No3rS084867; Fri, 9 Feb 2007 16:50:03 -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 ns3.neustar.com (ns3.neustar.com [156.154.24.138]) by balder-227.proper.com (8.13.5/8.13.5) with ESMTP id l19No2Dg084861 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=FAIL) for <ietf-sasl@imc.org>; Fri, 9 Feb 2007 16:50:03 -0700 (MST) (envelope-from ietf@ietf.org)
Received: from stiedprstage1.ietf.org (stiedprstage1.va.neustar.com [10.31.47.10]) by ns3.neustar.com (Postfix) with ESMTP id 8EEC1175C1; Fri,  9 Feb 2007 23:50:02 +0000 (GMT)
Received: from ietf by stiedprstage1.ietf.org with local (Exim 4.43) id 1HFfVC-0002fG-Au; Fri, 09 Feb 2007 18:50:02 -0500
Content-Type: Multipart/Mixed; Boundary="NextPart"
Mime-Version: 1.0
To: i-d-announce@ietf.org
Cc: ietf-sasl@imc.org
From: Internet-Drafts@ietf.org
Subject: I-D ACTION:draft-ietf-sasl-gs2-06.txt 
Message-Id: <E1HFfVC-0002fG-Au@stiedprstage1.ietf.org>
Date: Fri, 09 Feb 2007 18:50:02 -0500
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
	Filename	: draft-ietf-sasl-gs2-06.txt
	Pages		: 34
	Date		: 2007-2-9
	
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/GSS-API
   mechanism: it is more general, uses fewer messages for the
   authentication phase in some cases, and supports a SASL-specific
   notion of channel binding.

   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-06.txt

To remove yourself from the I-D Announcement list, send a message to 
i-d-announce-request@ietf.org with the word unsubscribe in the body of 
the message. 
You can also visit https://www1.ietf.org/mailman/listinfo/I-D-announce 
to change your subscription settings.

Internet-Drafts are also available by anonymous FTP. Login with the 
username "anonymous" and a password of your e-mail address. After 
logging in, type "cd internet-drafts" and then 
"get draft-ietf-sasl-gs2-06.txt".

A list of Internet-Drafts directories can be found in
http://www.ietf.org/shadow.html 
or ftp://ftp.ietf.org/ietf/1shadow-sites.txt

Internet-Drafts can also be obtained by e-mail.

Send a message to:
	mailserv@ietf.org.
In the body type:
	"FILE /internet-drafts/draft-ietf-sasl-gs2-06.txt".
	
NOTE:	The mail server at ietf.org can return the document in
	MIME-encoded form by using the "mpack" utility.  To use this
	feature, insert the command "ENCODING mime" before the "FILE"
	command.  To decode the response(s), you will need "munpack" or
	a MIME-compliant mail reader.  Different MIME-compliant mail readers
	exhibit different behavior, especially when dealing with
	"multipart" MIME messages (i.e. documents which have been split
	up into multiple messages), so check your local documentation on
	how to manipulate these messages.

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: Multipart/Alternative; Boundary="OtherAccess"

--OtherAccess
Content-Type: Message/External-body;
	access-type="mail-server";
	server="mailserv@ietf.org"

Content-Type: text/plain
Content-ID:	<2007-2-9171913.I-D@ietf.org>

ENCODING mime
FILE /internet-drafts/draft-ietf-sasl-gs2-06.txt

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

Content-Type: text/plain
Content-ID:	<2007-2-9171913.I-D@ietf.org>

--OtherAccess--

--NextPart--



Received: from balder-227.proper.com (localhost [127.0.0.1]) by balder-227.proper.com (8.13.5/8.13.5) with ESMTP id l19GWTEN054231 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Fri, 9 Feb 2007 09:32:30 -0700 (MST) (envelope-from owner-ietf-sasl@mail.imc.org)
Received: (from majordom@localhost) by balder-227.proper.com (8.13.5/8.13.5/Submit) id l19GWTPw054229; Fri, 9 Feb 2007 09:32: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 ciao.gmane.org (main.gmane.org [80.91.229.2]) by balder-227.proper.com (8.13.5/8.13.5) with ESMTP id l19GWQee054210 (version=TLSv1/SSLv3 cipher=AES256-SHA bits=256 verify=NO) for <ietf-sasl@imc.org>; Fri, 9 Feb 2007 09:32:28 -0700 (MST) (envelope-from gis-ietf-sasl-560@gmane.org)
Received: from list by ciao.gmane.org with local (Exim 4.43) id 1HFYfZ-0004gZ-Qn for ietf-sasl@imc.org; Fri, 09 Feb 2007 17:32:17 +0100
Received: from d254119.dialin.hansenet.de ([80.171.254.119]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for <ietf-sasl@imc.org>; Fri, 09 Feb 2007 17:32:17 +0100
Received: from nobody by d254119.dialin.hansenet.de with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for <ietf-sasl@imc.org>; Fri, 09 Feb 2007 17:32:17 +0100
X-Injected-Via-Gmane: http://gmane.org/
To: ietf-sasl@imc.org
From: Frank Ellermann <nobody@xyzzy.claranet.de>
Subject:  Re: remaining DIGEST-MD5 items?
Date:  Fri, 09 Feb 2007 17:27:14 +0100
Organization:  <URL:http://purl.net/xyzzy>
Lines: 41
Message-ID:  <45CCA0E2.75CB@xyzzy.claranet.de>
References:  <ldvhcuhkuk6.fsf@cathode-dark-space.mit.edu>         <45BA4840.3FA9@xyzzy.claranet.de> <3FA651B8AE8218E89AA3A0C8@[10.1.110.5]> <45C61377.6BD0@xyzzy.claranet.de> <45CC56D5.4020906@isode.com>
Mime-Version:  1.0
Content-Type:  text/plain; charset=us-ascii
Content-Transfer-Encoding:  7bit
X-Complaints-To: usenet@sea.gmane.org
X-Gmane-NNTP-Posting-Host: d254119.dialin.hansenet.de
X-Mailer: Mozilla 3.0 (OS/2; U)
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>

Alexey Melnikov wrote:

> I personally like the n#rule construct, as it is much more compact

I hate the LWSP hidden in it.  Something in the same direction based
on FWS (as in 2822) could be nice.  With LWSP the following is valid:

element1<SP>,<HT>,<CRLF>
<SP><CRLF>
<HT><CRLF>
<SP>element2,<SP>element3<CRLF>

Accept HT as white space in addition to SP is not nice, but okay, if
it somehwere gets replaced by spaces no harm done (wrt LWSP or FWS).

Accept multiple commas instead of only one comma to separate elements,
why not, it's no rocket science.

But accept lines consisting only of trailing white space, and treat
that as valid continuation / folding, I really don't like this, it's
too easy to get this wrong with some tools (including text editors).

Maybe a case for a MUST NOT generate + MUST accept (?)  We had the
in essence same issue already in USEFOR, you know the arguments :-)

>> s/<<channel-type/channel-type/

> I use <<>> markers to highlight something which needs fixing.
> Currently the exact format of channel bindings is not finalized yet.

Okay.  Bill's 4234-ABNF validator would make sure that it's fixed.

Apart from the LWSP issue (with 4234-ABNF it's at least obvious) I
still don't know if your're really really sure about your new and
in theory incompatible with 2831/2617/2069 "backslash unescaping"
_within_ <qdstr-value>.  I didn't have this in my own attempt to
implement a 2831-digest.  It was simple to add it, but that's not
the point, what do "real" 2831/2617/2069 implementations with it ?

Frank




Received: from balder-227.proper.com (localhost [127.0.0.1]) by balder-227.proper.com (8.13.5/8.13.5) with ESMTP id l19EHn96043182 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Fri, 9 Feb 2007 07:17:49 -0700 (MST) (envelope-from owner-ietf-sasl@mail.imc.org)
Received: (from majordom@localhost) by balder-227.proper.com (8.13.5/8.13.5/Submit) id l19EHnes043181; Fri, 9 Feb 2007 07:17:49 -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.13.5/8.13.5) with ESMTP id l19EHljs043164 for <ietf-sasl@imc.org>; Fri, 9 Feb 2007 07:17:48 -0700 (MST) (envelope-from alexey.melnikov@isode.com)
Received: from [172.16.1.99] (shiny.isode.com [62.3.217.250])  by rufus.isode.com (submission channel) via TCP with ESMTPA  id <RcyCiQBXDsDd@rufus.isode.com>; Fri, 9 Feb 2007 14:17:46 +0000
Message-ID: <45CC56D5.4020906@isode.com>
Date: Fri, 09 Feb 2007 11:11:17 +0000
From: Alexey Melnikov <alexey.melnikov@isode.com>
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7.12) Gecko/20050915
X-Accept-Language: en-us, en
MIME-Version: 1.0
To: Frank Ellermann <nobody@xyzzy.claranet.de>
CC: ietf-sasl@imc.org
Subject: Re: remaining DIGEST-MD5 items?
References: <ldvhcuhkuk6.fsf@cathode-dark-space.mit.edu>	 <45BA4840.3FA9@xyzzy.claranet.de> <3FA651B8AE8218E89AA3A0C8@[10.1.110.5]> <45C61377.6BD0@xyzzy.claranet.de>
In-Reply-To: <45C61377.6BD0@xyzzy.claranet.de>
Content-Type: text/plain; charset=us-ascii; 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>

Frank Ellermann wrote:

>Chris Newman wrote:
>  
>
>>I am opposed to changing the ABNF because the editor has better uses
>>for his time that will provide more value to the IETF community
>>    
>>
>What about the time of readers trying to figure out what chapter 7.2
>really means ?  Or the time of anybody trying to evaluate the "ABNF" ?
>
Frank, I hear your comment about using consistent ABNF if all 
specifications.

But I personally like the n#rule construct, as it is much more compact 
and, as a result, easier to understand. It is a shame that it is not a 
part of the ABNF spec.
But if the WG consensus is to go with ABNF, I will do the change.
(And thanks for the effort to convert to ABNF, BTW.)

>Just for fun I tried the latter and found the following six problems:
>
>s/server_maxbuf/server-maxbuf/g
>s/client_maxbuf/client-maxbuf/g
>  
>
Thanks for spotting that.

>s/<<channel-type/channel-type/
>  
>
I use <<>> markers to highlight something which needs fixing. Currently 
the exact format of channel bindings is not finalized yet.

>prep is defined twice, renamed in "step two" to prep2
>  
>
Ah, good point. I've renamed the first one to prep-opts instead.

>TEXT was unused, removed
>
Right.

>added <CTL> reference from RFC 4234 (while talking about Latin-1
>            and Unicode it's not more obvious what a <CTL> is)
>
>expanded prose definition of <qdtext>
>expanded prose definition of <TEXTCHAR>
>expanded all occurences of 1#element to
>   LWSP element *(LWSP "," LWSP [element]) LWSP
>
>Chapter 7.2 suggests that the expansion of 1#element is...
>   LWSP element *(LWSP "," LWSP element) LWSP
>...but the prose explains that [element] is the idea.
>
Indeed.




Received: from balder-227.proper.com (localhost [127.0.0.1]) by balder-227.proper.com (8.13.5/8.13.5) with ESMTP id l168gSAs078902 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Tue, 6 Feb 2007 01:42:44 -0700 (MST) (envelope-from owner-ietf-sasl@mail.imc.org)
Received: (from majordom@localhost) by balder-227.proper.com (8.13.5/8.13.5/Submit) id l160mL07011592; Mon, 5 Feb 2007 17:48:21 -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-4.sun.com (brmea-mail-4.Sun.COM [192.18.98.36]) by balder-227.proper.com (8.13.5/8.13.5) with ESMTP id l160mJMF011505 for <ietf-sasl@imc.org>; Mon, 5 Feb 2007 17:48:19 -0700 (MST) (envelope-from Chris.Newman@Sun.COM)
Received: from fe-amer-03.sun.com ([192.18.108.177]) by brmea-mail-4.sun.com (8.13.6+Sun/8.12.9) with ESMTP id l160mDSb004484 for <ietf-sasl@imc.org>; Mon, 5 Feb 2007 17:48:13 -0700 (MST)
Received: from conversion-daemon.mail-amer.sun.com by mail-amer.sun.com (Sun Java System Messaging Server 6.2-6.01 (built Apr  3 2006)) id <0JD000J01NGBVT00@mail-amer.sun.com> (original mail from Chris.Newman@Sun.COM) for ietf-sasl@imc.org; Mon, 05 Feb 2007 17:48:13 -0700 (MST)
Received: from [10.1.110.5] by mail-amer.sun.com (Sun Java System Messaging Server 6.2-6.01 (built Apr  3 2006)) with ESMTPSA id <0JD0003T6NK8BR40@mail-amer.sun.com>; Mon, 05 Feb 2007 17:48:12 -0700 (MST)
Date: Mon, 05 Feb 2007 16:48:15 -0800
From: Chris Newman <Chris.Newman@sun.com>
Subject: Re: remaining DIGEST-MD5 items?
In-reply-to: <45C61377.6BD0@xyzzy.claranet.de> <45C618A0.5459@xyzzy.claranet.de>
To: Frank Ellermann <nobody@xyzzy.claranet.de>, ietf-sasl@imc.org
Message-id: <2733B7332146F7447AB0E21F@[10.1.110.5]>
MIME-version: 1.0
X-Mailer: Mulberry/3.1.6 (Mac OS X)
Content-type: text/plain; format=flowed; charset=us-ascii
Content-transfer-encoding: 7BIT
Content-disposition: inline
References: <ldvhcuhkuk6.fsf@cathode-dark-space.mit.edu> <45BA4840.3FA9@xyzzy.claranet.de> <3FA651B8AE8218E89AA3A0C8@[10.1.110.5]> <45C61377.6BD0@xyzzy.claranet.de>
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>

Since Frank did the work, I withdraw my objection and would support using the 
proposed RFC 4234 version of the ABNF.  I do not consider this issue a 
show-stopper to publication of 2831bis, but it would be a nice improvement.

                - Chris

Frank Ellermann wrote on 2/4/07 18:32 +0100:
>> After that I got something passing Bill's parser.
>> The complete confusing chapter 7.2 could be removed
>
> The complete chapter 7 could go, but I forgot to replace
> all "=" by EQU adding a definition EQU = LWSP "=" LWSP


Frank Ellermann wrote on 2/4/07 18:10 +0100:
> Chris Newman wrote:
>
>> I am opposed to changing the ABNF because the editor has better uses
>> for his time that will provide more value to the IETF community
>
> What about the time of readers trying to figure out what chapter 7.2
> really means ?  Or the time of anybody trying to evaluate the "ABNF" ?
>
> Just for fun I tried the latter and found the following six problems:
>
> s/server_maxbuf/server-maxbuf/g
> s/client_maxbuf/client-maxbuf/g
> s/<<channel-type/channel-type/
> prep is defined twice, renamed in "step two" to prep2
> TEXT was unused, removed
>
> added <CTL> reference from RFC 4234 (while talking about Latin-1
>             and Unicode it's not more obvious what a <CTL> is)
>
> expanded prose definition of <qdtext>
> expanded prose definition of <TEXTCHAR>
> expanded all occurences of 1#element to
>    LWSP element *(LWSP "," LWSP [element]) LWSP
>
> Chapter 7.2 suggests that the expansion of 1#element is...
>    LWSP element *(LWSP "," LWSP element) LWSP
> ...but the prose explains that [element] is the idea.
>
> After that I got something passing Bill's parser.  The complete
> confusing chapter 7.2 could be removed, see below.
>
> Frank
>
> ;;; 2.1.1 Step One
>
> digest-challenge = LWSP d-c-e *(LWSP "," LWSP [d-c-e]) LWSP
> d-c-e            = realm / nonce / qop-options / stale
>                  / server-maxbuf / charset / prep / algorithm
>                  / cipher-opts / auth-param
>
> realm            = "realm" "=" realm-value
> realm-value      = quoted-string
> nonce            = "nonce" "=" nonce-value
> nonce-value      = quoted-string
>                    ;; contains data described by "nonce-data"
> qop-options      = "qop" "=" DQUOTE qop-list DQUOTE
> qop-list         = LWSP qop-value *(LWSP "," LWSP [qop-value]) LWSP
> qop-value        = "auth" / "auth-int" / "auth-conf" /
>                     qop-token
>                     ;; qop-token is reserved for identifying
>                     ;; future extensions to DIGEST-MD5
> qop-token        = token
> stale            = "stale" "=" "true"
> server-maxbuf    = "maxbuf" "=" maxbuf-value
> maxbuf-value     = 1*DIGIT
> charset          = "charset" "=" "utf-8"
> prep             = "prep" "=" DQUOTE prep-mechs DQUOTE
> prep-mechs       = LWSP prep-mech *(LWSP "," LWSP [prep-mech]) LWSP
> prep-mech        = "rfc4013"
> algorithm        = "algorithm" "=" "md5-sess"
> cipher-opts      = "cipher" "=" DQUOTE cipher-list DQUOTE
> cipher-list      = LWSP cipher-value
>                    *(LWSP "," LWSP [cipher-value]) LWSP
> cipher-value     = "rc4-40" / "rc4" / "rc4-56" /
>                    "aes-ctr" / cipher-token
>                     ;; cipher-token is reserved for
>                     ;; new ciphersuites
> cipher-token     = token
> auth-param       = token "=" ( token / quoted-string )
> nonce-data       = new-nonce-data / obs-nonce-data
> new-nonce-data   = "CB-" channel-type ":" channel-bindings
>                    ":" qop-list ":" cipher-list
>                    ":" nonce-octets
> obs-nonce-data   = nonce-octets
>                    ;; nonce value as defined in RFC 2831.
>                    ;; SHOULD be accepted. MUST NOT be
>                    ;; generated.
> channel-type     = "TLS" / channel-type-ext
>                    ;; Should be taken from
>                    ;; [CHANNEL-BINDINGS].
> channel-type-ext = 1*(ALPHA / DIGIT)
>                    ;; for future channel bindings>>
> channel-bindings = 1*TEXTCHAR
>                    ;; channel binding data as defined by
>                    ;; the channel type
>
> nonce-octets     = 1*TEXTCHAR
>
> ;;; 2.1.2 Step Two
>
> digest-response  = LWSP d-r-e *(LWSP "," LWSP [d-r-e]) LWSP
> d-r-e            = username / realm / nonce / cnonce
>                  / nonce-count / qop / digest-uri / response
>                  / response-v2 / client-maxbuf / charset
>                  / prep2 / cipher / authzid / auth-param
>
> username         = "username" "=" username-value
> username-value   = quoted-string
> cnonce           = "cnonce" "=" cnonce-value
> cnonce-value     = nonce-value
> nonce-count      = "nc" "=" nc-value
> nc-value         = 8LHEX
> client-maxbuf    = "maxbuf" "=" maxbuf-value
> qop              = "qop" "=" qop-value
> digest-uri       = "digest-uri" "="
>                    DQUOTE digest-uri-value DQUOTE
> digest-uri-value = serv-type "/" host [ "/" serv-name ]
> serv-type        = 1*ALPHA
> serv-name        = host
> prep2            = "prep" "=" prep-mech
> response         = "response" "=" response-value
> response-v2      = "response-v2" "=" response-value
> response-value   = 32LHEX
> LHEX             = DIGIT / "a" / "b" /
>                    "c" / "d" / "e" / "f"
> cipher           = "cipher" "=" cipher-value
> authzid          = "authzid" "=" authzid-value
> authzid-value    = quoted-string
>
> host             = IP-literal / IPv4address / reg-name
> IP-literal       = <see RFC 3986>
> IPv4address      = <see RFC 3986>
> reg-name         = <see RFC 3986>
>
> ;;; 2.1.2.1 Response-value
>
> password         = *OCTET
>
> ;;; 2.1.3 Step Three
>
> auth-info        = LWSP a-i-e *(LWSP "," LWSP [a-i-e]) LWSP
> a-i-e            = response-auth / response-v2-auth / auth-param
>
> response-auth    = "rspauth" "=" response-value
> response-v2-auth = "rspauth-v2" "=" response-value
>
> ;;; 7.2 Basic rules
>
> TEXTCHAR         = HTAB / %x20-7E / %x80-FF
> LWSP             = *(WSP / CRLF WSP)
>
> token            = 1*TOKENCHAR
> BACKSLASH        = %x5C
>                    ;  character
> separators       = "(" / ")" / "<" / ">" / "@"
>                  / "," / ";" / ":" / BACKSLASH / DQUOTE
>                  / "/" / "[" / "]" / "?" / "="
>                  / "{" / "}" / SP  / HTAB
> TOKENCHAR        = <any CHAR except CTLs or separators>
>
> quoted-string    = DQUOTE qdstr-val DQUOTE
> qdstr-val        = *( qdtext / quoted-pair )
> qdtext           = HTAB / %x20-21 / %x23-5B / %x5D-7E / %x80-FF
>
> quoted-pair      = BACKSLASH CHAR
>
> ;;; imported from RFC 4234
>
> DIGIT            = <see RFC 4234>       ; 0-9
> DQUOTE           = <see RFC 4234>       ; " (Double Quote)
> ALPHA            = <see RFC 4234>       ; A-Z / a-z
> OCTET            = <see RFC 4234>       ; 8 bits of data
> WSP              = <see RFC 4234>       ; white space
> CRLF             = <see RFC 4234>       ; Internet standard newline
> HTAB             =  %x09
> SP               =  %x20
> CHAR             = <see RFC 4234>       ; any ASCII excluding NUL
> CTL              = <see RFC 4234>       ; %x00-1F / %x7F





Received: from balder-227.proper.com (localhost [127.0.0.1]) by balder-227.proper.com (8.13.5/8.13.5) with ESMTP id l14HX7SI018030 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Sun, 4 Feb 2007 10:33:07 -0700 (MST) (envelope-from owner-ietf-sasl@mail.imc.org)
Received: (from majordom@localhost) by balder-227.proper.com (8.13.5/8.13.5/Submit) id l14HX7KU018029; Sun, 4 Feb 2007 10:33:07 -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 ciao.gmane.org (main.gmane.org [80.91.229.2]) by balder-227.proper.com (8.13.5/8.13.5) with ESMTP id l14HX4un018022 (version=TLSv1/SSLv3 cipher=AES256-SHA bits=256 verify=NO) for <ietf-sasl@imc.org>; Sun, 4 Feb 2007 10:33:06 -0700 (MST) (envelope-from gis-ietf-sasl-560@gmane.org)
Received: from list by ciao.gmane.org with local (Exim 4.43) id 1HDlEP-00028s-OK for ietf-sasl@imc.org; Sun, 04 Feb 2007 18:32:49 +0100
Received: from du-017a-072.access.de.clara.net ([213.221.75.72]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for <ietf-sasl@imc.org>; Sun, 04 Feb 2007 18:32:49 +0100
Received: from nobody by du-017a-072.access.de.clara.net with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for <ietf-sasl@imc.org>; Sun, 04 Feb 2007 18:32:49 +0100
X-Injected-Via-Gmane: http://gmane.org/
To: ietf-sasl@imc.org
From: Frank Ellermann <nobody@xyzzy.claranet.de>
Subject:  Re: remaining DIGEST-MD5 items?
Date:  Sun, 04 Feb 2007 18:32:16 +0100
Organization:  <URL:http://purl.net/xyzzy>
Lines: 10
Message-ID:  <45C618A0.5459@xyzzy.claranet.de>
References:  <ldvhcuhkuk6.fsf@cathode-dark-space.mit.edu> <45BA4840.3FA9@xyzzy.claranet.de> <3FA651B8AE8218E89AA3A0C8@[10.1.110.5]> <45C61377.6BD0@xyzzy.claranet.de>
Mime-Version:  1.0
Content-Type:  text/plain; charset=us-ascii
Content-Transfer-Encoding:  7bit
X-Complaints-To: usenet@sea.gmane.org
X-Gmane-NNTP-Posting-Host: du-017a-072.access.de.clara.net
X-Mailer: Mozilla 3.0 (OS/2; U)
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>

> After that I got something passing Bill's parser.
> The complete confusing chapter 7.2 could be removed

The complete chapter 7 could go, but I forgot to replace
all "=" by EQU adding a definition EQU = LWSP "=" LWSP

Sorry,

 Frank




Received: from balder-227.proper.com (localhost [127.0.0.1]) by balder-227.proper.com (8.13.5/8.13.5) with ESMTP id l14HHL5A016567 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Sun, 4 Feb 2007 10:17:21 -0700 (MST) (envelope-from owner-ietf-sasl@mail.imc.org)
Received: (from majordom@localhost) by balder-227.proper.com (8.13.5/8.13.5/Submit) id l14HHLlU016566; Sun, 4 Feb 2007 10:17:21 -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 ciao.gmane.org (main.gmane.org [80.91.229.2]) by balder-227.proper.com (8.13.5/8.13.5) with ESMTP id l14HHJ0I016558 (version=TLSv1/SSLv3 cipher=AES256-SHA bits=256 verify=NO) for <ietf-sasl@imc.org>; Sun, 4 Feb 2007 10:17:20 -0700 (MST) (envelope-from gis-ietf-sasl-560@gmane.org)
Received: from list by ciao.gmane.org with local (Exim 4.43) id 1HDkzE-0000Er-HT for ietf-sasl@imc.org; Sun, 04 Feb 2007 18:17:09 +0100
Received: from du-017a-072.access.de.clara.net ([213.221.75.72]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for <ietf-sasl@imc.org>; Sun, 04 Feb 2007 18:17:08 +0100
Received: from nobody by du-017a-072.access.de.clara.net with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for <ietf-sasl@imc.org>; Sun, 04 Feb 2007 18:17:08 +0100
X-Injected-Via-Gmane: http://gmane.org/
To: ietf-sasl@imc.org
From: Frank Ellermann <nobody@xyzzy.claranet.de>
Subject:  Re: remaining DIGEST-MD5 items?
Date:  Sun, 04 Feb 2007 18:10:15 +0100
Organization:  <URL:http://purl.net/xyzzy>
Lines: 169
Message-ID:  <45C61377.6BD0@xyzzy.claranet.de>
References:  <ldvhcuhkuk6.fsf@cathode-dark-space.mit.edu> <45BA4840.3FA9@xyzzy.claranet.de> <3FA651B8AE8218E89AA3A0C8@[10.1.110.5]>
Mime-Version:  1.0
Content-Type:  text/plain; charset=us-ascii
Content-Transfer-Encoding:  7bit
X-Complaints-To: usenet@sea.gmane.org
X-Gmane-NNTP-Posting-Host: du-017a-072.access.de.clara.net
X-Mailer: Mozilla 3.0 (OS/2; U)
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>

Chris Newman wrote:

> I am opposed to changing the ABNF because the editor has better uses
> for his time that will provide more value to the IETF community

What about the time of readers trying to figure out what chapter 7.2
really means ?  Or the time of anybody trying to evaluate the "ABNF" ?

Just for fun I tried the latter and found the following six problems:

s/server_maxbuf/server-maxbuf/g
s/client_maxbuf/client-maxbuf/g
s/<<channel-type/channel-type/
prep is defined twice, renamed in "step two" to prep2
TEXT was unused, removed

added <CTL> reference from RFC 4234 (while talking about Latin-1
            and Unicode it's not more obvious what a <CTL> is)

expanded prose definition of <qdtext>
expanded prose definition of <TEXTCHAR>
expanded all occurences of 1#element to
   LWSP element *(LWSP "," LWSP [element]) LWSP

Chapter 7.2 suggests that the expansion of 1#element is...
   LWSP element *(LWSP "," LWSP element) LWSP
...but the prose explains that [element] is the idea.

After that I got something passing Bill's parser.  The complete
confusing chapter 7.2 could be removed, see below.

Frank

;;; 2.1.1 Step One

digest-challenge = LWSP d-c-e *(LWSP "," LWSP [d-c-e]) LWSP
d-c-e            = realm / nonce / qop-options / stale
                 / server-maxbuf / charset / prep / algorithm
                 / cipher-opts / auth-param

realm            = "realm" "=" realm-value
realm-value      = quoted-string
nonce            = "nonce" "=" nonce-value
nonce-value      = quoted-string
                   ;; contains data described by "nonce-data"
qop-options      = "qop" "=" DQUOTE qop-list DQUOTE
qop-list         = LWSP qop-value *(LWSP "," LWSP [qop-value]) LWSP
qop-value        = "auth" / "auth-int" / "auth-conf" /
                    qop-token
                    ;; qop-token is reserved for identifying
                    ;; future extensions to DIGEST-MD5
qop-token        = token
stale            = "stale" "=" "true"
server-maxbuf    = "maxbuf" "=" maxbuf-value
maxbuf-value     = 1*DIGIT
charset          = "charset" "=" "utf-8"
prep             = "prep" "=" DQUOTE prep-mechs DQUOTE
prep-mechs       = LWSP prep-mech *(LWSP "," LWSP [prep-mech]) LWSP
prep-mech        = "rfc4013"
algorithm        = "algorithm" "=" "md5-sess"
cipher-opts      = "cipher" "=" DQUOTE cipher-list DQUOTE
cipher-list      = LWSP cipher-value
                   *(LWSP "," LWSP [cipher-value]) LWSP
cipher-value     = "rc4-40" / "rc4" / "rc4-56" /
                   "aes-ctr" / cipher-token
                    ;; cipher-token is reserved for
                    ;; new ciphersuites
cipher-token     = token
auth-param       = token "=" ( token / quoted-string )
nonce-data       = new-nonce-data / obs-nonce-data
new-nonce-data   = "CB-" channel-type ":" channel-bindings
                   ":" qop-list ":" cipher-list
                   ":" nonce-octets
obs-nonce-data   = nonce-octets
                   ;; nonce value as defined in RFC 2831.
                   ;; SHOULD be accepted. MUST NOT be
                   ;; generated.
channel-type     = "TLS" / channel-type-ext
                   ;; Should be taken from
                   ;; [CHANNEL-BINDINGS].
channel-type-ext = 1*(ALPHA / DIGIT)
                   ;; for future channel bindings>>
channel-bindings = 1*TEXTCHAR
                   ;; channel binding data as defined by
                   ;; the channel type

nonce-octets     = 1*TEXTCHAR

;;; 2.1.2 Step Two

digest-response  = LWSP d-r-e *(LWSP "," LWSP [d-r-e]) LWSP
d-r-e            = username / realm / nonce / cnonce
                 / nonce-count / qop / digest-uri / response
                 / response-v2 / client-maxbuf / charset
                 / prep2 / cipher / authzid / auth-param

username         = "username" "=" username-value
username-value   = quoted-string
cnonce           = "cnonce" "=" cnonce-value
cnonce-value     = nonce-value
nonce-count      = "nc" "=" nc-value
nc-value         = 8LHEX
client-maxbuf    = "maxbuf" "=" maxbuf-value
qop              = "qop" "=" qop-value
digest-uri       = "digest-uri" "="
                   DQUOTE digest-uri-value DQUOTE
digest-uri-value = serv-type "/" host [ "/" serv-name ]
serv-type        = 1*ALPHA
serv-name        = host
prep2            = "prep" "=" prep-mech
response         = "response" "=" response-value
response-v2      = "response-v2" "=" response-value
response-value   = 32LHEX
LHEX             = DIGIT / "a" / "b" /
                   "c" / "d" / "e" / "f"
cipher           = "cipher" "=" cipher-value
authzid          = "authzid" "=" authzid-value
authzid-value    = quoted-string

host             = IP-literal / IPv4address / reg-name
IP-literal       = <see RFC 3986>
IPv4address      = <see RFC 3986>
reg-name         = <see RFC 3986>

;;; 2.1.2.1 Response-value

password         = *OCTET

;;; 2.1.3 Step Three

auth-info        = LWSP a-i-e *(LWSP "," LWSP [a-i-e]) LWSP
a-i-e            = response-auth / response-v2-auth / auth-param

response-auth    = "rspauth" "=" response-value
response-v2-auth = "rspauth-v2" "=" response-value

;;; 7.2 Basic rules

TEXTCHAR         = HTAB / %x20-7E / %x80-FF
LWSP             = *(WSP / CRLF WSP)

token            = 1*TOKENCHAR
BACKSLASH        = %x5C
                   ;  character
separators       = "(" / ")" / "<" / ">" / "@"
                 / "," / ";" / ":" / BACKSLASH / DQUOTE
                 / "/" / "[" / "]" / "?" / "="
                 / "{" / "}" / SP  / HTAB
TOKENCHAR        = <any CHAR except CTLs or separators>

quoted-string    = DQUOTE qdstr-val DQUOTE
qdstr-val        = *( qdtext / quoted-pair )
qdtext           = HTAB / %x20-21 / %x23-5B / %x5D-7E / %x80-FF

quoted-pair      = BACKSLASH CHAR

;;; imported from RFC 4234

DIGIT            = <see RFC 4234>       ; 0-9
DQUOTE           = <see RFC 4234>       ; " (Double Quote)
ALPHA            = <see RFC 4234>       ; A-Z / a-z
OCTET            = <see RFC 4234>       ; 8 bits of data
WSP              = <see RFC 4234>       ; white space
CRLF             = <see RFC 4234>       ; Internet standard newline
HTAB             =  %x09
SP               =  %x20
CHAR             = <see RFC 4234>       ; any ASCII excluding NUL
CTL              = <see RFC 4234>       ; %x00-1F / %x7F



