
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 l2TMxnlv004966 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Thu, 29 Mar 2007 15:59: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 l2TMxnuc004965; Thu, 29 Mar 2007 15:59: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 brmea-mail-1.sun.com (brmea-mail-1.Sun.COM [192.18.98.31]) by balder-227.proper.com (8.13.5/8.13.5) with ESMTP id l2TMxnPP004959 for <ietf-sasl@imc.org>; Thu, 29 Mar 2007 15:59:49 -0700 (MST) (envelope-from Nicolas.Williams@sun.com)
Received: from centralmail4brm.central.Sun.COM ([129.147.62.198]) by brmea-mail-1.sun.com (8.13.6+Sun/8.12.9) with ESMTP id l2TMxmv4004432 for <ietf-sasl@imc.org>; Thu, 29 Mar 2007 22:59:48 GMT
Received: from binky.central.sun.com (binky.Central.Sun.COM [129.153.128.104]) by centralmail4brm.central.Sun.COM (8.13.6+Sun/8.13.6/ENSMAIL,v2.2) with ESMTP id l2TMxmXp017263 for <ietf-sasl@imc.org>; Thu, 29 Mar 2007 16:59:48 -0600 (MDT)
Received: from binky.central.sun.com (localhost [127.0.0.1]) by binky.central.sun.com (8.13.8+Sun/8.13.6) with ESMTP id l2TMx1nZ008768; Thu, 29 Mar 2007 17:59:01 -0500 (CDT)
Received: (from nw141292@localhost) by binky.central.sun.com (8.13.8+Sun/8.13.8/Submit) id l2TMx0NH008767; Thu, 29 Mar 2007 17:59:00 -0500 (CDT)
X-Authentication-Warning: binky.central.sun.com: nw141292 set sender to Nicolas.Williams@sun.com using -f
Date: Thu, 29 Mar 2007 17:59:00 -0500
From: Nicolas Williams <Nicolas.Williams@sun.com>
To: Martin Rex <Martin.Rex@sap.com>
Cc: simon@josefsson.org, password-auth@josefsson.org, ietf-sasl@imc.org, kitten@lists.ietf.org
Subject: Re: draft-josefsson-password-auth-00.txt
Message-ID: <20070329225900.GR8252@Sun.COM>
Mail-Followup-To: Martin Rex <Martin.Rex@sap.com>, simon@josefsson.org, password-auth@josefsson.org, ietf-sasl@imc.org, kitten@lists.ietf.org
References: <20070329223756.GP8252@Sun.COM> <200703292250.l2TMohmQ013127@fs4113.wdf.sap.corp>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
In-Reply-To: <200703292250.l2TMohmQ013127@fs4113.wdf.sap.corp>
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 Fri, Mar 30, 2007 at 12:50:43AM +0200, Martin Rex wrote:
> Nicolas Williams wrote:
> > Any where the server stores a secret verifier derived from the password
> > salted with the server's name.  If the server sends a response to the
> > client's response that proves it knows the verifier then the client can
> > consider the server to be authenticated to the client.
> 
> Depending on the architecture of the challenge response scheme
> this may not be easily done.
> 
> There are legacy systems where the (app)server actually possesses
> the shared secret and could therefore "prove he knows it".

Indeed.  But that doesn't mean that a generic mechanism in this area
must not support salting passwords as I described.

> AFAIK, the NTLM authentication on windows differs here.  The
> server doesn't have access to the shared secret, but has a
> secure channel to a domain controller where he can ask whether
> a particular combination of challenge and response is acceptable.

Yes, proxying should be acceptable.

> > You're misusing the term "channel binding" here.  A server name not
> > associated with some secure channel below the application layer is not a
> > channel binding.
> 
> Sorry, but I have to disagree completely.  GSS-API has a very
> "open" concept of channel bindings.

Here we're talking about a mechanism more generic still than a GSS
mechanism.  Lately when we speak of channel binding we mostly mean it in
the "transformed representations of encryption keys) of the underlying
communications channel, of protection mechanisms applied to that
communications channel," subset of the sense of RFC2743.

You may want to comment on draft-williams-on-channel-binding-01.txt;
it's in IETF Last Call.

> You might want to turn your attention to RFC-2744 Section 3.11.

The relevant text is in RFC2743, section 1.1.6, first paragraph.

Nico
-- 



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 l2TMp2a3004575 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Thu, 29 Mar 2007 15:51:02 -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 l2TMp2pF004574; Thu, 29 Mar 2007 15:51:02 -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 smtpde02.sap-ag.de (smtpde02.sap-ag.de [155.56.68.170]) by balder-227.proper.com (8.13.5/8.13.5) with ESMTP id l2TMp0ii004568 for <ietf-sasl@imc.org>; Thu, 29 Mar 2007 15:51:01 -0700 (MST) (envelope-from Martin.Rex@sap.com)
Received: from sap-ag.de (smtpde02) by smtpde02.sap-ag.de (out) with ESMTP id AAA20186; Fri, 30 Mar 2007 00:50:43 +0200 (MESZ)
From: Martin Rex <Martin.Rex@sap.com>
Message-Id: <200703292250.l2TMohmQ013127@fs4113.wdf.sap.corp>
Subject: Re: draft-josefsson-password-auth-00.txt
To: Nicolas.Williams@sun.com (Nicolas Williams)
Date: Fri, 30 Mar 2007 00:50:43 +0200 (MEST)
Cc: Martin.Rex@sap.com, simon@josefsson.org, password-auth@josefsson.org, ietf-sasl@imc.org, kitten@lists.ietf.org
In-Reply-To: <20070329223756.GP8252@Sun.COM> from "Nicolas Williams" at Mar 29, 7 05:37:56 pm
Reply-To: martin.rex@sap.com
MIME-Version: 1.0
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 8bit
X-SAP: out
X-SAP: out
X-SAP: out
X-SAP: out
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 wrote:
> 
> On Fri, Mar 30, 2007 at 12:11:16AM +0200, Martin Rex wrote:
> > To me that seems to be slightly inappropriate terminology.
> > 
> > Which particular challenge-response scheme do you have in mind
> > where the server actually performs a mutual authentication,
> > i.e. provides a cryptographic proof of his identity?
> 
> Any where the server stores a secret verifier derived from the password
> salted with the server's name.  If the server sends a response to the
> client's response that proves it knows the verifier then the client can
> consider the server to be authenticated to the client.

Depending on the architecture of the challenge response scheme
this may not be easily done.

There are legacy systems where the (app)server actually possesses
the shared secret and could therefore "prove he knows it".

AFAIK, the NTLM authentication on windows differs here.  The
server doesn't have access to the shared secret, but has a
secure channel to a domain controller where he can ask whether
a particular combination of challenge and response is acceptable.


> 
> > If the client derives the target name from the network endpoint
> > address (i.e. fqdn-hostname plus service/tcp-port-no) and
> > the server simply "asserts" this name, then this is really
> > a channel binding based on a printable name instead of
> 
> You're misusing the term "channel binding" here.  A server name not
> associated with some secure channel below the application layer is not a
> channel binding.

Sorry, but I have to disagree completely.  GSS-API has a very
"open" concept of channel bindings.

You might want to turn your attention to RFC-2744 Section 3.11.
which lists all types of channel bindings that "GSS-API v2"
knows about.  None of what I see there is what I recognize
as "secure" channel bindings, but it does have the "GSS_C_AF_INET"
type.


-Martin



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 l2TMd6li004070 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Thu, 29 Mar 2007 15:39:06 -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 l2TMd6Ra004069; Thu, 29 Mar 2007 15:39:06 -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.13.5/8.13.5) with ESMTP id l2TMcj6T004059 for <ietf-sasl@imc.org>; Thu, 29 Mar 2007 15:39:05 -0700 (MST) (envelope-from Nicolas.Williams@sun.com)
Received: from centralmail3brm.Central.Sun.COM ([129.147.62.199]) by brmea-mail-1.sun.com (8.13.6+Sun/8.12.9) with ESMTP id l2TMci3I026005 for <ietf-sasl@imc.org>; Thu, 29 Mar 2007 22:38:45 GMT
Received: from binky.central.sun.com (binky.Central.Sun.COM [129.153.128.104]) by centralmail3brm.Central.Sun.COM (8.13.6+Sun/8.13.6/ENSMAIL,v2.2) with ESMTP id l2TMci8F020755 for <ietf-sasl@imc.org>; Thu, 29 Mar 2007 16:38:44 -0600 (MDT)
Received: from binky.central.sun.com (localhost [127.0.0.1]) by binky.central.sun.com (8.13.8+Sun/8.13.6) with ESMTP id l2TMbvZ5008635; Thu, 29 Mar 2007 17:37:57 -0500 (CDT)
Received: (from nw141292@localhost) by binky.central.sun.com (8.13.8+Sun/8.13.8/Submit) id l2TMbuHd008634; Thu, 29 Mar 2007 17:37:56 -0500 (CDT)
X-Authentication-Warning: binky.central.sun.com: nw141292 set sender to Nicolas.Williams@sun.com using -f
Date: Thu, 29 Mar 2007 17:37:56 -0500
From: Nicolas Williams <Nicolas.Williams@sun.com>
To: Martin Rex <Martin.Rex@sap.com>
Cc: simon@josefsson.org, password-auth@josefsson.org, ietf-sasl@imc.org, kitten@lists.ietf.org
Subject: Re: draft-josefsson-password-auth-00.txt
Message-ID: <20070329223756.GP8252@Sun.COM>
Mail-Followup-To: Martin Rex <Martin.Rex@sap.com>, simon@josefsson.org, password-auth@josefsson.org, ietf-sasl@imc.org, kitten@lists.ietf.org
References: <20070329211513.GJ8252@Sun.COM> <200703292211.l2TMBGWS010580@fs4113.wdf.sap.corp>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
In-Reply-To: <200703292211.l2TMBGWS010580@fs4113.wdf.sap.corp>
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 Fri, Mar 30, 2007 at 12:11:16AM +0200, Martin Rex wrote:
> To me that seems to be slightly inappropriate terminology.
> 
> Which particular challenge-response scheme do you have in mind
> where the server actually performs a mutual authentication,
> i.e. provides a cryptographic proof of his identity?

Any where the server stores a secret verifier derived from the password
salted with the server's name.  If the server sends a response to the
client's response that proves it knows the verifier then the client can
consider the server to be authenticated to the client.

> If the client derives the target name from the network endpoint
> address (i.e. fqdn-hostname plus service/tcp-port-no) and
> the server simply "asserts" this name, then this is really
> a channel binding based on a printable name instead of

You're misusing the term "channel binding" here.  A server name not
associated with some secure channel below the application layer is not a
channel binding.

> the low-level network address, but still a channel binding and
> not an authentication.

I really didn't want to talk about server name canonicalization.  I
wanted to sketch a generic password-based challenge/response mechanism
that supports the optional use of channel binding and optional mutual
authentication.

Yes, I included in my sketch an acceptor-side assertion of its name.
This has two purposes that I did not mention.  One: when the client
doesn't know the server's name the client can simply go ahead and use
the asserted server name as the salt -- if the alternative is not to
salt the password at all then this is clearly good and not harmful (the
client provides material that can be attacked offline regardless of how
the password is salted).  The other: so the client can output the
correct server name to the application which can then prompt the user,
or for "fuzzy" server name canonicalization.

(I know, you don't have to remind me that the GSS-APIv2u1's
GSS_Canonicalize_name() is supposed to be able to canonicalize the given
server (or whatever) name securely and out of band w.r.t. security
context establishment.  But we're talking here too about a mechanism
usable outside the context of the GSS-API also, and anyways, that bit of
GSS-APIv2u1 semantics is rather cumbersome.)



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 l2TMBpkN002653 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Thu, 29 Mar 2007 15:11:51 -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 l2TMBp7U002652; Thu, 29 Mar 2007 15:11: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 smtpde02.sap-ag.de (smtpde02.sap-ag.de [155.56.68.170]) by balder-227.proper.com (8.13.5/8.13.5) with ESMTP id l2TMBTo8002637 for <ietf-sasl@imc.org>; Thu, 29 Mar 2007 15:11:50 -0700 (MST) (envelope-from Martin.Rex@sap.com)
Received: from sap-ag.de (smtpde02) by smtpde02.sap-ag.de (out) with ESMTP id AAA01776; Fri, 30 Mar 2007 00:11:16 +0200 (MESZ)
From: Martin Rex <Martin.Rex@sap.com>
Message-Id: <200703292211.l2TMBGWS010580@fs4113.wdf.sap.corp>
Subject: Re: draft-josefsson-password-auth-00.txt
To: Nicolas.Williams@Sun.COM (Nicolas Williams)
Date: Fri, 30 Mar 2007 00:11:16 +0200 (MEST)
Cc: Martin.Rex@sap.com, simon@josefsson.org, password-auth@josefsson.org, ietf-sasl@imc.org, kitten@lists.ietf.org
In-Reply-To: <20070329211513.GJ8252@Sun.COM> from "Nicolas Williams" at Mar 29, 7 04:15:14 pm
Reply-To: martin.rex@sap.com
MIME-Version: 1.0
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 8bit
X-SAP: out
X-SAP: out
X-SAP: out
X-SAP: out
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 wrote:
> 
> A target name is needed so the acceptor's verifier can be a weak
> password equivalent (meaning it's a password equivalent only for
> authenticating to the same acceptor).  Therefore it's useful to
> have a target name even when mutual auth is not requested.
> 
> A target name is required for mutual auth, of course.

To me that seems to be slightly inappropriate terminology.

Which particular challenge-response scheme do you have in mind
where the server actually performs a mutual authentication,
i.e. provides a cryptographic proof of his identity?

If the client derives the target name from the network endpoint
address (i.e. fqdn-hostname plus service/tcp-port-no) and
the server simply "asserts" this name, then this is really
a channel binding based on a printable name instead of
the low-level network address, but still a channel binding and
not an authentication.


-Martin



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 l2TLGPJU098219 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Thu, 29 Mar 2007 14:16:25 -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 l2TLGPkN098218; Thu, 29 Mar 2007 14:16:25 -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-2.sun.com (sca-ea-mail-2.Sun.COM [192.18.43.25]) by balder-227.proper.com (8.13.5/8.13.5) with ESMTP id l2TLG4K1098196 (version=TLSv1/SSLv3 cipher=EDH-RSA-DES-CBC3-SHA bits=168 verify=NO) for <ietf-sasl@imc.org>; Thu, 29 Mar 2007 14:16:24 -0700 (MST) (envelope-from Nicolas.Williams@sun.com)
Received: from centralmail3brm.Central.Sun.COM ([129.147.62.199]) by sca-ea-mail-2.sun.com (8.13.7+Sun/8.12.9) with ESMTP id l2TLG3Am028041 for <ietf-sasl@imc.org>; Thu, 29 Mar 2007 21:16:03 GMT
Received: from binky.central.sun.com (binky.Central.Sun.COM [129.153.128.104]) by centralmail3brm.Central.Sun.COM (8.13.6+Sun/8.13.6/ENSMAIL,v2.2) with ESMTP id l2TLG3uX009601 for <ietf-sasl@imc.org>; Thu, 29 Mar 2007 15:16:03 -0600 (MDT)
Received: from binky.central.sun.com (localhost [127.0.0.1]) by binky.central.sun.com (8.13.8+Sun/8.13.6) with ESMTP id l2TLFF5G008519; Thu, 29 Mar 2007 16:15:15 -0500 (CDT)
Received: (from nw141292@localhost) by binky.central.sun.com (8.13.8+Sun/8.13.8/Submit) id l2TLFEwC008518; Thu, 29 Mar 2007 16:15:14 -0500 (CDT)
X-Authentication-Warning: binky.central.sun.com: nw141292 set sender to Nicolas.Williams@sun.com using -f
Date: Thu, 29 Mar 2007 16:15:14 -0500
From: Nicolas Williams <Nicolas.Williams@sun.com>
To: Martin Rex <Martin.Rex@sap.com>, simon@josefsson.org, password-auth@josefsson.org, ietf-sasl@imc.org, kitten@lists.ietf.org
Subject: Re: draft-josefsson-password-auth-00.txt
Message-ID: <20070329211513.GJ8252@Sun.COM>
Mail-Followup-To: Martin Rex <Martin.Rex@sap.com>, simon@josefsson.org, password-auth@josefsson.org, ietf-sasl@imc.org, kitten@lists.ietf.org
References: <20070329152128.GQ1666@Sun.COM> <200703291608.l2TG8XAi019364@fs4113.wdf.sap.corp> <20070329161701.GA8252@Sun.COM> <20070329162839.GB8252@Sun.COM>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
In-Reply-To: <20070329162839.GB8252@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>

> I.e., we could merge YAP and the other proposals into one generic
> mechanism.

Very, very roughly, primarily to illustrate the context token exchanges:

IDi = initiator name
IDt = target acceptor name
IDa = acceptor name (like IDt, but asserted by the acceptor)
S   = salt derived from IDt or IDa
K   = PBKDF2(password || S, iteration)
R1  = response_function(K, [challenge] || channel bindings || [cnonce])
R2  = response_function2(K, R1)

1/2   rt (   channel bindings and no mutual auth)
    I -> A:  IDi, [IDt,] R1

1     rt (   channel bindings and    mutual auth)
    I -> A:  IDi, IDt, R1
    A -> I:  R2

1 1/2 rt (no channel bindings and no mutual auth)
    I -> A:  IDi, [IDt]
    A -> I:  IDa, challenge
    I -> A:  nonce, R1

2     rt (no channel bindings and    mutual auth)
    I -> A:  IDi
    A -> I:  IDa, challenge
    I -> A:  nonce, R1
    A -> I:  R2

A target name is needed so the acceptor's verifier can be a weak
password equivalent (meaning it's a password equivalent only for
authenticating to the same acceptor).  Therefore it's useful to
have a target name even when mutual auth is not requested.

A target name is required for mutual auth, of course.

The 1 1/2 rt version could add DH key agreement for PFS.  And the 2 rt
version could add DH key agreement for PFS and some privacy protection
of IDi.  That is probably not worthwhile for any SASL application, since
they tend to have STARTTLS-type options, and for GSS one could always
add PFS with stackable mechanisms.

Nico
-- 



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 l2TGToer078352 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Thu, 29 Mar 2007 09:29:50 -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 l2TGTo7W078351; Thu, 29 Mar 2007 09:29:50 -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-3.sun.com (sca-ea-mail-3.Sun.COM [192.18.43.21]) by balder-227.proper.com (8.13.5/8.13.5) with ESMTP id l2TGTT65078305 for <ietf-sasl@imc.org>; Thu, 29 Mar 2007 09:29:49 -0700 (MST) (envelope-from Nicolas.Williams@sun.com)
Received: from centralmail3brm.Central.Sun.COM ([129.147.62.199]) by sca-ea-mail-3.sun.com (8.13.6+Sun/8.12.9) with ESMTP id l2TGTTWc014684 for <ietf-sasl@imc.org>; Thu, 29 Mar 2007 16:29:29 GMT
Received: from binky.central.sun.com (binky.Central.Sun.COM [129.153.128.104]) by centralmail3brm.Central.Sun.COM (8.13.6+Sun/8.13.6/ENSMAIL,v2.2) with ESMTP id l2TGTSrV024350 for <ietf-sasl@imc.org>; Thu, 29 Mar 2007 10:29:28 -0600 (MDT)
Received: from binky.central.sun.com (localhost [127.0.0.1]) by binky.central.sun.com (8.13.8+Sun/8.13.6) with ESMTP id l2TGSfKQ008318; Thu, 29 Mar 2007 11:28:41 -0500 (CDT)
Received: (from nw141292@localhost) by binky.central.sun.com (8.13.8+Sun/8.13.8/Submit) id l2TGSe3o008317; Thu, 29 Mar 2007 11:28:40 -0500 (CDT)
X-Authentication-Warning: binky.central.sun.com: nw141292 set sender to Nicolas.Williams@sun.com using -f
Date: Thu, 29 Mar 2007 11:28:40 -0500
From: Nicolas Williams <Nicolas.Williams@sun.com>
To: Martin Rex <Martin.Rex@sap.com>, simon@josefsson.org, password-auth@josefsson.org, ietf-sasl@imc.org, kitten@lists.ietf.org
Subject: Re: draft-josefsson-password-auth-00.txt
Message-ID: <20070329162839.GB8252@Sun.COM>
Mail-Followup-To: Martin Rex <Martin.Rex@sap.com>, simon@josefsson.org, password-auth@josefsson.org, ietf-sasl@imc.org, kitten@lists.ietf.org
References: <20070329152128.GQ1666@Sun.COM> <200703291608.l2TG8XAi019364@fs4113.wdf.sap.corp> <20070329161701.GA8252@Sun.COM>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
In-Reply-To: <20070329161701.GA8252@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>

A very general password-based challenge-response mechanism that provides
optional channel binding and optional mutual authentication in one, one
and a half and two round-trips should be feasible:

 - w/  unique channel bindings -> 1 rt
 - w/o unique channel bindings + uni-dir authen -> 1 and 1/2 rt
 - w/o unique channel bindings + mutual auth -> 2 rt

Mutual authentication would work the acceptor name into the PBKDF
inputs.  Uni-directional authentication would not work the acceptor name
into the PBKDF (only if no acceptor name was given? or always).

I.e., we could merge YAP and the other proposals into one generic
mechanism.

Nico
-- 



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 l2TGIFt0077143 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Thu, 29 Mar 2007 09:18:15 -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 l2TGIFrH077142; Thu, 29 Mar 2007 09:18: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 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 l2TGHosp077104 for <ietf-sasl@imc.org>; Thu, 29 Mar 2007 09:18:14 -0700 (MST) (envelope-from Nicolas.Williams@sun.com)
Received: from centralmail3brm.Central.Sun.COM ([129.147.62.199]) by brmea-mail-4.sun.com (8.13.6+Sun/8.12.9) with ESMTP id l2TGHoWj029561 for <ietf-sasl@imc.org>; Thu, 29 Mar 2007 16:17:50 GMT
Received: from binky.central.sun.com (binky.Central.Sun.COM [129.153.128.104]) by centralmail3brm.Central.Sun.COM (8.13.6+Sun/8.13.6/ENSMAIL,v2.2) with ESMTP id l2TGHnV9016521 for <ietf-sasl@imc.org>; Thu, 29 Mar 2007 10:17:50 -0600 (MDT)
Received: from binky.central.sun.com (localhost [127.0.0.1]) by binky.central.sun.com (8.13.8+Sun/8.13.6) with ESMTP id l2TGH2UF008309; Thu, 29 Mar 2007 11:17:02 -0500 (CDT)
Received: (from nw141292@localhost) by binky.central.sun.com (8.13.8+Sun/8.13.8/Submit) id l2TGH1pp008308; Thu, 29 Mar 2007 11:17:02 -0500 (CDT)
X-Authentication-Warning: binky.central.sun.com: nw141292 set sender to Nicolas.Williams@sun.com using -f
Date: Thu, 29 Mar 2007 11:17:01 -0500
From: Nicolas Williams <Nicolas.Williams@sun.com>
To: Martin Rex <Martin.Rex@sap.com>
Cc: simon@josefsson.org, password-auth@josefsson.org, ietf-sasl@imc.org, kitten@lists.ietf.org
Subject: Re: draft-josefsson-password-auth-00.txt
Message-ID: <20070329161701.GA8252@Sun.COM>
Mail-Followup-To: Martin Rex <Martin.Rex@sap.com>, simon@josefsson.org, password-auth@josefsson.org, ietf-sasl@imc.org, kitten@lists.ietf.org
References: <20070329152128.GQ1666@Sun.COM> <200703291608.l2TG8XAi019364@fs4113.wdf.sap.corp>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
In-Reply-To: <200703291608.l2TG8XAi019364@fs4113.wdf.sap.corp>
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, Mar 29, 2007 at 06:08:33PM +0200, Martin Rex wrote:
> Nicolas Williams wrote:
> > 
> > On Thu, Mar 29, 2007 at 04:28:30PM +0200, Martin Rex wrote:
> > > Most challenge-response protocols perform a unidirectional
> > > authentication of the client/initiator to the server/acceptor only,
> > > and for those the authentication scheme usually does not have
> > > a name for the acceptor.
> > 
> > Understood.  Perhaps then what I should have said is that when mutual
> > authentication is requested then the password should be salted with the
> > acceptor name.
>  
> At first glance I think it should be OK if some kind of channel bindings
> are included in (hashed into) the challenge-response exchange.

Certainly, provided any are available.

Last week Kurt proposed a mechanism that requires channel bindings, and
called it YAP (yet another ...).

It works in just one round-trip (in addition to however many the secure
channel required to establish) because the channel binding acts as the
server challenge (provided the channel binding is unique in time, else
there's a replay attack).

Nico
-- 



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 l2TG9cet076631 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Thu, 29 Mar 2007 09:09:38 -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 l2TG9cWc076629; Thu, 29 Mar 2007 09:09:38 -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 smtpde02.sap-ag.de (smtpde02.sap-ag.de [155.56.68.170]) by balder-227.proper.com (8.13.5/8.13.5) with ESMTP id l2TG9GNP076599 for <ietf-sasl@imc.org>; Thu, 29 Mar 2007 09:09:37 -0700 (MST) (envelope-from Martin.Rex@sap.com)
Received: from sap-ag.de (smtpde02) by smtpde02.sap-ag.de (out) with ESMTP id SAA16425; Thu, 29 Mar 2007 18:08:54 +0200 (MESZ)
From: Martin Rex <Martin.Rex@sap.com>
Message-Id: <200703291608.l2TG8XAi019364@fs4113.wdf.sap.corp>
Subject: Re: draft-josefsson-password-auth-00.txt
To: Nicolas.Williams@sun.com (Nicolas Williams)
Date: Thu, 29 Mar 2007 18:08:33 +0200 (MEST)
Cc: martin.rex@sap.com, simon@josefsson.org, password-auth@josefsson.org, ietf-sasl@imc.org, kitten@lists.ietf.org
In-Reply-To: <20070329152128.GQ1666@Sun.COM> from "Nicolas Williams" at Mar 29, 7 10:21:29 am
Reply-To: martin.rex@sap.com
MIME-Version: 1.0
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 8bit
X-SAP: out
X-SAP: out
X-SAP: out
X-SAP: out
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 wrote:
> 
> On Thu, Mar 29, 2007 at 04:28:30PM +0200, Martin Rex wrote:
> > Most challenge-response protocols perform a unidirectional
> > authentication of the client/initiator to the server/acceptor only,
> > and for those the authentication scheme usually does not have
> > a name for the acceptor.
> 
> Understood.  Perhaps then what I should have said is that when mutual
> authentication is requested then the password should be salted with the
> acceptor name.
 
At first glance I think it should be OK if some kind of channel bindings
are included in (hashed into) the challenge-response exchange.

-Martin



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 l2TFWooh073541 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Thu, 29 Mar 2007 08:32:50 -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 l2TFWo94073540; Thu, 29 Mar 2007 08:32:50 -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 l2TFWTcd073527 for <ietf-sasl@imc.org>; Thu, 29 Mar 2007 08:32:49 -0700 (MST) (envelope-from Kurt.Zeilenga@Isode.com)
Received: from [192.168.1.103] ((unknown) [24.176.246.106])  by rufus.isode.com (submission channel) via TCP with ESMTPA  id <RgvcDAB5Iyew@rufus.isode.com> for <ietf-sasl@imc.org>; Thu, 29 Mar 2007 16:32:28 +0100
X-SMTP-Protocol-Errors: NORDNS
Mime-Version: 1.0 (Apple Message framework v752.3)
In-Reply-To: <20070329134256.GN1666@Sun.COM>
References: <E1HWe9i-0004b9-Tt@stiedprstage1.ietf.org> <87tzw4p5g1.fsf@mocca.josefsson.org> <20070329131715.GJ1666@Sun.COM> <20070329134256.GN1666@Sun.COM>
Content-Type: text/plain; charset=US-ASCII; format=flowed
Message-Id: <FF1D873B-FDBB-4B9D-8AA7-852A09238D37@Isode.com>
Content-Transfer-Encoding: 7bit
From: Kurt Zeilenga <Kurt.Zeilenga@isode.com>
Subject: YAP applicability in Lemonade
Date: Thu, 29 Mar 2007 08:32:25 -0700
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>

I chatted with Eric Burger briefly last week about YAP applicability
to use in Lemonade deployments.  We concluded as Lemonade use of TLS
is quite limited, applicability of YAP in Lemonade is limited.

-- 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 l2TFMd9o072975 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Thu, 29 Mar 2007 08:22:39 -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 l2TFMd3d072974; Thu, 29 Mar 2007 08:22:39 -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-2.sun.com (brmea-mail-2.Sun.COM [192.18.98.43]) by balder-227.proper.com (8.13.5/8.13.5) with ESMTP id l2TFMIYP072961 for <ietf-sasl@imc.org>; Thu, 29 Mar 2007 08:22:39 -0700 (MST) (envelope-from Nicolas.Williams@sun.com)
Received: from centralmail4brm.central.Sun.COM ([129.147.62.198]) by brmea-mail-2.sun.com (8.13.6+Sun/8.12.9) with ESMTP id l2TFMIQY010536 for <ietf-sasl@imc.org>; Thu, 29 Mar 2007 15:22:18 GMT
Received: from binky.central.sun.com (binky.Central.Sun.COM [129.153.128.104]) by centralmail4brm.central.Sun.COM (8.13.6+Sun/8.13.6/ENSMAIL,v2.2) with ESMTP id l2TFMI1j010877 for <ietf-sasl@imc.org>; Thu, 29 Mar 2007 09:22:18 -0600 (MDT)
Received: from binky.central.sun.com (localhost [127.0.0.1]) by binky.central.sun.com (8.13.8+Sun/8.13.6) with ESMTP id l2TFLUjF008220; Thu, 29 Mar 2007 10:21:30 -0500 (CDT)
Received: (from nw141292@localhost) by binky.central.sun.com (8.13.8+Sun/8.13.8/Submit) id l2TFLTL5008219; Thu, 29 Mar 2007 10:21:29 -0500 (CDT)
X-Authentication-Warning: binky.central.sun.com: nw141292 set sender to Nicolas.Williams@sun.com using -f
Date: Thu, 29 Mar 2007 10:21:29 -0500
From: Nicolas Williams <Nicolas.Williams@sun.com>
To: Martin Rex <martin.rex@sap.com>
Cc: simon@josefsson.org, password-auth@josefsson.org, ietf-sasl@imc.org, kitten@lists.ietf.org
Subject: Re: draft-josefsson-password-auth-00.txt
Message-ID: <20070329152128.GQ1666@Sun.COM>
Mail-Followup-To: Martin Rex <martin.rex@sap.com>, simon@josefsson.org, password-auth@josefsson.org, ietf-sasl@imc.org, kitten@lists.ietf.org
References: <20070329135743.GO1666@Sun.COM> <200703291428.l2TESVM2012931@fs4113.wdf.sap.corp>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
In-Reply-To: <200703291428.l2TESVM2012931@fs4113.wdf.sap.corp>
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, Mar 29, 2007 at 04:28:30PM +0200, Martin Rex wrote:
> Most challenge-response protocols perform a unidirectional
> authentication of the client/initiator to the server/acceptor only,
> and for those the authentication scheme usually does not have
> a name for the acceptor.

Understood.  Perhaps then what I should have said is that when mutual
authentication is requested then the password should be salted with the
acceptor name.



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 l2TFKil0072882 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Thu, 29 Mar 2007 08:20: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 l2TFKihu072881; Thu, 29 Mar 2007 08:20: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 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 l2TFKMUn072846 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=FAIL) for <ietf-sasl@imc.org>; Thu, 29 Mar 2007 08:20:43 -0700 (MST) (envelope-from simon@josefsson.org)
Received: from mocca.josefsson.org (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 l2TFKDdD012006 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO) for <ietf-sasl@imc.org>; Thu, 29 Mar 2007 17:20:15 +0200
From: Simon Josefsson <simon@josefsson.org>
To: ietf-sasl@imc.org
Subject: Re: I-D ACTION:draft-ietf-sasl-gs2-08.txt
References: <E1HWvww-0004yT-6J@stiedprstage1.ietf.org>
OpenPGP: id=B565716F; url=http://josefsson.org/key.txt
X-Hashcash: 1:22:070329:i-d-announce@ietf.org::xu53OCGLtJf4ucpZ:Azl2
X-Hashcash: 1:22:070329:ietf-sasl@imc.org::e8L6AaS44ynjzd3e:NZxu
X-Hashcash: 1:22:070329:internet-drafts@ietf.org::VbdbHGvD4YQaFqdO:Z6sR
Date: Thu, 29 Mar 2007 17:20:13 +0200
In-Reply-To: <E1HWvww-0004yT-6J@stiedprstage1.ietf.org> (Internet-Drafts@ietf.org's message of "Thu\, 29 Mar 2007 10\:50\:02 -0400")
Message-ID: <87y7lgnkk2.fsf@mocca.josefsson.org>
User-Agent: Gnus/5.110006 (No Gnus v0.6) Emacs/22.0.95 (gnu/linux)
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
X-Spam-Status: No, score=-2.1 required=4.0 tests=AWL,BAYES_00, 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>

The GS2 -08 document contains minor fixes based on WGLC feedback, see:

http://josefsson.org/sasl-gs2/draft-ietf-sasl-gs2-08-from-7.diff.html

/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 l2TEoRau059881 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Thu, 29 Mar 2007 07:50:27 -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 l2TEoRCX059880; Thu, 29 Mar 2007 07:50:27 -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 ns4.neustar.com (ns4.neustar.com [156.154.24.139]) by balder-227.proper.com (8.13.5/8.13.5) with ESMTP id l2TEo7bB059854 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=FAIL) for <ietf-sasl@imc.org>; Thu, 29 Mar 2007 07:50:27 -0700 (MST) (envelope-from ietf@ietf.org)
Received: from stiedprstage1.ietf.org (stiedprstage1.va.neustar.com [10.31.47.10]) by ns4.neustar.com (Postfix) with ESMTP id 688402ACB7; Thu, 29 Mar 2007 14:50:02 +0000 (GMT)
Received: from ietf by stiedprstage1.ietf.org with local (Exim 4.43) id 1HWvww-0004yT-6J; Thu, 29 Mar 2007 10:50:02 -0400
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-08.txt 
Message-Id: <E1HWvww-0004yT-6J@stiedprstage1.ietf.org>
Date: Thu, 29 Mar 2007 10:50:02 -0400
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-08.txt
	Pages		: 34
	Date		: 2007-3-29
	
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-08.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-08.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-08.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-3-29083730.I-D@ietf.org>

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

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

Content-Type: text/plain
Content-ID:	<2007-3-29083730.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 l2TEn9D0059797 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Thu, 29 Mar 2007 07:49:09 -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 l2TEn92O059796; Thu, 29 Mar 2007 07:49:09 -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 smtpde01.sap-ag.de (smtpde01.sap-ag.de [155.56.68.171]) by balder-227.proper.com (8.13.5/8.13.5) with ESMTP id l2TEn8jh059790 for <ietf-sasl@imc.org>; Thu, 29 Mar 2007 07:49:08 -0700 (MST) (envelope-from martin.rex@sap.com)
Received: from sap-ag.de (smtpde01) by smtpde01.sap-ag.de (out) with ESMTP id QAA00554; Thu, 29 Mar 2007 16:48:51 +0200 (MESZ)
From: Martin Rex <martin.rex@sap.com>
Message-Id: <200703291448.l2TEmonL014308@fs4113.wdf.sap.corp>
Subject: Re: draft-josefsson-password-auth-00.txt
To: Nicolas.Williams@sun.com (Nicolas Williams)
Date: Thu, 29 Mar 2007 16:48:50 +0200 (MEST)
Cc: simon@josefsson.org, password-auth@josefsson.org, ietf-sasl@imc.org, kitten@lists.ietf.org
In-Reply-To: <20070329135743.GO1666@Sun.COM> from "Nicolas Williams" at Mar 29, 7 08:57:43 am
Reply-To: martin.rex@sap.com
MIME-Version: 1.0
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 8bit
X-SAP: out
X-SAP: out
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 wrote:
> 
> > any case, how to salt the password is an open question.  Perhaps the
> 
> Well, you'd want to salt it with the server's name, so the verifier is
> different at each server.  Then again, many sites might object.  So you
> might want a two level verifier derivation where the first step is not
> salted with the server name and the second is -- then one could
> distribute the output of the first step as the verifier for all servers
> in a site.

What you seem to be looking/asking for sounds like "channel bindings"
rather than name-based mutual authentication of the server (many
password-based challenge-response authentication schemes do not
provide mutual authentication).

Keep in mind that it might be difficult for servers and clients
to agree on the same name for the server.  Take Microsoft Kerberos
as an example: there the server usually doesn't know (and doesn't
care) what target name the client is using -- the server will
always try to open service tickets by "brute force" using
his own secret key.  With very few exceptions, service principals
don't exist in Microsofts Kerberos, they're mere aliases known
to the KDC/Active Directory and may be used by clients/initiators--
A Microsoft server/acceptor normally doesn't know or care what service
pricipal aliases exist for his own account and which particular
alias was used by a client, it will look at the realm on the service
ticket to get the salting right, but entirely ignore the principal
name on the ticket.

(At least that is what happend with W2K Kerberos when I tested,
 and it can be verified by setting up two seperate user accounts "b" and "c"
 with the same password (both enabled for rfc-1964 authentication
 if W2K3 AD is used).  A server started under "b" will then
 happily establish security contexts with clients that use "b"
 as the target name as well as clients that use "c" as the target name.)


-Martin



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 l2TETKwD057777 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Thu, 29 Mar 2007 07:29:20 -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 l2TETKlH057776; Thu, 29 Mar 2007 07:29: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 smtpde01.sap-ag.de (smtpde01.sap-ag.de [155.56.68.171]) by balder-227.proper.com (8.13.5/8.13.5) with ESMTP id l2TESwUI057763 for <ietf-sasl@imc.org>; Thu, 29 Mar 2007 07:29:19 -0700 (MST) (envelope-from martin.rex@sap.com)
Received: from sap-ag.de (smtpde01) by smtpde01.sap-ag.de (out) with ESMTP id QAA27354; Thu, 29 Mar 2007 16:28:37 +0200 (MESZ)
From: Martin Rex <martin.rex@sap.com>
Message-Id: <200703291428.l2TESVM2012931@fs4113.wdf.sap.corp>
Subject: Re: draft-josefsson-password-auth-00.txt
To: Nicolas.Williams@sun.com (Nicolas Williams)
Date: Thu, 29 Mar 2007 16:28:30 +0200 (MEST)
Cc: simon@josefsson.org, password-auth@josefsson.org, ietf-sasl@imc.org, kitten@lists.ietf.org
In-Reply-To: <20070329135743.GO1666@Sun.COM> from "Nicolas Williams" at Mar 29, 7 08:57:43 am
Reply-To: martin.rex@sap.com
MIME-Version: 1.0
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 8bit
X-SAP: out
X-SAP: out
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 wrote:
> 
> > any case, how to salt the password is an open question.  Perhaps the
> 
> Well, you'd want to salt it with the server's name, so the verifier is
> different at each server.  Then again, many sites might object.  So you
> might want a two level verifier derivation where the first step is not
> salted with the server name and the second is -- then one could
> distribute the output of the first step as the verifier for all servers
> in a site.

Most challenge-response protocols perform a unidirectional
authentication of the client/initiator to the server/acceptor only,
and for those the authentication scheme usually does not have
a name for the acceptor.

I know that the Kerberos gss-api mechanism is "slightly" broken in
this respect since it requires a target name for gss_init_sec_context
even for unidirectional-only authentication.  This requirement
is one of the reasons why in many Kerberos scenarios an end-point
identification similar to what HTTPoverSSL/TLS does is used instead
of a real mutual authentication. 


One example for a challenge-repsonse authentication with GSS-API
style token exchange is Microsoft's NTLM SSP.  My GSS-API wrapper
for Microsoft's Kerberos SSP also includes a wrapper for Microsoft's
NTLM SSP.  

-Martin



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 l2TEDWhM056872 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Thu, 29 Mar 2007 07:13:32 -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 l2TEDWP9056871; Thu, 29 Mar 2007 07:13:32 -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 l2TEDB8m056850 for <ietf-sasl@imc.org>; Thu, 29 Mar 2007 07:13:31 -0700 (MST) (envelope-from Kurt.Zeilenga@Isode.com)
Received: from [192.168.1.103] ((unknown) [24.176.246.106])  by rufus.isode.com (submission channel) via TCP with ESMTPA  id <RgvJcwB5Iz3C@rufus.isode.com>; Thu, 29 Mar 2007 15:13:10 +0100
X-SMTP-Protocol-Errors: NORDNS
In-Reply-To: <87tzw4p5g1.fsf@mocca.josefsson.org>
References: <E1HWe9i-0004b9-Tt@stiedprstage1.ietf.org> <87tzw4p5g1.fsf@mocca.josefsson.org>
Mime-Version: 1.0 (Apple Message framework v752.3)
Content-Type: text/plain; charset=US-ASCII; format=flowed
Message-Id: <1CB4ECB2-D903-4D75-97B1-B7ED11999691@Isode.com>
Cc: ietf-sasl@imc.org, kitten@lists.ietf.org, password-auth@josefsson.org
Content-Transfer-Encoding: 7bit
From: Kurt Zeilenga <Kurt.Zeilenga@isode.com>
Subject: Re: draft-josefsson-password-auth-00.txt
Date: Thu, 29 Mar 2007 07:13:03 -0700
To: Simon Josefsson <simon@josefsson.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>

On Mar 29, 2007, at 6:03 AM, Simon Josefsson wrote:

> I'm cc:ing this to the password-auth mailing list that I created for
> discussion of the document.  Some discussions of the document may be
> off-topic for the SASL/KITTEN lists, and the WG chairs may prefer to
> see it discussed elsewhere (let me know!), so consider dropping the
> IETF lists when starting such a thread.

Given the SASL charter allows for the WG to review, as time permits,
independently developed SASL mechanism specifications, and the SASL
WG is currently discussing revision of our charter to include
additional work item(s) in this area, I would prefer discussions
related to password-based SASL mechanisms stay on the SASL WG list
(at least for now).

-- Kurt, SASL WG co-chair



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 l2TDwpc9055747 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Thu, 29 Mar 2007 06:58:51 -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 l2TDwpkC055746; Thu, 29 Mar 2007 06:58: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 sca-ea-mail-3.sun.com (sca-ea-mail-3.Sun.COM [192.18.43.21]) by balder-227.proper.com (8.13.5/8.13.5) with ESMTP id l2TDwVL3055723 for <ietf-sasl@imc.org>; Thu, 29 Mar 2007 06:58:51 -0700 (MST) (envelope-from Nicolas.Williams@sun.com)
Received: from centralmail3brm.Central.Sun.COM ([129.147.62.199]) by sca-ea-mail-3.sun.com (8.13.6+Sun/8.12.9) with ESMTP id l2TDwUvt022921 for <ietf-sasl@imc.org>; Thu, 29 Mar 2007 13:58:30 GMT
Received: from binky.central.sun.com (binky.Central.Sun.COM [129.153.128.104]) by centralmail3brm.Central.Sun.COM (8.13.6+Sun/8.13.6/ENSMAIL,v2.2) with ESMTP id l2TDwUVO005179 for <ietf-sasl@imc.org>; Thu, 29 Mar 2007 07:58:30 -0600 (MDT)
Received: from binky.central.sun.com (localhost [127.0.0.1]) by binky.central.sun.com (8.13.8+Sun/8.13.6) with ESMTP id l2TDvhSO008132; Thu, 29 Mar 2007 08:57:43 -0500 (CDT)
Received: (from nw141292@localhost) by binky.central.sun.com (8.13.8+Sun/8.13.8/Submit) id l2TDvhnS008131; Thu, 29 Mar 2007 08:57:43 -0500 (CDT)
X-Authentication-Warning: binky.central.sun.com: nw141292 set sender to Nicolas.Williams@sun.com using -f
Date: Thu, 29 Mar 2007 08:57:43 -0500
From: Nicolas Williams <Nicolas.Williams@sun.com>
To: Simon Josefsson <simon@josefsson.org>
Cc: ietf-sasl@imc.org, password-auth@josefsson.org, kitten@lists.ietf.org
Subject: Re: draft-josefsson-password-auth-00.txt
Message-ID: <20070329135743.GO1666@Sun.COM>
Mail-Followup-To: Simon Josefsson <simon@josefsson.org>, ietf-sasl@imc.org, password-auth@josefsson.org, kitten@lists.ietf.org
References: <E1HWe9i-0004b9-Tt@stiedprstage1.ietf.org> <87tzw4p5g1.fsf@mocca.josefsson.org> <20070329131715.GJ1666@Sun.COM> <87bqicp42a.fsf@mocca.josefsson.org>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
In-Reply-To: <87bqicp42a.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, Mar 29, 2007 at 03:33:33PM +0200, Simon Josefsson wrote:
> I'm not really that familiar with the naming corners of GSS-API...  In

You need to specify what name types the mech supports and how to convert
from generic name syntaxes (<username>, <service>@<host>) to mechanism-
specific syntaxes (which for a password-based mechanism might be the
identity function) and what mechanism-specific name types exist, their
syntaxes and so on (there wouldn't be any for a password-based mech).
And then there's the exported name token format, which for
password-based mechs should also be trivial.

> any case, how to salt the password is an open question.  Perhaps the

Well, you'd want to salt it with the server's name, so the verifier is
different at each server.  Then again, many sites might object.  So you
might want a two level verifier derivation where the first step is not
salted with the server name and the second is -- then one could
distribute the output of the first step as the verifier for all servers
in a site.

> exported name format can be used as the salt value with PKCS#5 PBKDF2?

Yes.  But there's two names: the client's and the server's.

> But then you'll need to transfer the PBKDF2 iteration counter, or
> (worse) fixate it.  The iteration counter question is the main reason
> why I haven't used PBKDF2 yet.  That, and I'm not sure PBKDF2 in this
> protocol actually protects against any valid security threats.

Either negotiate the iteration count or make it part of the mechanism
name/OID.

Kerberos V uses PBKDF2.  I see no reason why we couldn't use it here.

Nico
-- 



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 l2TDhisH054145 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Thu, 29 Mar 2007 06:43: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 l2TDhiP7054144; Thu, 29 Mar 2007 06:43: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 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 l2TDhhst054138 for <ietf-sasl@imc.org>; Thu, 29 Mar 2007 06:43:43 -0700 (MST) (envelope-from Nicolas.Williams@sun.com)
Received: from centralmail3brm.Central.Sun.COM ([129.147.62.199]) by brmea-mail-4.sun.com (8.13.6+Sun/8.12.9) with ESMTP id l2TDhhHC020868 for <ietf-sasl@imc.org>; Thu, 29 Mar 2007 13:43:43 GMT
Received: from binky.central.sun.com (binky.Central.Sun.COM [129.153.128.104]) by centralmail3brm.Central.Sun.COM (8.13.6+Sun/8.13.6/ENSMAIL,v2.2) with ESMTP id l2TDhhlq028820 for <ietf-sasl@imc.org>; Thu, 29 Mar 2007 07:43:43 -0600 (MDT)
Received: from binky.central.sun.com (localhost [127.0.0.1]) by binky.central.sun.com (8.13.8+Sun/8.13.6) with ESMTP id l2TDgumT008119; Thu, 29 Mar 2007 08:42:56 -0500 (CDT)
Received: (from nw141292@localhost) by binky.central.sun.com (8.13.8+Sun/8.13.8/Submit) id l2TDgupm008118; Thu, 29 Mar 2007 08:42:56 -0500 (CDT)
X-Authentication-Warning: binky.central.sun.com: nw141292 set sender to Nicolas.Williams@sun.com using -f
Date: Thu, 29 Mar 2007 08:42:56 -0500
From: Nicolas Williams <Nicolas.Williams@sun.com>
To: Simon Josefsson <simon@josefsson.org>, ietf-sasl@imc.org, kitten@lists.ietf.org, password-auth@josefsson.org
Subject: pw-based mech options (Re: draft-josefsson-password-auth-00.txt)
Message-ID: <20070329134256.GN1666@Sun.COM>
Mail-Followup-To: Simon Josefsson <simon@josefsson.org>, ietf-sasl@imc.org, kitten@lists.ietf.org, password-auth@josefsson.org
References: <E1HWe9i-0004b9-Tt@stiedprstage1.ietf.org> <87tzw4p5g1.fsf@mocca.josefsson.org> <20070329131715.GJ1666@Sun.COM>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
In-Reply-To: <20070329131715.GJ1666@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 Thu, Mar 29, 2007 at 08:17:16AM -0500, Nicolas Williams wrote:
> Not another mailing list... :/  :)
> 
> >        http://josefsson.org/password-auth/

And moderated to boot.  I'd rather we first seek consensus on the SASL
list as to whether the WG should take on any new password-based
mechanisms, and if so whether to proceed as Sam suggested (spec the mech
as a SASL/GS2 mech without reference to the GSS-API and describe its GSS
bindings in a separate section/document).

Me, I'm all for doing this work in this WG.  Of course, there were
several options on the table, and we may want to pick one, or maybe two.

I volunteered to help with the GSS bits regardless of which options we
choose.

BTW, about YAP, I get it now: it uses unique channel bindings as a
standing for both, server challenge and client nonce.

Also, during SAAG EKR suggested to me (via jabber) doing a password-
based mechanism as a profile of TLS PSK.

Of course, doing password auth in TLS PSK can work and it can even
provide a measure of protection against off-line dictionary attacks, but
it does not provide for privacy protection of the client identity.  If
we really want the latter then YAP seems like a good choice for SASL
apps running over TLS, else a password-based profile of TLS PSK seems
like a better approach.  We'd still need a password-based GSS mechanism,
but if we push the SASL mechanism to TLS then we effectively wash SASL's
hands of a password-based GSS mech.

Our options so far:

 - TLS PSK profile
 - YAP (which, incidentally, it seems it can't be a GS2 mech, though it
        can be a SASL mech and it can be a GSS mech)
 - Traditional challenge/response mechanisms (Simon's, Hexa, etc...)

A TLS profile seems un-SASLish, but we (the IETF) could use that too.

YAP is neat (one round-trip!), but absolutely depends on an underlying
channel with unique channel bindings (else it's replayable).

A traditional challenge/response design is needed to have a well rounded
SASL/GSS mechanism story.

So, my tentative position:

 - pursue a traditional challenge/response mechanism as a WG item
 - pursue YAP as a WG item IFF the privacy protection angle is deemed
   important
 - pursue a TLS PSK profile as an individual submission or let the TLS
   WG take it

Comments?

Nico
-- 



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 l2TDXkCJ053500 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Thu, 29 Mar 2007 06:33:46 -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 l2TDXkW5053499; Thu, 29 Mar 2007 06:33:46 -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 l2TDXiQj053493 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=FAIL) for <ietf-sasl@imc.org>; Thu, 29 Mar 2007 06:33:45 -0700 (MST) (envelope-from simon@josefsson.org)
Received: from mocca.josefsson.org (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 l2TDXXcl029730 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Thu, 29 Mar 2007 15:33:33 +0200
From: Simon Josefsson <simon@josefsson.org>
To: ietf-sasl@imc.org
Cc: kitten@lists.ietf.org, password-auth@josefsson.org
Subject: Re: draft-josefsson-password-auth-00.txt
References: <E1HWe9i-0004b9-Tt@stiedprstage1.ietf.org> <87tzw4p5g1.fsf@mocca.josefsson.org> <20070329131715.GJ1666@Sun.COM>
OpenPGP: id=B565716F; url=http://josefsson.org/key.txt
X-Hashcash: 1:22:070329:ietf-sasl@imc.org::cpVdPGJLqYQwc1Lv:Fwfj
X-Hashcash: 1:22:070329:password-auth@josefsson.org::grpvszOK7ar5oe0i:4jvF
X-Hashcash: 1:22:070329:kitten@lists.ietf.org::7bs1QaxILKRn5e1x:BBoL
Date: Thu, 29 Mar 2007 15:33:33 +0200
In-Reply-To: <20070329131715.GJ1666@Sun.COM> (Nicolas Williams's message of "Thu\, 29 Mar 2007 08\:17\:16 -0500")
Message-ID: <87bqicp42a.fsf@mocca.josefsson.org>
User-Agent: Gnus/5.110006 (No Gnus v0.6) Emacs/22.0.95 (gnu/linux)
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
X-Spam-Status: No, score=-2.1 required=4.0 tests=AWL,BAYES_00, 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>

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

> On Thu, Mar 29, 2007 at 03:03:42PM +0200, Simon Josefsson wrote:
>> My idea is to specify a challenge/response protocol that is (somewhat)
>> agnostic to the framework (GSS-API or SASL) and then specify how that
>> protocol is used in these two frameworks.  Since the wire protocol is
>> highly influenced by GSS-API and SASL concepts, the mappings for how
>> to use the protocol in GSS-API or SASL is just one page.  The
>
> I guess it can be one page, since for GSS challenge/response password-
> based mechs there won't be many name types available, thus not much
> discussion of naming.  Right?  Maybe not: presumably acceptor names are
> used to salt the password, in which case any name type goes and the mech
> has to specify the relevant mappings from generic name syntax to
> whatever the mech uses internally.  And there's the exported name token
> format to consider also.

I'm not really that familiar with the naming corners of GSS-API...  In
any case, how to salt the password is an open question.  Perhaps the
exported name format can be used as the salt value with PKCS#5 PBKDF2?
But then you'll need to transfer the PBKDF2 iteration counter, or
(worse) fixate it.  The iteration counter question is the main reason
why I haven't used PBKDF2 yet.  That, and I'm not sure PBKDF2 in this
protocol actually protects against any valid security threats.

> But in any case, it needn't be much text, and I've volunteered to write
> that text.

Excellent!

/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 l2TDISv4052162 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Thu, 29 Mar 2007 06:18:28 -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 l2TDISfY052161; Thu, 29 Mar 2007 06:18: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 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 l2TDI8bE052145 for <ietf-sasl@imc.org>; Thu, 29 Mar 2007 06:18:28 -0700 (MST) (envelope-from Nicolas.Williams@sun.com)
Received: from centralmail4brm.central.Sun.COM ([129.147.62.198]) by brmea-mail-4.sun.com (8.13.6+Sun/8.12.9) with ESMTP id l2TDI7ja011816 for <ietf-sasl@imc.org>; Thu, 29 Mar 2007 13:18:07 GMT
Received: from binky.central.sun.com (binky.Central.Sun.COM [129.153.128.104]) by centralmail4brm.central.Sun.COM (8.13.6+Sun/8.13.6/ENSMAIL,v2.2) with ESMTP id l2TDI77Y012335 for <ietf-sasl@imc.org>; Thu, 29 Mar 2007 07:18:07 -0600 (MDT)
Received: from binky.central.sun.com (localhost [127.0.0.1]) by binky.central.sun.com (8.13.8+Sun/8.13.6) with ESMTP id l2TDHLU8008077; Thu, 29 Mar 2007 08:17:21 -0500 (CDT)
Received: (from nw141292@localhost) by binky.central.sun.com (8.13.8+Sun/8.13.8/Submit) id l2TDHGxt008076; Thu, 29 Mar 2007 08:17:16 -0500 (CDT)
X-Authentication-Warning: binky.central.sun.com: nw141292 set sender to Nicolas.Williams@sun.com using -f
Date: Thu, 29 Mar 2007 08:17:16 -0500
From: Nicolas Williams <Nicolas.Williams@sun.com>
To: Simon Josefsson <simon@josefsson.org>
Cc: ietf-sasl@imc.org, kitten@lists.ietf.org, password-auth@josefsson.org
Subject: Re: draft-josefsson-password-auth-00.txt
Message-ID: <20070329131715.GJ1666@Sun.COM>
Mail-Followup-To: Simon Josefsson <simon@josefsson.org>, ietf-sasl@imc.org, kitten@lists.ietf.org, password-auth@josefsson.org
References: <E1HWe9i-0004b9-Tt@stiedprstage1.ietf.org> <87tzw4p5g1.fsf@mocca.josefsson.org>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
In-Reply-To: <87tzw4p5g1.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, Mar 29, 2007 at 03:03:42PM +0200, Simon Josefsson wrote:
> My idea is to specify a challenge/response protocol that is (somewhat)
> agnostic to the framework (GSS-API or SASL) and then specify how that
> protocol is used in these two frameworks.  Since the wire protocol is
> highly influenced by GSS-API and SASL concepts, the mappings for how
> to use the protocol in GSS-API or SASL is just one page.  The

I guess it can be one page, since for GSS challenge/response password-
based mechs there won't be many name types available, thus not much
discussion of naming.  Right?  Maybe not: presumably acceptor names are
used to salt the password, in which case any name type goes and the mech
has to specify the relevant mappings from generic name syntax to
whatever the mech uses internally.  And there's the exported name token
format to consider also.

But in any case, it needn't be much text, and I've volunteered to write
that text.

[...]
> Comments?
> 
> I'm cc:ing this to the password-auth mailing list that I created for
> discussion of the document.  Some discussions of the document may be
> off-topic for the SASL/KITTEN lists, and the WG chairs may prefer to
> see it discussed elsewhere (let me know!), so consider dropping the
> IETF lists when starting such a thread.  To subscribe to the list, and
> for other resources related to this effort, see:

Not another mailing list... :/  :)

>        http://josefsson.org/password-auth/
> 
> Even if there isn't much uptake from the SASL community on this idea,
> I believe having a password-based GSS-API mechanism is an important
> contribution and I'll continue working on that.  How much the document
> talks about SASL will depend on the interest.  Through GS2, it will
> eventually be possible to use it in SASL anyway.

Agreed.

Nico
-- 



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 l2TD4YY4051374 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Thu, 29 Mar 2007 06:04:34 -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 l2TD4YrL051373; Thu, 29 Mar 2007 06:04:34 -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 l2TD4BLO051342 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=FAIL) for <ietf-sasl@imc.org>; Thu, 29 Mar 2007 06:04:33 -0700 (MST) (envelope-from simon@josefsson.org)
Received: from mocca.josefsson.org (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 l2TD3grF026133 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Thu, 29 Mar 2007 15:03:44 +0200
X-Hashcash: 1:22:070329:ietf-sasl@imc.org::7vFqqYsr3nkyklDv:7EC4
X-Hashcash: 1:22:070329:kitten@lists.ietf.org::jwWvCHbUepwFLqlp:0QUx
X-Hashcash: 1:22:070329:password-auth@josefsson.org::WGgLHjMUuwNoYFtd:0OeI
From: Simon Josefsson <simon@josefsson.org>
To: ietf-sasl@imc.org, kitten@lists.ietf.org, password-auth@josefsson.org
Subject: draft-josefsson-password-auth-00.txt
References: <E1HWe9i-0004b9-Tt@stiedprstage1.ietf.org>
OpenPGP: id=B565716F; url=http://josefsson.org/key.txt
X-Hashcash: 1:22:070329:i-d-announce@ietf.org::QZqc46x7gb4eWmVJ:8kC/
X-Hashcash: 1:22:070329:internet-drafts@ietf.org::sM6IcYiDv7TqPCyp:Q+IU
Date: Thu, 29 Mar 2007 15:03:42 +0200
In-Reply-To: <E1HWe9i-0004b9-Tt@stiedprstage1.ietf.org> (Internet-Drafts@ietf.org's message of "Wed\, 28 Mar 2007 15\:50\:02 -0400")
Message-ID: <87tzw4p5g1.fsf@mocca.josefsson.org>
User-Agent: Gnus/5.110006 (No Gnus v0.6) Emacs/22.0.95 (gnu/linux)
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
X-Spam-Status: No, score=-1.3 required=4.0 tests=AWL,BAYES_05, 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>

Hi all!

The SASL WG discussed new password-based mechanisms, and there were
some discussions at the last meeting to do this through a GSS-API
mechanism instead.  I mentioned on jabber that I had been working on a
draft to do that, and while it is far from finished I thought I'd
publish it early to gauge interest in the work.

My idea is to specify a challenge/response protocol that is (somewhat)
agnostic to the framework (GSS-API or SASL) and then specify how that
protocol is used in these two frameworks.  Since the wire protocol is
highly influenced by GSS-API and SASL concepts, the mappings for how
to use the protocol in GSS-API or SASL is just one page.  The
cryptographic primitive is right now HMAC-SHA-256 but the intention is
that other MACs, including non-HMAC based approaches such as AES-CMAC
(RFC 4493) can be supported easily.

To make it easier to implement this as a SASL mechanism, I'm sure the
document could say a lot more.  I intend to include sample code for
DER length encoding (it is only a few lines of C code), which is
something some people consider complex.  Providing an entire
implementation of the GS2-YGZBCUXPNWNVHSI mechanism would be possible
to include, I believe there is not a lot of code to do it.  This might
make it easier for IMAP/SMTP implementers to start using it quickly.

The document is available from the IETF servers, see the announcement
below.

Comments?

I'm cc:ing this to the password-auth mailing list that I created for
discussion of the document.  Some discussions of the document may be
off-topic for the SASL/KITTEN lists, and the WG chairs may prefer to
see it discussed elsewhere (let me know!), so consider dropping the
IETF lists when starting such a thread.  To subscribe to the list, and
for other resources related to this effort, see:

       http://josefsson.org/password-auth/

Even if there isn't much uptake from the SASL community on this idea,
I believe having a password-based GSS-API mechanism is an important
contribution and I'll continue working on that.  How much the document
talks about SASL will depend on the interest.  Through GS2, it will
eventually be possible to use it in SASL anyway.

/Simon

Internet-Drafts@ietf.org writes:

> 	Title		: A Password-based Authentication Protocol
> 	Author(s)	: S. Josefsson
> 	Filename	: draft-josefsson-password-auth-00.txt
> 	Pages		: 16
> 	Date		: 2007-3-28
> 	
>    There is a lack of a simple, standardized, secure and modern
>    password-based mechanism for user authentication in application
>    protocols.  This document specify a challenge/response protocol that
>    provide password-based authentication services.  We describe how the
>    protocol may be used as a GSS-API mechanism and, using the GS2
>    framework, how it may be used as a SASL mechanism.  The protocol
>    supports HMAC-SHA-256 as the mandatory to implement algorithm, and it
>    supports channel bindings.  The intended use is by application
>    protocol that today use CRAM-MD5 or DIGEST-MD5 via SASL, or by GSS-
>    API applications that needs a password based method.  The protocol is
>    applicable to other environments, such as EAP, should the need arise.
>
>    See <http://josefsson.org/password/> for more information.
>
> A URL for this Internet-Draft is:
> http://www.ietf.org/internet-drafts/draft-josefsson-password-auth-00.txt



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 l2N27TJs012336 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Thu, 22 Mar 2007 19:07: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 l2N27TT4012335; Thu, 22 Mar 2007 19:07: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 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 l2N277F6012320 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO) for <ietf-sasl@imc.org>; Thu, 22 Mar 2007 19:07:28 -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 l2N274dC011814; Thu, 22 Mar 2007 22:07:04 -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 l2N270hn020488 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT); Thu, 22 Mar 2007 22:07:03 -0400 (EDT)
Received: (from tlyu@localhost) by cathode-dark-space.mit.edu (8.12.9.20060308) id l2N270mA005096; Thu, 22 Mar 2007 22:07:00 -0400 (EDT)
To: ietf-sasl@imc.org, saag@MIT.EDU
Subject: IETF68 SASL WG summary
From: Tom Yu <tlyu@MIT.EDU>
Date: Thu, 22 Mar 2007 22:07:00 -0400
Message-ID: <ldvmz24vhkr.fsf@cathode-dark-space.mit.edu>
Lines: 54
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>

SASL WG
Wednesday, March 21, 2006, at 1300-1500

SUMMARY
=======

Thanks to Bob Morgan for scribing.

Document Status:

draft-ietf-sasl-crammd5-08     in WGLC
draft-ietf-sasl-gs2-07         in WGLC
draft-ietf-sasl-gssapi-08      RFC 4752
draft-ietf-sasl-rfc2831bis-12  some issues...

WGLC documents -- mostly only have minor issues.  We need more
reviewers for CRAM-MD5.

Given problems with DIGEST-MD5 in terms of interoperability and
implementability, there appears to be consensus to move DIGEST-MD5 (in
the form of RFC 2831) to Historic.

Presentations about several proposed alternative password-based
mechanisms:

draft-cridland-sasl-hexa-00.txt
draft-newman-auth-scram-04.txt
draft-zeilenga-sasl-yap-00.txt

HEXA and SCRAM are somewhat similar and may end up being combined
eventually.  YAP may remain independent.  There appears to be
consensus for adopting at least one of these hash-based password
mechanisms as a WG work item, and adopting some HEXA+SCRAM derivative
as a replacement for DIGEST-MD5.  There appears to be consensus that
the WG doesn't yet have enough information about application
requirements to determine whether one of these mechanisms or two of
these mechansisms should be adopted.

Kurt talked about interop reports, and there was discussion about the
Draft Standard advancement process.

Alexey talked about Sam's Discuss on the smtp-auth document, regarding
mandating of the verification of server TLS certificates when using
PLAIN over TLS.

ACTION ITEMS
============

* in the next week, acquire more information about application
  requirements upon password-based mechanisms.

* conclude WG Last Calls

* recharter including DIGEST-MD5 replacement(s)



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 l2L9VLWu038360 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Wed, 21 Mar 2007 02:31: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 l2L9VLJ6038359; Wed, 21 Mar 2007 02:31: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 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 l2L9Ux9q038337 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO) for <ietf-sasl@imc.org>; Wed, 21 Mar 2007 02:31:20 -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 l2L9UvY3005675 for <ietf-sasl@imc.org>; Wed, 21 Mar 2007 05:30:58 -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 l2L9Utjt005830 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT) for <ietf-sasl@imc.org>; Wed, 21 Mar 2007 05:30:57 -0400 (EDT)
Received: (from tlyu@localhost) by cathode-dark-space.mit.edu (8.12.9.20060308) id l2L9UtAH026707; Wed, 21 Mar 2007 05:30:55 -0400 (EDT)
To: ietf-sasl@imc.org
Subject: IETF68 SASL WG slides uploaded
From: Tom Yu <tlyu@MIT.EDU>
Date: Wed, 21 Mar 2007 05:30:54 -0400
Message-ID: <ldvk5xbymcx.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
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>

I have uploaded some presentation slides to the meeting materials web
page, in preparation for the WG session, so that people not physically
attending may review them.

https://datatracker.ietf.org/public/meeting_materials.cgi?meeting_num=68



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 l2KL1LhA090014 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Tue, 20 Mar 2007 14:01: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 l2KL1LQ3090013; Tue, 20 Mar 2007 14:01: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 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 l2KL0wtk089967 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO) for <ietf-sasl@imc.org>; Tue, 20 Mar 2007 14:01:20 -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 l2KL0iq5008969 for <ietf-sasl@imc.org>; Tue, 20 Mar 2007 17:00:47 -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 l2KL0f13008943 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT) for <ietf-sasl@imc.org>; Tue, 20 Mar 2007 17:00:44 -0400 (EDT)
Received: (from tlyu@localhost) by cathode-dark-space.mit.edu (8.12.9.20060308) id l2KL0fq5024873; Tue, 20 Mar 2007 17:00:41 -0400 (EDT)
To: ietf-sasl@imc.org
Subject: presentation slides requested for WG session
From: Tom Yu <tlyu@MIT.EDU>
Date: Tue, 20 Mar 2007 17:00:41 -0400
Message-ID: <ldv4pof3a12.fsf@cathode-dark-space.mit.edu>
Lines: 6
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>

If you are planning to present at the SASL WG session tomorrow, please
get your slides (if any) to me (in PDF or PPT format) by 11:30 local
time tomorrow so that I can post them on the meeting materials web
page.  Thanks.

---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 l2IKu0r8001895 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Sun, 18 Mar 2007 13:56:00 -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 l2IKu054001894; Sun, 18 Mar 2007 13:56:00 -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 l2IKtdOp001873 for <ietf-sasl@imc.org>; Sun, 18 Mar 2007 13:56:00 -0700 (MST) (envelope-from Kurt.Zeilenga@Isode.com)
Received: from [10.0.0.48] (dhcp-4009.ietf68.org [130.129.64.9])  by rufus.isode.com (submission channel) via TCP with ESMTPA  id <Rf2nSQB5I7eZ@rufus.isode.com>; Sun, 18 Mar 2007 20:55:38 +0000
In-Reply-To: <45FD1ADE.3060508@isode.com>
References: <45FD1ADE.3060508@isode.com>
Mime-Version: 1.0 (Apple Message framework v752.3)
Content-Type: text/plain; charset=US-ASCII; delsp=yes; format=flowed
Message-Id: <5C7FBE98-BB51-41BC-8B77-BCD5F91DB088@Isode.com>
Cc: ietf-sasl@imc.org
Content-Transfer-Encoding: 7bit
From: Kurt Zeilenga <Kurt.Zeilenga@isode.com>
Subject: Re: Future of DIGEST-MD5
Date: Sun, 18 Mar 2007 21:55:36 +0100
To: Alexey Melnikov <alexey.melnikov@isode.com>
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>

On Mar 18, 2007, at 11:56 AM, Alexey Melnikov wrote:
> Hi folks,
> During recent IETF Last Calls on SMTP and POP3 AUTH documents it  
> became
> quite clear that implementors didn't like DIGEST-MD5 for the following
> reasons:
>
> 1). it is complex to implement and has too many options that don't
> interoperate well
> 2). it has some minor design flaws (e.g. lack of protection of the qop
> and cipher lists sent by the server, doesn't provide hash agility)
> 3). some features cause pain for sysadmins (e.g. renaming a user
> invalidates SS hash)
>
> I am also seeing general lack of interest in the document. Even though
> it was fun learning new things while working on DIGEST-MD5, I am  
> feeling
> like I am dragging both the carriage and the horse. Which makes me
> wonder if I should continue to spend my time on this document (*).
> Having said that I see some alternatives in moving forward:
>
> 1). Abandon 2831bis. Possibly publish a document moving RFC 2821 to
> Historic. (**)

My personal preference would be to publish a short I-D which provided a
brief overview of the specification (RFC2831) and implementation issues
with DIGEST-MD5 and to submit this to the IESG as rationale for moving
RFC 2831 to Historic.  In absence of volunteer to write such a document,
I would simply let RFC 2831 rot.

-- 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 l2IJtWg3098669 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Sun, 18 Mar 2007 12:55:32 -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 l2IJtW96098668; Sun, 18 Mar 2007 12:55:32 -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 kalyani.oryx.com (kalyani.oryx.com [195.30.37.30]) by balder-227.proper.com (8.13.5/8.13.5) with ESMTP id l2IJtAcL098645 for <ietf-sasl@imc.org>; Sun, 18 Mar 2007 12:55:31 -0700 (MST) (envelope-from arnt@oryx.com)
Received: from libertango.oryx.com (libertango.oryx.com [195.30.37.9]) by kalyani.oryx.com (Postfix) with ESMTP id 911C64AC22; Sun, 18 Mar 2007 20:55:11 +0100 (CET)
Message-Id: <Fvw9VYW5+ebH6a/FGowe/g.md5@libertango.oryx.com>
Date: Sun, 18 Mar 2007 20:53:57 +0100
From: Arnt Gulbrandsen <arnt@oryx.com>
To: Alexey Melnikov <alexey.melnikov@isode.com>
Subject: Re: Future of DIGEST-MD5
Cc: ietf-sasl@imc.org
References: <45FD1ADE.3060508@isode.com>
In-Reply-To: <45FD1ADE.3060508@isode.com>
Content-Type: text/plain; format=flowed
MIME-Version: 1.0
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>

My preference, for what little it's worth, would be to gently ditch 
digest-md5. Fix the clear bugs in 2831 and say that there have been 
many interoperbility problems, so implementers should look at 
implementing <othermech> instead of or in addition to digest-md5.

(I say this as someone who's written most of the MUA I use as well as a 
big chunk of the IMAP server I use, and their digest-md5 
implementations don't intereoperate perfectly.)

Arnt



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 l2IJRd4A097607 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Sun, 18 Mar 2007 12:27:39 -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 l2IJRd3M097606; Sun, 18 Mar 2007 12:27:39 -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 l2IJRD2F097597 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=FAIL) for <ietf-sasl@imc.org>; Sun, 18 Mar 2007 12:27:37 -0700 (MST) (envelope-from simon@josefsson.org)
Received: from mocca.josefsson.org (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 l2IJR3WI007743 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Sun, 18 Mar 2007 20:27:03 +0100
From: Simon Josefsson <simon@josefsson.org>
To: Alexey Melnikov <alexey.melnikov@isode.com>
Cc: ietf-sasl@imc.org
Subject: Re: Future of DIGEST-MD5
References: <45FD1ADE.3060508@isode.com>
OpenPGP: id=B565716F; url=http://josefsson.org/key.txt
X-Hashcash: 1:22:070318:alexey.melnikov@isode.com::Dbg29xa9WFzDuPVA:YOE
X-Hashcash: 1:22:070318:ietf-sasl@imc.org::qF2go6oNLvZXJtp5:5KrG
Date: Sun, 18 Mar 2007 20:27:02 +0100
In-Reply-To: <45FD1ADE.3060508@isode.com> (Alexey Melnikov's message of "Sun\, 18 Mar 2007 10\:56\:30 +0000")
Message-ID: <87648yxshl.fsf@mocca.josefsson.org>
User-Agent: Gnus/5.110006 (No Gnus v0.6) Emacs/22.0.95 (gnu/linux)
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
X-Spam-Status: No, score=-0.7 required=4.0 tests=AWL,BAYES_50, 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>

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

> 1). Abandon 2831bis. Possibly publish a document moving RFC 2821 to
> Historic. (**)
> 2). Abandon attempts to fix RFC 2831. Publish 2831bis which only
> clarifies ambiguities and fixes obvious bugs. It will document features
> which must not be used due to lack of interoperability. The document
> will not define any new features, i.e. no channel bindings, SASLPrep,
> fixed confidentiality layer, etc. (**)
> 3). Get 2831bis published.
>
> So I would like to poll the WG to see what the WG preference is.

My choice is #1, because none of the other choices above will change
that DIGEST-MD5 is based on a non-standardized keyed MAC mode with a
hash algorithm that has been deprecated for 10 years, and #1 leads to
the least amount of additional time you and the WG have to spend on
DIGEST-MD5.

I deeply wished that the WG could have made this decision long time
ago, to have let you spend the time working on something better than
DIGEST-MD5.  I've written 3 or 4 implementations of DIGEST-MD5, and
every time I find something new when I re-read the specification.
Maintaining that complexity while adding new features must have
required a lot of work...

/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 l2IFPFGF083430 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Sun, 18 Mar 2007 08:25:15 -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 l2IFPFcE083429; Sun, 18 Mar 2007 08:25: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 ciao.gmane.org (main.gmane.org [80.91.229.2]) by balder-227.proper.com (8.13.5/8.13.5) with ESMTP id l2IFOqYs083405 (version=TLSv1/SSLv3 cipher=AES256-SHA bits=256 verify=NO) for <ietf-sasl@imc.org>; Sun, 18 Mar 2007 08:25:14 -0700 (MST) (envelope-from gis-ietf-sasl-560@gmane.org)
Received: from list by ciao.gmane.org with local (Exim 4.43) id 1HSxFV-00039M-3R for ietf-sasl@imc.org; Sun, 18 Mar 2007 16:24:45 +0100
Received: from du-001-077.access.de.clara.net ([212.82.227.77]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for <ietf-sasl@imc.org>; Sun, 18 Mar 2007 16:24:45 +0100
Received: from nobody by du-001-077.access.de.clara.net with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for <ietf-sasl@imc.org>; Sun, 18 Mar 2007 16:24:45 +0100
X-Injected-Via-Gmane: http://gmane.org/
To: ietf-sasl@imc.org
From: Frank Ellermann <nobody@xyzzy.claranet.de>
Subject:  Re: Future of DIGEST-MD5
Date:  Sun, 18 Mar 2007 16:23:33 +0100
Organization:  <URL:http://purl.net/xyzzy>
Lines: 35
Message-ID:  <45FD5975.7388@xyzzy.claranet.de>
References:  <45FD1ADE.3060508@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: du-001-077.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>

Alexey Melnikov wrote:
 
> Possibly publish a document moving RFC 2821 to Historic.
                                         ^^^^
That's rather harsh... <gd&r>  Back to 2831:  I'm not sure
about the channel binding stuff, should it use the same
name "DIGEST-MD5", or should it go into a separate text
(based on 2831bis) with its own name ?

Simply saying that it's historic isn't true, at least for
the 2617 incarnation.  What you have for 2831bis should be
a good start for a hypothetical "CHANNEL-MD5" or a 2617bis.

If "CHANNEL-MD5" can happily ignore backwards compatibility
issues, with SASLPREP as given (in a 2831bis), it might be
less confusing.  

> I have 20 or so other documents I am [co-]editing so I
> would rather concentrate on getting them finished.

Last state I know is that anything for a 2831bis _minus_
"channel bindings" is ready.  IOU a note about the LWSP
issue, what else is missing ?

> WG time might be better spent on designing a new mechanism
> that is simpler than DIGEST-MD5 and/or has better properties.

For CRAM-MD5 I failed to figure out how precisely the RFC
2195 <msg-id> style of a challenge might be related to the 
"channel bindings".  A <msg-id> has a left hand side with a
domain, now what, could this help with CRAM-MD5 over TLS ? 
Could clients try to match the domain with the certificate ?

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 l2ICAmj4074156 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Sun, 18 Mar 2007 05:10: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 l2ICAmHQ074155; Sun, 18 Mar 2007 05:10: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 mail120.messagelabs.com (mail120.messagelabs.com [216.82.250.83]) by balder-227.proper.com (8.13.5/8.13.5) with SMTP id l2ICAQq2074142 for <ietf-sasl@imc.org>; Sun, 18 Mar 2007 05:10:47 -0700 (MST) (envelope-from tony@att.com)
X-VirusChecked: Checked
X-Env-Sender: tony@att.com
X-Msg-Ref: server-8.tower-120.messagelabs.com!1174219822!12455482!1
X-StarScan-Version: 5.5.10.7.1; banners=-,-,-
X-Originating-IP: [134.24.146.4]
Received: (qmail 6421 invoked from network); 18 Mar 2007 12:10:23 -0000
Received: from unknown (HELO attrh0i.attrh.att.com) (134.24.146.4) by server-8.tower-120.messagelabs.com with SMTP; 18 Mar 2007 12:10:23 -0000
Received: from attrh.att.com (localhost [127.0.0.1]) by attrh0i.attrh.att.com (8.13.8/8.13.8) with ESMTP id l2ICAMHe020609 for <ietf-sasl@imc.org>; Sun, 18 Mar 2007 08:10:22 -0400 (EDT)
Received: from maillennium.att.com (dns.maillennium.att.com [135.25.114.99]) by attrh0i.attrh.att.com (8.13.8/8.13.8) with ESMTP id l2ICAHEW020601 for <ietf-sasl@imc.org>; Sun, 18 Mar 2007 08:10:18 -0400 (EDT)
Received: from [135.210.112.67] (unknown[135.210.112.67](misconfigured sender)) by maillennium.att.com (mailgw1) with ESMTP id <20070318121016gw10010g3je> (Authid: tony); Sun, 18 Mar 2007 12:10:17 +0000
Message-ID: <45FD2C42.8070803@att.com>
Date: Sun, 18 Mar 2007 08:10:42 -0400
From: Tony Hansen <tony@att.com>
User-Agent: Thunderbird 1.5.0.10 (Windows/20070221)
MIME-Version: 1.0
To: Alexey Melnikov <alexey.melnikov@isode.com>
CC: ietf-sasl@imc.org
Subject: Re: Future of DIGEST-MD5
References: <45FD1ADE.3060508@isode.com>
In-Reply-To: <45FD1ADE.3060508@isode.com>
X-Enigmail-Version: 0.94.0.0
Content-Type: text/plain; charset=ISO-8859-1
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>

Alexey Melnikov wrote:
> 
> 1). Abandon 2831bis. Possibly publish a document moving RFC 2821 to
> Historic. (**)

No to both.

I also feel the documents saying "move XXX to historic" are silly and
should never have been started.

> 2). Abandon attempts to fix RFC 2831. Publish 2831bis which only
> clarifies ambiguities and fixes obvious bugs. It will document features
> which must not be used due to lack of interoperability. The document
> will not define any new features, i.e. no channel bindings, SASLPrep,
> fixed confidentiality layer, etc. (**)
> 3). Get 2831bis published.

I think #2 would be fine.


	Tony Hansen
	tony@att.com



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 l2IBkcwG072642 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Sun, 18 Mar 2007 04:46:38 -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 l2IBkcfL072641; Sun, 18 Mar 2007 04:46:38 -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.13.5/8.13.5) with ESMTP id l2IBkH0b072627 for <ietf-sasl@imc.org>; Sun, 18 Mar 2007 04:46:37 -0700 (MST) (envelope-from Chris.Newman@Sun.COM)
Received: from fe-amer-04.sun.com ([192.18.108.178]) by brmea-mail-1.sun.com (8.13.6+Sun/8.12.9) with ESMTP id l2IBkGTj012697 for <ietf-sasl@imc.org>; Sun, 18 Mar 2007 11:46:17 GMT
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 <0JF300201FXHRR00@mail-amer.sun.com> (original mail from Chris.Newman@Sun.COM) for ietf-sasl@imc.org; Sun, 18 Mar 2007 05:46:16 -0600 (MDT)
Received: from dhcp-1572.ietf68.org (dhcp-1572.ietf68.org [130.129.21.114]) by mail-amer.sun.com (Sun Java System Messaging Server 6.2-6.01 (built Apr  3 2006)) with ESMTPSA id <0JF300HD0KP1WF20@mail-amer.sun.com>; Sun, 18 Mar 2007 05:46:16 -0600 (MDT)
Date: Sun, 18 Mar 2007 11:46:28 +0000
From: Chris Newman <Chris.Newman@Sun.COM>
Subject: Re: Future of DIGEST-MD5
In-reply-to: <45FD1ADE.3060508@isode.com>
To: Alexey Melnikov <alexey.melnikov@isode.com>, ietf-sasl@imc.org
Message-id: <4F5319B6F4CDF5394B6D415E@dhcp-1572.ietf68.org>
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: <45FD1ADE.3060508@isode.com>
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 concur with your observations.

It's my preference that we document the mistakes that were made with RFC 2831 
so we have a better chance of not repeating them.  So I slightly prefer option 
2, but option 1 is also fine.

                - Chris

Alexey Melnikov wrote on 3/18/07 10:56 +0000:

>
> Hi folks,
> During recent IETF Last Calls on SMTP and POP3 AUTH documents it became
> quite clear that implementors didn't like DIGEST-MD5 for the following
> reasons:
>
> 1). it is complex to implement and has too many options that don't
> interoperate well
> 2). it has some minor design flaws (e.g. lack of protection of the qop
> and cipher lists sent by the server, doesn't provide hash agility)
> 3). some features cause pain for sysadmins (e.g. renaming a user
> invalidates SS hash)
>
> I am also seeing general lack of interest in the document. Even though
> it was fun learning new things while working on DIGEST-MD5, I am feeling
> like I am dragging both the carriage and the horse. Which makes me
> wonder if I should continue to spend my time on this document (*).
> Having said that I see some alternatives in moving forward:
>
> 1). Abandon 2831bis. Possibly publish a document moving RFC 2821 to
> Historic. (**)
> 2). Abandon attempts to fix RFC 2831. Publish 2831bis which only
> clarifies ambiguities and fixes obvious bugs. It will document features
> which must not be used due to lack of interoperability. The document
> will not define any new features, i.e. no channel bindings, SASLPrep,
> fixed confidentiality layer, etc. (**)
> 3). Get 2831bis published.
>
> So I would like to poll the WG to see what the WG preference is.
>
> Thanks,
> Alexey
>
> (*) I have 20 or so other documents I am [co-]editing so I would rather
> concentrate on getting them finished.
>
> (**) WG time might be better spent on designing a new mechanism that is
> simpler than DIGEST-MD5 and/or has better properties. I got impressions that
> many people think that it would be nice to have a SASL mechanism which has
> properties similar to the ones provided by DIGEST-MD5.
>
>






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 l2IAvW44070784 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Sun, 18 Mar 2007 03:57:32 -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 l2IAvWBP070783; Sun, 18 Mar 2007 03:57:32 -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 l2IAvBs4070765 for <ietf-sasl@imc.org>; Sun, 18 Mar 2007 03:57:32 -0700 (MST) (envelope-from alexey.melnikov@isode.com)
Received: from [130.129.18.128] (dhcp-1280.ietf68.org [130.129.18.128])  by rufus.isode.com (submission channel) via TCP with ESMTPA  id <Rf0bBAB5Iy3i@rufus.isode.com>; Sun, 18 Mar 2007 10:57:08 +0000
Message-ID: <45FD1ADE.3060508@isode.com>
Date: Sun, 18 Mar 2007 10:56:30 +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: ietf-sasl@imc.org
Subject: Future of DIGEST-MD5
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>

Hi folks,
During recent IETF Last Calls on SMTP and POP3 AUTH documents it became
quite clear that implementors didn't like DIGEST-MD5 for the following
reasons:

1). it is complex to implement and has too many options that don't
interoperate well
2). it has some minor design flaws (e.g. lack of protection of the qop
and cipher lists sent by the server, doesn't provide hash agility)
3). some features cause pain for sysadmins (e.g. renaming a user
invalidates SS hash)

I am also seeing general lack of interest in the document. Even though
it was fun learning new things while working on DIGEST-MD5, I am feeling
like I am dragging both the carriage and the horse. Which makes me
wonder if I should continue to spend my time on this document (*).
Having said that I see some alternatives in moving forward:

1). Abandon 2831bis. Possibly publish a document moving RFC 2821 to
Historic. (**)
2). Abandon attempts to fix RFC 2831. Publish 2831bis which only
clarifies ambiguities and fixes obvious bugs. It will document features
which must not be used due to lack of interoperability. The document
will not define any new features, i.e. no channel bindings, SASLPrep,
fixed confidentiality layer, etc. (**)
3). Get 2831bis published.

So I would like to poll the WG to see what the WG preference is.

Thanks,
Alexey

(*) I have 20 or so other documents I am [co-]editing so I would rather
concentrate on getting them finished.

(**) WG time might be better spent on designing a new mechanism that is
simpler than DIGEST-MD5 and/or has better properties. I got impressions 
that many people think that it would be nice to have a SASL mechanism 
which has properties similar to the ones provided by DIGEST-MD5.



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 l2GC46ex034519 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Fri, 16 Mar 2007 05:04:06 -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 l2GC45nm034518; Fri, 16 Mar 2007 05:04: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 ciao.gmane.org (main.gmane.org [80.91.229.2]) by balder-227.proper.com (8.13.5/8.13.5) with ESMTP id l2GC42ck034511 (version=TLSv1/SSLv3 cipher=AES256-SHA bits=256 verify=NO) for <ietf-sasl@imc.org>; Fri, 16 Mar 2007 05:04:04 -0700 (MST) (envelope-from gis-ietf-sasl-560@gmane.org)
Received: from list by ciao.gmane.org with local (Exim 4.43) id 1HSB9z-0004Nj-Je for ietf-sasl@imc.org; Fri, 16 Mar 2007 13:03:51 +0100
Received: from d255126.dialin.hansenet.de ([80.171.255.126]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for <ietf-sasl@imc.org>; Fri, 16 Mar 2007 13:03:51 +0100
Received: from nobody by d255126.dialin.hansenet.de with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for <ietf-sasl@imc.org>; Fri, 16 Mar 2007 13:03:51 +0100
X-Injected-Via-Gmane: http://gmane.org/
To: ietf-sasl@imc.org
From: Frank Ellermann <nobody@xyzzy.claranet.de>
Subject:  Re: Security (crammd5)
Date:  Fri, 16 Mar 2007 13:02:27 +0100
Organization:  <URL:http://purl.net/xyzzy>
Lines: 41
Message-ID:  <45FA8753.49B2@xyzzy.claranet.de>
References:  <ldvlki6dqqu.fsf@cathode-dark-space.mit.edu> <45F856F1.2B56@xyzzy.claranet.de> <Pine.BSO.4.64.0703141430520.28529@vanye.mho.net>
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: d255126.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>

Philip Guenther wrote:

  [comparison with 2831bis authentication]
>> CRAM-MD5 still isn't much worse for its purpose:  It only has 
>> no <cnonce> and no <response-auth>.
 
> And no channel bindings, so it's subject to a channel replacement
> attack: you *thought* you were talking to the server over SSL,
> but you were really talking to that MitM.

Yes, I tried to mention that near the begin of my mail as "over TLS
it could be fine (ignoring the issue discussed in a separate thread
wrt 2554bis)".  

Maybe not exactly the same issue, Sam's 2554bis discuss wasn't about
"channel bindings".  And as far as CRAM-MD5 or DIGEST-MD5 are only
used for authentication (not auth-int or auth-conf) I still fail to
see the point of "channel bindings":

Again assuming that folks don't accept TLS certificates just because
they happen to be syntactically valid.

2195 clearly says "CRAM does not support a protection mechanism" and
2195bis states "This mechanism does not provide a security layer".

> If he wants to go the catalog-of-passwords route, he can even supply
> you with his own constant challenge on your first login attempt, and
> then pass through the real server's challenge after you glare at
> your keyboard and try again.

Yes, that's addressed in the 2195bis security considerations.  I did
not claim that a <cnonce> as in DIGEST-MD5 is pointless.  CRAM-MD5 is
better than plain text, "login", APOP, or a derived SMTP-after-APOP
kludge, but it's not what you want to secure say banking transactions.

Wrt a constant challenge it would be better if 2195bis sticks to the
original <msg-id> concept, where that's at least in theory forbidden,
I've noted that in another mail.

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 l2EKbkno071175 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Wed, 14 Mar 2007 13:37:46 -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 l2EKbkh6071174; Wed, 14 Mar 2007 13:37:46 -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 foon.sendmail.com (smtp-out.sendmail.com [209.246.26.45]) by balder-227.proper.com (8.13.5/8.13.5) with ESMTP id l2EKbjWF071168 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=FAIL) for <ietf-sasl@imc.org>; Wed, 14 Mar 2007 13:37:45 -0700 (MST) (envelope-from guenther+sasl@sendmail.com)
Received: from [10.201.0.245] (adsl-64-58-1-252.mho.net [64.58.1.252] (may be forged)) (authenticated bits=0) by foon.sendmail.com (Switch-3.2.5/Switch-3.2.0) with ESMTP id l2EKbdFn020309 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Wed, 14 Mar 2007 12:37:42 -0800
X-DKIM: Sendmail DKIM Filter v0.5.1 foon.sendmail.com l2EKbdFn020309
DKIM-Signature: a=rsa-sha1; c=relaxed/simple; d=sendmail.com; s=tls.dkim; t=1173904663; bh=taq1jjYUXMM1n/nCEMWFXtbKl3g=; h=X-DomainKeys: DomainKey-Signature:Date:From:X-X-Sender:To:cc:Subject:In-Reply-To: Message-ID:References:MIME-Version:Content-Type; b=p26joSM7BrJh/sQE 1bIEvgh8BQzc8NLwNhM+tbTVW3cmLK2u+1WJUcReW7MRN1MSxKABWDiS+Kmb8Y17qse uKO5S975UYZT58RoUnloVUYWPJsNWSZLn2DRMYk2vjHdAiIlr5JirBpfB/1JkNOvXmT d/t9b+e+y3UCRF2n3qUi4=
X-DomainKeys: Sendmail DomainKeys Filter v0.4.1 foon.sendmail.com l2EKbdFn020309
DomainKey-Signature: a=rsa-sha1; s=tls; d=sendmail.com; c=nofws; q=dns; h=date:from:x-x-sender:to:cc:subject:in-reply-to:message-id: references:mime-version:content-type; b=GPIKV+J6MszaQU+stxZqXu54kIt0b/7/uMm4Q/XyqrkMozhBTpVRc5eKxUU1+2AN8 ay8OE6Ne03PfJaYoZmfNk+ujVS5rz3GnTDz9wh6mTg6LmJDt8HTzhCzieJlLecasXsp 9GsMPd7MhBo40zYyKfJiBAxoAp6idZagFT8nb+I=
Date: Wed, 14 Mar 2007 14:37:39 -0600
From: Philip Guenther <guenther+sasl@sendmail.com>
X-X-Sender: guenther@vanye.mho.net
To: Frank Ellermann <nobody@xyzzy.claranet.de>
cc: ietf-sasl@imc.org
Subject: Re: Security (was: WG Last Call: draft-ietf-sasl-crammd5-08.txt)
In-Reply-To: <45F856F1.2B56@xyzzy.claranet.de>
Message-ID: <Pine.BSO.4.64.0703141430520.28529@vanye.mho.net>
References: <ldvlki6dqqu.fsf@cathode-dark-space.mit.edu> <45F856F1.2B56@xyzzy.claranet.de>
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; 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 Wed, 14 Mar 2007, Frank Ellermann wrote:
> | CRAM-MD5 is no longer considered to provide adequate protection.
...
> It's also "better" than DIGEST-MD5 where it's easy to implement
> and almost impossible to get it wrong.  Where somebody managed
> to implement 2069 / 2617 / 2831 / 2831bis with their many more
> or less subtle differences CRAM-MD5 still isn't much worse for
> its purpose:  It only has no <cnonce> and no <response-auth>.

And no channel bindings, so it's subject to a channel replacement attack: 
you *thought* you were talking to the server over SSL, but you were really 
talking to that MitM.  If he wants to go the catalog-of-passwords route, 
he can even supply you with his own constant challenge on your first login 
attempt, and then pass through the real server's challenge after you glare 
at your keyboard and try again.

Does anyone recall the expected cost-per-password that Christian Huitema 
claimed for dictionary and bruteforcing CRAM-MD5 traces during in his 
presentation to the apps area meeting in Paris?  My notes simply say 
"cheap".


Philip Guenther



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 l2EKCa2F070147 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Wed, 14 Mar 2007 13:12:36 -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 l2EKCanU070146; Wed, 14 Mar 2007 13:12:36 -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 l2EKCYw9070135 (version=TLSv1/SSLv3 cipher=AES256-SHA bits=256 verify=NO) for <ietf-sasl@imc.org>; Wed, 14 Mar 2007 13:12:35 -0700 (MST) (envelope-from gis-ietf-sasl-560@gmane.org)
Received: from list by ciao.gmane.org with local (Exim 4.43) id 1HRZpn-0001to-Et for ietf-sasl@imc.org; Wed, 14 Mar 2007 21:12:31 +0100
Received: from d254104.dialin.hansenet.de ([80.171.254.104]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for <ietf-sasl@imc.org>; Wed, 14 Mar 2007 21:12:31 +0100
Received: from nobody by d254104.dialin.hansenet.de with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for <ietf-sasl@imc.org>; Wed, 14 Mar 2007 21:12:31 +0100
X-Injected-Via-Gmane: http://gmane.org/
To: ietf-sasl@imc.org
From: Frank Ellermann <nobody@xyzzy.claranet.de>
Subject:  Security (was: WG Last Call: draft-ietf-sasl-crammd5-08.txt)
Date:  Wed, 14 Mar 2007 21:11:29 +0100
Organization:  <URL:http://purl.net/xyzzy>
Lines: 30
Message-ID:  <45F856F1.2B56@xyzzy.claranet.de>
References:  <ldvlki6dqqu.fsf@cathode-dark-space.mit.edu>
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: d254104.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>

| CRAM-MD5 is no longer considered to provide adequate protection.

That's not the case, as it depends on the circumstances where
CRAM-MD5 is used.  E.g. over TLS it could be fine (ignoring the
issue discussed in a separate thread wrt 2554bis), and CRAM-MD5
is certainly better than APOP (as stated in 2195) or "LOGIN".

It's also "better" than DIGEST-MD5 where it's easy to implement
and almost impossible to get it wrong.  Where somebody managed
to implement 2069 / 2617 / 2831 / 2831bis with their many more
or less subtle differences CRAM-MD5 still isn't much worse for
its purpose:  It only has no <cnonce> and no <response-auth>.

That's noted in the 3rd paragraph of the security considerations.
Readers are able to draw their own conclusions without this 
"executive summary" at the begin.  Besides there is already
another summary in the intro:

| The mechanism offers inadequate protection against common
| attacks against application-level protocols (see Section 5)
| and is prone to interoperability problems (see Section 4).

Section 5 explains why that's not limited to application-
level protols, therefore this statement could be truncated:

| The mechanism offers inadequate protection against common
| attacks (see Section 5).

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 l2EJf1KE068465 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Wed, 14 Mar 2007 12:41: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 l2EJf13H068464; Wed, 14 Mar 2007 12:41: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 l2EJewNW068453 (version=TLSv1/SSLv3 cipher=AES256-SHA bits=256 verify=NO) for <ietf-sasl@imc.org>; Wed, 14 Mar 2007 12:41:00 -0700 (MST) (envelope-from gis-ietf-sasl-560@gmane.org)
Received: from list by ciao.gmane.org with local (Exim 4.43) id 1HRZL5-0005Rx-HV for ietf-sasl@imc.org; Wed, 14 Mar 2007 20:40:47 +0100
Received: from d254104.dialin.hansenet.de ([80.171.254.104]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for <ietf-sasl@imc.org>; Wed, 14 Mar 2007 20:40:47 +0100
Received: from nobody by d254104.dialin.hansenet.de with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for <ietf-sasl@imc.org>; Wed, 14 Mar 2007 20:40:47 +0100
X-Injected-Via-Gmane: http://gmane.org/
To: ietf-sasl@imc.org
From: Frank Ellermann <nobody@xyzzy.claranet.de>
Subject:  Interoperability (was: WG Last Call: draft-ietf-sasl-crammd5-08.txt)
Date:  Wed, 14 Mar 2007 20:40:07 +0100
Organization:  <URL:http://purl.net/xyzzy>
Lines: 21
Message-ID:  <45F84F97.3B0D@xyzzy.claranet.de>
References:  <ldvlki6dqqu.fsf@cathode-dark-space.mit.edu>
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: d254104.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>

> address feedback to the Working Group mailing list.

| prone to interoperability problems (see Section 4).

If folks used their own kludges to negotiate charsets out of band
it's their problem, not a problem in 2195.  The RFC 822 <msg-id>
in the challenge is clearly ASCII.

RFC 2277 published one year after 2095 clearly mandates to use
UTF-8.  Alexey proposed to add a "SHOULD UTF-8" somewhere, IMO a
"MUST" is clearer.

The only "interoperability problem" left will be to use SASLprep,
and that solves an inherent interoperability problem for Unicode.

RFC 4616 also doesn't spread FUD about alleged "interoperability
problems" wrt SASLprep, so I don't see why that should be needed
here (in chapter 1).

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 l2EJFXmN067055 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Wed, 14 Mar 2007 12:15: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 l2EJFXij067054; Wed, 14 Mar 2007 12:15: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 ciao.gmane.org (main.gmane.org [80.91.229.2]) by balder-227.proper.com (8.13.5/8.13.5) with ESMTP id l2EJFVmJ067048 (version=TLSv1/SSLv3 cipher=AES256-SHA bits=256 verify=NO) for <ietf-sasl@imc.org>; Wed, 14 Mar 2007 12:15:32 -0700 (MST) (envelope-from gis-ietf-sasl-560@gmane.org)
Received: from list by ciao.gmane.org with local (Exim 4.43) id 1HRYwO-0001DS-Nr for ietf-sasl@imc.org; Wed, 14 Mar 2007 20:15:16 +0100
Received: from d254104.dialin.hansenet.de ([80.171.254.104]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for <ietf-sasl@imc.org>; Wed, 14 Mar 2007 20:15:16 +0100
Received: from nobody by d254104.dialin.hansenet.de with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for <ietf-sasl@imc.org>; Wed, 14 Mar 2007 20:15:16 +0100
X-Injected-Via-Gmane: http://gmane.org/
To: ietf-sasl@imc.org
From: Frank Ellermann <nobody@xyzzy.claranet.de>
Subject:  Limited use (was: WG Last Call: draft-ietf-sasl-crammd5-08.txt)
Date:  Wed, 14 Mar 2007 20:13:13 +0100
Organization:  <URL:http://purl.net/xyzzy>
Lines: 11
Message-ID:  <45F84949.14FF@xyzzy.claranet.de>
References:  <ldvlki6dqqu.fsf@cathode-dark-space.mit.edu>
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: d254104.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>

Tom Yu wrote:

> address feedback to the Working Group mailing list.

| The CRAM-MD5 mechanism is intended to have limited use on the Internet.

That's not the case, as it clearly contradicts what RFC 2195 says.
It's also in conflict with BCP 46, RFC 2244, RFC 2645, and 2554bis.

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 l2EJ7Y72066475 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Wed, 14 Mar 2007 12:07:34 -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 l2EJ7YJT066473; Wed, 14 Mar 2007 12:07:34 -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 l2EJ7TS5066466 (version=TLSv1/SSLv3 cipher=AES256-SHA bits=256 verify=NO) for <ietf-sasl@imc.org>; Wed, 14 Mar 2007 12:07:33 -0700 (MST) (envelope-from gis-ietf-sasl-560@gmane.org)
Received: from list by ciao.gmane.org with local (Exim 4.43) id 1HRYoZ-00005I-Op for ietf-sasl@imc.org; Wed, 14 Mar 2007 20:07:11 +0100
Received: from d254104.dialin.hansenet.de ([80.171.254.104]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for <ietf-sasl@imc.org>; Wed, 14 Mar 2007 20:07:11 +0100
Received: from nobody by d254104.dialin.hansenet.de with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for <ietf-sasl@imc.org>; Wed, 14 Mar 2007 20:07:11 +0100
X-Injected-Via-Gmane: http://gmane.org/
To: ietf-sasl@imc.org
From: Frank Ellermann <nobody@xyzzy.claranet.de>
Subject:  Random data (was: WG Last Call: draft-ietf-sasl-crammd5-08.txt)
Date:  Wed, 14 Mar 2007 20:05:03 +0100
Organization:  <URL:http://purl.net/xyzzy>
Lines: 18
Message-ID:  <45F8475F.729B@xyzzy.claranet.de>
References:  <ldvlki6dqqu.fsf@cathode-dark-space.mit.edu>
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: d254104.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>

Tom Yu wrote:
 
> A URL for this Internet-Draft is:
> http://www.ietf.org/internet-drafts/draft-ietf-sasl-crammd5-08.txt
[...] 
> Please review this document, and address feedback to the Working 
> Group mailing list.

Why does it say "MUST NOT interpret the challenge in any way" ?  It
used to be an STD 11 <msg-id> as described in STD 53 (= different
for each challenge).

"Random data" is NEVER a <msg-id>, it could be the same no matter 
how unlikely that is.  A <msg-id> is supposed to be worldwide unique
_forever_ (the 2195 use of the term "timestamp" also suggests this).

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 l2DMbXJR093327 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Tue, 13 Mar 2007 15:37: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 l2DMbXVt093326; Tue, 13 Mar 2007 15:37: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 rufus.isode.com (rufus.isode.com [62.3.217.251]) by balder-227.proper.com (8.13.5/8.13.5) with ESMTP id l2DMbWxo093320 for <ietf-sasl@imc.org>; Tue, 13 Mar 2007 15:37:32 -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 <RfcnqwB5I4n4@rufus.isode.com>; Tue, 13 Mar 2007 22:37:31 +0000
Message-ID: <45F72786.5090506@isode.com>
Date: Tue, 13 Mar 2007 22:36:54 +0000
From: Alexey Melnikov <alexey.melnikov@isode.com>
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7.12) Gecko/20050915
X-Accept-Language: en-us, en
To: Kurt Zeilenga <Kurt.Zeilenga@isode.com>
CC: Lyndon Nerenberg <lyndon@orthanc.ca>, ietf-sasl@imc.org
Subject: Re: cram draft bug
References: <ldvlki6dqqu.fsf@cathode-dark-space.mit.edu> <873b4cjdk0.fsf@mocca.josefsson.org> <20070312162127.W13444@orthanc.ca> <45F71569.1070500@isode.com> <77244BFA-2B7C-4662-B41B-5D2554A70444@Isode.com>
In-Reply-To: <77244BFA-2B7C-4662-B41B-5D2554A70444@Isode.com>
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>

Kurt Zeilenga wrote:

> On Mar 13, 2007, at 2:19 PM, Alexey Melnikov wrote:
>
>> I think it should be: "If the username is in UTF-8, it MUST be well- 
>> formed UTF-8".
>
> In the context of a standardized specification, such a
> statement would seem odd.  Either the text is UTF-8
> encoded or its not UTF-8 encoded.

The document doesn't say that username MUST be in UTF-8. Thus the 
strange wording.
I guess I would also be Ok with removing the comment, but I think saying 
that an implementation may verify UTF-8 for being well-formed would be a 
good thing.



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 l2DMK94q092437 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Tue, 13 Mar 2007 15:20:09 -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 l2DMK9qT092436; Tue, 13 Mar 2007 15:20:09 -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 l2DMK7mr092429 for <ietf-sasl@imc.org>; Tue, 13 Mar 2007 15:20:08 -0700 (MST) (envelope-from Kurt.Zeilenga@Isode.com)
Received: from [192.168.1.103] ((unknown) [24.176.246.106])  by rufus.isode.com (submission channel) via TCP with ESMTPA  id <RfcjlQB5Ix-q@rufus.isode.com>; Tue, 13 Mar 2007 22:20:05 +0000
X-SMTP-Protocol-Errors: NORDNS
In-Reply-To: <45F71569.1070500@isode.com>
References: <ldvlki6dqqu.fsf@cathode-dark-space.mit.edu> <873b4cjdk0.fsf@mocca.josefsson.org> <20070312162127.W13444@orthanc.ca> <45F71569.1070500@isode.com>
Mime-Version: 1.0 (Apple Message framework v752.3)
Content-Type: text/plain; charset=US-ASCII; delsp=yes; format=flowed
Message-Id: <77244BFA-2B7C-4662-B41B-5D2554A70444@Isode.com>
Cc: Lyndon Nerenberg <lyndon@orthanc.ca>, ietf-sasl@imc.org
Content-Transfer-Encoding: 7bit
From: Kurt Zeilenga <Kurt.Zeilenga@isode.com>
Subject: Re: cram draft bug
Date: Tue, 13 Mar 2007 15:20:29 -0700
To: Alexey Melnikov <alexey.melnikov@isode.com>
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>

On Mar 13, 2007, at 2:19 PM, Alexey Melnikov wrote:

> I think it should be: "If the username is in UTF-8, it MUST be well- 
> formed UTF-8".

In the context of a standardized specification, such a
statement would seem odd.  Either the text is UTF-8
encoded or its not UTF-8 encoded.

- 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 l2DLTuvq089457 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Tue, 13 Mar 2007 14:29:56 -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 l2DLTuF7089456; Tue, 13 Mar 2007 14:29:56 -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 l2DLTtxb089450 for <ietf-sasl@imc.org>; Tue, 13 Mar 2007 14:29:55 -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 <RfcX0gB5I44P@rufus.isode.com>; Tue, 13 Mar 2007 21:29:54 +0000
Message-ID: <45F717AD.6010605@isode.com>
Date: Tue, 13 Mar 2007 21:29: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: Tom Yu <tlyu@MIT.EDU>
CC: ietf-sasl@imc.org
Subject: Re: WG Last Call: draft-ietf-sasl-crammd5-08.txt
References: <ldvlki6dqqu.fsf@cathode-dark-space.mit.edu> <45F7173D.1040002@isode.com>
In-Reply-To: <45F7173D.1040002@isode.com>
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>

I just want to clarify that my previous comments are mostly nitpicking. 
Overall, I am happy with -08.



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 l2DLS3jm089387 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Tue, 13 Mar 2007 14:28:03 -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 l2DLS3EF089386; Tue, 13 Mar 2007 14:28: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 rufus.isode.com (rufus.isode.com [62.3.217.251]) by balder-227.proper.com (8.13.5/8.13.5) with ESMTP id l2DLS2Pw089379 for <ietf-sasl@imc.org>; Tue, 13 Mar 2007 14:28:03 -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 <RfcXYgB5IygC@rufus.isode.com>; Tue, 13 Mar 2007 21:28:02 +0000
Message-ID: <45F7173D.1040002@isode.com>
Date: Tue, 13 Mar 2007 21:27:25 +0000
From: Alexey Melnikov <alexey.melnikov@isode.com>
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7.12) Gecko/20050915
X-Accept-Language: en-us, en
To: Lyndon Nerenberg <lyndon@orthanc.ca>
CC: ietf-sasl@imc.org
Subject: Re: WG Last Call: draft-ietf-sasl-crammd5-08.txt
References: <ldvlki6dqqu.fsf@cathode-dark-space.mit.edu>
In-Reply-To: <ldvlki6dqqu.fsf@cathode-dark-space.mit.edu>
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>

Tom Yu wrote:

>-----BEGIN PGP SIGNED MESSAGE-----
>Hash: SHA1
>
>This message commences a Working Group Last Call on the following
>document:
>
>	Title		: The CRAM-MD5 SASL Mechanism
>	Author(s)	: L. Nerenberg
>	Filename	: draft-ietf-sasl-crammd5-08.txt
>	Pages		: 10
>	Date		: 2007-3-7
>  
>
Hi Lyndon,
You've already spotted an inconsistent comment in section 3:

     username   = 1*OCTET
                  ; MUST be well-formed UTF-8.


In section 4:

   The client SHOULD prepare the user name and shared secret strings
   using the SASLprep [RFC4013] profile of the Stringprep [RFC3454]
   algorithm.  The resulting values SHOULD be encoded as UTF-8 [RFC3629]

The second quoted sentence seems to imply that the resulting value should be in UTF-8 only if SASLPrep is applied to it.
I think that use of UTF-8 should be recommended even if SASLPrep is applied (which is likely the common case these days).

   strings.  The server may store the prepared string instead of, or as
   well as, the unprepared string, so that it does not have to prepare
   it every time it is needed for computation.  However, if the original
   (unprepared) string is not stored, it may render the computed secret
   to be incompatible with a future revisions of SASLprep that support
   currently unassigned code points (see section 7 of [RFC3454]).  It is
   therefor recommended to store the unprepared string in the database.


Some other comments:

 I've checked ABNF with Bill Fenner's parser and it passes (not really 
surprised).

Some errors reported by IDnits 2.03.15:

>  Checking nits according to http://www.ietf.org/ID-Checklist.html:
>  * The document seems to lack a both a reference to RFC 2119 and the
>    recommended RFC 2119 boilerplate, even if it appears to use RFC 2119
>    keywords. 
>  
>
Indeed. The reference to RFC 2119 is missing.

>    RFC 2119 keyword, line 93: '...ts).  The client MUST NOT interpret or a...'
>    RFC 2119 keyword, line 103: '...   server MUST ensure the right-most spa...'
>    RFC 2119 keyword, line 124: '...               ; MUST be well-formed UTF...'
>    RFC 2119 keyword, line 148: '...   The client SHOULD prepare the user na...'
>    RFC 2119 keyword, line 150: '...   algorithm.  The resulting values SHOULD be encoded as UTF-8 [RFC3629]...'
>    (1 more instance...)
>  
>
 [...]

>  Checking references for intended status: Proposed Standard
>  - Unused Reference: 'RFC4616' is defined on line 259, but not referenced
>  
>
This reference is not needed, as the text that was comparing CRAM-MD5 
with PLAIN got deleted.

>  - Obsolete informational reference (is this intentional?): RFC 2095
>
Indeed, use RFC 2195 instead.



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 l2DLKHIQ089042 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Tue, 13 Mar 2007 14:20:17 -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 l2DLKHPs089041; Tue, 13 Mar 2007 14:20:17 -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 l2DLKF4e089034 for <ietf-sasl@imc.org>; Tue, 13 Mar 2007 14:20:16 -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 <RfcVjgB5IzXt@rufus.isode.com>; Tue, 13 Mar 2007 21:20:14 +0000
Message-ID: <45F71569.1070500@isode.com>
Date: Tue, 13 Mar 2007 21:19:37 +0000
From: Alexey Melnikov <alexey.melnikov@isode.com>
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7.12) Gecko/20050915
X-Accept-Language: en-us, en
To: Lyndon Nerenberg <lyndon@orthanc.ca>
CC: ietf-sasl@imc.org
Subject: Re: cram draft bug
References: <ldvlki6dqqu.fsf@cathode-dark-space.mit.edu> <873b4cjdk0.fsf@mocca.josefsson.org> <20070312162127.W13444@orthanc.ca>
In-Reply-To: <20070312162127.W13444@orthanc.ca>
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>

Lyndon Nerenberg wrote:

> I just noticed an inconsistency in the -08 draft.  The <username> 
> terminal specifies "MUST be well-formed UTF-8" in contradiction to the 
> "SHOULD be encoded as UTF-8" in section 4.  The section 3 <username> 
> comment needs to be changed to "SHOULD" with a pointer to section 4.

I think it should be: "If the username is in UTF-8, it MUST be 
well-formed UTF-8".



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 l2CNPLf4010599 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Mon, 12 Mar 2007 16:25: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 l2CNPL7s010598; Mon, 12 Mar 2007 16:25: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 orthanc.ca (orthanc.ca [209.89.70.53]) by balder-227.proper.com (8.13.5/8.13.5) with ESMTP id l2CNPJi8010592 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=FAIL) for <ietf-sasl@imc.org>; Mon, 12 Mar 2007 16:25:20 -0700 (MST) (envelope-from lyndon@orthanc.ca)
Received: from localhost (localhost [127.0.0.1]) (authenticated bits=0) by orthanc.ca (8.13.4/8.13.4) with ESMTP id l2CNPFUg016148 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO) for <ietf-sasl@imc.org>; Mon, 12 Mar 2007 16:25:15 -0700 (MST) (envelope-from lyndon@orthanc.ca)
Date: Mon, 12 Mar 2007 16:25:14 -0700 (PDT)
From: Lyndon Nerenberg <lyndon@orthanc.ca>
To: ietf-sasl@imc.org
Subject: cram draft bug
In-Reply-To: <873b4cjdk0.fsf@mocca.josefsson.org>
Message-ID: <20070312162127.W13444@orthanc.ca>
References: <ldvlki6dqqu.fsf@cathode-dark-space.mit.edu> <873b4cjdk0.fsf@mocca.josefsson.org>
Organization: The Frobozz Magic Homing Pigeon Company
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed
X-Spam-Status: No, score=-2.6 required=5.0 tests=BAYES_00,SPF_PASS  autolearn=ham version=3.1.7
X-Spam-Checker-Version: SpamAssassin 3.1.7 (2006-10-05) on orthanc.ca
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 just noticed an inconsistency in the -08 draft.  The <username> terminal 
specifies "MUST be well-formed UTF-8" in contradiction to the "SHOULD be 
encoded as UTF-8" in section 4.  The section 3 <username> comment needs to 
be changed to "SHOULD" with a pointer to section 4.

--lyndon



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 l2CL96GD003959 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Mon, 12 Mar 2007 14:09:06 -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 l2CL96SC003958; Mon, 12 Mar 2007 14:09:06 -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 currant.srv.cs.cmu.edu (CURRANT.SRV.CS.CMU.EDU [128.2.194.193]) by balder-227.proper.com (8.13.5/8.13.5) with ESMTP id l2CL94OJ003951 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=FAIL) for <ietf-sasl@imc.org>; Mon, 12 Mar 2007 14:09:06 -0700 (MST) (envelope-from jhutz@cmu.edu)
Received: from SIRIUS.FAC.CS.CMU.EDU (SIRIUS.FAC.CS.CMU.EDU [128.2.209.170]) (authenticated bits=0) by currant.srv.cs.cmu.edu (8.13.6/8.13.6) with ESMTP id l2CL92PA000790 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Mon, 12 Mar 2007 17:09:03 -0400 (EDT)
Date: Mon, 12 Mar 2007 17:09:02 -0400
From: Jeffrey Hutzelman <jhutz@cmu.edu>
To: Frank Ellermann <nobody@xyzzy.claranet.de>, ietf-sasl@imc.org
cc: Jeffrey Hutzelman <jhutz@cmu.edu>
Subject: Re: SASL WG session at IETF68
Message-ID: <22F93B5796689D5DC0A13732@sirius.fac.cs.cmu.edu>
In-Reply-To: <45F58943.7FE3@xyzzy.claranet.de>
References:  <ldvhctqdvd7.fsf@cathode-dark-space.mit.edu> <45F55194.6040802@isode.com> <45F58943.7FE3@xyzzy.claranet.de>
Originator-Info: login-token=Mulberry:012lvYLkTDTaImplCvDdkInXHND1lhj1FH0AaTENs=; token_authority=postmaster@andrew.cmu.edu
X-Mailer: Mulberry/3.1.6 (Linux/x86)
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii; format=flowed
Content-Transfer-Encoding: 7bit
Content-Disposition: inline
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 Monday, March 12, 2007 06:09:23 PM +0100 Frank Ellermann 
<nobody@xyzzy.claranet.de> wrote:

> Finally the second part says implementations won't bother to check the
> certificate, and then PLAIN isn't good enough.  Now that's tricky, if
> it's true

Sadly, it is.  All too many TLS-using applications, especially email 
clients, either completely ignore certificate validation or treat all 
self-signed certificates as trust anchors.  So, mechanisms which do not 
reveal the user's password to the "server" are highly desirable.

-- Jeff



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 l2CJkIZ6098954 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Mon, 12 Mar 2007 12:46:18 -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 l2CJkIjM098953; Mon, 12 Mar 2007 12:46:18 -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 l2CJkGKl098946 for <ietf-sasl@imc.org>; Mon, 12 Mar 2007 12:46:17 -0700 (MST) (envelope-from Kurt.Zeilenga@Isode.com)
Received: from [192.168.1.103] ((unknown) [24.176.246.106])  by rufus.isode.com (submission channel) via TCP with ESMTPA  id <RfWuBwB5Ixqp@rufus.isode.com>; Mon, 12 Mar 2007 19:46:15 +0000
X-SMTP-Protocol-Errors: NORDNS
In-Reply-To: <45F59BA5.5608@xyzzy.claranet.de>
References: <ldvhctqdvd7.fsf@cathode-dark-space.mit.edu> <45F55194.6040802@isode.com> <45F58943.7FE3@xyzzy.claranet.de> <45F58C11.6010502@isode.com> <45F59BA5.5608@xyzzy.claranet.de>
Mime-Version: 1.0 (Apple Message framework v752.3)
Content-Type: text/plain; charset=US-ASCII; format=flowed
Message-Id: <21E77BBF-A283-4E16-A988-BD622B75292F@Isode.com>
Cc: ietf-sasl@imc.org
Content-Transfer-Encoding: 7bit
From: Kurt Zeilenga <Kurt.Zeilenga@isode.com>
Subject: Re: SASL WG session at IETF68
Date: Mon, 12 Mar 2007 12:46:41 -0700
To: Frank Ellermann <nobody@xyzzy.claranet.de>
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>

On Mar 12, 2007, at 11:27 AM, Frank Ellermann wrote:

> Anyway, if you don't like to replace PLAIN you can either add a
> "SHOULD check cert" (the TLS RFC might have some MUSTard in this
> direction, I'm too lazy to look), or maybe Sam's argument isn't
> correct (?)

IIRC, it is the application protocol specification which
specifies what, if any, TLS certificate verification is
required in its use of TLS.

-- 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 l2CIStFx094645 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Mon, 12 Mar 2007 11:28:55 -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 l2CIStuH094644; Mon, 12 Mar 2007 11:28:55 -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 l2CISqXr094635 (version=TLSv1/SSLv3 cipher=AES256-SHA bits=256 verify=NO) for <ietf-sasl@imc.org>; Mon, 12 Mar 2007 11:28:54 -0700 (MST) (envelope-from gis-ietf-sasl-560@gmane.org)
Received: from list by ciao.gmane.org with local (Exim 4.43) id 1HQpGD-0005Ww-Kl for ietf-sasl@imc.org; Mon, 12 Mar 2007 19:28:41 +0100
Received: from d252136.dialin.hansenet.de ([80.171.252.136]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for <ietf-sasl@imc.org>; Mon, 12 Mar 2007 19:28:41 +0100
Received: from nobody by d252136.dialin.hansenet.de with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for <ietf-sasl@imc.org>; Mon, 12 Mar 2007 19:28:41 +0100
X-Injected-Via-Gmane: http://gmane.org/
To: ietf-sasl@imc.org
From: Frank Ellermann <nobody@xyzzy.claranet.de>
Subject:  Re: SASL WG session at IETF68
Date:  Mon, 12 Mar 2007 19:27:49 +0100
Organization:  <URL:http://purl.net/xyzzy>
Lines: 24
Message-ID:  <45F59BA5.5608@xyzzy.claranet.de>
References:  <ldvhctqdvd7.fsf@cathode-dark-space.mit.edu> <45F55194.6040802@isode.com> <45F58943.7FE3@xyzzy.claranet.de> <45F58C11.6010502@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: d252136.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:

>> Finally the second part says implementations won't bother
>> to check the certificate, and then PLAIN isn't good enough.

> This is the part I would like to discuss.
 
>> Now that's tricky, if it's true you could as well replace
>> the "MUST do PLAIN" by a "MUST do CRAM-MD5",
[both over TLS, obviously]

> This wouldn't fly for a set of reasons I wouldn't repeat here.

I don't recall any discussion involving you about "CRAM-MD5 over
TLS" here (or elsewhere).  But I don't read this list very long,
if it was before 2005 I've certainly missed it.

Anyway, if you don't like to replace PLAIN you can either add a
"SHOULD check cert" (the TLS RFC might have some MUSTard in this
direction, I'm too lazy to look), or maybe Sam's argument isn't
correct (?)

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 l2CHr8G3092863 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Mon, 12 Mar 2007 10:53:08 -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 l2CHr8r7092862; Mon, 12 Mar 2007 10:53: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 rufus.isode.com (rufus.isode.com [62.3.217.251]) by balder-227.proper.com (8.13.5/8.13.5) with ESMTP id l2CHr77S092856 for <ietf-sasl@imc.org>; Mon, 12 Mar 2007 10:53:07 -0700 (MST) (envelope-from Kurt.Zeilenga@isode.com)
Received: from [192.168.1.103] ((unknown) [24.176.246.106])  by rufus.isode.com (submission channel) via TCP with ESMTPA  id <RfWTgQB5I4-P@rufus.isode.com>; Mon, 12 Mar 2007 17:53:06 +0000
X-SMTP-Protocol-Errors: NORDNS
In-Reply-To: <F91C9608-CA43-45AF-91E9-BBE52F45D428@apple.com>
References: <2B58F1C8-9704-4DEF-A61F-A6C938DD6F50@Isode.com> <F91C9608-CA43-45AF-91E9-BBE52F45D428@apple.com>
Mime-Version: 1.0 (Apple Message framework v752.3)
Content-Type: text/plain; charset=US-ASCII; delsp=yes; format=flowed
Message-Id: <BD373E96-E98A-4587-8E04-5665E1781121@isode.com>
Cc: ietf-sasl@imc.org
Content-Transfer-Encoding: 7bit
From: Kurt Zeilenga <Kurt.Zeilenga@isode.com>
Subject: Re: Alternative password SASL authentication mechanims
Date: Mon, 12 Mar 2007 10:53:32 -0700
To: Steven Simon <simon.s@apple.com>
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>

On Mar 12, 2007, at 8:19 AM, Steven Simon wrote:
> I have a suggestion for this method that probably runs counter to  
> traditional security practices:
> Leave the realm out of the hash.

By "this method" I assume you refer to HEXA and not YAP (even though  
you quoted only the
YAP abstract in your message) as the realm concept is purposely  
absent from YAP.

-- 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 l2CHoJM5092723 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Mon, 12 Mar 2007 10:50:19 -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 l2CHoJhf092722; Mon, 12 Mar 2007 10:50: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 rufus.isode.com (rufus.isode.com [62.3.217.251]) by balder-227.proper.com (8.13.5/8.13.5) with ESMTP id l2CHoIfh092714 for <ietf-sasl@imc.org>; Mon, 12 Mar 2007 10:50:19 -0700 (MST) (envelope-from Kurt.Zeilenga@Isode.com)
Received: from [192.168.1.103] ((unknown) [24.176.246.106])  by rufus.isode.com (submission channel) via TCP with ESMTPA  id <RfWS2AB5I56C@rufus.isode.com>; Mon, 12 Mar 2007 17:50:17 +0000
X-SMTP-Protocol-Errors: NORDNS
In-Reply-To: <87ps7eivi9.fsf@mocca.josefsson.org>
References: <2B58F1C8-9704-4DEF-A61F-A6C938DD6F50@Isode.com> <87ps7eivi9.fsf@mocca.josefsson.org>
Mime-Version: 1.0 (Apple Message framework v752.3)
Content-Type: text/plain; charset=US-ASCII; format=flowed
Message-Id: <83A0FB18-AA15-4ED3-A239-4BAE1CBCC844@Isode.com>
Cc: ietf-sasl@imc.org
Content-Transfer-Encoding: 7bit
From: Kurt Zeilenga <Kurt.Zeilenga@isode.com>
Subject: Re: Alternative password SASL authentication mechanims
Date: Mon, 12 Mar 2007 10:50:43 -0700
To: Simon Josefsson <simon@josefsson.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>

On Mar 12, 2007, at 3:52 AM, Simon Josefsson wrote:
> Why not define these new password-based mechanisms as GSS-API
> mechanisms and use them under GS2?

Ease specification and ease of implementation.  At least for me, it
is far easier to specify and implement a mechanism like YAP as a
SASL mechanism than as a GSS-API mechanism.  Anyone who thinks
otherwise is certainly free to show me that I'm wrong by producing
an easy-to-understand and easy-to-implement I-D specifying YAP as a
GSS-API mechanism.

Beyond this, well, see Jeffrey's comments.

> This suggestion assume that nobody intends to use these password-based
> SASL mechanisms without a secure channel (e.g., TLS).  Does that
> assumption hold?

YAP require a secure channel.

-- 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 l2CHM7VZ090345 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Mon, 12 Mar 2007 10:22: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 l2CHM7fW090343; Mon, 12 Mar 2007 10:22: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 rufus.isode.com (rufus.isode.com [62.3.217.251]) by balder-227.proper.com (8.13.5/8.13.5) with ESMTP id l2CHM6fO090337 for <ietf-sasl@imc.org>; Mon, 12 Mar 2007 10:22:06 -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 <RfWMPQB5I3nj@rufus.isode.com>; Mon, 12 Mar 2007 17:22:05 +0000
Message-ID: <45F58C11.6010502@isode.com>
Date: Mon, 12 Mar 2007 17:21:21 +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: SASL WG session at IETF68
References: <ldvhctqdvd7.fsf@cathode-dark-space.mit.edu> <45F55194.6040802@isode.com> <45F58943.7FE3@xyzzy.claranet.de>
In-Reply-To: <45F58943.7FE3@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:
> 
>  
>
>>Sam posted a DISCUSS on draft-siemborski-rfc2554bis-08.txt (SMTP AUTH).
>>The DISCUSS is in relationship to use of SASL PLAIN over TLS.
>>If I can't clear the DISCUSS this week, I would like to discuss it
>>during the meeting, because I think this is a general issue regarding
>>use of SASL PLAIN in protocols.
>>    
>>
>The [Discuss] has two parts.  The first part claims that 4616 requires
>TLS as some kind of "default", but I don't see this in 4616.  Saying
>that PLAIN must not be advertised / negotiated without TLS should be
>good enough, and the I-D like 4616 do this.
>  
>
I've already addressed this part in the way you describe.

>The second part says that all implementations must implement STARTTLS.
>That's implied by the "MUST implement PLAIN", but saying so explicitly
>in the same paragraph with "MUST implement PLAIN" can't hurt.
>
>Finally the second part says implementations won't bother to check the
>certificate, and then PLAIN isn't good enough.
>
This is the part I would like to discuss.

>Now that's tricky, if it's true you could as well replace the "MUST do PLAIN" by a "MUST do
>CRAM-MD5",
>
This wouldn't fly for a set of reasons I wouldn't repeat here.

>remove the old "MAY CRAM-MD5", add a "SHOULD STARTTLS", and
>remove most of the PLAIN discussion, because it's just what 4616 says.
>  
>



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 l2CHAuwR089716 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Mon, 12 Mar 2007 10:10:56 -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 l2CHAutm089715; Mon, 12 Mar 2007 10:10:56 -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 l2CHArZa089709 (version=TLSv1/SSLv3 cipher=AES256-SHA bits=256 verify=NO) for <ietf-sasl@imc.org>; Mon, 12 Mar 2007 10:10:55 -0700 (MST) (envelope-from gis-ietf-sasl-560@gmane.org)
Received: from list by ciao.gmane.org with local (Exim 4.43) id 1HQo2r-00026w-GO for ietf-sasl@imc.org; Mon, 12 Mar 2007 18:10:49 +0100
Received: from d252136.dialin.hansenet.de ([80.171.252.136]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for <ietf-sasl@imc.org>; Mon, 12 Mar 2007 18:10:49 +0100
Received: from nobody by d252136.dialin.hansenet.de with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for <ietf-sasl@imc.org>; Mon, 12 Mar 2007 18:10:49 +0100
X-Injected-Via-Gmane: http://gmane.org/
To: ietf-sasl@imc.org
From: Frank Ellermann <nobody@xyzzy.claranet.de>
Subject:  Re: SASL WG session at IETF68
Date:  Mon, 12 Mar 2007 18:09:23 +0100
Organization:  <URL:http://purl.net/xyzzy>
Lines: 25
Message-ID:  <45F58943.7FE3@xyzzy.claranet.de>
References:  <ldvhctqdvd7.fsf@cathode-dark-space.mit.edu> <45F55194.6040802@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: d252136.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:
 
> Sam posted a DISCUSS on draft-siemborski-rfc2554bis-08.txt (SMTP AUTH).
> The DISCUSS is in relationship to use of SASL PLAIN over TLS.
> If I can't clear the DISCUSS this week, I would like to discuss it
> during the meeting, because I think this is a general issue regarding
> use of SASL PLAIN in protocols.

The [Discuss] has two parts.  The first part claims that 4616 requires
TLS as some kind of "default", but I don't see this in 4616.  Saying
that PLAIN must not be advertised / negotiated without TLS should be
good enough, and the I-D like 4616 do this.

The second part says that all implementations must implement STARTTLS.
That's implied by the "MUST implement PLAIN", but saying so explicitly
in the same paragraph with "MUST implement PLAIN" can't hurt.

Finally the second part says implementations won't bother to check the
certificate, and then PLAIN isn't good enough.  Now that's tricky, if
it's true you could as well replace the "MUST do PLAIN" by a "MUST do
CRAM-MD5", remove the old "MAY CRAM-MD5", add a "SHOULD STARTTLS", and
remove most of the PLAIN discussion, because it's just what 4616 says.

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 l2CGJxnI086708 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Mon, 12 Mar 2007 09:19:59 -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 l2CGJxMb086707; Mon, 12 Mar 2007 09:19: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 currant.srv.cs.cmu.edu (CURRANT.SRV.CS.CMU.EDU [128.2.194.193]) by balder-227.proper.com (8.13.5/8.13.5) with ESMTP id l2CGJvSm086700 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=FAIL) for <ietf-sasl@imc.org>; Mon, 12 Mar 2007 09:19:58 -0700 (MST) (envelope-from jhutz@cmu.edu)
Received: from SIRIUS.FAC.CS.CMU.EDU (SIRIUS.FAC.CS.CMU.EDU [128.2.209.170]) (authenticated bits=0) by currant.srv.cs.cmu.edu (8.13.6/8.13.6) with ESMTP id l2CGJtYj000673 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Mon, 12 Mar 2007 11:19:56 -0500 (EST)
Date: Mon, 12 Mar 2007 12:19:55 -0400
From: Jeffrey Hutzelman <jhutz@cmu.edu>
To: Simon Josefsson <simon@josefsson.org>, ietf-sasl@imc.org
cc: Jeffrey Hutzelman <jhutz@cmu.edu>
Subject: Re: Alternative password SASL authentication mechanims
Message-ID: <486D892EEEF277363AF05881@sirius.fac.cs.cmu.edu>
In-Reply-To: <87ps7eivi9.fsf@mocca.josefsson.org>
References: <2B58F1C8-9704-4DEF-A61F-A6C938DD6F50@Isode.com> <87ps7eivi9.fsf@mocca.josefsson.org>
Originator-Info: login-token=Mulberry:01cHhGJdrgu5m8w76mo/Z2lAfqfVD3rL/d7XSKpvg=; token_authority=postmaster@andrew.cmu.edu
X-Mailer: Mulberry/3.1.6 (Linux/x86)
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii; format=flowed
Content-Transfer-Encoding: 7bit
Content-Disposition: inline
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 Monday, March 12, 2007 11:52:46 AM +0100 Simon Josefsson 
<simon@josefsson.org> wrote:

> I have one idea/suggestion for these new password-based SASL
> authentication mechanisms: have them prefix the initial message with
> the mechanism-independent GSS-API token tag (see RFC 2743 section
> 3.1).  That would allows these SASL protocols to more easily be
> re-used as GSS-API mechanism protocols.  What do people think?

This does not seem like a good idea.  The protocol element in question is 
used in the GSS-API to allow negotiation mechanisms to identify the GSS-API 
mechanism which created a particular token; it includes a GSS-API mechanism 
OID.  Including such a tag in a SASL token would be meaningless to SASL, 
and would require the assignment of an OID to identify a GSS-API mechanism 
that is not actually being defined.

It might allow the initial SASL token to be used as an initial GSS-API 
token, but that wouldn't be true for all tokens, and it wouldn't save you 
from actually writing the specification for the GSS mechanism.  It would 
also create significant confusion the first time the GSS mechanism spec 
evolved to the point where a new OID was required.

The right way to go about this is either to simultaneously defined SASL, 
GSS-API, and EAP mechanisms based on the same underlying technology, or to 
do this:

> Why not define these new password-based mechanisms as GSS-API
> mechanisms and use them under GS2?  If you look at the bytes sent on
> the wire, there would not be that much differences.  The difference is
> the addition of the GS2 headers, and the GSS-API mechanism-independent
> token tag.




> If we go this route, we could eventually close the SASL registry, and
> make all future work be done within the GSS-API context instead.

Unfortunately not.  The SASL and GSS-API frameworks have different 
properties, which means there are some technologies for which a SASL 
mechanism can be defined which provides functionality that could not be 
obtained from a GSS-API mechanism, if one could be defined at all.  The 
most common example of this is technologies which provide a protected 
channel with sequencing -- the GSS-API supports reporting missing or 
out-of-sequence messages but leaves it up to the caller to decide what to 
do about them; a technology which cannot do the latter cannot provide 
sequencing protection to GSS-API applications, and in fact it may not be 
possible to define a GSS mechanism at all for such a technology.  However, 
it would still be possible and even useful to directly define a SASL 
mechanism.



> I believe that what we specify for wide use that should, at the very
> least, offer integrity protection.  Therefor, all these password-based
> authentication mechanism should require a secure channel, or specify
> its own secure channel.  Given DIGEST-MD5, the second approach of
> specifying its own secure channel seems like a bad choice.  Thus,
> relying on some external secure channel, like TLS or IPSEC, through
> channel bindings, seems like a good solution.

I agree that it is a bad idea to attempt to define a security layer for a 
SASL mechanism built on technology which does not already provide that 
functionality.

-- Jeff



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 l2CG1HiE085689 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Mon, 12 Mar 2007 09:01:17 -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 l2CG1HVg085688; Mon, 12 Mar 2007 09:01:17 -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 l2CG1EuA085681 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=FAIL) for <ietf-sasl@imc.org>; Mon, 12 Mar 2007 09:01:16 -0700 (MST) (envelope-from simon@josefsson.org)
Received: from mocca.josefsson.org (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 l2CG0vuC030414 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Mon, 12 Mar 2007 17:00:57 +0100
From: Simon Josefsson <simon@josefsson.org>
To: Jeffrey Hutzelman <jhutz@cmu.edu>
Cc: Alexey Melnikov <alexey.melnikov@isode.com>, ietf-sasl@imc.org
Subject: Re: WG Last Call: draft-ietf-sasl-gs2-07.txt
References: <D5255BF7-5C3A-4224-B04F-364B195D3B6E@Isode.com> <45F3EF07.20207@isode.com> <87mz2iheae.fsf@mocca.josefsson.org> <347BC4EBAF7637163D25EA1B@sirius.fac.cs.cmu.edu>
OpenPGP: id=B565716F; url=http://josefsson.org/key.txt
X-Hashcash: 1:22:070312:jhutz@cmu.edu::CBEq7SKxurlGMXjT:0dxk
X-Hashcash: 1:22:070312:alexey.melnikov@isode.com::C46wAme2mMsDwZh2:43G4
X-Hashcash: 1:22:070312:ietf-sasl@imc.org::mpE4lZBUGCx8V1Mj:pYkP
Date: Mon, 12 Mar 2007 17:00:57 +0100
In-Reply-To: <347BC4EBAF7637163D25EA1B@sirius.fac.cs.cmu.edu> (Jeffrey Hutzelman's message of "Mon\, 12 Mar 2007 11\:51\:22 -0400")
Message-ID: <87slcae9ja.fsf@mocca.josefsson.org>
User-Agent: Gnus/5.110006 (No Gnus v0.6) Emacs/22.0.94 (gnu/linux)
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
X-Spam-Status: No, score=-1.3 required=4.0 tests=AWL,BAYES_05, 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>

Jeffrey Hutzelman <jhutz@cmu.edu> writes:

>>> Only one editorial issue in section 14 (Security Considerations):
>>>
>>>>        This solution, however, is not guaranteed
>>>>        to the lead to the mutually most secure mechanism, and is
>>>
>>> I think "the" needs to be removed here.
>>
>> I agree.  Removed, thanks.
>>
>>> I understand what this sentence is trying to say, but it doesn't
>>> quite read correctly even after removing of the "the".
>>
>> I tried to rephrase it, but couldn't come up with something that quite
>> said exactly the same thing and were more readable.  Suggestions
>> welcome...
>
> "... to the most secure mechanism supported by both parties" ?

Installed, thanks!

/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 l2CFpQa6084952 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Mon, 12 Mar 2007 08:51:26 -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 l2CFpQlK084951; Mon, 12 Mar 2007 08:51: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 currant.srv.cs.cmu.edu (CURRANT.SRV.CS.CMU.EDU [128.2.194.193]) by balder-227.proper.com (8.13.5/8.13.5) with ESMTP id l2CFpOAF084945 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=FAIL) for <ietf-sasl@imc.org>; Mon, 12 Mar 2007 08:51:25 -0700 (MST) (envelope-from jhutz@cmu.edu)
Received: from SIRIUS.FAC.CS.CMU.EDU (SIRIUS.FAC.CS.CMU.EDU [128.2.209.170]) (authenticated bits=0) by currant.srv.cs.cmu.edu (8.13.6/8.13.6) with ESMTP id l2CFpM08000646 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Mon, 12 Mar 2007 10:51:22 -0500 (EST)
Date: Mon, 12 Mar 2007 11:51:22 -0400
From: Jeffrey Hutzelman <jhutz@cmu.edu>
To: Simon Josefsson <simon@josefsson.org>, Alexey Melnikov <alexey.melnikov@isode.com>
cc: ietf-sasl@imc.org, Jeffrey Hutzelman <jhutz@cmu.edu>
Subject: Re: WG Last Call: draft-ietf-sasl-gs2-07.txt
Message-ID: <347BC4EBAF7637163D25EA1B@sirius.fac.cs.cmu.edu>
In-Reply-To: <87mz2iheae.fsf@mocca.josefsson.org>
References: <D5255BF7-5C3A-4224-B04F-364B195D3B6E@Isode.com> <45F3EF07.20207@isode.com> <87mz2iheae.fsf@mocca.josefsson.org>
Originator-Info: login-token=Mulberry:01Um1Q/LzVxXCeuMh9heuAa+nfhyfZocm/4n5hiO0=; token_authority=postmaster@andrew.cmu.edu
X-Mailer: Mulberry/3.1.6 (Linux/x86)
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii; format=flowed
Content-Transfer-Encoding: 7bit
Content-Disposition: inline
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 Monday, March 12, 2007 12:50:01 PM +0100 Simon Josefsson 
<simon@josefsson.org> wrote:

>
> Alexey Melnikov <alexey.melnikov@isode.com> writes:
>
>> Kurt Zeilenga wrote:
>>
>>> This message initiates a SASL Working Group Last Call on the
>>> document:
>>>
>>>   Title:     Using GSS-API Mechanisms in SASL: The GS2 Mechanism Family
>>>   Editor:    S. Josefsson
>>>   Filename:  draft-ietf-sasl-gs2-07.txt
>>>
>>> The purpose of this WG Last Call is to ensure that the Working
>>> Group has achieved consensus that the document is suitable for
>>> publication on the Standards Track.
>>>
>>> Please review the document for both technical and editorial
>>> problems.  Technical issues should be discussed on this list.
>>> Editorial issues may be sent to the document editor.  In
>>> the case that a reviewer finds no technical issues, the
>>> reviewer should send a note to the WG chairs indicating
>>> so.
>>>
>>> Reviewers are asked to consider the suitability of the documents
>>> referenced, in particular Channel Binding drafts, by this I-D for
>>> this I-D's purposes.  Note that this is not a request to review
>>> anew each referenced document.  Referenced documents have either
>>> been, or will be, subjected to appropriate review before publication.
>>> This consideration is intended only to ensure this I-D is suitable
>>> for publication on the Standards Track.
>>>
>>> The Last Call period will close on Tuesday, 20 March 2007.
>>
>> Only one editorial issue in section 14 (Security Considerations):
>>
>>>        This solution, however, is not guaranteed
>>>        to the lead to the mutually most secure mechanism, and is
>>
>> I think "the" needs to be removed here.
>
> I agree.  Removed, thanks.
>
>> I understand what this sentence is trying to say, but it doesn't
>> quite read correctly even after removing of the "the".
>
> I tried to rephrase it, but couldn't come up with something that quite
> said exactly the same thing and were more readable.  Suggestions
> welcome...

"... to the most secure mechanism supported by both parties" ?

-- Jeff



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 l2CFJSBh082834 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Mon, 12 Mar 2007 08:19:28 -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 l2CFJS3F082833; Mon, 12 Mar 2007 08:19: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 mail-out3.apple.com (mail-out3.apple.com [17.254.13.22]) by balder-227.proper.com (8.13.5/8.13.5) with ESMTP id l2CFJOoB082827 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO) for <ietf-sasl@imc.org>; Mon, 12 Mar 2007 08:19:27 -0700 (MST) (envelope-from simon.s@apple.com)
Received: from relay5.apple.com (a17-128-113-35.apple.com [17.128.113.35]) by mail-out3.apple.com (8.13.8/8.13.8) with ESMTP id l2CFJOsf025512; Mon, 12 Mar 2007 08:19:24 -0700 (PDT)
Received: from relay5.apple.com (unknown [127.0.0.1]) by relay5.apple.com (Symantec Mail Security) with ESMTP id 8529529C004; Mon, 12 Mar 2007 08:19:24 -0700 (PDT)
X-AuditID: 11807123-9d11bbb000004462-6d-45f56f7ccdbd 
Received: from [17.219.211.144] (unknown [17.219.211.144]) by relay5.apple.com (Apple SCV relay) with ESMTP id 2B28230400C; Mon, 12 Mar 2007 08:19:24 -0700 (PDT)
In-Reply-To: <2B58F1C8-9704-4DEF-A61F-A6C938DD6F50@Isode.com>
References: <2B58F1C8-9704-4DEF-A61F-A6C938DD6F50@Isode.com>
Mime-Version: 1.0 (Apple Message framework v752.3)
Content-Type: multipart/signed; micalg=sha1; boundary=Apple-Mail-2--15416702; protocol="application/pkcs7-signature"
Message-Id: <F91C9608-CA43-45AF-91E9-BBE52F45D428@apple.com>
Cc: ietf-sasl@imc.org
From: Steven Simon <simon.s@apple.com>
Subject: Re: Alternative password SASL authentication mechanims
Date: Mon, 12 Mar 2007 08:19:55 -0700
To: Kurt Zeilenga <Kurt.Zeilenga@isode.com>
X-Mailer: Apple Mail (2.752.3)
X-Brightmail-Tracker: AAAAAA==
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>

--Apple-Mail-2--15416702
Content-Type: multipart/alternative;
	boundary=Apple-Mail-1--15416770


--Apple-Mail-1--15416770
Content-Transfer-Encoding: 7bit
Content-Type: text/plain;
	charset=US-ASCII;
	delsp=yes;
	format=flowed

I have a suggestion for this method that probably runs counter to  
traditional security practices:
Leave the realm out of the hash.

This auth method is nice because it takes the username first, which  
allows us to route the
authentication to the correct server before having to generate a  
challenge.

Hashing in a realm causes problems with administration. For example,  
with the realm hashed in,
it's impossible for us to dynamically add a user to a new apache  
realm. The password must be
reset so the server gets a chance to rehash the cleartext for the new  
realm. This issue has been a
disappointment with DIGEST-MD5 for us. There are similar problems  
with backup/restore/migration
if servers are replaced or the network topology is reorganized.

In theory, the realm protects against replay at a different realm,  
but in practice there are other ways to do that.
One could add the realm to the challenge, for example.

On a side note, I'll also make a plug for using SHA-256 as the  
mandatory hash. MD5 (and SHA1) are
being phased out.

- Steven Simon


On Mar 11, 2007, at 6:10 PM, Kurt Zeilenga wrote:

> Title		: SASL Yet Another Password Mechanism
> Author(s)	: K. Zeilenga
> Filename	: draft-zeilenga-sasl-yap-00.txt
> Pages		: 7
> Date		: 2007-2-27
> 	
>   This document describes a password authentication mechanism, called
>   YAP-SHA-256, for use in protocols support Simple Authentication and
>   Security Layer (SASL) framework.  The mechanism relies on security
>   services provided by a lower layer, such as Transport Layer Security
>   (TLS), to protect the authentication exchange, and subsequent
>   application data exchange, from common attacks.  The YAP-SHA-256
>   mechanism may be viewed as an alternative to other password-based  
> SASL
>   mechanism, such as PLAIN, CRAM-MD5, and DIGEST-MD5.


--Apple-Mail-1--15416770
Content-Transfer-Encoding: quoted-printable
Content-Type: text/html;
	charset=ISO-8859-1

<HTML><BODY style=3D"word-wrap: break-word; -khtml-nbsp-mode: space; =
-khtml-line-break: after-white-space; ">I have a suggestion for this =
method that probably runs counter to traditional security =
practices:<DIV>Leave the realm out of the hash.</DIV><DIV><DIV><BR =
class=3D"khtml-block-placeholder"></DIV><DIV>This auth method is nice =
because it takes the username first, which allows us to route =
the</DIV><DIV>authentication to the correct server before having to =
generate a challenge.</DIV><DIV><BR =
class=3D"khtml-block-placeholder"></DIV><DIV>Hashing in a realm causes =
problems with administration. For example, with the realm hashed =
in,=A0</DIV><DIV>it's impossible for us to dynamically add a user to a =
new apache realm. The password must be</DIV><DIV>reset so the server =
gets a chance to rehash the cleartext for the new realm. This issue has =
been a</DIV><DIV>disappointment with DIGEST-MD5 for us. There are =
similar=A0problems with=A0backup/restore/migration</DIV><DIV>if servers =
are replaced or the network topology is reorganized.</DIV><DIV><BR =
class=3D"khtml-block-placeholder"></DIV><DIV>In theory, the =
realm=A0protects against replay at a different realm, but in practice =
there are other ways to do that.</DIV><DIV>One could add the realm to =
the challenge, for example.=A0</DIV><DIV><BR =
class=3D"khtml-block-placeholder"></DIV><DIV>On a side note, I'll also =
make a plug for using SHA-256 as the mandatory hash. MD5 (and SHA1) =
are</DIV><DIV>being phased out.</DIV><DIV><BR =
class=3D"khtml-block-placeholder"></DIV><DIV>- Steven =
Simon</DIV><DIV><BR =
class=3D"khtml-block-placeholder"></DIV><DIV><BR><DIV><DIV>On Mar 11, =
2007, at 6:10 PM, Kurt Zeilenga wrote:</DIV><BR =
class=3D"Apple-interchange-newline"><BLOCKQUOTE type=3D"cite"><P =
style=3D"margin: 0.0px 0.0px 0.0px 0.0px"><FONT face=3D"Helvetica" =
size=3D"3" style=3D"font: 12.0px Helvetica">Title<SPAN =
class=3D"Apple-tab-span" style=3D"white-space:pre">	</SPAN><SPAN =
class=3D"Apple-tab-span" style=3D"white-space:pre">	</SPAN>: SASL =
Yet Another Password Mechanism</FONT></P> <P style=3D"margin: 0.0px =
0.0px 0.0px 0.0px"><FONT face=3D"Helvetica" size=3D"3" style=3D"font: =
12.0px Helvetica">Author(s)<SPAN class=3D"Apple-tab-span" =
style=3D"white-space:pre">	</SPAN>: K. Zeilenga</FONT></P> <P =
style=3D"margin: 0.0px 0.0px 0.0px 0.0px"><FONT face=3D"Helvetica" =
size=3D"3" style=3D"font: 12.0px Helvetica">Filename<SPAN =
class=3D"Apple-tab-span" style=3D"white-space:pre">	</SPAN>: =
draft-zeilenga-sasl-yap-00.txt</FONT></P> <P style=3D"margin: 0.0px =
0.0px 0.0px 0.0px"><FONT face=3D"Helvetica" size=3D"3" style=3D"font: =
12.0px Helvetica">Pages<SPAN class=3D"Apple-tab-span" =
style=3D"white-space:pre">	</SPAN><SPAN class=3D"Apple-tab-span" =
style=3D"white-space:pre">	</SPAN>: 7</FONT></P> <P style=3D"margin: =
0.0px 0.0px 0.0px 0.0px"><FONT face=3D"Helvetica" size=3D"3" =
style=3D"font: 12.0px Helvetica">Date<SPAN class=3D"Apple-tab-span" =
style=3D"white-space:pre">	</SPAN><SPAN class=3D"Apple-tab-span" =
style=3D"white-space:pre">	</SPAN>: 2007-2-27</FONT></P> <P =
style=3D"margin: 0.0px 0.0px 0.0px 0.0px; min-height: 14.0px"><FONT =
face=3D"Helvetica" size=3D"3" style=3D"font: 12.0px Helvetica"><SPAN =
class=3D"Apple-tab-span" style=3D"white-space:pre">	=
</SPAN></FONT></P> <P style=3D"margin: 0.0px 0.0px 0.0px 0.0px"><FONT =
face=3D"Helvetica" size=3D"3" style=3D"font: 12.0px Helvetica"><SPAN =
class=3D"Apple-converted-space">=A0 </SPAN>This document describes a =
password authentication mechanism, called</FONT></P> <P style=3D"margin: =
0.0px 0.0px 0.0px 0.0px"><FONT face=3D"Helvetica" size=3D"3" =
style=3D"font: 12.0px Helvetica"><SPAN class=3D"Apple-converted-space">=A0=
 </SPAN>YAP-SHA-256, for use in protocols support Simple Authentication =
and</FONT></P> <P style=3D"margin: 0.0px 0.0px 0.0px 0.0px"><FONT =
face=3D"Helvetica" size=3D"3" style=3D"font: 12.0px Helvetica"><SPAN =
class=3D"Apple-converted-space">=A0 </SPAN>Security Layer (SASL) =
framework.<SPAN class=3D"Apple-converted-space">=A0 </SPAN>The mechanism =
relies on security</FONT></P> <P style=3D"margin: 0.0px 0.0px 0.0px =
0.0px"><FONT face=3D"Helvetica" size=3D"3" style=3D"font: 12.0px =
Helvetica"><SPAN class=3D"Apple-converted-space">=A0 </SPAN>services =
provided by a lower layer, such as Transport Layer Security</FONT></P> =
<P style=3D"margin: 0.0px 0.0px 0.0px 0.0px"><FONT face=3D"Helvetica" =
size=3D"3" style=3D"font: 12.0px Helvetica"><SPAN =
class=3D"Apple-converted-space">=A0 </SPAN>(TLS), to protect the =
authentication exchange, and subsequent</FONT></P> <P style=3D"margin: =
0.0px 0.0px 0.0px 0.0px"><FONT face=3D"Helvetica" size=3D"3" =
style=3D"font: 12.0px Helvetica"><SPAN class=3D"Apple-converted-space">=A0=
 </SPAN>application data exchange, from common attacks.<SPAN =
class=3D"Apple-converted-space">=A0 </SPAN>The YAP-SHA-256</FONT></P> <P =
style=3D"margin: 0.0px 0.0px 0.0px 0.0px"><FONT face=3D"Helvetica" =
size=3D"3" style=3D"font: 12.0px Helvetica"><SPAN =
class=3D"Apple-converted-space">=A0 </SPAN>mechanism may be viewed as an =
alternative to other password-based SASL</FONT></P> <P style=3D"margin: =
0.0px 0.0px 0.0px 0.0px"><FONT face=3D"Helvetica" size=3D"3" =
style=3D"font: 12.0px Helvetica"><SPAN class=3D"Apple-converted-space">=A0=
 </SPAN>mechanism, such as PLAIN, CRAM-MD5, and DIGEST-MD5.</FONT></P> =
</BLOCKQUOTE></DIV><BR></DIV></DIV></BODY></HTML>=

--Apple-Mail-1--15416770--

--Apple-Mail-2--15416702
Content-Transfer-Encoding: base64
Content-Type: application/pkcs7-signature;
	name=smime.p7s
Content-Disposition: attachment;
	filename=smime.p7s

MIAGCSqGSIb3DQEHAqCAMIACAQExCzAJBgUrDgMCGgUAMIAGCSqGSIb3DQEHAQAAoIIGIzCCAtww
ggJFoAMCAQICEAgkMW9iHbadXtQr/OvOnLIwDQYJKoZIhvcNAQEFBQAwYjELMAkGA1UEBhMCWkEx
JTAjBgNVBAoTHFRoYXd0ZSBDb25zdWx0aW5nIChQdHkpIEx0ZC4xLDAqBgNVBAMTI1RoYXd0ZSBQ
ZXJzb25hbCBGcmVlbWFpbCBJc3N1aW5nIENBMB4XDTA2MTEyOTE0NDg0OVoXDTA3MTEyOTE0NDg0
OVowQzEfMB0GA1UEAxMWVGhhd3RlIEZyZWVtYWlsIE1lbWJlcjEgMB4GCSqGSIb3DQEJARYRc2lt
b24uc0BhcHBsZS5jb20wggEiMA0GCSqGSIb3DQEBAQUAA4IBDwAwggEKAoIBAQDpU/oU93WcVTDs
q3AYp6xNe6cUfa4qUVxW8+wvtSLSfRmL1DKg9xpgn+BP6r7z+AUYwxbrNRwN6mjBk92GtChfwJK0
65FXbGumg0InvP31xlK/xbLyl34R/pj4+I64qMt+QULpZ2mM5Dcyr2jVZGFKuE+IoemzA6AP4TOQ
iHRo7zKd1F1GR5+GzSsNYQ539obq+EFPyoyMXGi3Vl24ISk446W14/fjsdgjPVdxuuTq58pTzixt
bWSBwUoDYjjWIPWVg/8RYHnE1ix7AxTQutjtyY4TStjAgQw1xunTEfq967XfZDjZzaUIYGbKM2ze
ZH/Wak9ZpxyE7Yf6EhIYGGABAgMBAAGjLjAsMBwGA1UdEQQVMBOBEXNpbW9uLnNAYXBwbGUuY29t
MAwGA1UdEwEB/wQCMAAwDQYJKoZIhvcNAQEFBQADgYEAg29pVwDMzbtQvGjIby2NVvC+WZ6YnKTT
vJnMmgnpqQCHu/81xHk0TSya2+31sLb6H27MgRGrX7rhz6wPSAHOoHAuNZKMWG1YT39MA9Cq1IzQ
h13IPF/Ud3g1LPo8d4P7/0KQC4k3xywjQ8N6DGnqnJyjO8Q6FqmQnlW+f+B2RvcwggM/MIICqKAD
AgECAgENMA0GCSqGSIb3DQEBBQUAMIHRMQswCQYDVQQGEwJaQTEVMBMGA1UECBMMV2VzdGVybiBD
YXBlMRIwEAYDVQQHEwlDYXBlIFRvd24xGjAYBgNVBAoTEVRoYXd0ZSBDb25zdWx0aW5nMSgwJgYD
VQQLEx9DZXJ0aWZpY2F0aW9uIFNlcnZpY2VzIERpdmlzaW9uMSQwIgYDVQQDExtUaGF3dGUgUGVy
c29uYWwgRnJlZW1haWwgQ0ExKzApBgkqhkiG9w0BCQEWHHBlcnNvbmFsLWZyZWVtYWlsQHRoYXd0
ZS5jb20wHhcNMDMwNzE3MDAwMDAwWhcNMTMwNzE2MjM1OTU5WjBiMQswCQYDVQQGEwJaQTElMCMG
A1UEChMcVGhhd3RlIENvbnN1bHRpbmcgKFB0eSkgTHRkLjEsMCoGA1UEAxMjVGhhd3RlIFBlcnNv
bmFsIEZyZWVtYWlsIElzc3VpbmcgQ0EwgZ8wDQYJKoZIhvcNAQEBBQADgY0AMIGJAoGBAMSmPFVz
VftOucqZWh5owHUEcJ3f6f+jHuy9zfVb8hp2vX8MOmHyv1HOAdTlUAow1wJjWiyJFXCO3cnwK4Va
qj9xVsuvPAsH5/EfkTYkKhPPK9Xzgnc9A74r/rsYPge/QIACZNenprufZdHFKlSFD0gEf6e20Txh
BEAeZBlyYLf7AgMBAAGjgZQwgZEwEgYDVR0TAQH/BAgwBgEB/wIBADBDBgNVHR8EPDA6MDigNqA0
hjJodHRwOi8vY3JsLnRoYXd0ZS5jb20vVGhhd3RlUGVyc29uYWxGcmVlbWFpbENBLmNybDALBgNV
HQ8EBAMCAQYwKQYDVR0RBCIwIKQeMBwxGjAYBgNVBAMTEVByaXZhdGVMYWJlbDItMTM4MA0GCSqG
SIb3DQEBBQUAA4GBAEiM0VCD6gsuzA2jZqxnD3+vrL7CF6FDlpSdf0whuPg2H6otnzYvwPQcUCCT
cDz9reFhYsPZOhl+hLGZGwDFGguCdJ4lUJRix9sncVcljd2pnDmOjCBPZV+V2vf3h9bGCE6u9uo0
5RAaWzVNd+NWIXiC3CEZNd4ksdMdRv9dX2VPMYIDEDCCAwwCAQEwdjBiMQswCQYDVQQGEwJaQTEl
MCMGA1UEChMcVGhhd3RlIENvbnN1bHRpbmcgKFB0eSkgTHRkLjEsMCoGA1UEAxMjVGhhd3RlIFBl
cnNvbmFsIEZyZWVtYWlsIElzc3VpbmcgQ0ECEAgkMW9iHbadXtQr/OvOnLIwCQYFKw4DAhoFAKCC
AW8wGAYJKoZIhvcNAQkDMQsGCSqGSIb3DQEHATAcBgkqhkiG9w0BCQUxDxcNMDcwMzEyMTUxOTU1
WjAjBgkqhkiG9w0BCQQxFgQUoogJGng7/LVezcYwUjx/LEHcbMswgYUGCSsGAQQBgjcQBDF4MHYw
YjELMAkGA1UEBhMCWkExJTAjBgNVBAoTHFRoYXd0ZSBDb25zdWx0aW5nIChQdHkpIEx0ZC4xLDAq
BgNVBAMTI1RoYXd0ZSBQZXJzb25hbCBGcmVlbWFpbCBJc3N1aW5nIENBAhAIJDFvYh22nV7UK/zr
zpyyMIGHBgsqhkiG9w0BCRACCzF4oHYwYjELMAkGA1UEBhMCWkExJTAjBgNVBAoTHFRoYXd0ZSBD
b25zdWx0aW5nIChQdHkpIEx0ZC4xLDAqBgNVBAMTI1RoYXd0ZSBQZXJzb25hbCBGcmVlbWFpbCBJ
c3N1aW5nIENBAhAIJDFvYh22nV7UK/zrzpyyMA0GCSqGSIb3DQEBAQUABIIBAL87QXLMinCYilT/
TxrQ9Gu6I8ZPDt9b9JfWzHv5z1FIp606sPb+EcZNrqHyz1gdzWgVYa3z4pcslEKhX9KHK3QJeCn0
81FXUNgPGi8JzBZSL4KqDQWwLJLZQn2xeMI+VmvSP5vQE1zAAd9lsyNdqaRgvvN7IOiCi2cisA/i
qra32Rwo35ek9cqo2czstcf6NGdyOsqdxQb7PluFQarKZJXCLqEC31v8UYVsnizP/WVUbuoH2IL+
THNwAI1Y9rVpG1C4IrFwVvklWAEGZJIdhUpbDvu49SVMhsx4Mbaj9el2CaDw4JyUgVwMiboNsQpZ
GIYPJpfBTVLdh0fBMJXXy8wAAAAAAAA=

--Apple-Mail-2--15416702--



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 l2CDCQvB074862 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Mon, 12 Mar 2007 06:12:26 -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 l2CDCQ7U074861; Mon, 12 Mar 2007 06:12: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 rufus.isode.com (rufus.isode.com [62.3.217.251]) by balder-227.proper.com (8.13.5/8.13.5) with ESMTP id l2CDCPPk074855 for <ietf-sasl@imc.org>; Mon, 12 Mar 2007 06:12:26 -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 <RfVRuAB5I22A@rufus.isode.com>; Mon, 12 Mar 2007 13:12:24 +0000
Message-ID: <45F55194.6040802@isode.com>
Date: Mon, 12 Mar 2007 13:11:48 +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: Tom Yu <tlyu@MIT.EDU>
CC: ietf-sasl@imc.org
Subject: Re: SASL WG session at IETF68
References: <ldvhctqdvd7.fsf@cathode-dark-space.mit.edu>
In-Reply-To: <ldvhctqdvd7.fsf@cathode-dark-space.mit.edu>
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>

I would like to request one minor addition to the agenda:

Sam posted a DISCUSS on draft-siemborski-rfc2554bis-08.txt (SMTP AUTH). 
The DISCUSS is in relationship to use of SASL PLAIN over TLS.
If I can't clear the DISCUSS this week, I would like to discuss it 
during the meeting, because I think this is a general issue regarding 
use of SASL PLAIN in protocols.



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 l2CBoBv5069581 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Mon, 12 Mar 2007 04:50:11 -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 l2CBoBCN069579; Mon, 12 Mar 2007 04:50:11 -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 l2CBo9CS069565 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=FAIL) for <ietf-sasl@imc.org>; Mon, 12 Mar 2007 04:50:10 -0700 (MST) (envelope-from simon@josefsson.org)
Received: from mocca.josefsson.org (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 l2CBo1Uu020479 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Mon, 12 Mar 2007 12:50:02 +0100
From: Simon Josefsson <simon@josefsson.org>
To: Alexey Melnikov <alexey.melnikov@isode.com>
Cc: ietf-sasl@imc.org
Subject: Re: WG Last Call: draft-ietf-sasl-gs2-07.txt
References: <D5255BF7-5C3A-4224-B04F-364B195D3B6E@Isode.com> <45F3EF07.20207@isode.com>
OpenPGP: id=B565716F; url=http://josefsson.org/key.txt
X-Hashcash: 1:22:070312:alexey.melnikov@isode.com::g3akBUfWvCuL/x8y:7FtU
X-Hashcash: 1:22:070312:ietf-sasl@imc.org::IhFYStcELAgFNGk7:K5Ny
Date: Mon, 12 Mar 2007 12:50:01 +0100
In-Reply-To: <45F3EF07.20207@isode.com> (Alexey Melnikov's message of "Sun\, 11 Mar 2007 11\:59\:03 +0000")
Message-ID: <87mz2iheae.fsf@mocca.josefsson.org>
User-Agent: Gnus/5.110006 (No Gnus v0.6) Emacs/22.0.94 (gnu/linux)
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
X-Spam-Status: No, score=-0.7 required=4.0 tests=AWL,BAYES_50, 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>

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

> Kurt Zeilenga wrote:
>
>> This message initiates a SASL Working Group Last Call on the
>> document:
>>
>>   Title:     Using GSS-API Mechanisms in SASL: The GS2 Mechanism Family
>>   Editor:    S. Josefsson
>>   Filename:  draft-ietf-sasl-gs2-07.txt
>>
>> The purpose of this WG Last Call is to ensure that the Working
>> Group has achieved consensus that the document is suitable for
>> publication on the Standards Track.
>>
>> Please review the document for both technical and editorial
>> problems.  Technical issues should be discussed on this list.
>> Editorial issues may be sent to the document editor.  In
>> the case that a reviewer finds no technical issues, the
>> reviewer should send a note to the WG chairs indicating
>> so.
>>
>> Reviewers are asked to consider the suitability of the documents
>> referenced, in particular Channel Binding drafts, by this I-D for
>> this I-D's purposes.  Note that this is not a request to review
>> anew each referenced document.  Referenced documents have either
>> been, or will be, subjected to appropriate review before publication.
>> This consideration is intended only to ensure this I-D is suitable
>> for publication on the Standards Track.
>>
>> The Last Call period will close on Tuesday, 20 March 2007.
>
> Only one editorial issue in section 14 (Security Considerations):
>
>>        This solution, however, is not guaranteed
>>        to the lead to the mutually most secure mechanism, and is
>
> I think "the" needs to be removed here.

I agree.  Removed, thanks.

> I understand what this sentence is trying to say, but it doesn't
> quite read correctly even after removing of the "the".

I tried to rephrase it, but couldn't come up with something that quite
said exactly the same thing and were more readable.  Suggestions
welcome...

/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 l2CBKIpq067722 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Mon, 12 Mar 2007 04:20:18 -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 l2CBKIh7067721; Mon, 12 Mar 2007 04:20:18 -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 l2CBKInn067715 for <ietf-sasl@imc.org>; Mon, 12 Mar 2007 04:20:18 -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 <RfU3cQB5I4X6@rufus.isode.com>; Mon, 12 Mar 2007 11:20:17 +0000
Message-ID: <45F3EF07.20207@isode.com>
Date: Sun, 11 Mar 2007 11:59:03 +0000
From: Alexey Melnikov <alexey.melnikov@isode.com>
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7.12) Gecko/20050915
X-Accept-Language: en-us, en
To: Simon Josefsson <simon@josefsson.org>
CC: ietf-sasl@imc.org
Subject: Re: WG Last Call: draft-ietf-sasl-gs2-07.txt
References: <D5255BF7-5C3A-4224-B04F-364B195D3B6E@Isode.com>
In-Reply-To: <D5255BF7-5C3A-4224-B04F-364B195D3B6E@Isode.com>
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>

Kurt Zeilenga wrote:

> This message initiates a SASL Working Group Last Call on the
> document:
>
>   Title:     Using GSS-API Mechanisms in SASL: The GS2 Mechanism Family
>   Editor:    S. Josefsson
>   Filename:  draft-ietf-sasl-gs2-07.txt
>
> The purpose of this WG Last Call is to ensure that the Working
> Group has achieved consensus that the document is suitable for
> publication on the Standards Track.
>
> Please review the document for both technical and editorial
> problems.  Technical issues should be discussed on this list.
> Editorial issues may be sent to the document editor.  In
> the case that a reviewer finds no technical issues, the
> reviewer should send a note to the WG chairs indicating
> so.
>
> Reviewers are asked to consider the suitability of the documents
> referenced, in particular Channel Binding drafts, by this I-D for
> this I-D's purposes.  Note that this is not a request to review
> anew each referenced document.  Referenced documents have either
> been, or will be, subjected to appropriate review before publication.
> This consideration is intended only to ensure this I-D is suitable
> for publication on the Standards Track.
>
> The Last Call period will close on Tuesday, 20 March 2007.

Only one editorial issue in section 14 (Security Considerations):

>        This solution, however, is not guaranteed
>        to the lead to the mutually most secure mechanism, and is

I think "the" needs to be removed here. I understand what this sentence 
is trying to say, but it doesn't quite read correctly even after 
removing of the "the".

>        therefor only recommended as an additional precaution.





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 l2CAr23t065802 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Mon, 12 Mar 2007 03:53:02 -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 l2CAr2cD065801; Mon, 12 Mar 2007 03:53:02 -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 l2CAqwZl065795 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=FAIL) for <ietf-sasl@imc.org>; Mon, 12 Mar 2007 03:53:01 -0700 (MST) (envelope-from simon@josefsson.org)
Received: from mocca.josefsson.org (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 l2CAqkSR011988 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO) for <ietf-sasl@imc.org>; Mon, 12 Mar 2007 11:52:47 +0100
From: Simon Josefsson <simon@josefsson.org>
To: ietf-sasl@imc.org
Subject: Re: Alternative password SASL authentication mechanims
References: <2B58F1C8-9704-4DEF-A61F-A6C938DD6F50@Isode.com>
OpenPGP: id=B565716F; url=http://josefsson.org/key.txt
X-Hashcash: 1:22:070312:kurt.zeilenga@isode.com::DSa+hu4LdV17CoE6:0AG6
X-Hashcash: 1:22:070312:ietf-sasl@imc.org::PQB1fgx90pv3vDB3:4MWM
Date: Mon, 12 Mar 2007 11:52:46 +0100
In-Reply-To: <2B58F1C8-9704-4DEF-A61F-A6C938DD6F50@Isode.com> (Kurt Zeilenga's message of "Sun\, 11 Mar 2007 18\:10\:21 -0700")
Message-ID: <87ps7eivi9.fsf@mocca.josefsson.org>
User-Agent: Gnus/5.110006 (No Gnus v0.6) Emacs/22.0.94 (gnu/linux)
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
X-Spam-Status: No, score=-0.8 required=4.0 tests=AWL,BAYES_40, 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>

Interesting documents!

I have one idea/suggestion for these new password-based SASL
authentication mechanisms: have them prefix the initial message with
the mechanism-independent GSS-API token tag (see RFC 2743 section
3.1).  That would allows these SASL protocols to more easily be
re-used as GSS-API mechanism protocols.  What do people think?

I'm working on a password-based GSS-API authentication mechanism, for
use with GS2, which would be quite similar to these protocols too.
That work lead me to the following ideas...:

Why not define these new password-based mechanisms as GSS-API
mechanisms and use them under GS2?  If you look at the bytes sent on
the wire, there would not be that much differences.  The difference is
the addition of the GS2 headers, and the GSS-API mechanism-independent
token tag.

If we go this route, we could eventually close the SASL registry, and
make all future work be done within the GSS-API context instead.

This suggestion assume that nobody intends to use these password-based
SASL mechanisms without a secure channel (e.g., TLS).  Does that
assumption hold?

I believe that what we specify for wide use that should, at the very
least, offer integrity protection.  Therefor, all these password-based
authentication mechanism should require a secure channel, or specify
its own secure channel.  Given DIGEST-MD5, the second approach of
specifying its own secure channel seems like a bad choice.  Thus,
relying on some external secure channel, like TLS or IPSEC, through
channel bindings, seems like a good solution.

/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 l2C1xkum042310 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Sun, 11 Mar 2007 18:59:46 -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 l2C1xkBL042309; Sun, 11 Mar 2007 18:59:46 -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 fugue.toroid.org (fugue.toroid.org [85.10.196.113]) by balder-227.proper.com (8.13.5/8.13.5) with ESMTP id l2C1xjVf042303 for <ietf-sasl@imc.org>; Sun, 11 Mar 2007 18:59:46 -0700 (MST) (envelope-from ams@toroid.org)
Received: from penne.toroid.org (localhost [127.0.0.1]) by fugue.toroid.org (Postfix) with ESMTP id 6AE72F621 for <ietf-sasl@imc.org>; Mon, 12 Mar 2007 02:59:37 +0100 (CET)
Received: by penne.toroid.org (Postfix, from userid 1000) id 48A7B3E27EA; Mon, 12 Mar 2007 07:29:42 +0530 (IST)
Date: Mon, 12 Mar 2007 07:29:42 +0530
From: Abhijit Menon-Sen <ams@oryx.com>
To: ietf-sasl@imc.org
Subject: Re: Alternative password SASL authentication mechanims
Message-ID: <20070312015942.GB10922@penne.toroid.org>
References: <2B58F1C8-9704-4DEF-A61F-A6C938DD6F50@Isode.com>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
In-Reply-To: <2B58F1C8-9704-4DEF-A61F-A6C938DD6F50@Isode.com>
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>

At 2007-03-11 18:10:21 -0700, Kurt.Zeilenga@isode.com wrote:
>
> I draw your attention to two individual submissions proposing new
> password SASL authentications mechanisms as alternatives...

There's also this one:

Title    : Salted Challenge Response Authentication Mechanism (SCRAM)
Author(s): Abhijit Menon-Sen, Chris Newman
Filename : draft-newman-auth-scram-04.txt
Pages    : 12
Date     : 2007-03-08

Abstract

    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 the Salted Challenge Response
    Authentication Mechanism (SCRAM) which addresses the deployability
    requirements.  When used in combination with Transport Layer
    Security or an equivalent security layer, this mechanism 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.

-- ams



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 l2C19w9N040210 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Sun, 11 Mar 2007 18:09:58 -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 l2C19waU040209; Sun, 11 Mar 2007 18:09:58 -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 l2C19v68040203 for <ietf-sasl@imc.org>; Sun, 11 Mar 2007 18:09:58 -0700 (MST) (envelope-from Kurt.Zeilenga@Isode.com)
Received: from [192.168.1.103] ((unknown) [24.176.246.106])  by rufus.isode.com (submission channel) via TCP with ESMTPA  id <RfSoYwB5I0A-@rufus.isode.com> for <ietf-sasl@imc.org>; Mon, 12 Mar 2007 01:09:55 +0000
X-SMTP-Protocol-Errors: NORDNS
Mime-Version: 1.0 (Apple Message framework v752.3)
Content-Transfer-Encoding: 7bit
Message-Id: <2B58F1C8-9704-4DEF-A61F-A6C938DD6F50@Isode.com>
Content-Type: text/plain; charset=US-ASCII; delsp=yes; format=flowed
To: ietf-sasl@imc.org
From: Kurt Zeilenga <Kurt.Zeilenga@isode.com>
Subject: Alternative password SASL authentication mechanims
Date: Sun, 11 Mar 2007 18:10:21 -0700
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>

I draw your attention to two individual submissions proposing new
password SASL authentications mechanisms as alternatives...

Title		: The Hash Exchange Authentication SASL Mechanism
Author(s)	: D. Cridland, A. Melnikov
Filename	: draft-cridland-sasl-hexa-00.txt
Pages		: 12
Date		: 2007-2-28
	
    This memo defines and discusses a SASL mechanism that is based on  
the
    exchange of hashes.  It does not require the storage of a plaintext
    equivalent on the server, is simple to implement, and provides a
    reasonable level of security.

Title		: SASL Yet Another Password Mechanism
Author(s)	: K. Zeilenga
Filename	: draft-zeilenga-sasl-yap-00.txt
Pages		: 7
Date		: 2007-2-27
	
   This document describes a password authentication mechanism, called
   YAP-SHA-256, for use in protocols support Simple Authentication and
   Security Layer (SASL) framework.  The mechanism relies on security
   services provided by a lower layer, such as Transport Layer Security
   (TLS), to protect the authentication exchange, and subsequent
   application data exchange, from common attacks.  The YAP-SHA-256
   mechanism may be viewed as an alternative to other password-based  
SASL
   mechanism, such as PLAIN, CRAM-MD5, and DIGEST-MD5.





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 l2BAAvk9099420 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Sun, 11 Mar 2007 03:10:57 -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 l2BAAvO7099419; Sun, 11 Mar 2007 03:10: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.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 l2BAAqEF099407 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=FAIL) for <ietf-sasl@imc.org>; Sun, 11 Mar 2007 03:10:55 -0700 (MST) (envelope-from simon@josefsson.org)
Received: from mocca.josefsson.org (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 l2BAAdvh009414 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Sun, 11 Mar 2007 11:10:40 +0100
From: Simon Josefsson <simon@josefsson.org>
To: Tom Yu <tlyu@MIT.EDU>
Cc: ietf-sasl@imc.org
Subject: Re: WG Last Call: draft-ietf-sasl-crammd5-08.txt
References: <ldvlki6dqqu.fsf@cathode-dark-space.mit.edu>
OpenPGP: id=B565716F; url=http://josefsson.org/key.txt
X-Hashcash: 1:22:070311:ietf-sasl@imc.org::JjxlY5zy5pog4XsR:fL5D
X-Hashcash: 1:22:070311:tlyu@mit.edu::LAvQD43nXqIKErYP:0NuNw
Date: Sun, 11 Mar 2007 11:10:39 +0100
In-Reply-To: <ldvlki6dqqu.fsf@cathode-dark-space.mit.edu> (Tom Yu's message of "Fri\, 09 Mar 2007 16\:57\:45 -0500")
Message-ID: <873b4cjdk0.fsf@mocca.josefsson.org>
User-Agent: Gnus/5.110006 (No Gnus v0.6) Emacs/22.0.94 (gnu/linux)
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
X-Spam-Status: No, score=-0.7 required=4.0 tests=AWL,BAYES_50, 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>

I re-read the latest draft and it looks fine to me.  Good work!

/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 l29Lvshj090801 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Fri, 9 Mar 2007 14:57: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 l29LvsGW090800; Fri, 9 Mar 2007 14:57: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 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 l29Lvrkt090794 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO) for <ietf-sasl@imc.org>; Fri, 9 Mar 2007 14:57:54 -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 l29LvnQQ024423 for <ietf-sasl@imc.org>; Fri, 9 Mar 2007 16:57:52 -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 l29Lvmum023233 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT) for <ietf-sasl@imc.org>; Fri, 9 Mar 2007 16:57:49 -0500 (EST)
Received: (from tlyu@localhost) by cathode-dark-space.mit.edu (8.12.9.20060308) id l29Lvma5015458; Fri, 9 Mar 2007 16:57:48 -0500 (EST)
To: ietf-sasl@imc.org
Subject: WG Last Call: draft-ietf-sasl-crammd5-08.txt
From: Tom Yu <tlyu@MIT.EDU>
Date: Fri, 09 Mar 2007 16:57:45 -0500
Message-ID: <ldvlki6dqqu.fsf@cathode-dark-space.mit.edu>
Lines: 19
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
X-Scanned-By: MIMEDefang 2.42
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>

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

This message commences a Working Group Last Call on the following
document:

	Title		: The CRAM-MD5 SASL Mechanism
	Author(s)	: L. Nerenberg
	Filename	: draft-ietf-sasl-crammd5-08.txt
	Pages		: 10
	Date		: 2007-3-7

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

The Last Call will expire on Friday, March 23, 2007.

Please review this document, and address feedback to the Working Group
mailing list.

Tom Yu, SASL WG co-chair
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (SunOS)

iD8DBQFF8dhcSO8fWy4vZo4RAtcJAKCOzEQjOORXJJ9gL0URD7wP6IsPkgCfYB6x
HoX4kP6s7NcX8ANEGq+kZK0=
=h0VW
-----END PGP SIGNATURE-----



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 l27Ko5DF088696 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Wed, 7 Mar 2007 13:50:05 -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 l27Ko5er088695; Wed, 7 Mar 2007 13:50: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 ns3.neustar.com (ns3.neustar.com [156.154.24.138]) by balder-227.proper.com (8.13.5/8.13.5) with ESMTP id l27Ko4XN088683 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=FAIL) for <ietf-sasl@imc.org>; Wed, 7 Mar 2007 13:50:05 -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 B71E0177FB; Wed,  7 Mar 2007 20:50:03 +0000 (GMT)
Received: from ietf by stiedprstage1.ietf.org with local (Exim 4.43) id 1HP35H-000324-Fc; Wed, 07 Mar 2007 15:50:03 -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-crammd5-08.txt 
Message-Id: <E1HP35H-000324-Fc@stiedprstage1.ietf.org>
Date: Wed, 07 Mar 2007 15:50:03 -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		: The CRAM-MD5 SASL Mechanism
	Author(s)	: L. Nerenberg
	Filename	: draft-ietf-sasl-crammd5-08.txt
	Pages		: 10
	Date		: 2007-3-7
	
This document defines a simple challenge-response authentication
   mechanism, using a keyed MD5 digest, for use with the Simple
   Authentication and Security Layer (SASL).

A URL for this Internet-Draft is:
http://www.ietf.org/internet-drafts/draft-ietf-sasl-crammd5-08.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-crammd5-08.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-crammd5-08.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-3-7142031.I-D@ietf.org>

ENCODING mime
FILE /internet-drafts/draft-ietf-sasl-crammd5-08.txt

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

Content-Type: text/plain
Content-ID:	<2007-3-7142031.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 l279NW9M046166 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Wed, 7 Mar 2007 02:23:32 -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 l279NWsa046165; Wed, 7 Mar 2007 02:23:32 -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 l279NTae046158 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=FAIL) for <ietf-sasl@imc.org>; Wed, 7 Mar 2007 02:23:30 -0700 (MST) (envelope-from simon@josefsson.org)
Received: from extundo.com (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 l279NFGH022302 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Wed, 7 Mar 2007 10:23:16 +0100
From: Simon Josefsson <simon@josefsson.org>
To: Tom Yu <tlyu@MIT.EDU>
Cc: Kurt Zeilenga <Kurt.Zeilenga@isode.com>, ietf-sasl@imc.org
Subject: Re: WG Last Call: draft-ietf-sasl-gs2-07.txt
References: <D5255BF7-5C3A-4224-B04F-364B195D3B6E@Isode.com> <ldvr6s1q5pk.fsf@cathode-dark-space.mit.edu>
OpenPGP: id=B565716F; url=http://josefsson.org/key.txt
X-Hashcash: 1:22:070307:ietf-sasl@imc.org::1bs0MYYOUt7yFTmY:3iFb
X-Hashcash: 1:22:070307:kurt.zeilenga@isode.com::3/ADOUvaympd49Ds:abwO
X-Hashcash: 1:22:070307:tlyu@mit.edu::66tH7zHJRFVPMPWp:09zto
Date: Wed, 07 Mar 2007 10:23:15 +0100
In-Reply-To: <ldvr6s1q5pk.fsf@cathode-dark-space.mit.edu> (Tom Yu's message of "Tue\, 06 Mar 2007 19\:04\:39 -0500")
Message-ID: <87zm6pl858.fsf@latte.josefsson.org>
User-Agent: Gnus/5.110006 (No Gnus v0.6) Emacs/22.0.94 (gnu/linux)
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
X-Spam-Status: No, score=-1.3 required=4.0 tests=AWL,BAYES_05 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>

Tom Yu <tlyu@MIT.EDU> writes:

> Minor error which can probably fixed in AUTH48:
>
> I went to double-check the Base32-encoded mechanism names, and
> discovered that the krb5 mechanism name in the draft,
>
> GS2-QLJHGJLWNPLNQRNK
>
> is off by one character from the value I computed,
>
> GS2-QLJHGJLWNPLMQRNK

Nice catch!

I have fixed this in my local copy, changes since -07:

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

I agree that this may be fixed during AUTH48, although if a -08 will
be needed for other reasons, this fix will definitely be in it.

Thanks,
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 l2704rb5017934 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Tue, 6 Mar 2007 17:04:53 -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 l2704rte017933; Tue, 6 Mar 2007 17:04:53 -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 l2704p3l017927 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO) for <ietf-sasl@imc.org>; Tue, 6 Mar 2007 17:04:52 -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 l2704l1u022499; Tue, 6 Mar 2007 19:04:47 -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 l2704egB027165 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT); Tue, 6 Mar 2007 19:04:46 -0500 (EST)
Received: (from tlyu@localhost) by cathode-dark-space.mit.edu (8.12.9.20060308) id l2704dOR024147; Tue, 6 Mar 2007 19:04:39 -0500 (EST)
To: Kurt Zeilenga <Kurt.Zeilenga@isode.com>
Cc: ietf-sasl@imc.org
Subject: Re: WG Last Call: draft-ietf-sasl-gs2-07.txt
References: <D5255BF7-5C3A-4224-B04F-364B195D3B6E@Isode.com>
From: Tom Yu <tlyu@MIT.EDU>
Date: Tue, 06 Mar 2007 19:04:39 -0500
In-Reply-To: <D5255BF7-5C3A-4224-B04F-364B195D3B6E@Isode.com> (Kurt Zeilenga's message of "Mon, 5 Mar 2007 17:21:38 -0800")
Message-ID: <ldvr6s1q5pk.fsf@cathode-dark-space.mit.edu>
Lines: 55
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>

Minor error which can probably fixed in AUTH48:

I went to double-check the Base32-encoded mechanism names, and
discovered that the krb5 mechanism name in the draft,

GS2-QLJHGJLWNPLNQRNK

is off by one character from the value I computed,

GS2-QLJHGJLWNPLMQRNK

Note the off-by-one ("N" vs "M") in the 12th position of the
Base32-encoded string, which is probably due to a typo; the
corresponding list of 5-bit values rendered as decimal appears to be
correct.  Starting from the truncated SHA-1 hash

82 D2 73 25 76 6B D6 C8 45 AA

we have (hex, binary, decimal, Base32)

-------+-------+-------+-------+-------
   8   |   2   |   D   |   2   |   7
-------+-------+-------+-------+-------
1 0 0 0|0|0 1 0|1 1|0 1|0 0 1|0|0 1 1 1
---------+---------+---------+---------
   16    |   11    |    9    |    7
    Q    |    L    |    J    |    H
---------+---------+---------+---------

-------+-------+-------+-------+-------
   3   |   2   |   5   |   7   |   6
-------+-------+-------+-------+-------
0 0 1 1|0|0 1 0|0 1|0 1|0 1 1|1|0 1 1 0
---------+---------+---------+---------
    6    |    9    |   11    |   22
    G    |    J    |    L    |    W
---------+---------+---------+---------

-------+-------+-------+-------+-------
   6   |   B   |   D   |   6   |   C
-------+-------+-------+-------+-------
0 1 1 0|1|0 1 1|1 1|0 1|0 1 1|0|1 1 0 0
---------+---------+---------+---------
   13    |   15    |   11    |   12
    N    |    P    |    L    |    M
---------+---------+---------+---------

-------+-------+-------+-------+-------
   8   |   4   |   5   |   A   |   A
-------+-------+-------+-------+-------
1 0 0 0|0|1 0 0|0 1|0 1|1 0 1|0|1 0 1 0
---------+---------+---------+---------
   16    |   17    |   13    |   10
    Q    |    R    |    N    |    K
---------+---------+---------+---------



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 l26Ia0mn088102 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Tue, 6 Mar 2007 11:36:00 -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 l26Ia0s1088101; Tue, 6 Mar 2007 11:36:00 -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 orthanc.ca (orthanc.ca [209.89.70.53]) by balder-227.proper.com (8.13.5/8.13.5) with ESMTP id l26IZwcW088093 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=FAIL) for <ietf-sasl@imc.org>; Tue, 6 Mar 2007 11:36:00 -0700 (MST) (envelope-from lyndon@orthanc.ca)
Received: from localhost (localhost [127.0.0.1]) (authenticated bits=0) by orthanc.ca (8.13.4/8.13.4) with ESMTP id l26IZo45049410 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO) for <ietf-sasl@imc.org>; Tue, 6 Mar 2007 11:35:51 -0700 (MST) (envelope-from lyndon@orthanc.ca)
Date: Tue, 6 Mar 2007 10:35:50 -0800 (PST)
From: Lyndon Nerenberg <lyndon@orthanc.ca>
To: ietf-sasl@imc.org
Subject: CRAM-MD5 draft 8 pushed
Message-ID: <20070306103453.M49034@orthanc.ca>
Organization: The Frobozz Magic Homing Pigeon Company
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed
X-Spam-Status: No, score=-2.6 required=5.0 tests=BAYES_00,SPF_PASS  autolearn=ham version=3.1.7
X-Spam-Checker-Version: SpamAssassin 3.1.7 (2006-10-05) on orthanc.ca
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>

While it works its way through the I-D queue you can find a copy at

   http://orthanc.ca/draft-ietf-sasl-crammd5-08.txt

--lyndon



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 l261LihM026588 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Mon, 5 Mar 2007 18:21: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 l261LiAX026587; Mon, 5 Mar 2007 18:21: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 rufus.isode.com (rufus.isode.com [62.3.217.251]) by balder-227.proper.com (8.13.5/8.13.5) with ESMTP id l261LgL2026581 for <ietf-sasl@imc.org>; Mon, 5 Mar 2007 18:21:43 -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 <RezCJQB5IyIB@rufus.isode.com> for <ietf-sasl@imc.org>; Tue, 6 Mar 2007 01:21:41 +0000
X-SMTP-Protocol-Errors: NORDNS
Mime-Version: 1.0 (Apple Message framework v752.3)
Content-Transfer-Encoding: 7bit
Message-Id: <D5255BF7-5C3A-4224-B04F-364B195D3B6E@Isode.com>
Content-Type: text/plain; charset=US-ASCII; format=flowed
To: ietf-sasl@imc.org
From: Kurt Zeilenga <Kurt.Zeilenga@isode.com>
Subject: WG Last Call: draft-ietf-sasl-gs2-07.txt
Date: Mon, 5 Mar 2007 17:21:38 -0800
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>

This message initiates a SASL Working Group Last Call on the
document:

   Title:     Using GSS-API Mechanisms in SASL: The GS2 Mechanism Family
   Editor:    S. Josefsson
   Filename:  draft-ietf-sasl-gs2-07.txt

The purpose of this WG Last Call is to ensure that the Working
Group has achieved consensus that the document is suitable for
publication on the Standards Track.

Please review the document for both technical and editorial
problems.  Technical issues should be discussed on this list.
Editorial issues may be sent to the document editor.  In
the case that a reviewer finds no technical issues, the
reviewer should send a note to the WG chairs indicating
so.

Reviewers are asked to consider the suitability of the documents
referenced, in particular Channel Binding drafts, by this I-D for
this I-D's purposes.  Note that this is not a request to review
anew each referenced document.  Referenced documents have either
been, or will be, subjected to appropriate review before publication.
This consideration is intended only to ensure this I-D is suitable
for publication on the Standards Track.

The Last Call period will close on Tuesday, 20 March 2007.

Upon completion of the WG Last Call, the WG chair(s) will take
action based upon the consensus of the WG.  Possible actions
include:

   1) recommending to the IETF Security Area Directors
      that the document, after possible editorial or
      other minor changes, be considered by the IESG
      for publication as a Standard Track RFC; or

   2) requiring that outstanding issues be adequately
      addressed prior to further action (including,
      possibly, another WG Last Call).

Remember that it is our responsibility as Working Group members
to ensure the quality of our documents.  So, please read and
comment!

Kurt Zeilenga, SASL WG co-chair



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 l25No6jL021941 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Mon, 5 Mar 2007 16:50:06 -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 l25No6Sr021940; Mon, 5 Mar 2007 16:50:06 -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 l25No50P021934 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=FAIL) for <ietf-sasl@imc.org>; Mon, 5 Mar 2007 16:50:06 -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 718CF177CD; Mon,  5 Mar 2007 23:50:02 +0000 (GMT)
Received: from ietf by stiedprstage1.ietf.org with local (Exim 4.43) id 1HOMwM-0000xl-5t; Mon, 05 Mar 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-rfc2831bis-12.txt 
Message-Id: <E1HOMwM-0000xl-5t@stiedprstage1.ietf.org>
Date: Mon, 05 Mar 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 Digest Authentication as a SASL Mechanism
	Author(s)	: A. Melnikov
	Filename	: draft-ietf-sasl-rfc2831bis-12.txt
	Pages		: 48
	Date		: 2007-3-5
	
This specification defines how HTTP Digest Authentication (RFC 2617)
   can be used as a Simple Authentication and Security Layer (SASL, RFC
   4422) mechanism for any protocol that has a SASL profile. It is
   intended both as an improvement over CRAM-MD5 (RFC 2195) and as a
   convenient way to support a single authentication mechanism for web,
   mail, LDAP, and other protocols.

A URL for this Internet-Draft is:
http://www.ietf.org/internet-drafts/draft-ietf-sasl-rfc2831bis-12.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-rfc2831bis-12.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-rfc2831bis-12.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-3-5153123.I-D@ietf.org>

ENCODING mime
FILE /internet-drafts/draft-ietf-sasl-rfc2831bis-12.txt

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

Content-Type: text/plain
Content-ID:	<2007-3-5153123.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 l22F8gm0043490 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Fri, 2 Mar 2007 08:08:43 -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 l22F8g3c043489; Fri, 2 Mar 2007 08:08:42 -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 l22F8Z9p043479 (version=TLSv1/SSLv3 cipher=AES256-SHA bits=256 verify=NO) for <ietf-sasl@imc.org>; Fri, 2 Mar 2007 08:08:38 -0700 (MST) (envelope-from gis-ietf-sasl-560@gmane.org)
Received: from list by ciao.gmane.org with local (Exim 4.43) id 1HN9My-0001BJ-Qp for ietf-sasl@imc.org; Fri, 02 Mar 2007 16:08:28 +0100
Received: from d254159.dialin.hansenet.de ([80.171.254.159]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for <ietf-sasl@imc.org>; Fri, 02 Mar 2007 16:08:28 +0100
Received: from nobody by d254159.dialin.hansenet.de with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for <ietf-sasl@imc.org>; Fri, 02 Mar 2007 16:08:28 +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, 02 Mar 2007 16:07:42 +0100
Organization:  <URL:http://purl.net/xyzzy>
Lines: 48
Message-ID:  <45E83DBE.2668@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> <45E07098.6DA@xyzzy.claranet.de> <45E80C67.1050608@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: d254159.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:

 [LWSP => folded continuation lines containing only white space]
> ACAP uses strings with explicit length, so this is not a problem
> for ACAP.

Okay.

> HTTP is not a protocol supporting SASL.

ACK, a future 2617bis can tackle this.  It should also explain the
various fallback strategies, e.g. when to use 2069 instead of 2617,
or when to use a future 2617bis "prep" instead of 2617.

  [unescaping quoted pairs]
>> I looked into Simon's GNU SASL code, and found no hint that he
>> tries to get rid of backslashes anywhere
[...]
> He confirmed that this can be a bug rather than a feature, i.e.
> he hasn't thought about the issue when coding. But for now I've
> suggested that he leaves his code as is.

IOW some code in the wild does _NOT_ unescape quoted pairs.  For
backwards compatibility you could decree that applications MUST NOT
generate or use \\, \", or other quoted pairs.  On that firm ground
they could still accept it, either as is (old) or unescaped (new).

Of course "accept as is" is a weird strategy for arbitrary quoted
pairs excluding \\ and \".  If quoted pairs are anyway illegal it
should be no showstopper.

> I still need to send a message to the HTTP mailing list to confirm
> what people are doing

Maybe you can use Henrik's "loginmgr" on the tools server for tests.
I tried that once (checking that my Digest-MD5 script in theory, and
that a submitted 2069 erratum is no nonsense), but that was a hack.

> Hopefully I will get around to doing that before the upcoming
> Prague IETF.

It's not urgent.  There are enough interesting drafts like the new
I-D.zeilenga-sasl-yap-00 or I-D.cridland-sasl-hexa-00.

Nothing for MD5 "fans" like me unfortunately... ;-)

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 l22CwrhZ031981 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Fri, 2 Mar 2007 05:58:53 -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 l22CwrWA031980; Fri, 2 Mar 2007 05:58:53 -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 l22Cwqi6031973 for <ietf-sasl@imc.org>; Fri, 2 Mar 2007 05:58:52 -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 <RegfigB5Iy6t@rufus.isode.com>; Fri, 2 Mar 2007 12:58:50 +0000
Message-ID: <45E80C67.1050608@isode.com>
Date: Fri, 02 Mar 2007 11:37:11 +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> <45D1A452.1070401@isode.com> <45E07098.6DA@xyzzy.claranet.de>
In-Reply-To: <45E07098.6DA@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:
>  
>
>>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.
>  
>
Correct.

>Do _all_ SASL-applications use B64 ?
>
No.

>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.
>  
>
But ACAP uses strings with explicit length, so this is not a problem for 
ACAP.

Note that in general any protocol supporting SASL must be capable of 
transporting arbitrary data, include CRLFs and NULs.
And HTTP is not a protocol supporting SASL.

>>>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.
>  
>
He confirmed that this can be a bug rather than a feature, i.e. he 
hasn't thought about the issue when coding. But for now I've suggested 
that he leaves his code as is.

>>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>.
>  
>
I still need to send a message to the HTTP mailing list to confirm what 
people are doing, plus I need to test Microsoft's implementation.
Hopefully I will get around to doing that before the upcoming Prague IETF.




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 l21Ko81n065455 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Thu, 1 Mar 2007 13:50:08 -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 l21Ko8pF065454; Thu, 1 Mar 2007 13:50: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 ns3.neustar.com (ns3.neustar.com [156.154.24.138]) by balder-227.proper.com (8.13.5/8.13.5) with ESMTP id l21Ko7k0065447 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=FAIL) for <ietf-sasl@imc.org>; Thu, 1 Mar 2007 13:50:08 -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 27ABC17669; Thu,  1 Mar 2007 20:50:03 +0000 (GMT)
Received: from ietf by stiedprstage1.ietf.org with local (Exim 4.43) id 1HMsDy-0002dS-Sh; Thu, 01 Mar 2007 15: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-07.txt 
Message-Id: <E1HMsDy-0002dS-Sh@stiedprstage1.ietf.org>
Date: Thu, 01 Mar 2007 15: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-07.txt
	Pages		: 34
	Date		: 2007-3-1
	
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-07.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-07.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-07.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-3-1120008.I-D@ietf.org>

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

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

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

--OtherAccess--

--NextPart--


