From owner-ietf-sasl Sun Jan  2 21:11:09 2005
Received: from above.proper.com (localhost.vpnc.org [127.0.0.1])
	by above.proper.com (8.12.11/8.12.9) with ESMTP id j035B9u6028972;
	Sun, 2 Jan 2005 21:11:09 -0800 (PST)
	(envelope-from owner-ietf-sasl@mail.imc.org)
Received: (from majordom@localhost)
	by above.proper.com (8.12.11/8.12.9/Submit) id j035B9lH028967;
	Sun, 2 Jan 2005 21:11:09 -0800 (PST)
X-Authentication-Warning: above.proper.com: majordom set sender to owner-ietf-sasl@mail.imc.org using -f
Received: from aragorn.bbn.com (aragorn.bbn.com [128.33.0.62])
	by above.proper.com (8.12.11/8.12.9) with ESMTP id j035B5pY028813;
	Sun, 2 Jan 2005 21:11:05 -0800 (PST)
	(envelope-from kseo@bbn.com)
Received: from [128.89.89.115] (dhcp89-089-115.bbn.com [128.89.89.115])
	by aragorn.bbn.com (8.12.7/8.12.7) with ESMTP id j0359wjf003765;
	Mon, 3 Jan 2005 00:09:58 -0500 (EST)
Mime-Version: 1.0
X-Sender: kseo@po2.bbn.com
Message-Id: <p061005d3bdf24f5d9a23@[128.89.89.115]>
Date: Mon, 3 Jan 2005 00:13:09 -0500
To: ietf-enroll@mit.edu, inch@nic.surfnet.nl, ipsec@ietf.org,
        ipseckey@ietf.org, ipsec-policy@vpnc.org, isms@ietf.org,
        kitten@lists.ietf.org, ietf-kink@vpnc.org, ietf-krb-wg@anl.gov,
        ietf-ltans@imc.org, mobike@machshav.com, msec@securemulticast.org,
        ietf-openpgp@imc.org, pki4ipsec@icsalabs.com, ietf-pkix@imc.org,
        ietf-sacred@imc.org, ietf-sasl@imc.org, ietf-ssh@netbsd.org,
        ietf-smime@imc.org, authtime@nist.gov, syslog-sec@employees.org,
        ietf-tls@lists.certicom.com
From: Karen Seo <kseo@bbn.com>
Subject: 2005 Network and Distributed System Security Symposium (NDSS '05)
Cc: kseo@bbn.com
Content-Type: multipart/alternative; boundary="============_-1107393303==_ma============"
X-Scanned-By: MIMEDefang 2.28 (www . roaringpenguin . com / mimedefang)
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>


--============_-1107393303==_ma============
Content-Type: text/plain; charset="us-ascii" ; format="flowed"

   ** My apologies if you receive multiple copies of this message. **

                ANNOUNCING THE INTERNET SOCIETY'S
2005 NETWORK AND DISTRIBUTED SYSTEM SECURITY SYMPOSIUM (NDSS'05)

February 2, 2005 - Pre Conference Workshop
February 3-4, 2005 - Symposium
Catamaran Resort Hotel, San Diego, California
General Chair:  Eric Harder, National Security Agency
Program co-Chairs: Dan Simon, Microsoft Research
		   Dan Boneh, Stanford University

ONLINE INFORMATION AND REGISTRATION: http://www.isoc.org/ndss05/

     The 12th annual NDSS Symposium brings together innovative and
     forward thinking members of the Internet community including
     leading edge security researchers and implementers, globally
     recognized security technology experts, and users from both
     the private and public sectors who design, develop, exploit,
     and deploy the technologies that define network and distributed
     system security.

     NDSS'05 provides a balanced mix of technical papers (with a
     strong emphasis on implementation) that cover new and practical
     approaches to security problems that are endemic to network and
     distributed systems. 

THIS YEAR'S TOPICS INCLUDE:
	* Cryptography in Network Security
	* Denial of Service Attacks,
	* Peer to Peer Approaches
	* Internet Defense
	* Intrusion Detection
	* Platform Security.

FEATURED GUEST SPEAKER:
	* Amit Yoran, who was responsible for coordinating cyber-security
           activities for Homeland Security, will speak on "Security
           Challenges and Opportunities of the Future Enterprise"

PRE CONFERENCE WORKSHOP TOPICS INCLUDE:
	* Security in handling mobility on the internet
	* Security in wireless LANs
	* Security for telephony or voice over IP
	* Trust relations in ad hoc networks
	* Key management strategies to support mobility
	* Security in RFID.
      More information is available at:
         http://www.isoc.org/isoc/conferences/ndss/05/workshop.shtml
      Parties interested in submitting papers should see the above
         web page for directions

REGISTER EARLY FOR BEST PRICING
      Registration for NDSS'05 is now open. Student rates are available
      for both the workshop and symposium. See the web site for more
      information -- http://www.isoc.org/ndss05/  Registration fees:
	*  November 31, 2004-January 10, 2005   $625.
	*  After January 10, 2005               $695.

SPONSORSHIP OPPORTUNITIES AVAILABLE!
      If your organization would like to help support NDSS and gain
      visibility through sponsoring, please contact:
      sponsor-ndss@isoc.org.  Information is also available at   
      http://www.isoc.org/ndss05/


Karen Seo
NDSS'05 Publicity Chair
--============_-1107393303==_ma============
Content-Type: text/html; charset="us-ascii"

<!doctype html public "-//W3C//DTD W3 HTML//EN">
<html><head><style type="text/css"><!--
blockquote, dl, ul, ol, li { padding-top: 0 ; padding-bottom: 0 }
 --></style><title>2005 Network and Distributed System Security
Symposium (ND</title></head><body>
<div>&nbsp; ** My apologies if you receive multiple copies of this
message. **</div>
<div><font color="#000000"><br></font></div>
<div><font
color="#000000"
>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span
></span>&nbsp;&nbsp;&nbsp; ANNOUNCING THE INTERNET
SOCIETY'S</font></div>
<div><font color="#000000">2005 NETWORK AND DISTRIBUTED SYSTEM
SECURITY SYMPOSIUM (NDSS'05)</font></div>
<div><font color="#000000"><br>
February 2, 2005 - Pre Conference Workshop<br>
February 3-4, 2005 - Symposium<br>
Catamaran Resort Hotel, San Diego, California</font></div>
<div><font color="#000000">General Chair:&nbsp; Eric Harder, National
Security Agency</font></div>
<div><font color="#000000">Program co-Chairs: Dan Simon, Microsoft
Research</font></div>
<div><font
color="#000000"><x-tab>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
</x-tab><x-tab>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
</x-tab>&nbsp;&nbsp; Dan Boneh, Stanford University</font></div>
<div><font color="#000000"><br>
ONLINE INFORMATION AND REGISTRATION: http://www.isoc.org/ndss05/<br>
<br>
&nbsp;&nbsp;&nbsp; The 12th annual NDSS Symposium brings together
innovative and</font></div>
<div><font color="#000000">&nbsp;&nbsp;&nbsp; forward thinking members
of the Internet community including</font></div>
<div><font color="#000000">&nbsp;&nbsp;&nbsp; leading edge security
researchers and implementers, globally</font></div>
<div><font color="#000000">&nbsp;&nbsp;&nbsp; recognized security
technology experts, and users from both</font></div>
<div><font color="#000000">&nbsp;&nbsp;&nbsp; the private and public
sectors who design, develop, exploit,</font></div>
<div><font color="#000000">&nbsp;&nbsp;&nbsp; and deploy the
technologies that define network and distributed</font></div>
<div><font color="#000000">&nbsp;&nbsp;&nbsp; system
security.</font></div>
<div><font color="#000000"><br>
&nbsp;&nbsp;&nbsp; NDSS'05 provides a balanced mix of technical papers
(with a</font></div>
<div><font color="#000000">&nbsp;&nbsp;&nbsp; strong emphasis on
implementation) that cover new and practical</font></div>
<div><font color="#000000">&nbsp;&nbsp;&nbsp; approaches to security
problems that are endemic to network and</font></div>
<div><font color="#000000">&nbsp;&nbsp;&nbsp; distributed
systems.&nbsp;</font></div>
<div><font color="#000000"><br>
THIS YEAR'S TOPICS INCLUDE:<br>
<x-tab>&nbsp;&nbsp;&nbsp;&nbsp; </x-tab>* Cryptography in Network
Security<br>
<x-tab>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </x-tab>* Denial of Service
Attacks,<br>
<x-tab>&nbsp;&nbsp;&nbsp; </x-tab>* Peer to Peer Approaches<br>
<x-tab>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </x-tab>* Internet
Defense<br>
<x-tab>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </x-tab>* Intrusion
Detection<br>
<x-tab>&nbsp;&nbsp; </x-tab>* Platform Security.</font><br>
</div>
<div>FEATURED GUEST SPEAKER:</div>
<div><x-tab>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </x-tab>* Amit
Yoran, who was responsible for coordinating cyber-security</div>
<div>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; activities
for Homeland Security, will speak on &quot;Security</div>
<div>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Challenges
and Opportunities of the Future Enterprise&quot;</div>
<div><br>
PRE CONFERENCE WORKSHOP TOPICS INCLUDE:<br>
<x-tab> </x-tab>* Security in handling mobility on the internet</div>
<div><x-tab>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </x-tab>*
Security in wireless LANs<br>
<x-tab>&nbsp;&nbsp;&nbsp;&nbsp; </x-tab>* Security for telephony or
voice over IP<br>
<x-tab>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </x-tab>* Trust relations
in ad hoc networks<br>
<x-tab>&nbsp;&nbsp;&nbsp; </x-tab>* Key management strategies to
support mobility</div>
<div><x-tab>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </x-tab>*
Security in RFID.</div>
<div>&nbsp;&nbsp;&nbsp;&nbsp; More information is available at:</div>
<div>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
http://www.isoc.org/isoc/conferences/ndss/05/workshop.shtml</div>
<div>&nbsp;&nbsp;&nbsp;&nbsp; Parties interested in submitting papers
should see the above</div>
<div>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; web page for
directions</div>
<div><font color="#000000"><br></font></div>
<div><font color="#000000">REGISTER EARLY FOR BEST
PRICING</font></div>
<div><font color="#000000">&nbsp;&nbsp;&nbsp;&nbsp; Registration for
NDSS'05 is now open. Student rates are available</font></div>
<div><font color="#000000">&nbsp;&nbsp;&nbsp;&nbsp; for both the
workshop and symposium. See the web site for more</font></div>
<div><font color="#000000">&nbsp;&nbsp;&nbsp;&nbsp; information
--&nbsp;</font><font
color="#0000FF"><u>http://www.isoc.org/ndss05/</u></font><font
color="#000000">&nbsp; Registration fees:</font></div>
<div><font
color="#000000"><x-tab>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
</x-tab>*&nbsp; November 31, 2004-January 10, 2005&nbsp;&nbsp;
$625.</font></div>
<div><font
color="#000000"><x-tab>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
</x-tab>*&nbsp; After January 10,
2005&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span
></span>&nbsp;&nbsp;&nbsp;&nbsp; $695.</font></div>
<div><font color="#000000"><br>
SPONSORSHIP OPPORTUNITIES AVAILABLE!</font></div>
<div><font color="#000000">&nbsp;&nbsp;&nbsp;&nbsp; If your
organization would like to help support NDSS and gain</font></div>
<div><font color="#000000">&nbsp;&nbsp;&nbsp;&nbsp; visibility through
sponsoring, please contact:</font></div>
<div><font color="#000000">&nbsp;&nbsp;&nbsp;&nbsp;
sponsor-ndss@isoc.org.&nbsp; Information is also available
at&nbsp;&nbsp;&nbsp;</font></div>
<div><font color="#000000">&nbsp;&nbsp;&nbsp;&nbsp;
http://www.isoc.org/ndss05/</font></div>
<div><br></div>
<div><br></div>
<div>Karen Seo</div>
<div>NDSS'05 Publicity Chair</div>
</body>
</html>
--============_-1107393303==_ma============--


From owner-ietf-sasl Mon Jan  3 11:19:49 2005
Received: from above.proper.com (localhost.vpnc.org [127.0.0.1])
	by above.proper.com (8.12.11/8.12.9) with ESMTP id j03JJnMX039909;
	Mon, 3 Jan 2005 11:19:49 -0800 (PST)
	(envelope-from owner-ietf-sasl@mail.imc.org)
Received: (from majordom@localhost)
	by above.proper.com (8.12.11/8.12.9/Submit) id j03JJnLY039908;
	Mon, 3 Jan 2005 11:19:49 -0800 (PST)
X-Authentication-Warning: above.proper.com: majordom set sender to owner-ietf-sasl@mail.imc.org using -f
Received: from cz.mit.edu (CARTER-ZIMMERMAN.MIT.EDU [18.18.3.197])
	by above.proper.com (8.12.11/8.12.9) with ESMTP id j03JJfox039835
	for <ietf-sasl@imc.org>; Mon, 3 Jan 2005 11:19:42 -0800 (PST)
	(envelope-from hartmans@mit.edu)
Received: by cz.mit.edu (Postfix, from userid 8042)
	id F0817E0063; Mon,  3 Jan 2005 14:20:45 -0500 (EST)
To: "Paul Leach" <paulle@windows.microsoft.com>
Cc: "Simon Josefsson" <jas@extundo.com>, <ietf-sasl@imc.org>
Subject: Re: Some DIGEST-MD5 nits
References: <91D7F2CEE3425A4A9D11311D09FCE2460C5B225A@WIN-MSG-10.wingroup.windeploy.ntdev.microsoft.com>
From: Sam Hartman <hartmans-ietf@mit.edu>
Date: Mon, 03 Jan 2005 14:20:45 -0500
In-Reply-To: <91D7F2CEE3425A4A9D11311D09FCE2460C5B225A@WIN-MSG-10.wingroup.windeploy.ntdev.microsoft.com> (Paul
 Leach's message of "Mon, 20 Dec 2004 11:26:56 -0800")
Message-ID: <tslekh2wc8i.fsf@cz.mit.edu>
User-Agent: Gnus/5.1006 (Gnus v5.10.6) Emacs/21.3 (gnu/linux)
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
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>


>>>>> "Paul" == Paul Leach <paulle@windows.microsoft.com> writes:

    >> -----Original Message----- From: owner-ietf-sasl@mail.imc.org
    Paul> [mailto:owner-ietf-sasl@mail.imc.org]
    >> On Behalf Of Simon Josefsson Sent: Sunday, December 19, 2004
    >> 7:09 PM To: ietf-sasl@imc.org Subject: Re: Some DIGEST-MD5 nits
    >> 
    >> 
    >> A few additional notes:
    >> 
    >> I suggest making AES the mandatory to implement cipher.
    >> Currently, there is no reference for rc4 in the document, there
    >> are papers on weaknesses (such as Wagner's [1]), and there is
    >> no discussion in the current document how to deal with Shamir's
    >> findings (see [2]).
    Paul> [Paul Leach] I would suggest that either RC4 be deprecated,
    Paul> or that a new RC4-based cipher specifier be added that
    Paul> discards the first 256 bytes of the RNG. If the latter is
    Paul> the choice, security considerations should be added
    Paul> referencing the above, and noting that discarding 256 bytes
    Paul> handles the problems.

I'm having a hard time seeing the need for this.  It seems like the
current keys are the result of hashing and I don't understand how you
would get a related key attack against digest-md5.

Clarification on this would be appreciated.  If I'm right, there's no
need to introduce new types.  If I'm wrong then there is a serious
security problem.

--Sam


From owner-ietf-sasl Mon Jan  3 12:02:19 2005
Received: from above.proper.com (localhost.vpnc.org [127.0.0.1])
	by above.proper.com (8.12.11/8.12.9) with ESMTP id j03K2J9N096984;
	Mon, 3 Jan 2005 12:02:19 -0800 (PST)
	(envelope-from owner-ietf-sasl@mail.imc.org)
Received: (from majordom@localhost)
	by above.proper.com (8.12.11/8.12.9/Submit) id j03K2Juf096983;
	Mon, 3 Jan 2005 12:02:19 -0800 (PST)
X-Authentication-Warning: above.proper.com: majordom set sender to owner-ietf-sasl@mail.imc.org using -f
Received: from mail2.microsoft.com (mail2.microsoft.com [131.107.3.124])
	by above.proper.com (8.12.11/8.12.9) with ESMTP id j03K2B10096435
	for <ietf-sasl@imc.org>; Mon, 3 Jan 2005 12:02:11 -0800 (PST)
	(envelope-from paulle@windows.microsoft.com)
Received: from mailout2.microsoft.com ([157.54.1.120]) by mail2.microsoft.com with Microsoft SMTPSVC(6.0.3790.211);
	 Mon, 3 Jan 2005 12:02:04 -0800
Received: from red-hub-03.redmond.corp.microsoft.com ([157.54.2.25]) by mailout2.microsoft.com with Microsoft SMTPSVC(6.0.3790.211);
	 Mon, 3 Jan 2005 12:02:01 -0800
Received: from win-imc-02.wingroup.windeploy.ntdev.microsoft.com ([157.54.0.84]) by red-hub-03.redmond.corp.microsoft.com with Microsoft SMTPSVC(6.0.3790.1264);
	 Mon, 3 Jan 2005 12:02:03 -0800
Received: from WIN-MSG-10.wingroup.windeploy.ntdev.microsoft.com ([157.54.12.81]) by win-imc-02.wingroup.windeploy.ntdev.microsoft.com with Microsoft SMTPSVC(6.0.3790.1289);
	 Mon, 3 Jan 2005 12:02:03 -0800
X-MimeOLE: Produced By Microsoft Exchange V6.5.7226.0
Content-class: urn:content-classes:message
MIME-Version: 1.0
Content-Type: text/plain;
	charset="us-ascii"
Subject: RE: Some DIGEST-MD5 nits
Date: Mon, 3 Jan 2005 12:02:24 -0800
Message-ID: <91D7F2CEE3425A4A9D11311D09FCE2460C6B4462@WIN-MSG-10.wingroup.windeploy.ntdev.microsoft.com>
X-MS-Has-Attach: 
X-MS-TNEF-Correlator: 
Thread-Topic: Some DIGEST-MD5 nits
Thread-Index: AcTxyTAyMNegDK4NR3eBTfVhgMKVGAABRDYA
From: "Paul Leach" <paulle@windows.microsoft.com>
To: "Sam Hartman" <hartmans-ietf@mit.edu>
Cc: "Simon Josefsson" <jas@extundo.com>, <ietf-sasl@imc.org>
X-OriginalArrivalTime: 03 Jan 2005 20:02:03.0644 (UTC) FILETIME=[1800B3C0:01C4F1CF]
Content-Transfer-Encoding: 8bit
X-MIME-Autoconverted: from quoted-printable to 8bit by above.proper.com id j03K2C10096693
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 misread the RSA Labs response
(http://www.rsasecurity.com/rsalabs/node.asp?id=2009)
to Shamir's paper. I thought it unilaterally recommended discarding the
first 256 bytes of PRNG output. Instead, it recommends that _or_ hashing
with some sort of IV or equivalent, which, as you correctly point out,
is what is already done.

So, you're right that nothing needs to be changed.




From owner-ietf-sasl Sun Jan 16 10:38:32 2005
Received: from above.proper.com (localhost.vpnc.org [127.0.0.1])
	by above.proper.com (8.12.11/8.12.9) with ESMTP id j0GIcWeV089499;
	Sun, 16 Jan 2005 10:38:32 -0800 (PST)
	(envelope-from owner-ietf-sasl@mail.imc.org)
Received: (from majordom@localhost)
	by above.proper.com (8.12.11/8.12.9/Submit) id j0GIcWfM089497;
	Sun, 16 Jan 2005 10:38:32 -0800 (PST)
X-Authentication-Warning: above.proper.com: majordom set sender to owner-ietf-sasl@mail.imc.org using -f
Received: from cz.mit.edu (STRATTON-FOUR-FORTY-TWO.MIT.EDU [18.187.6.187])
	by above.proper.com (8.12.11/8.12.9) with ESMTP id j0GIcQTO089297
	for <ietf-sasl@imc.org>; Sun, 16 Jan 2005 10:38:27 -0800 (PST)
	(envelope-from hartmans@mit.edu)
Received: by cz.mit.edu (Postfix, from userid 8042)
	id 57075E0063; Sun, 16 Jan 2005 13:38:24 -0500 (EST)
To: Simon Josefsson <jas@extundo.com>
Cc: ietf-sasl@imc.org
Subject: Re: Implementing SASL PLAIN servers
References: <iluvfbcm89h.fsf@latte.josefsson.org>
	<6.1.2.0.0.20041208211630.02f89ef8@127.0.0.1>
	<iluk6rrl8et.fsf@latte.josefsson.org>
From: Sam Hartman <hartmans-ietf@mit.edu>
Date: Sun, 16 Jan 2005 13:38:24 -0500
In-Reply-To: <iluk6rrl8et.fsf@latte.josefsson.org> (Simon Josefsson's
 message of "Thu, 09 Dec 2004 17:54:02 +0100")
Message-ID: <tslllat1aov.fsf@cz.mit.edu>
User-Agent: Gnus/5.1006 (Gnus v5.10.6) Emacs/21.3 (gnu/linux)
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
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>


>>>>> "Simon" == Simon Josefsson <jas@extundo.com> writes:

    >>> If the server store unprepared passwords and authentication
    >>> identities ("server strings"), the server prepare these using
    >>> SASLprep, allowing unassigned code points in the output.  The
    >>> server verify the authentication by comparing the prepared
    >>> client strings with the prepared server strings.
    >>  This behavior is counter to the specified behavior of SASLprep
    >> and StringPrep, from Section 7 of RFC 3454.  The goal of the
    >> requirements in this section is to prevent comparisons between
    >> two strings that were both permitted to contain unassigned code
    >> points.  Since we allowing unassigned code points in the
    >> presented strings, we must prohibit them in the stored strings.

    Simon> Unless I misunderstood him, or remember incorrectly, Sam
    Simon> proposed this approach.  I would have implemented it
    Simon> differently -- I would treat the unprepared strings using
    Simon> SASLprep treating the strings as stored strings.  I don't
    Simon> care which option is chosen, only that there is a plan and
    Simon> that the plan is expressed in the document.

First I'm sorry it has taken me so long to respond to this.


Apparently I seem to be the only one who believes that we're doing
something wrong.  Let me explain where I'm coming from and make sure
the group understands my position.  If people still believe that
forbidding unassigned codepoints is wrong, I'll withdraw my objection.

First, the ideal goal is to make sure that at some point when we are
storing a password or username, we forbid unassigned codepoints.  We'd
like that to happen.  If the IETF ever writes change password or
account creation protocols, we can make sure that happens for those
protocols.

However plain does not include a change password or account creation
protocol; the credentials are established out of band.  We explain to
people that they should normalize with saslprep and they should forbid
unassigned codepoints when establishing credentials.

We know about a lot of cases where people won't.  For example the unix
passwd command neither normalizes nor forbids unassigned codepoints.
Windows active directory passwords don't normalize although at least
they have a well defined character set.

If passwords are hashed, there's not really much you can do.  One
thing you can try is to try both the saslpreped and non-saslpreped
version of the string, hash both and see if one works.

My concern comes about when we think about what to do if it happens
you have access to the plaintext credential.  That is, the credential
establishment protocol actually stores the password.

Remember this credential establishment protocol is outside our
control.  I would like to take a look at the case where it neither
normalizes nor forbids unassigned codepoints.

It seems like the easiest thing to do in an implementation of plain
for this situation is to saslprep the two strings (one from user; one
from database) and compare.  My question is what do you do if the
database string contains unassigned codepoints.

If you allow unassigned codepoints you may improve interoperability.
This is true in the case where the codepoints end up being assigned to
normalize to themselves in a future saslprep.

What is the cost of allowing unassigned codepoints in this case.
Well, normally the cost of unassigned codepoints is that you don't
want to store long-term strings that may end up having the wrong
normalization.  However in this instance, that has already happened:
completely outside our control this string has already been placed in
the database.  The only cost I can see is that if some of the
unassigned codepoints end up generating forbidden output in a new
saslprep, upgrading a server to support that new saslprep will cause
passwords that used to work to stop working.  If we forbid unassigned
codepoints then these passwords never would have worked.  In either
case we cannot prevent the password from being established.  

It seems to boil down to two possible attitudes.  Option one (allowing
unassigned codepoints) means that users may be able to log in today
even though a server upgrade may stop the login process from working
in the future.  The second option is that we prevent users from
logging in today in order to guarantee that they will not be surprised
by a future server upgrade.

--Sam


From owner-ietf-sasl Sun Jan 16 10:42:30 2005
Received: from above.proper.com (localhost.vpnc.org [127.0.0.1])
	by above.proper.com (8.12.11/8.12.9) with ESMTP id j0GIgUgL094838;
	Sun, 16 Jan 2005 10:42:30 -0800 (PST)
	(envelope-from owner-ietf-sasl@mail.imc.org)
Received: (from majordom@localhost)
	by above.proper.com (8.12.11/8.12.9/Submit) id j0GIgUTc094829;
	Sun, 16 Jan 2005 10:42:30 -0800 (PST)
X-Authentication-Warning: above.proper.com: majordom set sender to owner-ietf-sasl@mail.imc.org using -f
Received: from cz.mit.edu (STRATTON-FOUR-FORTY-TWO.MIT.EDU [18.187.6.187])
	by above.proper.com (8.12.11/8.12.9) with ESMTP id j0GIgTPR094806
	for <ietf-sasl@imc.org>; Sun, 16 Jan 2005 10:42:30 -0800 (PST)
	(envelope-from hartmans@mit.edu)
Received: by cz.mit.edu (Postfix, from userid 8042)
	id 693C9E0063; Sun, 16 Jan 2005 13:42:31 -0500 (EST)
To: ietf-sasl@imc.org
Subject: Prodding progress on base
From: Sam Hartman <hartmans-ietf@mit.edu>
Message-Id: <20050116184231.693C9E0063@cz.mit.edu>
Date: Sun, 16 Jan 2005 13:42:31 -0500 (EST)
Sender: owner-ietf-sasl@mail.imc.org
Precedence: bulk
List-Archive: <http://www.imc.org/ietf-sasl/mail-archive/>
List-ID: <ietf-sasl.imc.org>
List-Unsubscribe: <mailto:ietf-sasl-request@imc.org?body=unsubscribe>




I think it would be a good idea if we were much closer to sending RFC
2222bis to the IESG by IETF 62.


We should probably try and pick up those discussions.

--Sam


From owner-ietf-sasl Sun Jan 16 11:39:14 2005
Received: from above.proper.com (localhost.vpnc.org [127.0.0.1])
	by above.proper.com (8.12.11/8.12.9) with ESMTP id j0GJdEbc070466;
	Sun, 16 Jan 2005 11:39:14 -0800 (PST)
	(envelope-from owner-ietf-sasl@mail.imc.org)
Received: (from majordom@localhost)
	by above.proper.com (8.12.11/8.12.9/Submit) id j0GJdEZT070465;
	Sun, 16 Jan 2005 11:39:14 -0800 (PST)
X-Authentication-Warning: above.proper.com: majordom set sender to owner-ietf-sasl@mail.imc.org using -f
Received: from yxa.extundo.com (root@178.230.13.217.in-addr.dgcsystems.net [217.13.230.178])
	by above.proper.com (8.12.11/8.12.9) with ESMTP id j0GJdCM7070420
	for <ietf-sasl@imc.org>; Sun, 16 Jan 2005 11:39:13 -0800 (PST)
	(envelope-from jas@extundo.com)
Received: from latte.josefsson.org (c494102a.s-bi.bostream.se [217.215.27.65])
	(authenticated bits=0)
	by yxa.extundo.com (8.13.2/8.13.2/Debian-1) with ESMTP id j0GJdAII009196
	(version=TLSv1/SSLv3 cipher=DHE-RSA-AES128-SHA bits=128 verify=OK);
	Sun, 16 Jan 2005 20:39:11 +0100
From: Simon Josefsson <jas@extundo.com>
To: Sam Hartman <hartmans-ietf@mit.edu>
Cc: ietf-sasl@imc.org
Subject: Re: Implementing SASL PLAIN servers
References: <iluvfbcm89h.fsf@latte.josefsson.org>
	<6.1.2.0.0.20041208211630.02f89ef8@127.0.0.1>
	<iluk6rrl8et.fsf@latte.josefsson.org> <tslllat1aov.fsf@cz.mit.edu>
OpenPGP: id=B565716F; url=http://josefsson.org/key.txt
X-Hashcash: 1:21:050116:hartmans-ietf@mit.edu::2u93maH7pogCX2Po:29i5
X-Hashcash: 1:21:050116:ietf-sasl@imc.org::x5ZRrS2uMspAsQpe:786H
Date: Sun, 16 Jan 2005 20:39:00 +0100
In-Reply-To: <tslllat1aov.fsf@cz.mit.edu> (Sam Hartman's message of "Sun, 16
	Jan 2005 13:38:24 -0500")
Message-ID: <iluacr9p3jf.fsf@latte.josefsson.org>
User-Agent: Gnus/5.110003 (No Gnus v0.3) Emacs/21.3.50 (gnu/linux)
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
X-Spam-Status: No, hits=0.0 required=5.0 tests=none autolearn=no version=2.64
X-Spam-Checker-Version: SpamAssassin 2.64 (2004-01-11) on yxa-iv
X-Virus-Scanned: ClamAV 0.80/664/Thu Jan 13 16:13:05 2005
	clamav-milter version 0.80j
	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>


Sam Hartman <hartmans-ietf@mit.edu> writes:

> Apparently I seem to be the only one who believes that we're doing
> something wrong.  Let me explain where I'm coming from and make sure
> the group understands my position.

Thanks for explaining, I now understand your approach.  While it
appear to go against the spirit of the following paragraph in
StringPrep, I think you make a good case for choosing another
strategy.

   The goal of the requirements in this section is to prevent
   comparisons between two strings that were both permitted to contain
   unassigned code points.  When two strings X and Y are compared and
   string Y was prepared in a way that permits unassigned code points, a
   negative result to the comparison is not definitive; it's possible
   that the strings don't match even though they would match if a more
   recent version of the profile were used for Y.  However, if both X
   and Y were prepared in a way that permits unassigned code points,
   something worse can happen: even a positive result for the comparison
   is not definitive.  It is possible that the strings do match even
   though they would not match if a more recent version of the profile
   were used (one that prohibits a code point appearing in both X and
   Y).

> If people still believe that forbidding unassigned codepoints is
> wrong, I'll withdraw my objection.

I didn't follow this.  Was the logic reversed here?  s/wrong/right/?
I and (I believe) Kurt has suggested that unassigned code points
should be forbidden, and you are suggesting to permit them, when
taking a string from an external database.

> It seems to boil down to two possible attitudes.  Option one (allowing
> unassigned codepoints) means that users may be able to log in today
> even though a server upgrade may stop the login process from working
> in the future.  The second option is that we prevent users from
> logging in today in order to guarantee that they will not be surprised
> by a future server upgrade.

You could also explain it as two possible attitudes toward StringPrep.
Either follow its spirit closely, and never compare strings with
unassigned code points, or realize it may be useful to violate the
StringPrep spirit.

Perhaps some input from people more familiar with StringPrep would be
useful, to see if anyone is bothered by breaking this rule.  Or if
they see other potential pitfalls in doing so.

Concluding, I don't have any objections to either solution, if it is
clear from the document which is used.

Thanks,
Simon


From owner-ietf-sasl Sun Jan 16 11:48:10 2005
Received: from above.proper.com (localhost.vpnc.org [127.0.0.1])
	by above.proper.com (8.12.11/8.12.9) with ESMTP id j0GJmA14080852;
	Sun, 16 Jan 2005 11:48:10 -0800 (PST)
	(envelope-from owner-ietf-sasl@mail.imc.org)
Received: (from majordom@localhost)
	by above.proper.com (8.12.11/8.12.9/Submit) id j0GJmAt4080851;
	Sun, 16 Jan 2005 11:48:10 -0800 (PST)
X-Authentication-Warning: above.proper.com: majordom set sender to owner-ietf-sasl@mail.imc.org using -f
Received: from cz.mit.edu (STRATTON-FOUR-FORTY-TWO.MIT.EDU [18.187.6.187])
	by above.proper.com (8.12.11/8.12.9) with ESMTP id j0GJmAVc080844
	for <ietf-sasl@imc.org>; Sun, 16 Jan 2005 11:48:10 -0800 (PST)
	(envelope-from hartmans@mit.edu)
Received: by cz.mit.edu (Postfix, from userid 8042)
	id 55AF1E0063; Sun, 16 Jan 2005 14:48:08 -0500 (EST)
To: Simon Josefsson <jas@extundo.com>
Cc: ietf-sasl@imc.org
Subject: Re: Implementing SASL PLAIN servers
References: <iluvfbcm89h.fsf@latte.josefsson.org>
	<6.1.2.0.0.20041208211630.02f89ef8@127.0.0.1>
	<iluk6rrl8et.fsf@latte.josefsson.org> <tslllat1aov.fsf@cz.mit.edu>
	<iluacr9p3jf.fsf@latte.josefsson.org>
From: Sam Hartman <hartmans-ietf@mit.edu>
Date: Sun, 16 Jan 2005 14:48:08 -0500
In-Reply-To: <iluacr9p3jf.fsf@latte.josefsson.org> (Simon Josefsson's
 message of "Sun, 16 Jan 2005 20:39:00 +0100")
Message-ID: <tslzmz9yx3b.fsf@cz.mit.edu>
User-Agent: Gnus/5.1006 (Gnus v5.10.6) Emacs/21.3 (gnu/linux)
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
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>


>>>>> "Simon" == Simon Josefsson <jas@extundo.com> writes:

    Simon> Sam Hartman <hartmans-ietf@mit.edu> writes:
    >> If people still believe that forbidding unassigned codepoints
    >> is wrong, I'll withdraw my objection.

    Simon> I didn't follow this.  Was the logic reversed here?
    Simon> s/wrong/right/?  I and (I believe) Kurt has suggested that

You are correct, s/wrong/right.


From owner-ietf-sasl Sun Jan 16 16:01:46 2005
Received: from above.proper.com (localhost.vpnc.org [127.0.0.1])
	by above.proper.com (8.12.11/8.12.9) with ESMTP id j0H01ksl018427;
	Sun, 16 Jan 2005 16:01:46 -0800 (PST)
	(envelope-from owner-ietf-sasl@mail.imc.org)
Received: (from majordom@localhost)
	by above.proper.com (8.12.11/8.12.9/Submit) id j0H01k4c018426;
	Sun, 16 Jan 2005 16:01:46 -0800 (PST)
X-Authentication-Warning: above.proper.com: majordom set sender to owner-ietf-sasl@mail.imc.org using -f
Received: from boole.openldap.org (root@boole.openldap.org [204.152.186.50])
	by above.proper.com (8.12.11/8.12.9) with ESMTP id j0H01dFB018291
	for <ietf-sasl@imc.org>; Sun, 16 Jan 2005 16:01:39 -0800 (PST)
	(envelope-from Kurt@OpenLDAP.org)
Received: from gypsy.OpenLDAP.org (24-205-218-53.cs-cres.charterpipeline.net [24.205.218.53])
	(authenticated bits=0)
	by boole.openldap.org (8.13.1/8.13.1) with ESMTP id j0GNwNn2087579
	(version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO);
	Sun, 16 Jan 2005 23:58:24 GMT
	(envelope-from Kurt@OpenLDAP.org)
Message-Id: <6.2.0.14.0.20050116154825.02878008@mail.openldap.org>
X-Mailer: QUALCOMM Windows Eudora Version 6.2.0.14
Date: Sun, 16 Jan 2005 15:57:54 -0800
To: Sam Hartman <hartmans-ietf@mit.edu>
From: "Kurt D. Zeilenga" <Kurt@OpenLDAP.org>
Subject: Re: Implementing SASL PLAIN servers
Cc: Simon Josefsson <jas@extundo.com>, ietf-sasl@imc.org
In-Reply-To: <tslllat1aov.fsf@cz.mit.edu>
References: <iluvfbcm89h.fsf@latte.josefsson.org>
 <6.1.2.0.0.20041208211630.02f89ef8@127.0.0.1>
 <iluk6rrl8et.fsf@latte.josefsson.org>
 <tslllat1aov.fsf@cz.mit.edu>
Mime-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
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>


Sam,

Since SASLprep is a profile of the Stringprep algorithm, it
simply does not provide the option you desire....  to allow
both strings to contain unassigned code points.  So, instead
of SASLprep, you recommend we use some other algorithm which
allows both strings to contain unassigned code points.
This algorithm would not be a profile of Stringprep.

I do not support this for a number of reasons.

First, I think it important to leverage Stringprep and
SASLprep in PLAIN.

Second, I think Stringprep has it right from an interoperability
standpoint.  Both strings should not contain unassigned code points.

Lastly, operationally, I think it better to fail authentication
for stored passwords which contain unassigned code points and,
in doing so, forcing stored password to consist only of
assigned code points.  I would suspect, even if you were to
allow them in PLAIN, use of such passwords in other systems
would be quite problematic.

So, in short, I think PLAIN (and SASLprep (and Stringprep))
should not be changed in this regard.

Kurt (with Editor and Chair hats off)


At 10:38 AM 1/16/2005, Sam Hartman wrote:

>>>>>> "Simon" == Simon Josefsson <jas@extundo.com> writes:
>
>    >>> If the server store unprepared passwords and authentication
>    >>> identities ("server strings"), the server prepare these using
>    >>> SASLprep, allowing unassigned code points in the output.  The
>    >>> server verify the authentication by comparing the prepared
>    >>> client strings with the prepared server strings.
>    >>  This behavior is counter to the specified behavior of SASLprep
>    >> and StringPrep, from Section 7 of RFC 3454.  The goal of the
>    >> requirements in this section is to prevent comparisons between
>    >> two strings that were both permitted to contain unassigned code
>    >> points.  Since we allowing unassigned code points in the
>    >> presented strings, we must prohibit them in the stored strings.
>
>    Simon> Unless I misunderstood him, or remember incorrectly, Sam
>    Simon> proposed this approach.  I would have implemented it
>    Simon> differently -- I would treat the unprepared strings using
>    Simon> SASLprep treating the strings as stored strings.  I don't
>    Simon> care which option is chosen, only that there is a plan and
>    Simon> that the plan is expressed in the document.
>
>First I'm sorry it has taken me so long to respond to this.
>
>
>Apparently I seem to be the only one who believes that we're doing
>something wrong.  Let me explain where I'm coming from and make sure
>the group understands my position.  If people still believe that
>forbidding unassigned codepoints is wrong, I'll withdraw my objection.
>
>First, the ideal goal is to make sure that at some point when we are
>storing a password or username, we forbid unassigned codepoints.  We'd
>like that to happen.  If the IETF ever writes change password or
>account creation protocols, we can make sure that happens for those
>protocols.
>
>However plain does not include a change password or account creation
>protocol; the credentials are established out of band.  We explain to
>people that they should normalize with saslprep and they should forbid
>unassigned codepoints when establishing credentials.
>
>We know about a lot of cases where people won't.  For example the unix
>passwd command neither normalizes nor forbids unassigned codepoints.
>Windows active directory passwords don't normalize although at least
>they have a well defined character set.
>
>If passwords are hashed, there's not really much you can do.  One
>thing you can try is to try both the saslpreped and non-saslpreped
>version of the string, hash both and see if one works.
>
>My concern comes about when we think about what to do if it happens
>you have access to the plaintext credential.  That is, the credential
>establishment protocol actually stores the password.
>
>Remember this credential establishment protocol is outside our
>control.  I would like to take a look at the case where it neither
>normalizes nor forbids unassigned codepoints.
>
>It seems like the easiest thing to do in an implementation of plain
>for this situation is to saslprep the two strings (one from user; one
>from database) and compare.  My question is what do you do if the
>database string contains unassigned codepoints.
>
>If you allow unassigned codepoints you may improve interoperability.
>This is true in the case where the codepoints end up being assigned to
>normalize to themselves in a future saslprep.
>
>What is the cost of allowing unassigned codepoints in this case.
>Well, normally the cost of unassigned codepoints is that you don't
>want to store long-term strings that may end up having the wrong
>normalization.  However in this instance, that has already happened:
>completely outside our control this string has already been placed in
>the database.  The only cost I can see is that if some of the
>unassigned codepoints end up generating forbidden output in a new
>saslprep, upgrading a server to support that new saslprep will cause
>passwords that used to work to stop working.  If we forbid unassigned
>codepoints then these passwords never would have worked.  In either
>case we cannot prevent the password from being established.  
>
>It seems to boil down to two possible attitudes.  Option one (allowing
>unassigned codepoints) means that users may be able to log in today
>even though a server upgrade may stop the login process from working
>in the future.  The second option is that we prevent users from
>logging in today in order to guarantee that they will not be surprised
>by a future server upgrade.
>
>--Sam


From owner-ietf-sasl Mon Jan 17 08:09:47 2005
Received: from above.proper.com (localhost.vpnc.org [127.0.0.1])
	by above.proper.com (8.12.11/8.12.9) with ESMTP id j0HG9l8U037398;
	Mon, 17 Jan 2005 08:09:47 -0800 (PST)
	(envelope-from owner-ietf-sasl@mail.imc.org)
Received: (from majordom@localhost)
	by above.proper.com (8.12.11/8.12.9/Submit) id j0HG9lXn037397;
	Mon, 17 Jan 2005 08:09:47 -0800 (PST)
X-Authentication-Warning: above.proper.com: majordom set sender to owner-ietf-sasl@mail.imc.org using -f
Received: from cz.mit.edu (STRATTON-FOUR-FORTY-TWO.MIT.EDU [18.187.6.187])
	by above.proper.com (8.12.11/8.12.9) with ESMTP id j0HG9ejE037380
	for <ietf-sasl@imc.org>; Mon, 17 Jan 2005 08:09:40 -0800 (PST)
	(envelope-from hartmans@mit.edu)
Received: by cz.mit.edu (Postfix, from userid 8042)
	id 8D198E0063; Mon, 17 Jan 2005 11:09:40 -0500 (EST)
To: "Kurt D. Zeilenga" <Kurt@OpenLDAP.org>
Cc: Simon Josefsson <jas@extundo.com>, ietf-sasl@imc.org
Subject: Re: Implementing SASL PLAIN servers
References: <iluvfbcm89h.fsf@latte.josefsson.org>
	<6.1.2.0.0.20041208211630.02f89ef8@127.0.0.1>
	<iluk6rrl8et.fsf@latte.josefsson.org> <tslllat1aov.fsf@cz.mit.edu>
	<6.2.0.14.0.20050116154825.02878008@mail.openldap.org>
From: Sam Hartman <hartmans-ietf@mit.edu>
Date: Mon, 17 Jan 2005 11:09:40 -0500
In-Reply-To: <6.2.0.14.0.20050116154825.02878008@mail.openldap.org> (Kurt D.
 Zeilenga's message of "Sun, 16 Jan 2005 15:57:54 -0800")
Message-ID: <tslbrboxcjf.fsf@cz.mit.edu>
User-Agent: Gnus/5.1006 (Gnus v5.10.6) Emacs/21.3 (gnu/linux)
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
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" == Kurt D Zeilenga <Kurt@OpenLDAP.org> writes:

    Kurt> Sam, Since SASLprep is a profile of the Stringprep
    Kurt> algorithm, it simply does not provide the option you
    Kurt> desire....  to allow both strings to contain unassigned code
    Kurt> points.  So, instead of SASLprep, you recommend we use some
    Kurt> other algorithm which allows both strings to contain
    Kurt> unassigned code points.  

I don't believe that is true.  Stringprep defines a preparation step,
not a comparison step.  I believe the text in section 7 of stringprep
is liberal enough to allow what I am talking about, although it is not
liberal enough to allow for an IETF protocol that would ever get into
the situation I'm discussing.

In particular, I believe it is consistent with the definition of query
string presented in section 7 to argue that a string pulled out of a
database is a query string.  If stringprep is used when that string is
stored in the database, it needs to be a storage string.  However
under the case we are discussing that storage operation is not under
the control of an IETf protocol.


I cannot find normative text forbidding a query string being compared
with another query string.  I can find explanatory text in section 7
motivating the normative guidelines in this section.  That text says
section 7 is designed to prevent the comparison of two strings that
both contain unassigned codepoints.  These guidelines are in fact
sufficient to achieve that goal when both strings are transported
through IETF protocols that use stringprep.  I don't think the
guidelines are sufficient (nor should they be) to prevent comparison
of two query strings in other situations.

    Kurt> oThis algorithm would 
not be a
    Kurt> profile of Stringprep.

Disagree because I'm talking about using stringprep.
I do agree with your reasons for requiring a stringprep algorithm, but do not think they apply to my argument.

    Kurt> Lastly, operationally, I think it better to fail
    Kurt> authentication for stored passwords which contain unassigned
    Kurt> code points and, in doing so, forcing stored password to
    Kurt> consist only of assigned code points.  I would suspect, even
    Kurt> if you were to allow them in PLAIN, use of such passwords in
    Kurt> other systems would be quite problematic.

First, keep in mind that these passwords are allowed in plain; we no
longer require any particular normalization.

My assumption is that people using these sorts of passwords will
continue using these passwords because they already have
infrastructure that works that way.  Examples of such infrastructure
include Windows Active Directory, PAM on Unix, and a variety of
SQL-backed password stores.

I assume that if plain doesn't support these passwords it will be a
problem for applications that use plain, and those applications rather
than the password store will be blamed.  If it actually turns out that
forbidding unassigned codepoints when saslprep is used with plain will
significantly reduce their use, then they should be forbidden.

--Sam


From owner-ietf-sasl Mon Jan 17 09:07:03 2005
Received: from above.proper.com (localhost.vpnc.org [127.0.0.1])
	by above.proper.com (8.12.11/8.12.9) with ESMTP id j0HH73tG048278;
	Mon, 17 Jan 2005 09:07:03 -0800 (PST)
	(envelope-from owner-ietf-sasl@mail.imc.org)
Received: (from majordom@localhost)
	by above.proper.com (8.12.11/8.12.9/Submit) id j0HH73LI048277;
	Mon, 17 Jan 2005 09:07:03 -0800 (PST)
X-Authentication-Warning: above.proper.com: majordom set sender to owner-ietf-sasl@mail.imc.org using -f
Received: from boole.openldap.org (root@boole.openldap.org [204.152.186.50])
	by above.proper.com (8.12.11/8.12.9) with ESMTP id j0HH6u2M048246
	for <ietf-sasl@imc.org>; Mon, 17 Jan 2005 09:06:56 -0800 (PST)
	(envelope-from Kurt@OpenLDAP.org)
Received: from gypsy.OpenLDAP.org (24-205-218-53.cs-cres.charterpipeline.net [24.205.218.53])
	(authenticated bits=0)
	by boole.openldap.org (8.13.1/8.13.1) with ESMTP id j0HGnYrs022670
	(version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO);
	Mon, 17 Jan 2005 16:49:34 GMT
	(envelope-from Kurt@OpenLDAP.org)
Message-Id: <6.2.0.14.0.20050117083145.03642f80@mail.openldap.org>
X-Mailer: QUALCOMM Windows Eudora Version 6.2.0.14
Date: Mon, 17 Jan 2005 08:49:04 -0800
To: Sam Hartman <hartmans-ietf@mit.edu>
From: "Kurt D. Zeilenga" <Kurt@OpenLDAP.org>
Subject: Re: Implementing SASL PLAIN servers
Cc: Simon Josefsson <jas@extundo.com>, ietf-sasl@imc.org
In-Reply-To: <tslbrboxcjf.fsf@cz.mit.edu>
References: <iluvfbcm89h.fsf@latte.josefsson.org>
 <6.1.2.0.0.20041208211630.02f89ef8@127.0.0.1>
 <iluk6rrl8et.fsf@latte.josefsson.org>
 <tslllat1aov.fsf@cz.mit.edu>
 <6.2.0.14.0.20050116154825.02878008@mail.openldap.org>
 <tslbrboxcjf.fsf@cz.mit.edu>
Mime-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
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 08:09 AM 1/17/2005, Sam Hartman wrote:
>I do agree with your reasons for requiring a stringprep algorithm,

We don't actually require a stringprep algorithm, we recommend
one (SASLprep).

>but do not think they apply to my argument.
>
>    Kurt> Lastly, operationally, I think it better to fail
>    Kurt> authentication for stored passwords which contain unassigned
>    Kurt> code points and, in doing so, forcing stored password to
>    Kurt> consist only of assigned code points.  I would suspect, even
>    Kurt> if you were to allow them in PLAIN, use of such passwords in
>    Kurt> other systems would be quite problematic.
>
>First, keep in mind that these passwords are allowed in plain; we no
>longer require any particular normalization.

Actually, we don't require use of SASLprep... and hence its
normalization step... and, hence, its prohibit step.
   The server SHOULD prepare each of these strings using the
   [SASLPrep] profile of the [StringPrep] algorithm.

(I argue that without these steps, its no longer SASLprep.)

>My assumption is that people using these sorts of passwords will
>continue using these passwords because they already have
>infrastructure that works that way.

We already give them an escape in the above "SHOULD".  That is,
the language:
   When preparing using [SASLprep] or other [StringPrep] based
   algorithm, per Section 7 of [StringPrep], unassigned code points
   may appear in prepared presented (query) strings but are prohibited
   in prepared stored strings.  If only the output of a non-invertible
   function of expected string is stored, the string MUST be prepared
   before input to that function.

only applies to use of [SASLprep] and other [StringPrep] based
algorithms.  If an implementation chooses (after appropriately
considering the implications of doing so), to use some other
preparation algorithm, even one which is like SASLprep in
every regard except prohibition, fine.  But its not proper to
call that algorithm "SASLprep".  In SASLprep, the mandatory
prohibition step includes unassigned code point restrictions.

I argue that any algorithm which allows both strings compared
to contain unassigned code points is not a valid profile of
the StringPrep algorithm.  We can argue about the language
of RFC 3454 if you like, but I strongly believe that the
intent of RFC 3454 was to prohibit comparisons of two
strings both containing unassigned code points (from both
my talks with authors, and my lurking on the IDN list during
its development) .  If that not clear in RFC 3454, then the
IETF should address that in a revision of RFC 3454. 

But given the above SHOULD, isn't this argument moot?
Haven't we already given the implementor plenty of rope to
do whatever they please?

-- Kurt 


From owner-ietf-sasl Mon Jan 17 09:13:49 2005
Received: from above.proper.com (localhost.vpnc.org [127.0.0.1])
	by above.proper.com (8.12.11/8.12.9) with ESMTP id j0HHDn2q049102;
	Mon, 17 Jan 2005 09:13:49 -0800 (PST)
	(envelope-from owner-ietf-sasl@mail.imc.org)
Received: (from majordom@localhost)
	by above.proper.com (8.12.11/8.12.9/Submit) id j0HHDnCU049101;
	Mon, 17 Jan 2005 09:13:49 -0800 (PST)
X-Authentication-Warning: above.proper.com: majordom set sender to owner-ietf-sasl@mail.imc.org using -f
Received: from cz.mit.edu (STRATTON-FOUR-FORTY-TWO.MIT.EDU [18.187.6.187])
	by above.proper.com (8.12.11/8.12.9) with ESMTP id j0HHDmtI049095
	for <ietf-sasl@imc.org>; Mon, 17 Jan 2005 09:13:48 -0800 (PST)
	(envelope-from hartmans@mit.edu)
Received: by cz.mit.edu (Postfix, from userid 8042)
	id BDC59E0063; Mon, 17 Jan 2005 12:13:48 -0500 (EST)
To: "Kurt D. Zeilenga" <Kurt@OpenLDAP.org>
Cc: Simon Josefsson <jas@extundo.com>, ietf-sasl@imc.org
Subject: Re: Implementing SASL PLAIN servers
References: <iluvfbcm89h.fsf@latte.josefsson.org>
	<6.1.2.0.0.20041208211630.02f89ef8@127.0.0.1>
	<iluk6rrl8et.fsf@latte.josefsson.org> <tslllat1aov.fsf@cz.mit.edu>
	<6.2.0.14.0.20050116154825.02878008@mail.openldap.org>
	<tslbrboxcjf.fsf@cz.mit.edu>
	<6.2.0.14.0.20050117083145.03642f80@mail.openldap.org>
From: Sam Hartman <hartmans-ietf@mit.edu>
Date: Mon, 17 Jan 2005 12:13:48 -0500
In-Reply-To: <6.2.0.14.0.20050117083145.03642f80@mail.openldap.org> (Kurt D.
 Zeilenga's message of "Mon, 17 Jan 2005 08:49:04 -0800")
Message-ID: <tslr7kkugfn.fsf@cz.mit.edu>
User-Agent: Gnus/5.1006 (Gnus v5.10.6) Emacs/21.3 (gnu/linux)
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
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" == Kurt D Zeilenga <Kurt@OpenLDAP.org> writes:


    Kurt> I argue that any algorithm which allows both strings
    Kurt> compared to contain unassigned code points is not a valid
    Kurt> profile of the StringPrep algorithm.  

Again, stringprep does not address comparison, only preparation.

    Kurt> We can argue about the
    Kurt> language of RFC 3454 if you like, but I strongly believe
    Kurt> that the intent of RFC 3454 was to prohibit comparisons of
    Kurt> two strings both containing unassigned code points (from
    Kurt> both my talks with authors, and my lurking on the IDN list
    Kurt> during its development) .  

Agreed, but I also think the authors only considered the scope where
the IETF had control of either both strings or at least the storage
string.

If for example we were discussing the LDAP set password operation I'd
completely agree the password needs to be treated as a storage string.

    Kurt> If that not clear in RFC 3454,
    Kurt> then the IETF should address that in a revision of RFC 3454.

    Kurt> But given the above SHOULD, isn't this argument moot?


The question in my mind is whether we describe the problem clearly
enough that implementers will make the right decision for their
environment.  I agree that our normative text is fine.


From owner-ietf-sasl Mon Jan 17 09:35:15 2005
Received: from above.proper.com (localhost.vpnc.org [127.0.0.1])
	by above.proper.com (8.12.11/8.12.9) with ESMTP id j0HHZFWb051833;
	Mon, 17 Jan 2005 09:35:15 -0800 (PST)
	(envelope-from owner-ietf-sasl@mail.imc.org)
Received: (from majordom@localhost)
	by above.proper.com (8.12.11/8.12.9/Submit) id j0HHZFWC051832;
	Mon, 17 Jan 2005 09:35:15 -0800 (PST)
X-Authentication-Warning: above.proper.com: majordom set sender to owner-ietf-sasl@mail.imc.org using -f
Received: from boole.openldap.org (root@boole.openldap.org [204.152.186.50])
	by above.proper.com (8.12.11/8.12.9) with ESMTP id j0HHZFMG051826
	for <ietf-sasl@imc.org>; Mon, 17 Jan 2005 09:35:15 -0800 (PST)
	(envelope-from Kurt@OpenLDAP.org)
Received: from gypsy.OpenLDAP.org (24-205-218-53.cs-cres.charterpipeline.net [24.205.218.53])
	(authenticated bits=0)
	by boole.openldap.org (8.13.1/8.13.1) with ESMTP id j0HHW6up024661
	(version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO);
	Mon, 17 Jan 2005 17:32:06 GMT
	(envelope-from Kurt@OpenLDAP.org)
Message-Id: <6.2.0.14.0.20050117092100.06596dc8@mail.openldap.org>
X-Mailer: QUALCOMM Windows Eudora Version 6.2.0.14
Date: Mon, 17 Jan 2005 09:31:36 -0800
To: Sam Hartman <hartmans-ietf@mit.edu>
From: "Kurt D. Zeilenga" <Kurt@OpenLDAP.org>
Subject: Re: Implementing SASL PLAIN servers
Cc: Simon Josefsson <jas@extundo.com>, ietf-sasl@imc.org
In-Reply-To: <tslr7kkugfn.fsf@cz.mit.edu>
References: <iluvfbcm89h.fsf@latte.josefsson.org>
 <6.1.2.0.0.20041208211630.02f89ef8@127.0.0.1>
 <iluk6rrl8et.fsf@latte.josefsson.org>
 <tslllat1aov.fsf@cz.mit.edu>
 <6.2.0.14.0.20050116154825.02878008@mail.openldap.org>
 <tslbrboxcjf.fsf@cz.mit.edu>
 <6.2.0.14.0.20050117083145.03642f80@mail.openldap.org>
 <tslr7kkugfn.fsf@cz.mit.edu>
Mime-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
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 09:13 AM 1/17/2005, Sam Hartman wrote:
>The question in my mind is whether we describe the problem clearly
>enough that implementers will make the right decision for their
>environment.  I agree that our normative text is fine. 

I think we're quite clear that SASLprep SHOULD be used.  Now,
we've allowed implementors to use other preparation algorithms,
but the risk (to interoperability, security, etc.) of doing so
is all theirs.  As with going against any SHOULD, the implementor
should carefully consider the consequences of doing so.  Obviously
we cannot prevent implementors from not carefully considering the
consequences... but we should assume in our writing that they will
carefully consider the consequences.  And with that assumption, I
don't see how they could miss Section 7 of RFC 3454.

Kurt 


From owner-ietf-sasl Mon Jan 17 09:49:45 2005
Received: from above.proper.com (localhost.vpnc.org [127.0.0.1])
	by above.proper.com (8.12.11/8.12.9) with ESMTP id j0HHniHS055194;
	Mon, 17 Jan 2005 09:49:45 -0800 (PST)
	(envelope-from owner-ietf-sasl@mail.imc.org)
Received: (from majordom@localhost)
	by above.proper.com (8.12.11/8.12.9/Submit) id j0HHnieQ055193;
	Mon, 17 Jan 2005 09:49:44 -0800 (PST)
X-Authentication-Warning: above.proper.com: majordom set sender to owner-ietf-sasl@mail.imc.org using -f
Received: from cz.mit.edu (STRATTON-FOUR-FORTY-TWO.MIT.EDU [18.187.6.187])
	by above.proper.com (8.12.11/8.12.9) with ESMTP id j0HHnijI055126
	for <ietf-sasl@imc.org>; Mon, 17 Jan 2005 09:49:44 -0800 (PST)
	(envelope-from hartmans@mit.edu)
Received: by cz.mit.edu (Postfix, from userid 8042)
	id 24F67E0063; Mon, 17 Jan 2005 12:49:43 -0500 (EST)
To: "Kurt D. Zeilenga" <Kurt@OpenLDAP.org>
Cc: Simon Josefsson <jas@extundo.com>, ietf-sasl@imc.org
Subject: Re: Implementing SASL PLAIN servers
References: <iluvfbcm89h.fsf@latte.josefsson.org>
	<6.1.2.0.0.20041208211630.02f89ef8@127.0.0.1>
	<iluk6rrl8et.fsf@latte.josefsson.org> <tslllat1aov.fsf@cz.mit.edu>
	<6.2.0.14.0.20050116154825.02878008@mail.openldap.org>
	<tslbrboxcjf.fsf@cz.mit.edu>
	<6.2.0.14.0.20050117083145.03642f80@mail.openldap.org>
	<tslr7kkugfn.fsf@cz.mit.edu>
	<6.2.0.14.0.20050117092100.06596dc8@mail.openldap.org>
From: Sam Hartman <hartmans-ietf@mit.edu>
Date: Mon, 17 Jan 2005 12:49:43 -0500
In-Reply-To: <6.2.0.14.0.20050117092100.06596dc8@mail.openldap.org> (Kurt D.
 Zeilenga's message of "Mon, 17 Jan 2005 09:31:36 -0800")
Message-ID: <tslacr8uers.fsf@cz.mit.edu>
User-Agent: Gnus/5.1006 (Gnus v5.10.6) Emacs/21.3 (gnu/linux)
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
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" == Kurt D Zeilenga <Kurt@OpenLDAP.org> writes:

    Kurt> At 09:13 AM 1/17/2005, Sam Hartman wrote:
    >> The question in my mind is whether we describe the problem
    >> clearly enough that implementers will make the right decision
    >> for their environment.  I agree that our normative text is
    >> fine.

    Kurt> I think we're quite clear that SASLprep SHOULD be used.
    Kurt> Now, we've allowed implementors to use other preparation
    Kurt> algorithms, but the risk (to interoperability, security,
    Kurt> etc.) of doing so is all theirs.  As with going against any
    Kurt> SHOULD, the implementor should carefully consider the
    Kurt> consequences of doing so.  Obviously we cannot prevent
    Kurt> implementors from not carefully considering the
    Kurt> consequences... but we should assume in our writing that
    Kurt> they will carefully consider the consequences.  And with
    Kurt> that assumption, I don't see how they could miss Section 7
    Kurt> of RFC 3454.

For the purposes of moving forward on plain, I'll drop this
discussion.

In the interests of understanding, I think I'd like to discuss this
issue with you in person because there seems to be a fairly
significant disconnect here.  However I don't think there is support
in the WG for making any changes in this regard.

If my understanding is correct, you accepted some textual changes from
Simon.  So, I should be waiting for a new plain before last calling
it?

--Sam


From owner-ietf-sasl Mon Jan 17 10:25:31 2005
Received: from above.proper.com (localhost.vpnc.org [127.0.0.1])
	by above.proper.com (8.12.11/8.12.9) with ESMTP id j0HIPVLP061198;
	Mon, 17 Jan 2005 10:25:31 -0800 (PST)
	(envelope-from owner-ietf-sasl@mail.imc.org)
Received: (from majordom@localhost)
	by above.proper.com (8.12.11/8.12.9/Submit) id j0HIPVot061196;
	Mon, 17 Jan 2005 10:25:31 -0800 (PST)
X-Authentication-Warning: above.proper.com: majordom set sender to owner-ietf-sasl@mail.imc.org using -f
Received: from boole.openldap.org (root@boole.openldap.org [204.152.186.50])
	by above.proper.com (8.12.11/8.12.9) with ESMTP id j0HIPQvp061181
	for <ietf-sasl@imc.org>; Mon, 17 Jan 2005 10:25:26 -0800 (PST)
	(envelope-from Kurt@OpenLDAP.org)
Received: from gypsy.OpenLDAP.org (24-205-218-53.cs-cres.charterpipeline.net [24.205.218.53])
	(authenticated bits=0)
	by boole.openldap.org (8.13.1/8.13.1) with ESMTP id j0HIMDOh027138
	(version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO);
	Mon, 17 Jan 2005 18:22:13 GMT
	(envelope-from Kurt@OpenLDAP.org)
Message-Id: <6.2.0.14.0.20050117101800.066fb600@mail.openldap.org>
X-Mailer: QUALCOMM Windows Eudora Version 6.2.0.14
Date: Mon, 17 Jan 2005 10:21:43 -0800
To: Sam Hartman <hartmans-ietf@mit.edu>
From: "Kurt D. Zeilenga" <Kurt@OpenLDAP.org>
Subject: Re: Implementing SASL PLAIN servers
Cc: Simon Josefsson <jas@extundo.com>, ietf-sasl@imc.org
In-Reply-To: <tslacr8uers.fsf@cz.mit.edu>
References: <iluvfbcm89h.fsf@latte.josefsson.org>
 <6.1.2.0.0.20041208211630.02f89ef8@127.0.0.1>
 <iluk6rrl8et.fsf@latte.josefsson.org>
 <tslllat1aov.fsf@cz.mit.edu>
 <6.2.0.14.0.20050116154825.02878008@mail.openldap.org>
 <tslbrboxcjf.fsf@cz.mit.edu>
 <6.2.0.14.0.20050117083145.03642f80@mail.openldap.org>
 <tslr7kkugfn.fsf@cz.mit.edu>
 <6.2.0.14.0.20050117092100.06596dc8@mail.openldap.org>
 <tslacr8uers.fsf@cz.mit.edu>
Mime-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
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 09:49 AM 1/17/2005, Sam Hartman wrote:

>>>>>> "Kurt" == Kurt D Zeilenga <Kurt@OpenLDAP.org> writes:
>
>    Kurt> At 09:13 AM 1/17/2005, Sam Hartman wrote:
>    >> The question in my mind is whether we describe the problem
>    >> clearly enough that implementers will make the right decision
>    >> for their environment.  I agree that our normative text is
>    >> fine.
>
>    Kurt> I think we're quite clear that SASLprep SHOULD be used.
>    Kurt> Now, we've allowed implementors to use other preparation
>    Kurt> algorithms, but the risk (to interoperability, security,
>    Kurt> etc.) of doing so is all theirs.  As with going against any
>    Kurt> SHOULD, the implementor should carefully consider the
>    Kurt> consequences of doing so.  Obviously we cannot prevent
>    Kurt> implementors from not carefully considering the
>    Kurt> consequences... but we should assume in our writing that
>    Kurt> they will carefully consider the consequences.  And with
>    Kurt> that assumption, I don't see how they could miss Section 7
>    Kurt> of RFC 3454.
>
>For the purposes of moving forward on plain, I'll drop this
>discussion.
>
>In the interests of understanding, I think I'd like to discuss this
>issue with you in person because there seems to be a fairly
>significant disconnect here.  However I don't think there is support
>in the WG for making any changes in this regard.
>
>If my understanding is correct, you accepted some textual changes from
>Simon.  So, I should be waiting for a new plain before last calling
>it?

As Editor, I believe the WG supports making some textual changes
based upon Simon's suggestions.  Hence, I intend to prepare
(and submit) a revised I-D for further WG consideration.  Please
hold off any AD action for now.

Kurt 


From owner-ietf-sasl Mon Jan 17 12:29:42 2005
Received: from above.proper.com (localhost.vpnc.org [127.0.0.1])
	by above.proper.com (8.12.11/8.12.9) with ESMTP id j0HKTfAh034020;
	Mon, 17 Jan 2005 12:29:41 -0800 (PST)
	(envelope-from owner-ietf-sasl@mail.imc.org)
Received: (from majordom@localhost)
	by above.proper.com (8.12.11/8.12.9/Submit) id j0HKTfnq034019;
	Mon, 17 Jan 2005 12:29:41 -0800 (PST)
X-Authentication-Warning: above.proper.com: majordom set sender to owner-ietf-sasl@mail.imc.org using -f
Received: from yxa.extundo.com (root@178.230.13.217.in-addr.dgcsystems.net [217.13.230.178])
	by above.proper.com (8.12.11/8.12.9) with ESMTP id j0HKTVFV033295
	for <ietf-sasl@imc.org>; Mon, 17 Jan 2005 12:29:41 -0800 (PST)
	(envelope-from jas@extundo.com)
Received: from latte.josefsson.org (c494102a.s-bi.bostream.se [217.215.27.65])
	(authenticated bits=0)
	by yxa.extundo.com (8.13.2/8.13.2/Debian-1) with ESMTP id j0HKTKei016086
	(version=TLSv1/SSLv3 cipher=DHE-RSA-AES128-SHA bits=128 verify=OK);
	Mon, 17 Jan 2005 21:29:21 +0100
From: Simon Josefsson <jas@extundo.com>
To: "Kurt D. Zeilenga" <Kurt@OpenLDAP.org>
Cc: ietf-sasl@imc.org, Sam Hartman <hartmans-ietf@mit.edu>
Subject: Re: Implementing SASL PLAIN servers
References: <iluvfbcm89h.fsf@latte.josefsson.org>
	<6.1.2.0.0.20041208211630.02f89ef8@127.0.0.1>
	<iluk6rrl8et.fsf@latte.josefsson.org> <tslllat1aov.fsf@cz.mit.edu>
	<6.2.0.14.0.20050116154825.02878008@mail.openldap.org>
OpenPGP: id=B565716F; url=http://josefsson.org/key.txt
X-Hashcash: 1:21:050117:kurt@openldap.org::GO3UUaGhUqvmYzBc:2Z44
X-Hashcash: 1:21:050117:hartmans-ietf@mit.edu::LWVV+O+2z9zHozbZ:27XT
X-Hashcash: 1:21:050117:ietf-sasl@imc.org::dLlYRstG+vdjk4TK:7nDi
X-Hashcash: 1:21:050117:kurt@openldap.org::f/M6/gg5VTi8Y1X5:HuY9
Date: Mon, 17 Jan 2005 21:29:10 +0100
In-Reply-To: <6.2.0.14.0.20050116154825.02878008@mail.openldap.org> (Kurt
	D. Zeilenga's message of "Sun, 16 Jan 2005 15:57:54 -0800")
Message-ID: <ilumzv7lrzd.fsf@latte.josefsson.org>
User-Agent: Gnus/5.110003 (No Gnus v0.3) Emacs/21.3.50 (gnu/linux)
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
X-Spam-Status: No, hits=0.0 required=5.0 tests=none autolearn=no version=2.64
X-Spam-Checker-Version: SpamAssassin 2.64 (2004-01-11) on yxa-iv
X-Virus-Scanned: ClamAV 0.80/664/Thu Jan 13 16:13:05 2005
	clamav-milter version 0.80j
	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>


"Kurt D. Zeilenga" <Kurt@OpenLDAP.org> writes:

> So, in short, I think PLAIN (and SASLprep (and Stringprep))
> should not be changed in this regard.

I believe it should change to clarify what is intended.  The current
text:

  The server SHALL first prepare authentication identity and password
  strings using the [SASLPrep] profile of the [StringPrep] algorithm.
  Per Section 7 of [StringPrep], unassigned code points may appear in
  prepared presented (query) strings but are prohibited in stored
  strings.

I think this leave the field open to implement either your or Sam's
approach, both which seem reasonable choices to me.

The problem is the circular use of the terms "query strings" and
"stored strings".  If you consider strings pulled from a databases as
"stored", then you implement it your way, if you consider strings
pulled from a database as query strings ("queries" into the PLAIN
authorization algorithm), you will implement Sam's way.  Neither
implementation would appear to violate the above text.

To repeat what I have been trying to say all along: all specifications
must say, for each string that is going to be prepared, whether is to
be regarded a query string or a stored string.  Classifying strings
into stored strings and query strings is not a mechanic process.

Thanks,
Simon


From owner-ietf-sasl Mon Jan 17 13:43:11 2005
Received: from above.proper.com (localhost.vpnc.org [127.0.0.1])
	by above.proper.com (8.12.11/8.12.9) with ESMTP id j0HLhBwA076294;
	Mon, 17 Jan 2005 13:43:11 -0800 (PST)
	(envelope-from owner-ietf-sasl@mail.imc.org)
Received: (from majordom@localhost)
	by above.proper.com (8.12.11/8.12.9/Submit) id j0HLhBRH076286;
	Mon, 17 Jan 2005 13:43:11 -0800 (PST)
X-Authentication-Warning: above.proper.com: majordom set sender to owner-ietf-sasl@mail.imc.org using -f
Received: from cz.mit.edu (STRATTON-FOUR-FORTY-TWO.MIT.EDU [18.187.6.187])
	by above.proper.com (8.12.11/8.12.9) with ESMTP id j0HLh9oG076259
	for <ietf-sasl@imc.org>; Mon, 17 Jan 2005 13:43:10 -0800 (PST)
	(envelope-from hartmans@mit.edu)
Received: by cz.mit.edu (Postfix, from userid 8042)
	id 3399FE0063; Mon, 17 Jan 2005 16:43:06 -0500 (EST)
To: ietf-sasl@imc.org
Cc: tlyu@mit.edu
Subject: Please welcome Tom Yu as a SASL co-chair
From: Sam Hartman <hartmans-ietf@mit.edu>
Date: Mon, 17 Jan 2005 16:43:06 -0500
Message-ID: <tslu0pfratx.fsf@cz.mit.edu>
User-Agent: Gnus/5.1006 (Gnus v5.10.6) Emacs/21.3 (gnu/linux)
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
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.  I'd like to welcome Tom Yu who will be joining Kurt as one of the
chairs of the SASL working group.


Tom is one of the authors of the Kerberos draft.  In the Kerberos
working group and in other IETF working groups he has a long history
of building consensus and making sure viewpoints are heard.

Tom also has done a great job of security analysis of protocols and of
clearly explaining this analysis.


I'd also like to thank Kurt for recommending Tom to this position.


From owner-ietf-sasl Mon Jan 17 14:26:48 2005
Received: from above.proper.com (localhost.vpnc.org [127.0.0.1])
	by above.proper.com (8.12.11/8.12.9) with ESMTP id j0HMQmkA014638;
	Mon, 17 Jan 2005 14:26:48 -0800 (PST)
	(envelope-from owner-ietf-sasl@mail.imc.org)
Received: (from majordom@localhost)
	by above.proper.com (8.12.11/8.12.9/Submit) id j0HMQmoc014637;
	Mon, 17 Jan 2005 14:26:48 -0800 (PST)
X-Authentication-Warning: above.proper.com: majordom set sender to owner-ietf-sasl@mail.imc.org using -f
Received: from jalapeno.cc.columbia.edu (IDENT:cu41754@jalapeno.cc.columbia.edu [128.59.29.5])
	by above.proper.com (8.12.11/8.12.9) with ESMTP id j0HMQmf6014631
	for <ietf-sasl@imc.org>; Mon, 17 Jan 2005 14:26:48 -0800 (PST)
	(envelope-from jaltman@columbia.edu)
Received: from [192.168.1.10] (24-193-46-55.nyc.rr.com [24.193.46.55])
	(user=jaltman mech=PLAIN bits=0)
	by jalapeno.cc.columbia.edu (8.13.0/8.13.0) with ESMTP id j0HMQko4000878
	(version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT)
	for <ietf-sasl@imc.org>; Mon, 17 Jan 2005 17:26:47 -0500 (EST)
Message-ID: <41EC3C2A.8020402@columbia.edu>
Date: Mon, 17 Jan 2005 17:28:58 -0500
From: Jeffrey Altman <jaltman@columbia.edu>
Organization: Not Affiliated with Columbia University in the City of New York
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7.5) Gecko/20041217
X-Accept-Language: en-us, en
MIME-Version: 1.0
To: ietf-sasl@imc.org
Subject: Re: Implementing SASL PLAIN servers
References: <iluvfbcm89h.fsf@latte.josefsson.org>	<6.1.2.0.0.20041208211630.02f89ef8@127.0.0.1>	<iluk6rrl8et.fsf@latte.josefsson.org> <tslllat1aov.fsf@cz.mit.edu>	<6.2.0.14.0.20050116154825.02878008@mail.openldap.org> <ilumzv7lrzd.fsf@latte.josefsson.org>
In-Reply-To: <ilumzv7lrzd.fsf@latte.josefsson.org>
X-Enigmail-Version: 0.89.6.0
X-Enigmail-Supports: pgp-inline, pgp-mime
Content-Type: multipart/signed; protocol="application/x-pkcs7-signature"; micalg=sha1; boundary="------------ms040603050702080103070509"
X-No-Spam-Score: Local
X-Scanned-By: MIMEDefang 2.48 on 128.59.206.19
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 is a cryptographically signed message in MIME format.

--------------ms040603050702080103070509
Content-Type: text/plain; charset=us-ascii; format=flowed
Content-Transfer-Encoding: 7bit

Simon Josefsson wrote:

> The problem is the circular use of the terms "query strings" and
> "stored strings".  If you consider strings pulled from a databases as
> "stored", then you implement it your way, if you consider strings
> pulled from a database as query strings ("queries" into the PLAIN
> authorization algorithm), you will implement Sam's way.  Neither
> implementation would appear to violate the above text.

I realize I have not been paying as much attention to this discussion
as I should be.  I apologize for the delay.

When Jeff Hutzelman and I were analyzing the Kerberos protocol to 
determine which category each string falls into, we realized that in a 
protocol such as Kerberos there are no storage strings.  We have query 
strings and display strings.  The only place a storage string exists is
in the set/change password protocol which is not part of the core
specification.

The only time a string is a "storage string" is when a string is being
written to a database.  If you are going to consider things which are
read from databases as "storage strings', then almost every string in
the protocol becomes a "storage string" and you get yourself into a lot
of trouble.  This is because a "Kerberos ticket", an "X.509 cert", a
"Kerberos keytab", etc. are all databases.  Some are used by the client
as a source of strings sent to the server; or vice versa.

A "query string" is a string which is being generated for the purpose
of comparison and not for the purpose of storage.  In fact, you can
even have two "query strings" from different sources compared with one
another.  As long as the strings are not being stored, they are not
"storage strings".

Jeffrey Altman



--------------ms040603050702080103070509
Content-Type: application/x-pkcs7-signature; name="smime.p7s"
Content-Transfer-Encoding: base64
Content-Disposition: attachment; filename="smime.p7s"
Content-Description: S/MIME Cryptographic Signature

MIAGCSqGSIb3DQEHAqCAMIACAQExCzAJBgUrDgMCGgUAMIAGCSqGSIb3DQEHAQAAoIIJPzCC
AvowggJjoAMCAQICAwxk8TANBgkqhkiG9w0BAQQFADBiMQswCQYDVQQGEwJaQTElMCMGA1UE
ChMcVGhhd3RlIENvbnN1bHRpbmcgKFB0eSkgTHRkLjEsMCoGA1UEAxMjVGhhd3RlIFBlcnNv
bmFsIEZyZWVtYWlsIElzc3VpbmcgQ0EwHhcNMDQwNTI3MTc1ODU4WhcNMDUwNTI3MTc1ODU4
WjBrMQ8wDQYDVQQEEwZBbHRtYW4xFTATBgNVBCoTDEplZmZyZXkgRXJpYzEcMBoGA1UEAxMT
SmVmZnJleSBFcmljIEFsdG1hbjEjMCEGCSqGSIb3DQEJARYUamFsdG1hbkBjb2x1bWJpYS5l
ZHUwggEiMA0GCSqGSIb3DQEBAQUAA4IBDwAwggEKAoIBAQDc3JqO5AsZrozd+mJ2mPuCTYo2
+nJ9Qq6jtUYtp7YTMW4d2Q6GLhNaHb1l9m74SxuY4f5vP6JtZjr6p9+LCCxD0w0NVLKRgUDp
z+tKFitbkJe9BSCxCURRvY3vdWA71gSCUvZAN3346hHb4oGVqgdpmfFJXYAHWpC46wiL72N9
WxySzY17/0eU0c8+r9dNoLpPQeL43O66O80jCl1qnXMaXaakZPsfm+5W90MYXhpQ1WIQpv02
lBn3BH5YE8xwbsNrw5AF4v7pjMuW85GI6FrDmfbpJX473Rpl5rmv3TpXkJ+7UsIIO1puyS8r
1o7kjDZ5EUYJxxglTGR6XL/RNzqHAgMBAAGjMTAvMB8GA1UdEQQYMBaBFGphbHRtYW5AY29s
dW1iaWEuZWR1MAwGA1UdEwEB/wQCMAAwDQYJKoZIhvcNAQEEBQADgYEAZYeVFCMP0iV+UVa0
eFoXkzMVl61CNAVY2YQ9/QQazO3G4qNiif35ArrnjPRDRj5M7WTeOCFqPVuvCttyJRiDKsEe
L4Yah22mRA3mR7x52j2FquPYZ9qCr1IhrNGzsMk+gopX5G0fTHZb6+uDu5SeMPNNcIznGA7M
CMpXAJ2PcKgwggL6MIICY6ADAgECAgMMZPEwDQYJKoZIhvcNAQEEBQAwYjELMAkGA1UEBhMC
WkExJTAjBgNVBAoTHFRoYXd0ZSBDb25zdWx0aW5nIChQdHkpIEx0ZC4xLDAqBgNVBAMTI1Ro
YXd0ZSBQZXJzb25hbCBGcmVlbWFpbCBJc3N1aW5nIENBMB4XDTA0MDUyNzE3NTg1OFoXDTA1
MDUyNzE3NTg1OFowazEPMA0GA1UEBBMGQWx0bWFuMRUwEwYDVQQqEwxKZWZmcmV5IEVyaWMx
HDAaBgNVBAMTE0plZmZyZXkgRXJpYyBBbHRtYW4xIzAhBgkqhkiG9w0BCQEWFGphbHRtYW5A
Y29sdW1iaWEuZWR1MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEA3NyajuQLGa6M
3fpidpj7gk2KNvpyfUKuo7VGLae2EzFuHdkOhi4TWh29ZfZu+EsbmOH+bz+ibWY6+qffiwgs
Q9MNDVSykYFA6c/rShYrW5CXvQUgsQlEUb2N73VgO9YEglL2QDd9+OoR2+KBlaoHaZnxSV2A
B1qQuOsIi+9jfVscks2Ne/9HlNHPPq/XTaC6T0Hi+NzuujvNIwpdap1zGl2mpGT7H5vuVvdD
GF4aUNViEKb9NpQZ9wR+WBPMcG7Da8OQBeL+6YzLlvORiOhaw5n26SV+O90aZea5r906V5Cf
u1LCCDtabskvK9aO5Iw2eRFGCccYJUxkely/0Tc6hwIDAQABozEwLzAfBgNVHREEGDAWgRRq
YWx0bWFuQGNvbHVtYmlhLmVkdTAMBgNVHRMBAf8EAjAAMA0GCSqGSIb3DQEBBAUAA4GBAGWH
lRQjD9IlflFWtHhaF5MzFZetQjQFWNmEPf0EGsztxuKjYon9+QK654z0Q0Y+TO1k3jghaj1b
rwrbciUYgyrBHi+GGodtpkQN5ke8edo9harj2Gfagq9SIazRs7DJPoKKV+RtH0x2W+vrg7uU
njDzTXCM5xgOzAjKVwCdj3CoMIIDPzCCAqigAwIBAgIBDTANBgkqhkiG9w0BAQUFADCB0TEL
MAkGA1UEBhMCWkExFTATBgNVBAgTDFdlc3Rlcm4gQ2FwZTESMBAGA1UEBxMJQ2FwZSBUb3du
MRowGAYDVQQKExFUaGF3dGUgQ29uc3VsdGluZzEoMCYGA1UECxMfQ2VydGlmaWNhdGlvbiBT
ZXJ2aWNlcyBEaXZpc2lvbjEkMCIGA1UEAxMbVGhhd3RlIFBlcnNvbmFsIEZyZWVtYWlsIENB
MSswKQYJKoZIhvcNAQkBFhxwZXJzb25hbC1mcmVlbWFpbEB0aGF3dGUuY29tMB4XDTAzMDcx
NzAwMDAwMFoXDTEzMDcxNjIzNTk1OVowYjELMAkGA1UEBhMCWkExJTAjBgNVBAoTHFRoYXd0
ZSBDb25zdWx0aW5nIChQdHkpIEx0ZC4xLDAqBgNVBAMTI1RoYXd0ZSBQZXJzb25hbCBGcmVl
bWFpbCBJc3N1aW5nIENBMIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQDEpjxVc1X7TrnK
mVoeaMB1BHCd3+n/ox7svc31W/Iadr1/DDph8r9RzgHU5VAKMNcCY1osiRVwjt3J8CuFWqo/
cVbLrzwLB+fxH5E2JCoTzyvV84J3PQO+K/67GD4Hv0CAAmTXp6a7n2XRxSpUhQ9IBH+nttE8
YQRAHmQZcmC3+wIDAQABo4GUMIGRMBIGA1UdEwEB/wQIMAYBAf8CAQAwQwYDVR0fBDwwOjA4
oDagNIYyaHR0cDovL2NybC50aGF3dGUuY29tL1RoYXd0ZVBlcnNvbmFsRnJlZW1haWxDQS5j
cmwwCwYDVR0PBAQDAgEGMCkGA1UdEQQiMCCkHjAcMRowGAYDVQQDExFQcml2YXRlTGFiZWwy
LTEzODANBgkqhkiG9w0BAQUFAAOBgQBIjNFQg+oLLswNo2asZw9/r6y+whehQ5aUnX9MIbj4
Nh+qLZ82L8D0HFAgk3A8/a3hYWLD2ToZfoSxmRsAxRoLgnSeJVCUYsfbJ3FXJY3dqZw5jowg
T2Vfldr394fWxghOrvbqNOUQGls1TXfjViF4gtwhGTXeJLHTHUb/XV9lTzGCAzswggM3AgEB
MGkwYjELMAkGA1UEBhMCWkExJTAjBgNVBAoTHFRoYXd0ZSBDb25zdWx0aW5nIChQdHkpIEx0
ZC4xLDAqBgNVBAMTI1RoYXd0ZSBQZXJzb25hbCBGcmVlbWFpbCBJc3N1aW5nIENBAgMMZPEw
CQYFKw4DAhoFAKCCAacwGAYJKoZIhvcNAQkDMQsGCSqGSIb3DQEHATAcBgkqhkiG9w0BCQUx
DxcNMDUwMTE3MjIyODU4WjAjBgkqhkiG9w0BCQQxFgQUvwUb2KE8MZqAbYqFxCwvfdn10asw
UgYJKoZIhvcNAQkPMUUwQzAKBggqhkiG9w0DBzAOBggqhkiG9w0DAgICAIAwDQYIKoZIhvcN
AwICAUAwBwYFKw4DAgcwDQYIKoZIhvcNAwICASgweAYJKwYBBAGCNxAEMWswaTBiMQswCQYD
VQQGEwJaQTElMCMGA1UEChMcVGhhd3RlIENvbnN1bHRpbmcgKFB0eSkgTHRkLjEsMCoGA1UE
AxMjVGhhd3RlIFBlcnNvbmFsIEZyZWVtYWlsIElzc3VpbmcgQ0ECAwxk8TB6BgsqhkiG9w0B
CRACCzFroGkwYjELMAkGA1UEBhMCWkExJTAjBgNVBAoTHFRoYXd0ZSBDb25zdWx0aW5nIChQ
dHkpIEx0ZC4xLDAqBgNVBAMTI1RoYXd0ZSBQZXJzb25hbCBGcmVlbWFpbCBJc3N1aW5nIENB
AgMMZPEwDQYJKoZIhvcNAQEBBQAEggEACTuZ/8meOGw7tTv18kNWTx8/BmIMPHrjczv19wmD
WL5+FcUJit5GBewCgeIBJJZXbfS77HeNnl3hNAObNzoFaiJdHROyk9Dae4r4U6tJyry2mvJ/
v4f5K5lND9x0Z2Zy3ZTcMsdIdQaoBHvc0WKzCnPI9KQtyJgcRWbU6g4DV8mShYXyyMymy6V6
DhO9LITenUfXaRk+ZGq8sbB0+u/Oq3CxzZL+iVs9rGjBA4LRVuW8t0XHltgTmLYIHixQM+yQ
awd1HGIYyC6LvJljgRG/YJvaxK/fs1XKZ5add1NhXpwPILs28+BKqNTWIpFtGt+iziW19ulG
HcN+5BjXRBuelAAAAAAAAA==
--------------ms040603050702080103070509--


From owner-ietf-sasl Mon Jan 17 14:23:06 2005
Received: from above.proper.com (localhost.vpnc.org [127.0.0.1])
	by above.proper.com (8.12.11/8.12.9) with ESMTP id j0HMN6Og013921;
	Mon, 17 Jan 2005 14:23:06 -0800 (PST)
	(envelope-from owner-ietf-sasl@mail.imc.org)
Received: (from majordom@localhost)
	by above.proper.com (8.12.11/8.12.9/Submit) id j0HMN6uR013920;
	Mon, 17 Jan 2005 14:23:06 -0800 (PST)
X-Authentication-Warning: above.proper.com: majordom set sender to owner-ietf-sasl@mail.imc.org using -f
Received: from minbar.fac.cs.cmu.edu (MINBAR.FAC.CS.CMU.EDU [128.2.185.161])
	by above.proper.com (8.12.11/8.12.9) with SMTP id j0HMN0No013907
	for <ietf-sasl@imc.org>; Mon, 17 Jan 2005 14:23:00 -0800 (PST)
	(envelope-from jhutz@cmu.edu)
Received: from minbar.fac.cs.cmu.edu ([127.0.0.1]) by minbar.fac.cs.cmu.edu
          id aa04555; 17 Jan 2005 17:22 EST
Date: Mon, 17 Jan 2005 17:22:44 -0500
From: Jeffrey Hutzelman <jhutz@cmu.edu>
To: Sam Hartman <hartmans-ietf@mit.edu>,
        "Kurt D. Zeilenga" <Kurt@OpenLDAP.org>
cc: Simon Josefsson <jas@extundo.com>, ietf-sasl@imc.org
Subject: Re: Implementing SASL PLAIN servers
Message-ID: <16490000.1106000564@minbar.fac.cs.cmu.edu>
In-Reply-To: <tslbrboxcjf.fsf@cz.mit.edu>
References: <iluvfbcm89h.fsf@latte.josefsson.org>
 	<6.1.2.0.0.20041208211630.02f89ef8@127.0.0.1>
 	<iluk6rrl8et.fsf@latte.josefsson.org>
 <tslllat1aov.fsf@cz.mit.edu>
 	<6.2.0.14.0.20050116154825.02878008@mail.openldap.org>
 <tslbrboxcjf.fsf@cz.mit.edu>
X-Mailer: Mulberry/3.0.3 (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, January 17, 2005 11:09:40 -0500 Sam Hartman 
<hartmans-ietf@mit.edu> wrote:

> In particular, I believe it is consistent with the definition of query
> string presented in section 7 to argue that a string pulled out of a
> database is a query string.  If stringprep is used when that string is
> stored in the database, it needs to be a storage string.

I agree with this interpretation.  As I understand it, the theory is that 
you want to prevent the storage into the database of a string containing a 
code point which is unassigned at the time of storage, but which in a later 
version of the profile will map to something other than itself (some other 
codepoint, or multiple code points, or the empty string) or be prohibited 
entirely.

By prohibiting unassigned code points at the time of storage, you protect 
against this problem by guaranteeing that the only mapping applied to any 
code points in the stored string is the one you know about.  And, by 
applying normalization at the same time, you guarantee that no further 
normalization will apply to the stored string, and so even if the later 
comparison is done against a string prepared against an older version of 
the profile, you know that a positive match is definitive because the older 
profile will have identity-mapped any unknown codepoints, which means they 
will match the stored string only if they map to themselves under the newer 
profile used at storage time.  (stringprep profiles are required to have 
the property that applying the transformation multiple times yields the 
same result; achieving this property is possible only if output contains 
only code points which map to themselves).

However, if you start with two unnormalized strings, normalize both of 
them, and then compare the results, you can guarantee that normalization of 
both strings was done with the same version of the profile.  In this case, 
sequences of code points which are unassigned in that version of the 
profile will match only if they are identical in both strings, since again, 
such code points are mapped to themselves.  It is true that it is possible 
to authenticate against a stored password containing a code point which 
will be prohibited in a future version of the profile; however, since we do 
not control the storage process it is beyond our power to prevent such 
passwords from being stored.

Only strings that you are going to store into a database for future use are 
storage strings.  Strings retrieved from a database are not storage 
strings, unless you are then going to store them into some other database 
(or the same one, I suppose).


In any case, it turns out that in SASL PLAIN, and in SSH password, the 
process of password comparison is out of our control.  In virtually all 
cases, the server implementation will perform whatever transformation is 
required by the backend (possibly SASLprep, possibly a noop, possibly 
conversion into some non-Unicode character set), then pass the result to 
some mechanism which does the comparison according to its own rules.  I 
think we should limit ourselves to describing what must happen on the wire 
(no normalization), and recommending behaviour for cases where the 
implementor gets to decide how passwords are handled (use SASLprep, 
prohibit unassigned codepoints when passwords are stored).




-- Jeff


From owner-ietf-sasl Mon Jan 17 14:52:37 2005
Received: from above.proper.com (localhost.vpnc.org [127.0.0.1])
	by above.proper.com (8.12.11/8.12.9) with ESMTP id j0HMqbcr017267;
	Mon, 17 Jan 2005 14:52:37 -0800 (PST)
	(envelope-from owner-ietf-sasl@mail.imc.org)
Received: (from majordom@localhost)
	by above.proper.com (8.12.11/8.12.9/Submit) id j0HMqbSb017266;
	Mon, 17 Jan 2005 14:52:37 -0800 (PST)
X-Authentication-Warning: above.proper.com: majordom set sender to owner-ietf-sasl@mail.imc.org using -f
Received: from yxa.extundo.com (root@178.230.13.217.in-addr.dgcsystems.net [217.13.230.178])
	by above.proper.com (8.12.11/8.12.9) with ESMTP id j0HMqaZe017235
	for <ietf-sasl@imc.org>; Mon, 17 Jan 2005 14:52:36 -0800 (PST)
	(envelope-from jas@extundo.com)
Received: from latte.josefsson.org (c494102a.s-bi.bostream.se [217.215.27.65])
	(authenticated bits=0)
	by yxa.extundo.com (8.13.2/8.13.2/Debian-1) with ESMTP id j0HMqLKH022465
	(version=TLSv1/SSLv3 cipher=DHE-RSA-AES128-SHA bits=128 verify=OK);
	Mon, 17 Jan 2005 23:52:22 +0100
From: Simon Josefsson <jas@extundo.com>
To: Jeffrey Altman <jaltman@columbia.edu>
Cc: ietf-sasl@imc.org
Subject: Re: Implementing SASL PLAIN servers
References: <iluvfbcm89h.fsf@latte.josefsson.org>
	<6.1.2.0.0.20041208211630.02f89ef8@127.0.0.1>
	<iluk6rrl8et.fsf@latte.josefsson.org> <tslllat1aov.fsf@cz.mit.edu>
	<6.2.0.14.0.20050116154825.02878008@mail.openldap.org>
	<ilumzv7lrzd.fsf@latte.josefsson.org> <41EC3C2A.8020402@columbia.edu>
OpenPGP: id=B565716F; url=http://josefsson.org/key.txt
X-Hashcash: 1:21:050117:jaltman@columbia.edu::VVvsckIMMixXWdzG:1tkQ
X-Hashcash: 1:21:050117:ietf-sasl@imc.org::8hKFVoCp608HmM+I:BoUL
Date: Mon, 17 Jan 2005 23:52:10 +0100
In-Reply-To: <41EC3C2A.8020402@columbia.edu> (Jeffrey Altman's message of
	"Mon, 17 Jan 2005 17:28:58 -0500")
Message-ID: <iluekgjlld1.fsf@latte.josefsson.org>
User-Agent: Gnus/5.110003 (No Gnus v0.3) Emacs/21.3.50 (gnu/linux)
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
X-Spam-Status: No, hits=0.0 required=5.0 tests=none autolearn=no version=2.64
X-Spam-Checker-Version: SpamAssassin 2.64 (2004-01-11) on yxa-iv
X-Virus-Scanned: ClamAV 0.80/664/Thu Jan 13 16:13:05 2005
	clamav-milter version 0.80j
	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 Altman <jaltman@columbia.edu> writes:

> The only time a string is a "storage string" is when a string is being
> written to a database.

Or a digitally signed structure.

I agree with your general points, however, one small comment:

> If you are going to consider things which are read from databases as
> "storage strings', then almost every string in the protocol becomes
> a "storage string" and you get yourself into a lot of trouble.  This
> is because a "Kerberos ticket", an "X.509 cert", a "Kerberos
> keytab", etc. are all databases.  Some are used by the client as a
> source of strings sent to the server; or vice versa.

I'm not sure it is a good idea to put strings with unassigned code
points inside the authenticated parts of a Kerberos ticket.  On the
other hand, I thought Kerberos principal names were restricted to
ASCII currently, so this shouldn't be a problem yet.

There is some normative text in StringPrep about this:

   Due to the way that versioning is handled in this section, stored
   strings that are embedded in structures that cannot be changed (such
   as the signed parts of digital certificates) MUST NOT contain any
   unassigned code points.

But again the use of the terminology make things confusing.  What if
you are putting a query string into a structure that cannot be
changed?  Should that be OK?

I think the StringPrep terminology was not well chosen; at least it
doesn't contribute to clarity or lean itself to simple decisions for
how to classify strings.

Perhaps it would help to avoid thinking about query vs stored.
Instead, one could focus on when unassigned code points would be
harmless vs harmful.

Thanks,
Simon


From owner-ietf-sasl Mon Jan 17 16:01:54 2005
Received: from above.proper.com (localhost.vpnc.org [127.0.0.1])
	by above.proper.com (8.12.11/8.12.9) with ESMTP id j0I01sFa041480;
	Mon, 17 Jan 2005 16:01:54 -0800 (PST)
	(envelope-from owner-ietf-sasl@mail.imc.org)
Received: (from majordom@localhost)
	by above.proper.com (8.12.11/8.12.9/Submit) id j0I01s8c041479;
	Mon, 17 Jan 2005 16:01:54 -0800 (PST)
X-Authentication-Warning: above.proper.com: majordom set sender to owner-ietf-sasl@mail.imc.org using -f
Received: from cz.mit.edu (STRATTON-FOUR-FORTY-TWO.MIT.EDU [18.187.6.187])
	by above.proper.com (8.12.11/8.12.9) with ESMTP id j0I01j8n041470
	for <ietf-sasl@imc.org>; Mon, 17 Jan 2005 16:01:45 -0800 (PST)
	(envelope-from hartmans@mit.edu)
Received: by cz.mit.edu (Postfix, from userid 8042)
	id BFBCDE0063; Mon, 17 Jan 2005 19:01:41 -0500 (EST)
To: Simon Josefsson <jas@extundo.com>
Cc: Jeffrey Altman <jaltman@columbia.edu>, ietf-sasl@imc.org
Subject: Re: Implementing SASL PLAIN servers
References: <iluvfbcm89h.fsf@latte.josefsson.org>
	<6.1.2.0.0.20041208211630.02f89ef8@127.0.0.1>
	<iluk6rrl8et.fsf@latte.josefsson.org> <tslllat1aov.fsf@cz.mit.edu>
	<6.2.0.14.0.20050116154825.02878008@mail.openldap.org>
	<ilumzv7lrzd.fsf@latte.josefsson.org> <41EC3C2A.8020402@columbia.edu>
	<iluekgjlld1.fsf@latte.josefsson.org>
From: Sam Hartman <hartmans-ietf@mit.edu>
Date: Mon, 17 Jan 2005 19:01:41 -0500
In-Reply-To: <iluekgjlld1.fsf@latte.josefsson.org> (Simon Josefsson's
 message of "Mon, 17 Jan 2005 23:52:10 +0100")
Message-ID: <tsl7jmbmwpm.fsf@cz.mit.edu>
User-Agent: Gnus/5.1006 (Gnus v5.10.6) Emacs/21.3 (gnu/linux)
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
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>


>>>>> "Simon" == Simon Josefsson <jas@extundo.com> writes:

    Simon> I agree with your general points, however, one small
    Simon> comment:

    >> If you are going to consider things which are read from
    >> databases as "storage strings', then almost every string in the
    >> protocol becomes a "storage string" and you get yourself into a
    >> lot of trouble.  This is because a "Kerberos ticket", an "X.509
    >> cert", a "Kerberos keytab", etc. are all databases.  Some are
    >> used by the client as a source of strings sent to the server;
    >> or vice versa.

    Simon> I'm not sure it is a good idea to put strings with
    Simon> unassigned code points inside the authenticated parts of a
    Simon> Kerberos ticket.  On the other hand, I thought Kerberos
    Simon> principal names were restricted to ASCII currently, so this
    Simon> shouldn't be a problem yet.

This really belongs on another list.  However for names in the
encrypted part of a ticket, these names should be storage strings of
the administration protocol used to create the account.  At that point
you do the unassigned codepoint check.

--Sam


From owner-ietf-sasl Mon Jan 17 19:16:02 2005
Received: from above.proper.com (localhost.vpnc.org [127.0.0.1])
	by above.proper.com (8.12.11/8.12.9) with ESMTP id j0I3G2uY014709;
	Mon, 17 Jan 2005 19:16:02 -0800 (PST)
	(envelope-from owner-ietf-sasl@mail.imc.org)
Received: (from majordom@localhost)
	by above.proper.com (8.12.11/8.12.9/Submit) id j0I3G2dA014708;
	Mon, 17 Jan 2005 19:16:02 -0800 (PST)
X-Authentication-Warning: above.proper.com: majordom set sender to owner-ietf-sasl@mail.imc.org using -f
Received: from boole.openldap.org (root@boole.openldap.org [204.152.186.50])
	by above.proper.com (8.12.11/8.12.9) with ESMTP id j0I3G15b014702
	for <ietf-sasl@imc.org>; Mon, 17 Jan 2005 19:16:01 -0800 (PST)
	(envelope-from Kurt@OpenLDAP.org)
Received: from gypsy.OpenLDAP.org (24-205-218-53.cs-cres.charterpipeline.net [24.205.218.53])
	(authenticated bits=0)
	by boole.openldap.org (8.13.1/8.13.1) with ESMTP id j0I3FtpA050096
	(version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO);
	Tue, 18 Jan 2005 03:15:56 GMT
	(envelope-from Kurt@OpenLDAP.org)
Message-Id: <6.2.0.14.0.20050117191025.02d54d58@mail.openldap.org>
X-Mailer: QUALCOMM Windows Eudora Version 6.2.0.14
Date: Mon, 17 Jan 2005 19:15:25 -0800
To: Jeffrey Altman <jaltman@columbia.edu>
From: "Kurt D. Zeilenga" <Kurt@OpenLDAP.org>
Subject: Re: Implementing SASL PLAIN servers
Cc: ietf-sasl@imc.org
In-Reply-To: <41EC3C2A.8020402@columbia.edu>
References: <iluvfbcm89h.fsf@latte.josefsson.org>
 <6.1.2.0.0.20041208211630.02f89ef8@127.0.0.1>
 <iluk6rrl8et.fsf@latte.josefsson.org>
 <tslllat1aov.fsf@cz.mit.edu>
 <6.2.0.14.0.20050116154825.02878008@mail.openldap.org>
 <ilumzv7lrzd.fsf@latte.josefsson.org>
 <41EC3C2A.8020402@columbia.edu>
Mime-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
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 02:28 PM 1/17/2005, Jeffrey Altman wrote:
>Simon Josefsson wrote:
>>The problem is the circular use of the terms "query strings" and
>>"stored strings".  If you consider strings pulled from a databases as
>>"stored", then you implement it your way, if you consider strings
>>pulled from a database as query strings ("queries" into the PLAIN
>>authorization algorithm), you will implement Sam's way.  Neither
>>implementation would appear to violate the above text.
>
>I realize I have not been paying as much attention to this discussion
>as I should be.  I apologize for the delay.
>
>When Jeff Hutzelman and I were analyzing the Kerberos protocol to determine which category each string falls into,

If by category, you mean "storage" and "query", that's a mistake in
my opinion.  You should determine which of the two strings involved
in the comparison should be allowed to contain unassigned code
points.  That is, don't get wrapped about the terms "storage"
and "query".  They might as well have been called Foo and Bar
strings.  What's important is not both strings involved in the
comparison not be allowed to contain unassigned code points.

>In fact, you can
>even have two "query strings" from different sources compared with one
>another. 

Then maybe it makes sense to disallow unassigned code points in
both.

Kurt 


From owner-ietf-sasl Mon Jan 17 19:27:43 2005
Received: from above.proper.com (localhost.vpnc.org [127.0.0.1])
	by above.proper.com (8.12.11/8.12.9) with ESMTP id j0I3RgfV016487;
	Mon, 17 Jan 2005 19:27:42 -0800 (PST)
	(envelope-from owner-ietf-sasl@mail.imc.org)
Received: (from majordom@localhost)
	by above.proper.com (8.12.11/8.12.9/Submit) id j0I3Rg4o016483;
	Mon, 17 Jan 2005 19:27:42 -0800 (PST)
X-Authentication-Warning: above.proper.com: majordom set sender to owner-ietf-sasl@mail.imc.org using -f
Received: from boole.openldap.org (root@boole.openldap.org [204.152.186.50])
	by above.proper.com (8.12.11/8.12.9) with ESMTP id j0I3RXqX016319
	for <ietf-sasl@imc.org>; Mon, 17 Jan 2005 19:27:33 -0800 (PST)
	(envelope-from Kurt@OpenLDAP.org)
Received: from gypsy.OpenLDAP.org (24-205-218-53.cs-cres.charterpipeline.net [24.205.218.53])
	(authenticated bits=0)
	by boole.openldap.org (8.13.1/8.13.1) with ESMTP id j0I3ON1A050446
	(version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO);
	Tue, 18 Jan 2005 03:24:23 GMT
	(envelope-from Kurt@OpenLDAP.org)
Message-Id: <6.2.0.14.0.20050117191742.02d08e40@mail.openldap.org>
X-Mailer: QUALCOMM Windows Eudora Version 6.2.0.14
Date: Mon, 17 Jan 2005 19:23:52 -0800
To: Jeffrey Hutzelman <jhutz@cmu.edu>
From: "Kurt D. Zeilenga" <Kurt@OpenLDAP.org>
Subject: Re: Implementing SASL PLAIN servers
Cc: Sam Hartman <hartmans-ietf@mit.edu>, Simon Josefsson <jas@extundo.com>,
        ietf-sasl@imc.org
In-Reply-To: <16490000.1106000564@minbar.fac.cs.cmu.edu>
References: <iluvfbcm89h.fsf@latte.josefsson.org>
 <6.1.2.0.0.20041208211630.02f89ef8@127.0.0.1>
 <iluk6rrl8et.fsf@latte.josefsson.org>
 <tslllat1aov.fsf@cz.mit.edu>
 <6.2.0.14.0.20050116154825.02878008@mail.openldap.org>
 <tslbrboxcjf.fsf@cz.mit.edu>
 <16490000.1106000564@minbar.fac.cs.cmu.edu>
Mime-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
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 02:22 PM 1/17/2005, Jeffrey Hutzelman wrote:
>I think we should limit ourselves to describing what must happen on the wire (no normalization), and recommending behaviour for cases where the implementor gets to decide how passwords are handled (use SASLprep, prohibit unassigned codepoints when passwords are stored). 

So, you appear to concur with the proposed (see archives, ~
9-Dec-04) "SHOULD use SASLprep" behavior.   As I noted to Sam,
I intend to update the I-D to this end soon.

Kurt


From owner-ietf-sasl Mon Jan 17 19:32:54 2005
Received: from above.proper.com (localhost.vpnc.org [127.0.0.1])
	by above.proper.com (8.12.11/8.12.9) with ESMTP id j0I3WssC016851;
	Mon, 17 Jan 2005 19:32:54 -0800 (PST)
	(envelope-from owner-ietf-sasl@mail.imc.org)
Received: (from majordom@localhost)
	by above.proper.com (8.12.11/8.12.9/Submit) id j0I3WsBU016850;
	Mon, 17 Jan 2005 19:32:54 -0800 (PST)
X-Authentication-Warning: above.proper.com: majordom set sender to owner-ietf-sasl@mail.imc.org using -f
Received: from boole.openldap.org (root@boole.openldap.org [204.152.186.50])
	by above.proper.com (8.12.11/8.12.9) with ESMTP id j0I3Wsm6016844
	for <ietf-sasl@imc.org>; Mon, 17 Jan 2005 19:32:54 -0800 (PST)
	(envelope-from Kurt@OpenLDAP.org)
Received: from gypsy.OpenLDAP.org (24-205-218-53.cs-cres.charterpipeline.net [24.205.218.53])
	(authenticated bits=0)
	by boole.openldap.org (8.13.1/8.13.1) with ESMTP id j0I3TfTS050699
	(version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO);
	Tue, 18 Jan 2005 03:32:51 GMT
	(envelope-from Kurt@OpenLDAP.org)
Message-Id: <6.2.0.14.0.20050117192517.02cced10@mail.openldap.org>
X-Mailer: QUALCOMM Windows Eudora Version 6.2.0.14
Date: Mon, 17 Jan 2005 19:29:11 -0800
To: Simon Josefsson <jas@extundo.com>
From: "Kurt D. Zeilenga" <Kurt@OpenLDAP.org>
Subject: Re: Implementing SASL PLAIN servers
Cc: Jeffrey Altman <jaltman@columbia.edu>, ietf-sasl@imc.org
In-Reply-To: <iluekgjlld1.fsf@latte.josefsson.org>
References: <iluvfbcm89h.fsf@latte.josefsson.org>
 <6.1.2.0.0.20041208211630.02f89ef8@127.0.0.1>
 <iluk6rrl8et.fsf@latte.josefsson.org>
 <tslllat1aov.fsf@cz.mit.edu>
 <6.2.0.14.0.20050116154825.02878008@mail.openldap.org>
 <ilumzv7lrzd.fsf@latte.josefsson.org>
 <41EC3C2A.8020402@columbia.edu>
 <iluekgjlld1.fsf@latte.josefsson.org>
Mime-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
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 02:52 PM 1/17/2005, Simon Josefsson wrote:
>Perhaps it would help to avoid thinking about query vs stored.
>Instead, one could focus on when unassigned code points would be
>harmless vs harmful. 

Precisely.  In PLAIN, when SASLprep is used, the presented
strings may contain unassigned code points and the (stored)
strings they are compared against cannot.

If SASLprep is not being used, the implementor should still
avoid allowing unassigned code points from appearing in both
strings involved in a comparison... possibly by disallowing
unassigned code points in the presented string.

Kurt 


From owner-ietf-sasl Tue Jan 18 00:08:20 2005
Received: from above.proper.com (localhost.vpnc.org [127.0.0.1])
	by above.proper.com (8.12.11/8.12.9) with ESMTP id j0I88JW2075494;
	Tue, 18 Jan 2005 00:08:19 -0800 (PST)
	(envelope-from owner-ietf-sasl@mail.imc.org)
Received: (from majordom@localhost)
	by above.proper.com (8.12.11/8.12.9/Submit) id j0I88J62075493;
	Tue, 18 Jan 2005 00:08:19 -0800 (PST)
X-Authentication-Warning: above.proper.com: majordom set sender to owner-ietf-sasl@mail.imc.org using -f
Received: from yxa.extundo.com (root@178.230.13.217.in-addr.dgcsystems.net [217.13.230.178])
	by above.proper.com (8.12.11/8.12.9) with ESMTP id j0I88FpR075418
	for <ietf-sasl@imc.org>; Tue, 18 Jan 2005 00:08:19 -0800 (PST)
	(envelope-from jas@extundo.com)
Received: from latte.josefsson.org (c494102a.s-bi.bostream.se [217.215.27.65])
	(authenticated bits=0)
	by yxa.extundo.com (8.13.2/8.13.2/Debian-1) with ESMTP id j0I880fs018140
	(version=TLSv1/SSLv3 cipher=DHE-RSA-AES128-SHA bits=128 verify=OK);
	Tue, 18 Jan 2005 09:08:01 +0100
From: Simon Josefsson <jas@extundo.com>
To: Sam Hartman <hartmans-ietf@mit.edu>
Cc: Jeffrey Altman <jaltman@columbia.edu>, ietf-sasl@imc.org
Subject: Re: Implementing SASL PLAIN servers
References: <iluvfbcm89h.fsf@latte.josefsson.org>
	<6.1.2.0.0.20041208211630.02f89ef8@127.0.0.1>
	<iluk6rrl8et.fsf@latte.josefsson.org> <tslllat1aov.fsf@cz.mit.edu>
	<6.2.0.14.0.20050116154825.02878008@mail.openldap.org>
	<ilumzv7lrzd.fsf@latte.josefsson.org> <41EC3C2A.8020402@columbia.edu>
	<iluekgjlld1.fsf@latte.josefsson.org> <tsl7jmbmwpm.fsf@cz.mit.edu>
OpenPGP: id=B565716F; url=http://josefsson.org/key.txt
X-Hashcash: 1:21:050118:jaltman@columbia.edu::Je7eYNFbEY4rkHwz:18tR
X-Hashcash: 1:21:050118:ietf-sasl@imc.org::s0HtfSln0QI+0zHK:DPfL
X-Hashcash: 1:21:050118:hartmans-ietf@mit.edu::rarC/WdTLP/Peg/0:Jk82
Date: Tue, 18 Jan 2005 09:07:49 +0100
In-Reply-To: <tsl7jmbmwpm.fsf@cz.mit.edu> (Sam Hartman's message of "Mon, 17
	Jan 2005 19:01:41 -0500")
Message-ID: <ilu3bwzkvmy.fsf@latte.josefsson.org>
User-Agent: Gnus/5.110003 (No Gnus v0.3) Emacs/21.3.50 (gnu/linux)
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
X-Spam-Status: No, hits=0.0 required=5.0 tests=none autolearn=no version=2.64
X-Spam-Checker-Version: SpamAssassin 2.64 (2004-01-11) on yxa-iv
X-Virus-Scanned: ClamAV 0.80/664/Thu Jan 13 16:13:05 2005
	clamav-milter version 0.80j
	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>


Sam Hartman <hartmans-ietf@mit.edu> writes:

>     Simon> I'm not sure it is a good idea to put strings with
>     Simon> unassigned code points inside the authenticated parts of a
>     Simon> Kerberos ticket.  On the other hand, I thought Kerberos
>     Simon> principal names were restricted to ASCII currently, so this
>     Simon> shouldn't be a problem yet.
>
> This really belongs on another list.  However for names in the
> encrypted part of a ticket, these names should be storage strings of
> the administration protocol used to create the account.  At that point
> you do the unassigned codepoint check.

It seems the situation is similar to the SASL PLAIN situation.

The strings in the database might not have been processed by SASLprep.
That's partly because there is no standardized admin protocol that
suggest SASLprep.  So whether the database contain prepared or
unprepared strings is an implementation choice.

Unless a specific database model is assumed by SASL PLAIN or Kerberos,
those specifications has to discuss how strings pulled out of the
database should be prepared, if at all.  For SASL PLAIN I think either
choice (i.e., permit or forbid unassigned code points) are reasonable,
but for Kerberos, where the string may eventually end up in an
authenticated structure, I'm not as sure.

Regards,
Simon


From owner-ietf-sasl Fri Jan 21 12:57:15 2005
Received: from above.proper.com (localhost.vpnc.org [127.0.0.1])
	by above.proper.com (8.12.11/8.12.9) with ESMTP id j0LKvF4U055557;
	Fri, 21 Jan 2005 12:57:15 -0800 (PST)
	(envelope-from owner-ietf-sasl@mail.imc.org)
Received: (from majordom@localhost)
	by above.proper.com (8.12.11/8.12.9/Submit) id j0LKvFuX055556;
	Fri, 21 Jan 2005 12:57:15 -0800 (PST)
X-Authentication-Warning: above.proper.com: majordom set sender to owner-ietf-sasl@mail.imc.org using -f
Received: from ietf.org (odin.ietf.org [132.151.1.176])
	by above.proper.com (8.12.11/8.12.9) with ESMTP id j0LKvEd5055550
	for <ietf-sasl@imc.org>; Fri, 21 Jan 2005 12:57:14 -0800 (PST)
	(envelope-from dinaras@cnri.reston.va.us)
Received: from CNRI.Reston.VA.US (localhost [127.0.0.1])
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id PAA18578;
	Fri, 21 Jan 2005 15:57:12 -0500 (EST)
Message-Id: <200501212057.PAA18578@ietf.org>
Mime-Version: 1.0
Content-Type: Multipart/Mixed; Boundary="NextPart"
To: i-d-announce@ietf.org
Cc: ietf-sasl@imc.org
From: Internet-Drafts@ietf.org
Subject: I-D ACTION:draft-ietf-sasl-plain-06.txt
Date: Fri, 21 Jan 2005 15:57:11 -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 Plain SASL Mechanism
	Author(s)	: K. Zeilenga
	Filename	: draft-ietf-sasl-plain-06.txt
	Pages		: 10
	Date		: 2005-1-21
	
This document defines a simple clear-text user/password Simple
Authentication and Security Layer (SASL) mechanism called the PLAIN
mechanism.  The PLAIN mechanism intended to be used, in combination
with data confidentiality services provided by a lower layer, in
protocols which lack a simple password authentication command.

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

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


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

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


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

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

--NextPart
Content-Type: Multipart/Alternative; Boundary="OtherAccess"

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

Content-Type: text/plain
Content-ID:	<2005-1-21162823.I-D@ietf.org>

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

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

Content-Type: text/plain
Content-ID:	<2005-1-21162823.I-D@ietf.org>

--OtherAccess--

--NextPart--



From owner-ietf-sasl Sun Jan  2 21:11:09 2005
Received: from above.proper.com (localhost.vpnc.org [127.0.0.1])
	by above.proper.com (8.12.11/8.12.9) with ESMTP id j035B9u6028972;
	Sun, 2 Jan 2005 21:11:09 -0800 (PST)
	(envelope-from owner-ietf-sasl@mail.imc.org)
Received: (from majordom@localhost)
	by above.proper.com (8.12.11/8.12.9/Submit) id j035B9lH028967;
	Sun, 2 Jan 2005 21:11:09 -0800 (PST)
X-Authentication-Warning: above.proper.com: majordom set sender to owner-ietf-sasl@mail.imc.org using -f
Received: from aragorn.bbn.com (aragorn.bbn.com [128.33.0.62])
	by above.proper.com (8.12.11/8.12.9) with ESMTP id j035B5pY028813;
	Sun, 2 Jan 2005 21:11:05 -0800 (PST)
	(envelope-from kseo@bbn.com)
Received: from [128.89.89.115] (dhcp89-089-115.bbn.com [128.89.89.115])
	by aragorn.bbn.com (8.12.7/8.12.7) with ESMTP id j0359wjf003765;
	Mon, 3 Jan 2005 00:09:58 -0500 (EST)
Mime-Version: 1.0
X-Sender: kseo@po2.bbn.com
Message-Id: <p061005d3bdf24f5d9a23@[128.89.89.115]>
Date: Mon, 3 Jan 2005 00:13:09 -0500
To: ietf-enroll@mit.edu, inch@nic.surfnet.nl, ipsec@ietf.org,
        ipseckey@ietf.org, ipsec-policy@vpnc.org, isms@ietf.org,
        kitten@lists.ietf.org, ietf-kink@vpnc.org, ietf-krb-wg@anl.gov,
        ietf-ltans@imc.org, mobike@machshav.com, msec@securemulticast.org,
        ietf-openpgp@imc.org, pki4ipsec@icsalabs.com, ietf-pkix@imc.org,
        ietf-sacred@imc.org, ietf-sasl@imc.org, ietf-ssh@netbsd.org,
        ietf-smime@imc.org, authtime@nist.gov, syslog-sec@employees.org,
        ietf-tls@lists.certicom.com
From: Karen Seo <kseo@bbn.com>
Subject: 2005 Network and Distributed System Security Symposium (NDSS '05)
Cc: kseo@bbn.com
Content-Type: multipart/alternative; boundary="============_-1107393303==_ma============"
X-Scanned-By: MIMEDefang 2.28 (www . roaringpenguin . com / mimedefang)
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>


--============_-1107393303==_ma============
Content-Type: text/plain; charset="us-ascii" ; format="flowed"

   ** My apologies if you receive multiple copies of this message. **

                ANNOUNCING THE INTERNET SOCIETY'S
2005 NETWORK AND DISTRIBUTED SYSTEM SECURITY SYMPOSIUM (NDSS'05)

February 2, 2005 - Pre Conference Workshop
February 3-4, 2005 - Symposium
Catamaran Resort Hotel, San Diego, California
General Chair:  Eric Harder, National Security Agency
Program co-Chairs: Dan Simon, Microsoft Research
		   Dan Boneh, Stanford University

ONLINE INFORMATION AND REGISTRATION: http://www.isoc.org/ndss05/

     The 12th annual NDSS Symposium brings together innovative and
     forward thinking members of the Internet community including
     leading edge security researchers and implementers, globally
     recognized security technology experts, and users from both
     the private and public sectors who design, develop, exploit,
     and deploy the technologies that define network and distributed
     system security.

     NDSS'05 provides a balanced mix of technical papers (with a
     strong emphasis on implementation) that cover new and practical
     approaches to security problems that are endemic to network and
     distributed systems. 

THIS YEAR'S TOPICS INCLUDE:
	* Cryptography in Network Security
	* Denial of Service Attacks,
	* Peer to Peer Approaches
	* Internet Defense
	* Intrusion Detection
	* Platform Security.

FEATURED GUEST SPEAKER:
	* Amit Yoran, who was responsible for coordinating cyber-security
           activities for Homeland Security, will speak on "Security
           Challenges and Opportunities of the Future Enterprise"

PRE CONFERENCE WORKSHOP TOPICS INCLUDE:
	* Security in handling mobility on the internet
	* Security in wireless LANs
	* Security for telephony or voice over IP
	* Trust relations in ad hoc networks
	* Key management strategies to support mobility
	* Security in RFID.
      More information is available at:
         http://www.isoc.org/isoc/conferences/ndss/05/workshop.shtml
      Parties interested in submitting papers should see the above
         web page for directions

REGISTER EARLY FOR BEST PRICING
      Registration for NDSS'05 is now open. Student rates are available
      for both the workshop and symposium. See the web site for more
      information -- http://www.isoc.org/ndss05/  Registration fees:
	*  November 31, 2004-January 10, 2005   $625.
	*  After January 10, 2005               $695.

SPONSORSHIP OPPORTUNITIES AVAILABLE!
      If your organization would like to help support NDSS and gain
      visibility through sponsoring, please contact:
      sponsor-ndss@isoc.org.  Information is also available at   
      http://www.isoc.org/ndss05/


Karen Seo
NDSS'05 Publicity Chair
--============_-1107393303==_ma============
Content-Type: text/html; charset="us-ascii"

<!doctype html public "-//W3C//DTD W3 HTML//EN">
<html><head><style type="text/css"><!--
blockquote, dl, ul, ol, li { padding-top: 0 ; padding-bottom: 0 }
 --></style><title>2005 Network and Distributed System Security
Symposium (ND</title></head><body>
<div>&nbsp; ** My apologies if you receive multiple copies of this
message. **</div>
<div><font color="#000000"><br></font></div>
<div><font
color="#000000"
>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span
></span>&nbsp;&nbsp;&nbsp; ANNOUNCING THE INTERNET
SOCIETY'S</font></div>
<div><font color="#000000">2005 NETWORK AND DISTRIBUTED SYSTEM
SECURITY SYMPOSIUM (NDSS'05)</font></div>
<div><font color="#000000"><br>
February 2, 2005 - Pre Conference Workshop<br>
February 3-4, 2005 - Symposium<br>
Catamaran Resort Hotel, San Diego, California</font></div>
<div><font color="#000000">General Chair:&nbsp; Eric Harder, National
Security Agency</font></div>
<div><font color="#000000">Program co-Chairs: Dan Simon, Microsoft
Research</font></div>
<div><font
color="#000000"><x-tab>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
</x-tab><x-tab>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
</x-tab>&nbsp;&nbsp; Dan Boneh, Stanford University</font></div>
<div><font color="#000000"><br>
ONLINE INFORMATION AND REGISTRATION: http://www.isoc.org/ndss05/<br>
<br>
&nbsp;&nbsp;&nbsp; The 12th annual NDSS Symposium brings together
innovative and</font></div>
<div><font color="#000000">&nbsp;&nbsp;&nbsp; forward thinking members
of the Internet community including</font></div>
<div><font color="#000000">&nbsp;&nbsp;&nbsp; leading edge security
researchers and implementers, globally</font></div>
<div><font color="#000000">&nbsp;&nbsp;&nbsp; recognized security
technology experts, and users from both</font></div>
<div><font color="#000000">&nbsp;&nbsp;&nbsp; the private and public
sectors who design, develop, exploit,</font></div>
<div><font color="#000000">&nbsp;&nbsp;&nbsp; and deploy the
technologies that define network and distributed</font></div>
<div><font color="#000000">&nbsp;&nbsp;&nbsp; system
security.</font></div>
<div><font color="#000000"><br>
&nbsp;&nbsp;&nbsp; NDSS'05 provides a balanced mix of technical papers
(with a</font></div>
<div><font color="#000000">&nbsp;&nbsp;&nbsp; strong emphasis on
implementation) that cover new and practical</font></div>
<div><font color="#000000">&nbsp;&nbsp;&nbsp; approaches to security
problems that are endemic to network and</font></div>
<div><font color="#000000">&nbsp;&nbsp;&nbsp; distributed
systems.&nbsp;</font></div>
<div><font color="#000000"><br>
THIS YEAR'S TOPICS INCLUDE:<br>
<x-tab>&nbsp;&nbsp;&nbsp;&nbsp; </x-tab>* Cryptography in Network
Security<br>
<x-tab>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </x-tab>* Denial of Service
Attacks,<br>
<x-tab>&nbsp;&nbsp;&nbsp; </x-tab>* Peer to Peer Approaches<br>
<x-tab>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </x-tab>* Internet
Defense<br>
<x-tab>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </x-tab>* Intrusion
Detection<br>
<x-tab>&nbsp;&nbsp; </x-tab>* Platform Security.</font><br>
</div>
<div>FEATURED GUEST SPEAKER:</div>
<div><x-tab>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </x-tab>* Amit
Yoran, who was responsible for coordinating cyber-security</div>
<div>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; activities
for Homeland Security, will speak on &quot;Security</div>
<div>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Challenges
and Opportunities of the Future Enterprise&quot;</div>
<div><br>
PRE CONFERENCE WORKSHOP TOPICS INCLUDE:<br>
<x-tab> </x-tab>* Security in handling mobility on the internet</div>
<div><x-tab>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </x-tab>*
Security in wireless LANs<br>
<x-tab>&nbsp;&nbsp;&nbsp;&nbsp; </x-tab>* Security for telephony or
voice over IP<br>
<x-tab>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </x-tab>* Trust relations
in ad hoc networks<br>
<x-tab>&nbsp;&nbsp;&nbsp; </x-tab>* Key management strategies to
support mobility</div>
<div><x-tab>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </x-tab>*
Security in RFID.</div>
<div>&nbsp;&nbsp;&nbsp;&nbsp; More information is available at:</div>
<div>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
http://www.isoc.org/isoc/conferences/ndss/05/workshop.shtml</div>
<div>&nbsp;&nbsp;&nbsp;&nbsp; Parties interested in submitting papers
should see the above</div>
<div>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; web page for
directions</div>
<div><font color="#000000"><br></font></div>
<div><font color="#000000">REGISTER EARLY FOR BEST
PRICING</font></div>
<div><font color="#000000">&nbsp;&nbsp;&nbsp;&nbsp; Registration for
NDSS'05 is now open. Student rates are available</font></div>
<div><font color="#000000">&nbsp;&nbsp;&nbsp;&nbsp; for both the
workshop and symposium. See the web site for more</font></div>
<div><font color="#000000">&nbsp;&nbsp;&nbsp;&nbsp; information
--&nbsp;</font><font
color="#0000FF"><u>http://www.isoc.org/ndss05/</u></font><font
color="#000000">&nbsp; Registration fees:</font></div>
<div><font
color="#000000"><x-tab>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
</x-tab>*&nbsp; November 31, 2004-January 10, 2005&nbsp;&nbsp;
$625.</font></div>
<div><font
color="#000000"><x-tab>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
</x-tab>*&nbsp; After January 10,
2005&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span
></span>&nbsp;&nbsp;&nbsp;&nbsp; $695.</font></div>
<div><font color="#000000"><br>
SPONSORSHIP OPPORTUNITIES AVAILABLE!</font></div>
<div><font color="#000000">&nbsp;&nbsp;&nbsp;&nbsp; If your
organization would like to help support NDSS and gain</font></div>
<div><font color="#000000">&nbsp;&nbsp;&nbsp;&nbsp; visibility through
sponsoring, please contact:</font></div>
<div><font color="#000000">&nbsp;&nbsp;&nbsp;&nbsp;
sponsor-ndss@isoc.org.&nbsp; Information is also available
at&nbsp;&nbsp;&nbsp;</font></div>
<div><font color="#000000">&nbsp;&nbsp;&nbsp;&nbsp;
http://www.isoc.org/ndss05/</font></div>
<div><br></div>
<div><br></div>
<div>Karen Seo</div>
<div>NDSS'05 Publicity Chair</div>
</body>
</html>
--============_-1107393303==_ma============--


From owner-ietf-sasl Mon Jan  3 11:19:49 2005
Received: from above.proper.com (localhost.vpnc.org [127.0.0.1])
	by above.proper.com (8.12.11/8.12.9) with ESMTP id j03JJnMX039909;
	Mon, 3 Jan 2005 11:19:49 -0800 (PST)
	(envelope-from owner-ietf-sasl@mail.imc.org)
Received: (from majordom@localhost)
	by above.proper.com (8.12.11/8.12.9/Submit) id j03JJnLY039908;
	Mon, 3 Jan 2005 11:19:49 -0800 (PST)
X-Authentication-Warning: above.proper.com: majordom set sender to owner-ietf-sasl@mail.imc.org using -f
Received: from cz.mit.edu (CARTER-ZIMMERMAN.MIT.EDU [18.18.3.197])
	by above.proper.com (8.12.11/8.12.9) with ESMTP id j03JJfox039835
	for <ietf-sasl@imc.org>; Mon, 3 Jan 2005 11:19:42 -0800 (PST)
	(envelope-from hartmans@mit.edu)
Received: by cz.mit.edu (Postfix, from userid 8042)
	id F0817E0063; Mon,  3 Jan 2005 14:20:45 -0500 (EST)
To: "Paul Leach" <paulle@windows.microsoft.com>
Cc: "Simon Josefsson" <jas@extundo.com>, <ietf-sasl@imc.org>
Subject: Re: Some DIGEST-MD5 nits
References: <91D7F2CEE3425A4A9D11311D09FCE2460C5B225A@WIN-MSG-10.wingroup.windeploy.ntdev.microsoft.com>
From: Sam Hartman <hartmans-ietf@mit.edu>
Date: Mon, 03 Jan 2005 14:20:45 -0500
In-Reply-To: <91D7F2CEE3425A4A9D11311D09FCE2460C5B225A@WIN-MSG-10.wingroup.windeploy.ntdev.microsoft.com> (Paul
 Leach's message of "Mon, 20 Dec 2004 11:26:56 -0800")
Message-ID: <tslekh2wc8i.fsf@cz.mit.edu>
User-Agent: Gnus/5.1006 (Gnus v5.10.6) Emacs/21.3 (gnu/linux)
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
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>


>>>>> "Paul" == Paul Leach <paulle@windows.microsoft.com> writes:

    >> -----Original Message----- From: owner-ietf-sasl@mail.imc.org
    Paul> [mailto:owner-ietf-sasl@mail.imc.org]
    >> On Behalf Of Simon Josefsson Sent: Sunday, December 19, 2004
    >> 7:09 PM To: ietf-sasl@imc.org Subject: Re: Some DIGEST-MD5 nits
    >> 
    >> 
    >> A few additional notes:
    >> 
    >> I suggest making AES the mandatory to implement cipher.
    >> Currently, there is no reference for rc4 in the document, there
    >> are papers on weaknesses (such as Wagner's [1]), and there is
    >> no discussion in the current document how to deal with Shamir's
    >> findings (see [2]).
    Paul> [Paul Leach] I would suggest that either RC4 be deprecated,
    Paul> or that a new RC4-based cipher specifier be added that
    Paul> discards the first 256 bytes of the RNG. If the latter is
    Paul> the choice, security considerations should be added
    Paul> referencing the above, and noting that discarding 256 bytes
    Paul> handles the problems.

I'm having a hard time seeing the need for this.  It seems like the
current keys are the result of hashing and I don't understand how you
would get a related key attack against digest-md5.

Clarification on this would be appreciated.  If I'm right, there's no
need to introduce new types.  If I'm wrong then there is a serious
security problem.

--Sam


From owner-ietf-sasl Mon Jan  3 12:02:19 2005
Received: from above.proper.com (localhost.vpnc.org [127.0.0.1])
	by above.proper.com (8.12.11/8.12.9) with ESMTP id j03K2J9N096984;
	Mon, 3 Jan 2005 12:02:19 -0800 (PST)
	(envelope-from owner-ietf-sasl@mail.imc.org)
Received: (from majordom@localhost)
	by above.proper.com (8.12.11/8.12.9/Submit) id j03K2Juf096983;
	Mon, 3 Jan 2005 12:02:19 -0800 (PST)
X-Authentication-Warning: above.proper.com: majordom set sender to owner-ietf-sasl@mail.imc.org using -f
Received: from mail2.microsoft.com (mail2.microsoft.com [131.107.3.124])
	by above.proper.com (8.12.11/8.12.9) with ESMTP id j03K2B10096435
	for <ietf-sasl@imc.org>; Mon, 3 Jan 2005 12:02:11 -0800 (PST)
	(envelope-from paulle@windows.microsoft.com)
Received: from mailout2.microsoft.com ([157.54.1.120]) by mail2.microsoft.com with Microsoft SMTPSVC(6.0.3790.211);
	 Mon, 3 Jan 2005 12:02:04 -0800
Received: from red-hub-03.redmond.corp.microsoft.com ([157.54.2.25]) by mailout2.microsoft.com with Microsoft SMTPSVC(6.0.3790.211);
	 Mon, 3 Jan 2005 12:02:01 -0800
Received: from win-imc-02.wingroup.windeploy.ntdev.microsoft.com ([157.54.0.84]) by red-hub-03.redmond.corp.microsoft.com with Microsoft SMTPSVC(6.0.3790.1264);
	 Mon, 3 Jan 2005 12:02:03 -0800
Received: from WIN-MSG-10.wingroup.windeploy.ntdev.microsoft.com ([157.54.12.81]) by win-imc-02.wingroup.windeploy.ntdev.microsoft.com with Microsoft SMTPSVC(6.0.3790.1289);
	 Mon, 3 Jan 2005 12:02:03 -0800
X-MimeOLE: Produced By Microsoft Exchange V6.5.7226.0
Content-class: urn:content-classes:message
MIME-Version: 1.0
Content-Type: text/plain;
	charset="us-ascii"
Subject: RE: Some DIGEST-MD5 nits
Date: Mon, 3 Jan 2005 12:02:24 -0800
Message-ID: <91D7F2CEE3425A4A9D11311D09FCE2460C6B4462@WIN-MSG-10.wingroup.windeploy.ntdev.microsoft.com>
X-MS-Has-Attach: 
X-MS-TNEF-Correlator: 
Thread-Topic: Some DIGEST-MD5 nits
Thread-Index: AcTxyTAyMNegDK4NR3eBTfVhgMKVGAABRDYA
From: "Paul Leach" <paulle@windows.microsoft.com>
To: "Sam Hartman" <hartmans-ietf@mit.edu>
Cc: "Simon Josefsson" <jas@extundo.com>, <ietf-sasl@imc.org>
X-OriginalArrivalTime: 03 Jan 2005 20:02:03.0644 (UTC) FILETIME=[1800B3C0:01C4F1CF]
Content-Transfer-Encoding: 8bit
X-MIME-Autoconverted: from quoted-printable to 8bit by above.proper.com id j03K2C10096693
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 misread the RSA Labs response
(http://www.rsasecurity.com/rsalabs/node.asp?id=2009)
to Shamir's paper. I thought it unilaterally recommended discarding the
first 256 bytes of PRNG output. Instead, it recommends that _or_ hashing
with some sort of IV or equivalent, which, as you correctly point out,
is what is already done.

So, you're right that nothing needs to be changed.




From owner-ietf-sasl Sun Jan 16 10:38:32 2005
Received: from above.proper.com (localhost.vpnc.org [127.0.0.1])
	by above.proper.com (8.12.11/8.12.9) with ESMTP id j0GIcWeV089499;
	Sun, 16 Jan 2005 10:38:32 -0800 (PST)
	(envelope-from owner-ietf-sasl@mail.imc.org)
Received: (from majordom@localhost)
	by above.proper.com (8.12.11/8.12.9/Submit) id j0GIcWfM089497;
	Sun, 16 Jan 2005 10:38:32 -0800 (PST)
X-Authentication-Warning: above.proper.com: majordom set sender to owner-ietf-sasl@mail.imc.org using -f
Received: from cz.mit.edu (STRATTON-FOUR-FORTY-TWO.MIT.EDU [18.187.6.187])
	by above.proper.com (8.12.11/8.12.9) with ESMTP id j0GIcQTO089297
	for <ietf-sasl@imc.org>; Sun, 16 Jan 2005 10:38:27 -0800 (PST)
	(envelope-from hartmans@mit.edu)
Received: by cz.mit.edu (Postfix, from userid 8042)
	id 57075E0063; Sun, 16 Jan 2005 13:38:24 -0500 (EST)
To: Simon Josefsson <jas@extundo.com>
Cc: ietf-sasl@imc.org
Subject: Re: Implementing SASL PLAIN servers
References: <iluvfbcm89h.fsf@latte.josefsson.org>
	<6.1.2.0.0.20041208211630.02f89ef8@127.0.0.1>
	<iluk6rrl8et.fsf@latte.josefsson.org>
From: Sam Hartman <hartmans-ietf@mit.edu>
Date: Sun, 16 Jan 2005 13:38:24 -0500
In-Reply-To: <iluk6rrl8et.fsf@latte.josefsson.org> (Simon Josefsson's
 message of "Thu, 09 Dec 2004 17:54:02 +0100")
Message-ID: <tslllat1aov.fsf@cz.mit.edu>
User-Agent: Gnus/5.1006 (Gnus v5.10.6) Emacs/21.3 (gnu/linux)
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
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>


>>>>> "Simon" == Simon Josefsson <jas@extundo.com> writes:

    >>> If the server store unprepared passwords and authentication
    >>> identities ("server strings"), the server prepare these using
    >>> SASLprep, allowing unassigned code points in the output.  The
    >>> server verify the authentication by comparing the prepared
    >>> client strings with the prepared server strings.
    >>  This behavior is counter to the specified behavior of SASLprep
    >> and StringPrep, from Section 7 of RFC 3454.  The goal of the
    >> requirements in this section is to prevent comparisons between
    >> two strings that were both permitted to contain unassigned code
    >> points.  Since we allowing unassigned code points in the
    >> presented strings, we must prohibit them in the stored strings.

    Simon> Unless I misunderstood him, or remember incorrectly, Sam
    Simon> proposed this approach.  I would have implemented it
    Simon> differently -- I would treat the unprepared strings using
    Simon> SASLprep treating the strings as stored strings.  I don't
    Simon> care which option is chosen, only that there is a plan and
    Simon> that the plan is expressed in the document.

First I'm sorry it has taken me so long to respond to this.


Apparently I seem to be the only one who believes that we're doing
something wrong.  Let me explain where I'm coming from and make sure
the group understands my position.  If people still believe that
forbidding unassigned codepoints is wrong, I'll withdraw my objection.

First, the ideal goal is to make sure that at some point when we are
storing a password or username, we forbid unassigned codepoints.  We'd
like that to happen.  If the IETF ever writes change password or
account creation protocols, we can make sure that happens for those
protocols.

However plain does not include a change password or account creation
protocol; the credentials are established out of band.  We explain to
people that they should normalize with saslprep and they should forbid
unassigned codepoints when establishing credentials.

We know about a lot of cases where people won't.  For example the unix
passwd command neither normalizes nor forbids unassigned codepoints.
Windows active directory passwords don't normalize although at least
they have a well defined character set.

If passwords are hashed, there's not really much you can do.  One
thing you can try is to try both the saslpreped and non-saslpreped
version of the string, hash both and see if one works.

My concern comes about when we think about what to do if it happens
you have access to the plaintext credential.  That is, the credential
establishment protocol actually stores the password.

Remember this credential establishment protocol is outside our
control.  I would like to take a look at the case where it neither
normalizes nor forbids unassigned codepoints.

It seems like the easiest thing to do in an implementation of plain
for this situation is to saslprep the two strings (one from user; one
from database) and compare.  My question is what do you do if the
database string contains unassigned codepoints.

If you allow unassigned codepoints you may improve interoperability.
This is true in the case where the codepoints end up being assigned to
normalize to themselves in a future saslprep.

What is the cost of allowing unassigned codepoints in this case.
Well, normally the cost of unassigned codepoints is that you don't
want to store long-term strings that may end up having the wrong
normalization.  However in this instance, that has already happened:
completely outside our control this string has already been placed in
the database.  The only cost I can see is that if some of the
unassigned codepoints end up generating forbidden output in a new
saslprep, upgrading a server to support that new saslprep will cause
passwords that used to work to stop working.  If we forbid unassigned
codepoints then these passwords never would have worked.  In either
case we cannot prevent the password from being established.  

It seems to boil down to two possible attitudes.  Option one (allowing
unassigned codepoints) means that users may be able to log in today
even though a server upgrade may stop the login process from working
in the future.  The second option is that we prevent users from
logging in today in order to guarantee that they will not be surprised
by a future server upgrade.

--Sam


From owner-ietf-sasl Sun Jan 16 10:42:30 2005
Received: from above.proper.com (localhost.vpnc.org [127.0.0.1])
	by above.proper.com (8.12.11/8.12.9) with ESMTP id j0GIgUgL094838;
	Sun, 16 Jan 2005 10:42:30 -0800 (PST)
	(envelope-from owner-ietf-sasl@mail.imc.org)
Received: (from majordom@localhost)
	by above.proper.com (8.12.11/8.12.9/Submit) id j0GIgUTc094829;
	Sun, 16 Jan 2005 10:42:30 -0800 (PST)
X-Authentication-Warning: above.proper.com: majordom set sender to owner-ietf-sasl@mail.imc.org using -f
Received: from cz.mit.edu (STRATTON-FOUR-FORTY-TWO.MIT.EDU [18.187.6.187])
	by above.proper.com (8.12.11/8.12.9) with ESMTP id j0GIgTPR094806
	for <ietf-sasl@imc.org>; Sun, 16 Jan 2005 10:42:30 -0800 (PST)
	(envelope-from hartmans@mit.edu)
Received: by cz.mit.edu (Postfix, from userid 8042)
	id 693C9E0063; Sun, 16 Jan 2005 13:42:31 -0500 (EST)
To: ietf-sasl@imc.org
Subject: Prodding progress on base
From: Sam Hartman <hartmans-ietf@mit.edu>
Message-Id: <20050116184231.693C9E0063@cz.mit.edu>
Date: Sun, 16 Jan 2005 13:42:31 -0500 (EST)
Sender: owner-ietf-sasl@mail.imc.org
Precedence: bulk
List-Archive: <http://www.imc.org/ietf-sasl/mail-archive/>
List-ID: <ietf-sasl.imc.org>
List-Unsubscribe: <mailto:ietf-sasl-request@imc.org?body=unsubscribe>




I think it would be a good idea if we were much closer to sending RFC
2222bis to the IESG by IETF 62.


We should probably try and pick up those discussions.

--Sam


From owner-ietf-sasl Sun Jan 16 11:39:14 2005
Received: from above.proper.com (localhost.vpnc.org [127.0.0.1])
	by above.proper.com (8.12.11/8.12.9) with ESMTP id j0GJdEbc070466;
	Sun, 16 Jan 2005 11:39:14 -0800 (PST)
	(envelope-from owner-ietf-sasl@mail.imc.org)
Received: (from majordom@localhost)
	by above.proper.com (8.12.11/8.12.9/Submit) id j0GJdEZT070465;
	Sun, 16 Jan 2005 11:39:14 -0800 (PST)
X-Authentication-Warning: above.proper.com: majordom set sender to owner-ietf-sasl@mail.imc.org using -f
Received: from yxa.extundo.com (root@178.230.13.217.in-addr.dgcsystems.net [217.13.230.178])
	by above.proper.com (8.12.11/8.12.9) with ESMTP id j0GJdCM7070420
	for <ietf-sasl@imc.org>; Sun, 16 Jan 2005 11:39:13 -0800 (PST)
	(envelope-from jas@extundo.com)
Received: from latte.josefsson.org (c494102a.s-bi.bostream.se [217.215.27.65])
	(authenticated bits=0)
	by yxa.extundo.com (8.13.2/8.13.2/Debian-1) with ESMTP id j0GJdAII009196
	(version=TLSv1/SSLv3 cipher=DHE-RSA-AES128-SHA bits=128 verify=OK);
	Sun, 16 Jan 2005 20:39:11 +0100
From: Simon Josefsson <jas@extundo.com>
To: Sam Hartman <hartmans-ietf@mit.edu>
Cc: ietf-sasl@imc.org
Subject: Re: Implementing SASL PLAIN servers
References: <iluvfbcm89h.fsf@latte.josefsson.org>
	<6.1.2.0.0.20041208211630.02f89ef8@127.0.0.1>
	<iluk6rrl8et.fsf@latte.josefsson.org> <tslllat1aov.fsf@cz.mit.edu>
OpenPGP: id=B565716F; url=http://josefsson.org/key.txt
X-Hashcash: 1:21:050116:hartmans-ietf@mit.edu::2u93maH7pogCX2Po:29i5
X-Hashcash: 1:21:050116:ietf-sasl@imc.org::x5ZRrS2uMspAsQpe:786H
Date: Sun, 16 Jan 2005 20:39:00 +0100
In-Reply-To: <tslllat1aov.fsf@cz.mit.edu> (Sam Hartman's message of "Sun, 16
	Jan 2005 13:38:24 -0500")
Message-ID: <iluacr9p3jf.fsf@latte.josefsson.org>
User-Agent: Gnus/5.110003 (No Gnus v0.3) Emacs/21.3.50 (gnu/linux)
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
X-Spam-Status: No, hits=0.0 required=5.0 tests=none autolearn=no version=2.64
X-Spam-Checker-Version: SpamAssassin 2.64 (2004-01-11) on yxa-iv
X-Virus-Scanned: ClamAV 0.80/664/Thu Jan 13 16:13:05 2005
	clamav-milter version 0.80j
	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>


Sam Hartman <hartmans-ietf@mit.edu> writes:

> Apparently I seem to be the only one who believes that we're doing
> something wrong.  Let me explain where I'm coming from and make sure
> the group understands my position.

Thanks for explaining, I now understand your approach.  While it
appear to go against the spirit of the following paragraph in
StringPrep, I think you make a good case for choosing another
strategy.

   The goal of the requirements in this section is to prevent
   comparisons between two strings that were both permitted to contain
   unassigned code points.  When two strings X and Y are compared and
   string Y was prepared in a way that permits unassigned code points, a
   negative result to the comparison is not definitive; it's possible
   that the strings don't match even though they would match if a more
   recent version of the profile were used for Y.  However, if both X
   and Y were prepared in a way that permits unassigned code points,
   something worse can happen: even a positive result for the comparison
   is not definitive.  It is possible that the strings do match even
   though they would not match if a more recent version of the profile
   were used (one that prohibits a code point appearing in both X and
   Y).

> If people still believe that forbidding unassigned codepoints is
> wrong, I'll withdraw my objection.

I didn't follow this.  Was the logic reversed here?  s/wrong/right/?
I and (I believe) Kurt has suggested that unassigned code points
should be forbidden, and you are suggesting to permit them, when
taking a string from an external database.

> It seems to boil down to two possible attitudes.  Option one (allowing
> unassigned codepoints) means that users may be able to log in today
> even though a server upgrade may stop the login process from working
> in the future.  The second option is that we prevent users from
> logging in today in order to guarantee that they will not be surprised
> by a future server upgrade.

You could also explain it as two possible attitudes toward StringPrep.
Either follow its spirit closely, and never compare strings with
unassigned code points, or realize it may be useful to violate the
StringPrep spirit.

Perhaps some input from people more familiar with StringPrep would be
useful, to see if anyone is bothered by breaking this rule.  Or if
they see other potential pitfalls in doing so.

Concluding, I don't have any objections to either solution, if it is
clear from the document which is used.

Thanks,
Simon


From owner-ietf-sasl Sun Jan 16 11:48:10 2005
Received: from above.proper.com (localhost.vpnc.org [127.0.0.1])
	by above.proper.com (8.12.11/8.12.9) with ESMTP id j0GJmA14080852;
	Sun, 16 Jan 2005 11:48:10 -0800 (PST)
	(envelope-from owner-ietf-sasl@mail.imc.org)
Received: (from majordom@localhost)
	by above.proper.com (8.12.11/8.12.9/Submit) id j0GJmAt4080851;
	Sun, 16 Jan 2005 11:48:10 -0800 (PST)
X-Authentication-Warning: above.proper.com: majordom set sender to owner-ietf-sasl@mail.imc.org using -f
Received: from cz.mit.edu (STRATTON-FOUR-FORTY-TWO.MIT.EDU [18.187.6.187])
	by above.proper.com (8.12.11/8.12.9) with ESMTP id j0GJmAVc080844
	for <ietf-sasl@imc.org>; Sun, 16 Jan 2005 11:48:10 -0800 (PST)
	(envelope-from hartmans@mit.edu)
Received: by cz.mit.edu (Postfix, from userid 8042)
	id 55AF1E0063; Sun, 16 Jan 2005 14:48:08 -0500 (EST)
To: Simon Josefsson <jas@extundo.com>
Cc: ietf-sasl@imc.org
Subject: Re: Implementing SASL PLAIN servers
References: <iluvfbcm89h.fsf@latte.josefsson.org>
	<6.1.2.0.0.20041208211630.02f89ef8@127.0.0.1>
	<iluk6rrl8et.fsf@latte.josefsson.org> <tslllat1aov.fsf@cz.mit.edu>
	<iluacr9p3jf.fsf@latte.josefsson.org>
From: Sam Hartman <hartmans-ietf@mit.edu>
Date: Sun, 16 Jan 2005 14:48:08 -0500
In-Reply-To: <iluacr9p3jf.fsf@latte.josefsson.org> (Simon Josefsson's
 message of "Sun, 16 Jan 2005 20:39:00 +0100")
Message-ID: <tslzmz9yx3b.fsf@cz.mit.edu>
User-Agent: Gnus/5.1006 (Gnus v5.10.6) Emacs/21.3 (gnu/linux)
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
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>


>>>>> "Simon" == Simon Josefsson <jas@extundo.com> writes:

    Simon> Sam Hartman <hartmans-ietf@mit.edu> writes:
    >> If people still believe that forbidding unassigned codepoints
    >> is wrong, I'll withdraw my objection.

    Simon> I didn't follow this.  Was the logic reversed here?
    Simon> s/wrong/right/?  I and (I believe) Kurt has suggested that

You are correct, s/wrong/right.


From owner-ietf-sasl Sun Jan 16 16:01:46 2005
Received: from above.proper.com (localhost.vpnc.org [127.0.0.1])
	by above.proper.com (8.12.11/8.12.9) with ESMTP id j0H01ksl018427;
	Sun, 16 Jan 2005 16:01:46 -0800 (PST)
	(envelope-from owner-ietf-sasl@mail.imc.org)
Received: (from majordom@localhost)
	by above.proper.com (8.12.11/8.12.9/Submit) id j0H01k4c018426;
	Sun, 16 Jan 2005 16:01:46 -0800 (PST)
X-Authentication-Warning: above.proper.com: majordom set sender to owner-ietf-sasl@mail.imc.org using -f
Received: from boole.openldap.org (root@boole.openldap.org [204.152.186.50])
	by above.proper.com (8.12.11/8.12.9) with ESMTP id j0H01dFB018291
	for <ietf-sasl@imc.org>; Sun, 16 Jan 2005 16:01:39 -0800 (PST)
	(envelope-from Kurt@OpenLDAP.org)
Received: from gypsy.OpenLDAP.org (24-205-218-53.cs-cres.charterpipeline.net [24.205.218.53])
	(authenticated bits=0)
	by boole.openldap.org (8.13.1/8.13.1) with ESMTP id j0GNwNn2087579
	(version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO);
	Sun, 16 Jan 2005 23:58:24 GMT
	(envelope-from Kurt@OpenLDAP.org)
Message-Id: <6.2.0.14.0.20050116154825.02878008@mail.openldap.org>
X-Mailer: QUALCOMM Windows Eudora Version 6.2.0.14
Date: Sun, 16 Jan 2005 15:57:54 -0800
To: Sam Hartman <hartmans-ietf@mit.edu>
From: "Kurt D. Zeilenga" <Kurt@OpenLDAP.org>
Subject: Re: Implementing SASL PLAIN servers
Cc: Simon Josefsson <jas@extundo.com>, ietf-sasl@imc.org
In-Reply-To: <tslllat1aov.fsf@cz.mit.edu>
References: <iluvfbcm89h.fsf@latte.josefsson.org>
 <6.1.2.0.0.20041208211630.02f89ef8@127.0.0.1>
 <iluk6rrl8et.fsf@latte.josefsson.org>
 <tslllat1aov.fsf@cz.mit.edu>
Mime-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
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>


Sam,

Since SASLprep is a profile of the Stringprep algorithm, it
simply does not provide the option you desire....  to allow
both strings to contain unassigned code points.  So, instead
of SASLprep, you recommend we use some other algorithm which
allows both strings to contain unassigned code points.
This algorithm would not be a profile of Stringprep.

I do not support this for a number of reasons.

First, I think it important to leverage Stringprep and
SASLprep in PLAIN.

Second, I think Stringprep has it right from an interoperability
standpoint.  Both strings should not contain unassigned code points.

Lastly, operationally, I think it better to fail authentication
for stored passwords which contain unassigned code points and,
in doing so, forcing stored password to consist only of
assigned code points.  I would suspect, even if you were to
allow them in PLAIN, use of such passwords in other systems
would be quite problematic.

So, in short, I think PLAIN (and SASLprep (and Stringprep))
should not be changed in this regard.

Kurt (with Editor and Chair hats off)


At 10:38 AM 1/16/2005, Sam Hartman wrote:

>>>>>> "Simon" == Simon Josefsson <jas@extundo.com> writes:
>
>    >>> If the server store unprepared passwords and authentication
>    >>> identities ("server strings"), the server prepare these using
>    >>> SASLprep, allowing unassigned code points in the output.  The
>    >>> server verify the authentication by comparing the prepared
>    >>> client strings with the prepared server strings.
>    >>  This behavior is counter to the specified behavior of SASLprep
>    >> and StringPrep, from Section 7 of RFC 3454.  The goal of the
>    >> requirements in this section is to prevent comparisons between
>    >> two strings that were both permitted to contain unassigned code
>    >> points.  Since we allowing unassigned code points in the
>    >> presented strings, we must prohibit them in the stored strings.
>
>    Simon> Unless I misunderstood him, or remember incorrectly, Sam
>    Simon> proposed this approach.  I would have implemented it
>    Simon> differently -- I would treat the unprepared strings using
>    Simon> SASLprep treating the strings as stored strings.  I don't
>    Simon> care which option is chosen, only that there is a plan and
>    Simon> that the plan is expressed in the document.
>
>First I'm sorry it has taken me so long to respond to this.
>
>
>Apparently I seem to be the only one who believes that we're doing
>something wrong.  Let me explain where I'm coming from and make sure
>the group understands my position.  If people still believe that
>forbidding unassigned codepoints is wrong, I'll withdraw my objection.
>
>First, the ideal goal is to make sure that at some point when we are
>storing a password or username, we forbid unassigned codepoints.  We'd
>like that to happen.  If the IETF ever writes change password or
>account creation protocols, we can make sure that happens for those
>protocols.
>
>However plain does not include a change password or account creation
>protocol; the credentials are established out of band.  We explain to
>people that they should normalize with saslprep and they should forbid
>unassigned codepoints when establishing credentials.
>
>We know about a lot of cases where people won't.  For example the unix
>passwd command neither normalizes nor forbids unassigned codepoints.
>Windows active directory passwords don't normalize although at least
>they have a well defined character set.
>
>If passwords are hashed, there's not really much you can do.  One
>thing you can try is to try both the saslpreped and non-saslpreped
>version of the string, hash both and see if one works.
>
>My concern comes about when we think about what to do if it happens
>you have access to the plaintext credential.  That is, the credential
>establishment protocol actually stores the password.
>
>Remember this credential establishment protocol is outside our
>control.  I would like to take a look at the case where it neither
>normalizes nor forbids unassigned codepoints.
>
>It seems like the easiest thing to do in an implementation of plain
>for this situation is to saslprep the two strings (one from user; one
>from database) and compare.  My question is what do you do if the
>database string contains unassigned codepoints.
>
>If you allow unassigned codepoints you may improve interoperability.
>This is true in the case where the codepoints end up being assigned to
>normalize to themselves in a future saslprep.
>
>What is the cost of allowing unassigned codepoints in this case.
>Well, normally the cost of unassigned codepoints is that you don't
>want to store long-term strings that may end up having the wrong
>normalization.  However in this instance, that has already happened:
>completely outside our control this string has already been placed in
>the database.  The only cost I can see is that if some of the
>unassigned codepoints end up generating forbidden output in a new
>saslprep, upgrading a server to support that new saslprep will cause
>passwords that used to work to stop working.  If we forbid unassigned
>codepoints then these passwords never would have worked.  In either
>case we cannot prevent the password from being established.  
>
>It seems to boil down to two possible attitudes.  Option one (allowing
>unassigned codepoints) means that users may be able to log in today
>even though a server upgrade may stop the login process from working
>in the future.  The second option is that we prevent users from
>logging in today in order to guarantee that they will not be surprised
>by a future server upgrade.
>
>--Sam


From owner-ietf-sasl Mon Jan 17 08:09:47 2005
Received: from above.proper.com (localhost.vpnc.org [127.0.0.1])
	by above.proper.com (8.12.11/8.12.9) with ESMTP id j0HG9l8U037398;
	Mon, 17 Jan 2005 08:09:47 -0800 (PST)
	(envelope-from owner-ietf-sasl@mail.imc.org)
Received: (from majordom@localhost)
	by above.proper.com (8.12.11/8.12.9/Submit) id j0HG9lXn037397;
	Mon, 17 Jan 2005 08:09:47 -0800 (PST)
X-Authentication-Warning: above.proper.com: majordom set sender to owner-ietf-sasl@mail.imc.org using -f
Received: from cz.mit.edu (STRATTON-FOUR-FORTY-TWO.MIT.EDU [18.187.6.187])
	by above.proper.com (8.12.11/8.12.9) with ESMTP id j0HG9ejE037380
	for <ietf-sasl@imc.org>; Mon, 17 Jan 2005 08:09:40 -0800 (PST)
	(envelope-from hartmans@mit.edu)
Received: by cz.mit.edu (Postfix, from userid 8042)
	id 8D198E0063; Mon, 17 Jan 2005 11:09:40 -0500 (EST)
To: "Kurt D. Zeilenga" <Kurt@OpenLDAP.org>
Cc: Simon Josefsson <jas@extundo.com>, ietf-sasl@imc.org
Subject: Re: Implementing SASL PLAIN servers
References: <iluvfbcm89h.fsf@latte.josefsson.org>
	<6.1.2.0.0.20041208211630.02f89ef8@127.0.0.1>
	<iluk6rrl8et.fsf@latte.josefsson.org> <tslllat1aov.fsf@cz.mit.edu>
	<6.2.0.14.0.20050116154825.02878008@mail.openldap.org>
From: Sam Hartman <hartmans-ietf@mit.edu>
Date: Mon, 17 Jan 2005 11:09:40 -0500
In-Reply-To: <6.2.0.14.0.20050116154825.02878008@mail.openldap.org> (Kurt D.
 Zeilenga's message of "Sun, 16 Jan 2005 15:57:54 -0800")
Message-ID: <tslbrboxcjf.fsf@cz.mit.edu>
User-Agent: Gnus/5.1006 (Gnus v5.10.6) Emacs/21.3 (gnu/linux)
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
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" == Kurt D Zeilenga <Kurt@OpenLDAP.org> writes:

    Kurt> Sam, Since SASLprep is a profile of the Stringprep
    Kurt> algorithm, it simply does not provide the option you
    Kurt> desire....  to allow both strings to contain unassigned code
    Kurt> points.  So, instead of SASLprep, you recommend we use some
    Kurt> other algorithm which allows both strings to contain
    Kurt> unassigned code points.  

I don't believe that is true.  Stringprep defines a preparation step,
not a comparison step.  I believe the text in section 7 of stringprep
is liberal enough to allow what I am talking about, although it is not
liberal enough to allow for an IETF protocol that would ever get into
the situation I'm discussing.

In particular, I believe it is consistent with the definition of query
string presented in section 7 to argue that a string pulled out of a
database is a query string.  If stringprep is used when that string is
stored in the database, it needs to be a storage string.  However
under the case we are discussing that storage operation is not under
the control of an IETf protocol.


I cannot find normative text forbidding a query string being compared
with another query string.  I can find explanatory text in section 7
motivating the normative guidelines in this section.  That text says
section 7 is designed to prevent the comparison of two strings that
both contain unassigned codepoints.  These guidelines are in fact
sufficient to achieve that goal when both strings are transported
through IETF protocols that use stringprep.  I don't think the
guidelines are sufficient (nor should they be) to prevent comparison
of two query strings in other situations.

    Kurt> oThis algorithm would 
not be a
    Kurt> profile of Stringprep.

Disagree because I'm talking about using stringprep.
I do agree with your reasons for requiring a stringprep algorithm, but do not think they apply to my argument.

    Kurt> Lastly, operationally, I think it better to fail
    Kurt> authentication for stored passwords which contain unassigned
    Kurt> code points and, in doing so, forcing stored password to
    Kurt> consist only of assigned code points.  I would suspect, even
    Kurt> if you were to allow them in PLAIN, use of such passwords in
    Kurt> other systems would be quite problematic.

First, keep in mind that these passwords are allowed in plain; we no
longer require any particular normalization.

My assumption is that people using these sorts of passwords will
continue using these passwords because they already have
infrastructure that works that way.  Examples of such infrastructure
include Windows Active Directory, PAM on Unix, and a variety of
SQL-backed password stores.

I assume that if plain doesn't support these passwords it will be a
problem for applications that use plain, and those applications rather
than the password store will be blamed.  If it actually turns out that
forbidding unassigned codepoints when saslprep is used with plain will
significantly reduce their use, then they should be forbidden.

--Sam


From owner-ietf-sasl Mon Jan 17 09:07:03 2005
Received: from above.proper.com (localhost.vpnc.org [127.0.0.1])
	by above.proper.com (8.12.11/8.12.9) with ESMTP id j0HH73tG048278;
	Mon, 17 Jan 2005 09:07:03 -0800 (PST)
	(envelope-from owner-ietf-sasl@mail.imc.org)
Received: (from majordom@localhost)
	by above.proper.com (8.12.11/8.12.9/Submit) id j0HH73LI048277;
	Mon, 17 Jan 2005 09:07:03 -0800 (PST)
X-Authentication-Warning: above.proper.com: majordom set sender to owner-ietf-sasl@mail.imc.org using -f
Received: from boole.openldap.org (root@boole.openldap.org [204.152.186.50])
	by above.proper.com (8.12.11/8.12.9) with ESMTP id j0HH6u2M048246
	for <ietf-sasl@imc.org>; Mon, 17 Jan 2005 09:06:56 -0800 (PST)
	(envelope-from Kurt@OpenLDAP.org)
Received: from gypsy.OpenLDAP.org (24-205-218-53.cs-cres.charterpipeline.net [24.205.218.53])
	(authenticated bits=0)
	by boole.openldap.org (8.13.1/8.13.1) with ESMTP id j0HGnYrs022670
	(version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO);
	Mon, 17 Jan 2005 16:49:34 GMT
	(envelope-from Kurt@OpenLDAP.org)
Message-Id: <6.2.0.14.0.20050117083145.03642f80@mail.openldap.org>
X-Mailer: QUALCOMM Windows Eudora Version 6.2.0.14
Date: Mon, 17 Jan 2005 08:49:04 -0800
To: Sam Hartman <hartmans-ietf@mit.edu>
From: "Kurt D. Zeilenga" <Kurt@OpenLDAP.org>
Subject: Re: Implementing SASL PLAIN servers
Cc: Simon Josefsson <jas@extundo.com>, ietf-sasl@imc.org
In-Reply-To: <tslbrboxcjf.fsf@cz.mit.edu>
References: <iluvfbcm89h.fsf@latte.josefsson.org>
 <6.1.2.0.0.20041208211630.02f89ef8@127.0.0.1>
 <iluk6rrl8et.fsf@latte.josefsson.org>
 <tslllat1aov.fsf@cz.mit.edu>
 <6.2.0.14.0.20050116154825.02878008@mail.openldap.org>
 <tslbrboxcjf.fsf@cz.mit.edu>
Mime-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
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 08:09 AM 1/17/2005, Sam Hartman wrote:
>I do agree with your reasons for requiring a stringprep algorithm,

We don't actually require a stringprep algorithm, we recommend
one (SASLprep).

>but do not think they apply to my argument.
>
>    Kurt> Lastly, operationally, I think it better to fail
>    Kurt> authentication for stored passwords which contain unassigned
>    Kurt> code points and, in doing so, forcing stored password to
>    Kurt> consist only of assigned code points.  I would suspect, even
>    Kurt> if you were to allow them in PLAIN, use of such passwords in
>    Kurt> other systems would be quite problematic.
>
>First, keep in mind that these passwords are allowed in plain; we no
>longer require any particular normalization.

Actually, we don't require use of SASLprep... and hence its
normalization step... and, hence, its prohibit step.
   The server SHOULD prepare each of these strings using the
   [SASLPrep] profile of the [StringPrep] algorithm.

(I argue that without these steps, its no longer SASLprep.)

>My assumption is that people using these sorts of passwords will
>continue using these passwords because they already have
>infrastructure that works that way.

We already give them an escape in the above "SHOULD".  That is,
the language:
   When preparing using [SASLprep] or other [StringPrep] based
   algorithm, per Section 7 of [StringPrep], unassigned code points
   may appear in prepared presented (query) strings but are prohibited
   in prepared stored strings.  If only the output of a non-invertible
   function of expected string is stored, the string MUST be prepared
   before input to that function.

only applies to use of [SASLprep] and other [StringPrep] based
algorithms.  If an implementation chooses (after appropriately
considering the implications of doing so), to use some other
preparation algorithm, even one which is like SASLprep in
every regard except prohibition, fine.  But its not proper to
call that algorithm "SASLprep".  In SASLprep, the mandatory
prohibition step includes unassigned code point restrictions.

I argue that any algorithm which allows both strings compared
to contain unassigned code points is not a valid profile of
the StringPrep algorithm.  We can argue about the language
of RFC 3454 if you like, but I strongly believe that the
intent of RFC 3454 was to prohibit comparisons of two
strings both containing unassigned code points (from both
my talks with authors, and my lurking on the IDN list during
its development) .  If that not clear in RFC 3454, then the
IETF should address that in a revision of RFC 3454. 

But given the above SHOULD, isn't this argument moot?
Haven't we already given the implementor plenty of rope to
do whatever they please?

-- Kurt 


From owner-ietf-sasl Mon Jan 17 09:13:49 2005
Received: from above.proper.com (localhost.vpnc.org [127.0.0.1])
	by above.proper.com (8.12.11/8.12.9) with ESMTP id j0HHDn2q049102;
	Mon, 17 Jan 2005 09:13:49 -0800 (PST)
	(envelope-from owner-ietf-sasl@mail.imc.org)
Received: (from majordom@localhost)
	by above.proper.com (8.12.11/8.12.9/Submit) id j0HHDnCU049101;
	Mon, 17 Jan 2005 09:13:49 -0800 (PST)
X-Authentication-Warning: above.proper.com: majordom set sender to owner-ietf-sasl@mail.imc.org using -f
Received: from cz.mit.edu (STRATTON-FOUR-FORTY-TWO.MIT.EDU [18.187.6.187])
	by above.proper.com (8.12.11/8.12.9) with ESMTP id j0HHDmtI049095
	for <ietf-sasl@imc.org>; Mon, 17 Jan 2005 09:13:48 -0800 (PST)
	(envelope-from hartmans@mit.edu)
Received: by cz.mit.edu (Postfix, from userid 8042)
	id BDC59E0063; Mon, 17 Jan 2005 12:13:48 -0500 (EST)
To: "Kurt D. Zeilenga" <Kurt@OpenLDAP.org>
Cc: Simon Josefsson <jas@extundo.com>, ietf-sasl@imc.org
Subject: Re: Implementing SASL PLAIN servers
References: <iluvfbcm89h.fsf@latte.josefsson.org>
	<6.1.2.0.0.20041208211630.02f89ef8@127.0.0.1>
	<iluk6rrl8et.fsf@latte.josefsson.org> <tslllat1aov.fsf@cz.mit.edu>
	<6.2.0.14.0.20050116154825.02878008@mail.openldap.org>
	<tslbrboxcjf.fsf@cz.mit.edu>
	<6.2.0.14.0.20050117083145.03642f80@mail.openldap.org>
From: Sam Hartman <hartmans-ietf@mit.edu>
Date: Mon, 17 Jan 2005 12:13:48 -0500
In-Reply-To: <6.2.0.14.0.20050117083145.03642f80@mail.openldap.org> (Kurt D.
 Zeilenga's message of "Mon, 17 Jan 2005 08:49:04 -0800")
Message-ID: <tslr7kkugfn.fsf@cz.mit.edu>
User-Agent: Gnus/5.1006 (Gnus v5.10.6) Emacs/21.3 (gnu/linux)
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
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" == Kurt D Zeilenga <Kurt@OpenLDAP.org> writes:


    Kurt> I argue that any algorithm which allows both strings
    Kurt> compared to contain unassigned code points is not a valid
    Kurt> profile of the StringPrep algorithm.  

Again, stringprep does not address comparison, only preparation.

    Kurt> We can argue about the
    Kurt> language of RFC 3454 if you like, but I strongly believe
    Kurt> that the intent of RFC 3454 was to prohibit comparisons of
    Kurt> two strings both containing unassigned code points (from
    Kurt> both my talks with authors, and my lurking on the IDN list
    Kurt> during its development) .  

Agreed, but I also think the authors only considered the scope where
the IETF had control of either both strings or at least the storage
string.

If for example we were discussing the LDAP set password operation I'd
completely agree the password needs to be treated as a storage string.

    Kurt> If that not clear in RFC 3454,
    Kurt> then the IETF should address that in a revision of RFC 3454.

    Kurt> But given the above SHOULD, isn't this argument moot?


The question in my mind is whether we describe the problem clearly
enough that implementers will make the right decision for their
environment.  I agree that our normative text is fine.


From owner-ietf-sasl Mon Jan 17 09:35:15 2005
Received: from above.proper.com (localhost.vpnc.org [127.0.0.1])
	by above.proper.com (8.12.11/8.12.9) with ESMTP id j0HHZFWb051833;
	Mon, 17 Jan 2005 09:35:15 -0800 (PST)
	(envelope-from owner-ietf-sasl@mail.imc.org)
Received: (from majordom@localhost)
	by above.proper.com (8.12.11/8.12.9/Submit) id j0HHZFWC051832;
	Mon, 17 Jan 2005 09:35:15 -0800 (PST)
X-Authentication-Warning: above.proper.com: majordom set sender to owner-ietf-sasl@mail.imc.org using -f
Received: from boole.openldap.org (root@boole.openldap.org [204.152.186.50])
	by above.proper.com (8.12.11/8.12.9) with ESMTP id j0HHZFMG051826
	for <ietf-sasl@imc.org>; Mon, 17 Jan 2005 09:35:15 -0800 (PST)
	(envelope-from Kurt@OpenLDAP.org)
Received: from gypsy.OpenLDAP.org (24-205-218-53.cs-cres.charterpipeline.net [24.205.218.53])
	(authenticated bits=0)
	by boole.openldap.org (8.13.1/8.13.1) with ESMTP id j0HHW6up024661
	(version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO);
	Mon, 17 Jan 2005 17:32:06 GMT
	(envelope-from Kurt@OpenLDAP.org)
Message-Id: <6.2.0.14.0.20050117092100.06596dc8@mail.openldap.org>
X-Mailer: QUALCOMM Windows Eudora Version 6.2.0.14
Date: Mon, 17 Jan 2005 09:31:36 -0800
To: Sam Hartman <hartmans-ietf@mit.edu>
From: "Kurt D. Zeilenga" <Kurt@OpenLDAP.org>
Subject: Re: Implementing SASL PLAIN servers
Cc: Simon Josefsson <jas@extundo.com>, ietf-sasl@imc.org
In-Reply-To: <tslr7kkugfn.fsf@cz.mit.edu>
References: <iluvfbcm89h.fsf@latte.josefsson.org>
 <6.1.2.0.0.20041208211630.02f89ef8@127.0.0.1>
 <iluk6rrl8et.fsf@latte.josefsson.org>
 <tslllat1aov.fsf@cz.mit.edu>
 <6.2.0.14.0.20050116154825.02878008@mail.openldap.org>
 <tslbrboxcjf.fsf@cz.mit.edu>
 <6.2.0.14.0.20050117083145.03642f80@mail.openldap.org>
 <tslr7kkugfn.fsf@cz.mit.edu>
Mime-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
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 09:13 AM 1/17/2005, Sam Hartman wrote:
>The question in my mind is whether we describe the problem clearly
>enough that implementers will make the right decision for their
>environment.  I agree that our normative text is fine. 

I think we're quite clear that SASLprep SHOULD be used.  Now,
we've allowed implementors to use other preparation algorithms,
but the risk (to interoperability, security, etc.) of doing so
is all theirs.  As with going against any SHOULD, the implementor
should carefully consider the consequences of doing so.  Obviously
we cannot prevent implementors from not carefully considering the
consequences... but we should assume in our writing that they will
carefully consider the consequences.  And with that assumption, I
don't see how they could miss Section 7 of RFC 3454.

Kurt 


From owner-ietf-sasl Mon Jan 17 09:49:45 2005
Received: from above.proper.com (localhost.vpnc.org [127.0.0.1])
	by above.proper.com (8.12.11/8.12.9) with ESMTP id j0HHniHS055194;
	Mon, 17 Jan 2005 09:49:45 -0800 (PST)
	(envelope-from owner-ietf-sasl@mail.imc.org)
Received: (from majordom@localhost)
	by above.proper.com (8.12.11/8.12.9/Submit) id j0HHnieQ055193;
	Mon, 17 Jan 2005 09:49:44 -0800 (PST)
X-Authentication-Warning: above.proper.com: majordom set sender to owner-ietf-sasl@mail.imc.org using -f
Received: from cz.mit.edu (STRATTON-FOUR-FORTY-TWO.MIT.EDU [18.187.6.187])
	by above.proper.com (8.12.11/8.12.9) with ESMTP id j0HHnijI055126
	for <ietf-sasl@imc.org>; Mon, 17 Jan 2005 09:49:44 -0800 (PST)
	(envelope-from hartmans@mit.edu)
Received: by cz.mit.edu (Postfix, from userid 8042)
	id 24F67E0063; Mon, 17 Jan 2005 12:49:43 -0500 (EST)
To: "Kurt D. Zeilenga" <Kurt@OpenLDAP.org>
Cc: Simon Josefsson <jas@extundo.com>, ietf-sasl@imc.org
Subject: Re: Implementing SASL PLAIN servers
References: <iluvfbcm89h.fsf@latte.josefsson.org>
	<6.1.2.0.0.20041208211630.02f89ef8@127.0.0.1>
	<iluk6rrl8et.fsf@latte.josefsson.org> <tslllat1aov.fsf@cz.mit.edu>
	<6.2.0.14.0.20050116154825.02878008@mail.openldap.org>
	<tslbrboxcjf.fsf@cz.mit.edu>
	<6.2.0.14.0.20050117083145.03642f80@mail.openldap.org>
	<tslr7kkugfn.fsf@cz.mit.edu>
	<6.2.0.14.0.20050117092100.06596dc8@mail.openldap.org>
From: Sam Hartman <hartmans-ietf@mit.edu>
Date: Mon, 17 Jan 2005 12:49:43 -0500
In-Reply-To: <6.2.0.14.0.20050117092100.06596dc8@mail.openldap.org> (Kurt D.
 Zeilenga's message of "Mon, 17 Jan 2005 09:31:36 -0800")
Message-ID: <tslacr8uers.fsf@cz.mit.edu>
User-Agent: Gnus/5.1006 (Gnus v5.10.6) Emacs/21.3 (gnu/linux)
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
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" == Kurt D Zeilenga <Kurt@OpenLDAP.org> writes:

    Kurt> At 09:13 AM 1/17/2005, Sam Hartman wrote:
    >> The question in my mind is whether we describe the problem
    >> clearly enough that implementers will make the right decision
    >> for their environment.  I agree that our normative text is
    >> fine.

    Kurt> I think we're quite clear that SASLprep SHOULD be used.
    Kurt> Now, we've allowed implementors to use other preparation
    Kurt> algorithms, but the risk (to interoperability, security,
    Kurt> etc.) of doing so is all theirs.  As with going against any
    Kurt> SHOULD, the implementor should carefully consider the
    Kurt> consequences of doing so.  Obviously we cannot prevent
    Kurt> implementors from not carefully considering the
    Kurt> consequences... but we should assume in our writing that
    Kurt> they will carefully consider the consequences.  And with
    Kurt> that assumption, I don't see how they could miss Section 7
    Kurt> of RFC 3454.

For the purposes of moving forward on plain, I'll drop this
discussion.

In the interests of understanding, I think I'd like to discuss this
issue with you in person because there seems to be a fairly
significant disconnect here.  However I don't think there is support
in the WG for making any changes in this regard.

If my understanding is correct, you accepted some textual changes from
Simon.  So, I should be waiting for a new plain before last calling
it?

--Sam


From owner-ietf-sasl Mon Jan 17 10:25:31 2005
Received: from above.proper.com (localhost.vpnc.org [127.0.0.1])
	by above.proper.com (8.12.11/8.12.9) with ESMTP id j0HIPVLP061198;
	Mon, 17 Jan 2005 10:25:31 -0800 (PST)
	(envelope-from owner-ietf-sasl@mail.imc.org)
Received: (from majordom@localhost)
	by above.proper.com (8.12.11/8.12.9/Submit) id j0HIPVot061196;
	Mon, 17 Jan 2005 10:25:31 -0800 (PST)
X-Authentication-Warning: above.proper.com: majordom set sender to owner-ietf-sasl@mail.imc.org using -f
Received: from boole.openldap.org (root@boole.openldap.org [204.152.186.50])
	by above.proper.com (8.12.11/8.12.9) with ESMTP id j0HIPQvp061181
	for <ietf-sasl@imc.org>; Mon, 17 Jan 2005 10:25:26 -0800 (PST)
	(envelope-from Kurt@OpenLDAP.org)
Received: from gypsy.OpenLDAP.org (24-205-218-53.cs-cres.charterpipeline.net [24.205.218.53])
	(authenticated bits=0)
	by boole.openldap.org (8.13.1/8.13.1) with ESMTP id j0HIMDOh027138
	(version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO);
	Mon, 17 Jan 2005 18:22:13 GMT
	(envelope-from Kurt@OpenLDAP.org)
Message-Id: <6.2.0.14.0.20050117101800.066fb600@mail.openldap.org>
X-Mailer: QUALCOMM Windows Eudora Version 6.2.0.14
Date: Mon, 17 Jan 2005 10:21:43 -0800
To: Sam Hartman <hartmans-ietf@mit.edu>
From: "Kurt D. Zeilenga" <Kurt@OpenLDAP.org>
Subject: Re: Implementing SASL PLAIN servers
Cc: Simon Josefsson <jas@extundo.com>, ietf-sasl@imc.org
In-Reply-To: <tslacr8uers.fsf@cz.mit.edu>
References: <iluvfbcm89h.fsf@latte.josefsson.org>
 <6.1.2.0.0.20041208211630.02f89ef8@127.0.0.1>
 <iluk6rrl8et.fsf@latte.josefsson.org>
 <tslllat1aov.fsf@cz.mit.edu>
 <6.2.0.14.0.20050116154825.02878008@mail.openldap.org>
 <tslbrboxcjf.fsf@cz.mit.edu>
 <6.2.0.14.0.20050117083145.03642f80@mail.openldap.org>
 <tslr7kkugfn.fsf@cz.mit.edu>
 <6.2.0.14.0.20050117092100.06596dc8@mail.openldap.org>
 <tslacr8uers.fsf@cz.mit.edu>
Mime-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
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 09:49 AM 1/17/2005, Sam Hartman wrote:

>>>>>> "Kurt" == Kurt D Zeilenga <Kurt@OpenLDAP.org> writes:
>
>    Kurt> At 09:13 AM 1/17/2005, Sam Hartman wrote:
>    >> The question in my mind is whether we describe the problem
>    >> clearly enough that implementers will make the right decision
>    >> for their environment.  I agree that our normative text is
>    >> fine.
>
>    Kurt> I think we're quite clear that SASLprep SHOULD be used.
>    Kurt> Now, we've allowed implementors to use other preparation
>    Kurt> algorithms, but the risk (to interoperability, security,
>    Kurt> etc.) of doing so is all theirs.  As with going against any
>    Kurt> SHOULD, the implementor should carefully consider the
>    Kurt> consequences of doing so.  Obviously we cannot prevent
>    Kurt> implementors from not carefully considering the
>    Kurt> consequences... but we should assume in our writing that
>    Kurt> they will carefully consider the consequences.  And with
>    Kurt> that assumption, I don't see how they could miss Section 7
>    Kurt> of RFC 3454.
>
>For the purposes of moving forward on plain, I'll drop this
>discussion.
>
>In the interests of understanding, I think I'd like to discuss this
>issue with you in person because there seems to be a fairly
>significant disconnect here.  However I don't think there is support
>in the WG for making any changes in this regard.
>
>If my understanding is correct, you accepted some textual changes from
>Simon.  So, I should be waiting for a new plain before last calling
>it?

As Editor, I believe the WG supports making some textual changes
based upon Simon's suggestions.  Hence, I intend to prepare
(and submit) a revised I-D for further WG consideration.  Please
hold off any AD action for now.

Kurt 


From owner-ietf-sasl Mon Jan 17 12:29:42 2005
Received: from above.proper.com (localhost.vpnc.org [127.0.0.1])
	by above.proper.com (8.12.11/8.12.9) with ESMTP id j0HKTfAh034020;
	Mon, 17 Jan 2005 12:29:41 -0800 (PST)
	(envelope-from owner-ietf-sasl@mail.imc.org)
Received: (from majordom@localhost)
	by above.proper.com (8.12.11/8.12.9/Submit) id j0HKTfnq034019;
	Mon, 17 Jan 2005 12:29:41 -0800 (PST)
X-Authentication-Warning: above.proper.com: majordom set sender to owner-ietf-sasl@mail.imc.org using -f
Received: from yxa.extundo.com (root@178.230.13.217.in-addr.dgcsystems.net [217.13.230.178])
	by above.proper.com (8.12.11/8.12.9) with ESMTP id j0HKTVFV033295
	for <ietf-sasl@imc.org>; Mon, 17 Jan 2005 12:29:41 -0800 (PST)
	(envelope-from jas@extundo.com)
Received: from latte.josefsson.org (c494102a.s-bi.bostream.se [217.215.27.65])
	(authenticated bits=0)
	by yxa.extundo.com (8.13.2/8.13.2/Debian-1) with ESMTP id j0HKTKei016086
	(version=TLSv1/SSLv3 cipher=DHE-RSA-AES128-SHA bits=128 verify=OK);
	Mon, 17 Jan 2005 21:29:21 +0100
From: Simon Josefsson <jas@extundo.com>
To: "Kurt D. Zeilenga" <Kurt@OpenLDAP.org>
Cc: ietf-sasl@imc.org, Sam Hartman <hartmans-ietf@mit.edu>
Subject: Re: Implementing SASL PLAIN servers
References: <iluvfbcm89h.fsf@latte.josefsson.org>
	<6.1.2.0.0.20041208211630.02f89ef8@127.0.0.1>
	<iluk6rrl8et.fsf@latte.josefsson.org> <tslllat1aov.fsf@cz.mit.edu>
	<6.2.0.14.0.20050116154825.02878008@mail.openldap.org>
OpenPGP: id=B565716F; url=http://josefsson.org/key.txt
X-Hashcash: 1:21:050117:kurt@openldap.org::GO3UUaGhUqvmYzBc:2Z44
X-Hashcash: 1:21:050117:hartmans-ietf@mit.edu::LWVV+O+2z9zHozbZ:27XT
X-Hashcash: 1:21:050117:ietf-sasl@imc.org::dLlYRstG+vdjk4TK:7nDi
X-Hashcash: 1:21:050117:kurt@openldap.org::f/M6/gg5VTi8Y1X5:HuY9
Date: Mon, 17 Jan 2005 21:29:10 +0100
In-Reply-To: <6.2.0.14.0.20050116154825.02878008@mail.openldap.org> (Kurt
	D. Zeilenga's message of "Sun, 16 Jan 2005 15:57:54 -0800")
Message-ID: <ilumzv7lrzd.fsf@latte.josefsson.org>
User-Agent: Gnus/5.110003 (No Gnus v0.3) Emacs/21.3.50 (gnu/linux)
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
X-Spam-Status: No, hits=0.0 required=5.0 tests=none autolearn=no version=2.64
X-Spam-Checker-Version: SpamAssassin 2.64 (2004-01-11) on yxa-iv
X-Virus-Scanned: ClamAV 0.80/664/Thu Jan 13 16:13:05 2005
	clamav-milter version 0.80j
	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>


"Kurt D. Zeilenga" <Kurt@OpenLDAP.org> writes:

> So, in short, I think PLAIN (and SASLprep (and Stringprep))
> should not be changed in this regard.

I believe it should change to clarify what is intended.  The current
text:

  The server SHALL first prepare authentication identity and password
  strings using the [SASLPrep] profile of the [StringPrep] algorithm.
  Per Section 7 of [StringPrep], unassigned code points may appear in
  prepared presented (query) strings but are prohibited in stored
  strings.

I think this leave the field open to implement either your or Sam's
approach, both which seem reasonable choices to me.

The problem is the circular use of the terms "query strings" and
"stored strings".  If you consider strings pulled from a databases as
"stored", then you implement it your way, if you consider strings
pulled from a database as query strings ("queries" into the PLAIN
authorization algorithm), you will implement Sam's way.  Neither
implementation would appear to violate the above text.

To repeat what I have been trying to say all along: all specifications
must say, for each string that is going to be prepared, whether is to
be regarded a query string or a stored string.  Classifying strings
into stored strings and query strings is not a mechanic process.

Thanks,
Simon


From owner-ietf-sasl Mon Jan 17 13:43:11 2005
Received: from above.proper.com (localhost.vpnc.org [127.0.0.1])
	by above.proper.com (8.12.11/8.12.9) with ESMTP id j0HLhBwA076294;
	Mon, 17 Jan 2005 13:43:11 -0800 (PST)
	(envelope-from owner-ietf-sasl@mail.imc.org)
Received: (from majordom@localhost)
	by above.proper.com (8.12.11/8.12.9/Submit) id j0HLhBRH076286;
	Mon, 17 Jan 2005 13:43:11 -0800 (PST)
X-Authentication-Warning: above.proper.com: majordom set sender to owner-ietf-sasl@mail.imc.org using -f
Received: from cz.mit.edu (STRATTON-FOUR-FORTY-TWO.MIT.EDU [18.187.6.187])
	by above.proper.com (8.12.11/8.12.9) with ESMTP id j0HLh9oG076259
	for <ietf-sasl@imc.org>; Mon, 17 Jan 2005 13:43:10 -0800 (PST)
	(envelope-from hartmans@mit.edu)
Received: by cz.mit.edu (Postfix, from userid 8042)
	id 3399FE0063; Mon, 17 Jan 2005 16:43:06 -0500 (EST)
To: ietf-sasl@imc.org
Cc: tlyu@mit.edu
Subject: Please welcome Tom Yu as a SASL co-chair
From: Sam Hartman <hartmans-ietf@mit.edu>
Date: Mon, 17 Jan 2005 16:43:06 -0500
Message-ID: <tslu0pfratx.fsf@cz.mit.edu>
User-Agent: Gnus/5.1006 (Gnus v5.10.6) Emacs/21.3 (gnu/linux)
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
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.  I'd like to welcome Tom Yu who will be joining Kurt as one of the
chairs of the SASL working group.


Tom is one of the authors of the Kerberos draft.  In the Kerberos
working group and in other IETF working groups he has a long history
of building consensus and making sure viewpoints are heard.

Tom also has done a great job of security analysis of protocols and of
clearly explaining this analysis.


I'd also like to thank Kurt for recommending Tom to this position.


From owner-ietf-sasl Mon Jan 17 14:26:48 2005
Received: from above.proper.com (localhost.vpnc.org [127.0.0.1])
	by above.proper.com (8.12.11/8.12.9) with ESMTP id j0HMQmkA014638;
	Mon, 17 Jan 2005 14:26:48 -0800 (PST)
	(envelope-from owner-ietf-sasl@mail.imc.org)
Received: (from majordom@localhost)
	by above.proper.com (8.12.11/8.12.9/Submit) id j0HMQmoc014637;
	Mon, 17 Jan 2005 14:26:48 -0800 (PST)
X-Authentication-Warning: above.proper.com: majordom set sender to owner-ietf-sasl@mail.imc.org using -f
Received: from jalapeno.cc.columbia.edu (IDENT:cu41754@jalapeno.cc.columbia.edu [128.59.29.5])
	by above.proper.com (8.12.11/8.12.9) with ESMTP id j0HMQmf6014631
	for <ietf-sasl@imc.org>; Mon, 17 Jan 2005 14:26:48 -0800 (PST)
	(envelope-from jaltman@columbia.edu)
Received: from [192.168.1.10] (24-193-46-55.nyc.rr.com [24.193.46.55])
	(user=jaltman mech=PLAIN bits=0)
	by jalapeno.cc.columbia.edu (8.13.0/8.13.0) with ESMTP id j0HMQko4000878
	(version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT)
	for <ietf-sasl@imc.org>; Mon, 17 Jan 2005 17:26:47 -0500 (EST)
Message-ID: <41EC3C2A.8020402@columbia.edu>
Date: Mon, 17 Jan 2005 17:28:58 -0500
From: Jeffrey Altman <jaltman@columbia.edu>
Organization: Not Affiliated with Columbia University in the City of New York
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7.5) Gecko/20041217
X-Accept-Language: en-us, en
MIME-Version: 1.0
To: ietf-sasl@imc.org
Subject: Re: Implementing SASL PLAIN servers
References: <iluvfbcm89h.fsf@latte.josefsson.org>	<6.1.2.0.0.20041208211630.02f89ef8@127.0.0.1>	<iluk6rrl8et.fsf@latte.josefsson.org> <tslllat1aov.fsf@cz.mit.edu>	<6.2.0.14.0.20050116154825.02878008@mail.openldap.org> <ilumzv7lrzd.fsf@latte.josefsson.org>
In-Reply-To: <ilumzv7lrzd.fsf@latte.josefsson.org>
X-Enigmail-Version: 0.89.6.0
X-Enigmail-Supports: pgp-inline, pgp-mime
Content-Type: multipart/signed; protocol="application/x-pkcs7-signature"; micalg=sha1; boundary="------------ms040603050702080103070509"
X-No-Spam-Score: Local
X-Scanned-By: MIMEDefang 2.48 on 128.59.206.19
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 is a cryptographically signed message in MIME format.

--------------ms040603050702080103070509
Content-Type: text/plain; charset=us-ascii; format=flowed
Content-Transfer-Encoding: 7bit

Simon Josefsson wrote:

> The problem is the circular use of the terms "query strings" and
> "stored strings".  If you consider strings pulled from a databases as
> "stored", then you implement it your way, if you consider strings
> pulled from a database as query strings ("queries" into the PLAIN
> authorization algorithm), you will implement Sam's way.  Neither
> implementation would appear to violate the above text.

I realize I have not been paying as much attention to this discussion
as I should be.  I apologize for the delay.

When Jeff Hutzelman and I were analyzing the Kerberos protocol to 
determine which category each string falls into, we realized that in a 
protocol such as Kerberos there are no storage strings.  We have query 
strings and display strings.  The only place a storage string exists is
in the set/change password protocol which is not part of the core
specification.

The only time a string is a "storage string" is when a string is being
written to a database.  If you are going to consider things which are
read from databases as "storage strings', then almost every string in
the protocol becomes a "storage string" and you get yourself into a lot
of trouble.  This is because a "Kerberos ticket", an "X.509 cert", a
"Kerberos keytab", etc. are all databases.  Some are used by the client
as a source of strings sent to the server; or vice versa.

A "query string" is a string which is being generated for the purpose
of comparison and not for the purpose of storage.  In fact, you can
even have two "query strings" from different sources compared with one
another.  As long as the strings are not being stored, they are not
"storage strings".

Jeffrey Altman



--------------ms040603050702080103070509
Content-Type: application/x-pkcs7-signature; name="smime.p7s"
Content-Transfer-Encoding: base64
Content-Disposition: attachment; filename="smime.p7s"
Content-Description: S/MIME Cryptographic Signature

MIAGCSqGSIb3DQEHAqCAMIACAQExCzAJBgUrDgMCGgUAMIAGCSqGSIb3DQEHAQAAoIIJPzCC
AvowggJjoAMCAQICAwxk8TANBgkqhkiG9w0BAQQFADBiMQswCQYDVQQGEwJaQTElMCMGA1UE
ChMcVGhhd3RlIENvbnN1bHRpbmcgKFB0eSkgTHRkLjEsMCoGA1UEAxMjVGhhd3RlIFBlcnNv
bmFsIEZyZWVtYWlsIElzc3VpbmcgQ0EwHhcNMDQwNTI3MTc1ODU4WhcNMDUwNTI3MTc1ODU4
WjBrMQ8wDQYDVQQEEwZBbHRtYW4xFTATBgNVBCoTDEplZmZyZXkgRXJpYzEcMBoGA1UEAxMT
SmVmZnJleSBFcmljIEFsdG1hbjEjMCEGCSqGSIb3DQEJARYUamFsdG1hbkBjb2x1bWJpYS5l
ZHUwggEiMA0GCSqGSIb3DQEBAQUAA4IBDwAwggEKAoIBAQDc3JqO5AsZrozd+mJ2mPuCTYo2
+nJ9Qq6jtUYtp7YTMW4d2Q6GLhNaHb1l9m74SxuY4f5vP6JtZjr6p9+LCCxD0w0NVLKRgUDp
z+tKFitbkJe9BSCxCURRvY3vdWA71gSCUvZAN3346hHb4oGVqgdpmfFJXYAHWpC46wiL72N9
WxySzY17/0eU0c8+r9dNoLpPQeL43O66O80jCl1qnXMaXaakZPsfm+5W90MYXhpQ1WIQpv02
lBn3BH5YE8xwbsNrw5AF4v7pjMuW85GI6FrDmfbpJX473Rpl5rmv3TpXkJ+7UsIIO1puyS8r
1o7kjDZ5EUYJxxglTGR6XL/RNzqHAgMBAAGjMTAvMB8GA1UdEQQYMBaBFGphbHRtYW5AY29s
dW1iaWEuZWR1MAwGA1UdEwEB/wQCMAAwDQYJKoZIhvcNAQEEBQADgYEAZYeVFCMP0iV+UVa0
eFoXkzMVl61CNAVY2YQ9/QQazO3G4qNiif35ArrnjPRDRj5M7WTeOCFqPVuvCttyJRiDKsEe
L4Yah22mRA3mR7x52j2FquPYZ9qCr1IhrNGzsMk+gopX5G0fTHZb6+uDu5SeMPNNcIznGA7M
CMpXAJ2PcKgwggL6MIICY6ADAgECAgMMZPEwDQYJKoZIhvcNAQEEBQAwYjELMAkGA1UEBhMC
WkExJTAjBgNVBAoTHFRoYXd0ZSBDb25zdWx0aW5nIChQdHkpIEx0ZC4xLDAqBgNVBAMTI1Ro
YXd0ZSBQZXJzb25hbCBGcmVlbWFpbCBJc3N1aW5nIENBMB4XDTA0MDUyNzE3NTg1OFoXDTA1
MDUyNzE3NTg1OFowazEPMA0GA1UEBBMGQWx0bWFuMRUwEwYDVQQqEwxKZWZmcmV5IEVyaWMx
HDAaBgNVBAMTE0plZmZyZXkgRXJpYyBBbHRtYW4xIzAhBgkqhkiG9w0BCQEWFGphbHRtYW5A
Y29sdW1iaWEuZWR1MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEA3NyajuQLGa6M
3fpidpj7gk2KNvpyfUKuo7VGLae2EzFuHdkOhi4TWh29ZfZu+EsbmOH+bz+ibWY6+qffiwgs
Q9MNDVSykYFA6c/rShYrW5CXvQUgsQlEUb2N73VgO9YEglL2QDd9+OoR2+KBlaoHaZnxSV2A
B1qQuOsIi+9jfVscks2Ne/9HlNHPPq/XTaC6T0Hi+NzuujvNIwpdap1zGl2mpGT7H5vuVvdD
GF4aUNViEKb9NpQZ9wR+WBPMcG7Da8OQBeL+6YzLlvORiOhaw5n26SV+O90aZea5r906V5Cf
u1LCCDtabskvK9aO5Iw2eRFGCccYJUxkely/0Tc6hwIDAQABozEwLzAfBgNVHREEGDAWgRRq
YWx0bWFuQGNvbHVtYmlhLmVkdTAMBgNVHRMBAf8EAjAAMA0GCSqGSIb3DQEBBAUAA4GBAGWH
lRQjD9IlflFWtHhaF5MzFZetQjQFWNmEPf0EGsztxuKjYon9+QK654z0Q0Y+TO1k3jghaj1b
rwrbciUYgyrBHi+GGodtpkQN5ke8edo9harj2Gfagq9SIazRs7DJPoKKV+RtH0x2W+vrg7uU
njDzTXCM5xgOzAjKVwCdj3CoMIIDPzCCAqigAwIBAgIBDTANBgkqhkiG9w0BAQUFADCB0TEL
MAkGA1UEBhMCWkExFTATBgNVBAgTDFdlc3Rlcm4gQ2FwZTESMBAGA1UEBxMJQ2FwZSBUb3du
MRowGAYDVQQKExFUaGF3dGUgQ29uc3VsdGluZzEoMCYGA1UECxMfQ2VydGlmaWNhdGlvbiBT
ZXJ2aWNlcyBEaXZpc2lvbjEkMCIGA1UEAxMbVGhhd3RlIFBlcnNvbmFsIEZyZWVtYWlsIENB
MSswKQYJKoZIhvcNAQkBFhxwZXJzb25hbC1mcmVlbWFpbEB0aGF3dGUuY29tMB4XDTAzMDcx
NzAwMDAwMFoXDTEzMDcxNjIzNTk1OVowYjELMAkGA1UEBhMCWkExJTAjBgNVBAoTHFRoYXd0
ZSBDb25zdWx0aW5nIChQdHkpIEx0ZC4xLDAqBgNVBAMTI1RoYXd0ZSBQZXJzb25hbCBGcmVl
bWFpbCBJc3N1aW5nIENBMIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQDEpjxVc1X7TrnK
mVoeaMB1BHCd3+n/ox7svc31W/Iadr1/DDph8r9RzgHU5VAKMNcCY1osiRVwjt3J8CuFWqo/
cVbLrzwLB+fxH5E2JCoTzyvV84J3PQO+K/67GD4Hv0CAAmTXp6a7n2XRxSpUhQ9IBH+nttE8
YQRAHmQZcmC3+wIDAQABo4GUMIGRMBIGA1UdEwEB/wQIMAYBAf8CAQAwQwYDVR0fBDwwOjA4
oDagNIYyaHR0cDovL2NybC50aGF3dGUuY29tL1RoYXd0ZVBlcnNvbmFsRnJlZW1haWxDQS5j
cmwwCwYDVR0PBAQDAgEGMCkGA1UdEQQiMCCkHjAcMRowGAYDVQQDExFQcml2YXRlTGFiZWwy
LTEzODANBgkqhkiG9w0BAQUFAAOBgQBIjNFQg+oLLswNo2asZw9/r6y+whehQ5aUnX9MIbj4
Nh+qLZ82L8D0HFAgk3A8/a3hYWLD2ToZfoSxmRsAxRoLgnSeJVCUYsfbJ3FXJY3dqZw5jowg
T2Vfldr394fWxghOrvbqNOUQGls1TXfjViF4gtwhGTXeJLHTHUb/XV9lTzGCAzswggM3AgEB
MGkwYjELMAkGA1UEBhMCWkExJTAjBgNVBAoTHFRoYXd0ZSBDb25zdWx0aW5nIChQdHkpIEx0
ZC4xLDAqBgNVBAMTI1RoYXd0ZSBQZXJzb25hbCBGcmVlbWFpbCBJc3N1aW5nIENBAgMMZPEw
CQYFKw4DAhoFAKCCAacwGAYJKoZIhvcNAQkDMQsGCSqGSIb3DQEHATAcBgkqhkiG9w0BCQUx
DxcNMDUwMTE3MjIyODU4WjAjBgkqhkiG9w0BCQQxFgQUvwUb2KE8MZqAbYqFxCwvfdn10asw
UgYJKoZIhvcNAQkPMUUwQzAKBggqhkiG9w0DBzAOBggqhkiG9w0DAgICAIAwDQYIKoZIhvcN
AwICAUAwBwYFKw4DAgcwDQYIKoZIhvcNAwICASgweAYJKwYBBAGCNxAEMWswaTBiMQswCQYD
VQQGEwJaQTElMCMGA1UEChMcVGhhd3RlIENvbnN1bHRpbmcgKFB0eSkgTHRkLjEsMCoGA1UE
AxMjVGhhd3RlIFBlcnNvbmFsIEZyZWVtYWlsIElzc3VpbmcgQ0ECAwxk8TB6BgsqhkiG9w0B
CRACCzFroGkwYjELMAkGA1UEBhMCWkExJTAjBgNVBAoTHFRoYXd0ZSBDb25zdWx0aW5nIChQ
dHkpIEx0ZC4xLDAqBgNVBAMTI1RoYXd0ZSBQZXJzb25hbCBGcmVlbWFpbCBJc3N1aW5nIENB
AgMMZPEwDQYJKoZIhvcNAQEBBQAEggEACTuZ/8meOGw7tTv18kNWTx8/BmIMPHrjczv19wmD
WL5+FcUJit5GBewCgeIBJJZXbfS77HeNnl3hNAObNzoFaiJdHROyk9Dae4r4U6tJyry2mvJ/
v4f5K5lND9x0Z2Zy3ZTcMsdIdQaoBHvc0WKzCnPI9KQtyJgcRWbU6g4DV8mShYXyyMymy6V6
DhO9LITenUfXaRk+ZGq8sbB0+u/Oq3CxzZL+iVs9rGjBA4LRVuW8t0XHltgTmLYIHixQM+yQ
awd1HGIYyC6LvJljgRG/YJvaxK/fs1XKZ5add1NhXpwPILs28+BKqNTWIpFtGt+iziW19ulG
HcN+5BjXRBuelAAAAAAAAA==
--------------ms040603050702080103070509--


From owner-ietf-sasl Mon Jan 17 14:23:06 2005
Received: from above.proper.com (localhost.vpnc.org [127.0.0.1])
	by above.proper.com (8.12.11/8.12.9) with ESMTP id j0HMN6Og013921;
	Mon, 17 Jan 2005 14:23:06 -0800 (PST)
	(envelope-from owner-ietf-sasl@mail.imc.org)
Received: (from majordom@localhost)
	by above.proper.com (8.12.11/8.12.9/Submit) id j0HMN6uR013920;
	Mon, 17 Jan 2005 14:23:06 -0800 (PST)
X-Authentication-Warning: above.proper.com: majordom set sender to owner-ietf-sasl@mail.imc.org using -f
Received: from minbar.fac.cs.cmu.edu (MINBAR.FAC.CS.CMU.EDU [128.2.185.161])
	by above.proper.com (8.12.11/8.12.9) with SMTP id j0HMN0No013907
	for <ietf-sasl@imc.org>; Mon, 17 Jan 2005 14:23:00 -0800 (PST)
	(envelope-from jhutz@cmu.edu)
Received: from minbar.fac.cs.cmu.edu ([127.0.0.1]) by minbar.fac.cs.cmu.edu
          id aa04555; 17 Jan 2005 17:22 EST
Date: Mon, 17 Jan 2005 17:22:44 -0500
From: Jeffrey Hutzelman <jhutz@cmu.edu>
To: Sam Hartman <hartmans-ietf@mit.edu>,
        "Kurt D. Zeilenga" <Kurt@OpenLDAP.org>
cc: Simon Josefsson <jas@extundo.com>, ietf-sasl@imc.org
Subject: Re: Implementing SASL PLAIN servers
Message-ID: <16490000.1106000564@minbar.fac.cs.cmu.edu>
In-Reply-To: <tslbrboxcjf.fsf@cz.mit.edu>
References: <iluvfbcm89h.fsf@latte.josefsson.org>
 	<6.1.2.0.0.20041208211630.02f89ef8@127.0.0.1>
 	<iluk6rrl8et.fsf@latte.josefsson.org>
 <tslllat1aov.fsf@cz.mit.edu>
 	<6.2.0.14.0.20050116154825.02878008@mail.openldap.org>
 <tslbrboxcjf.fsf@cz.mit.edu>
X-Mailer: Mulberry/3.0.3 (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, January 17, 2005 11:09:40 -0500 Sam Hartman 
<hartmans-ietf@mit.edu> wrote:

> In particular, I believe it is consistent with the definition of query
> string presented in section 7 to argue that a string pulled out of a
> database is a query string.  If stringprep is used when that string is
> stored in the database, it needs to be a storage string.

I agree with this interpretation.  As I understand it, the theory is that 
you want to prevent the storage into the database of a string containing a 
code point which is unassigned at the time of storage, but which in a later 
version of the profile will map to something other than itself (some other 
codepoint, or multiple code points, or the empty string) or be prohibited 
entirely.

By prohibiting unassigned code points at the time of storage, you protect 
against this problem by guaranteeing that the only mapping applied to any 
code points in the stored string is the one you know about.  And, by 
applying normalization at the same time, you guarantee that no further 
normalization will apply to the stored string, and so even if the later 
comparison is done against a string prepared against an older version of 
the profile, you know that a positive match is definitive because the older 
profile will have identity-mapped any unknown codepoints, which means they 
will match the stored string only if they map to themselves under the newer 
profile used at storage time.  (stringprep profiles are required to have 
the property that applying the transformation multiple times yields the 
same result; achieving this property is possible only if output contains 
only code points which map to themselves).

However, if you start with two unnormalized strings, normalize both of 
them, and then compare the results, you can guarantee that normalization of 
both strings was done with the same version of the profile.  In this case, 
sequences of code points which are unassigned in that version of the 
profile will match only if they are identical in both strings, since again, 
such code points are mapped to themselves.  It is true that it is possible 
to authenticate against a stored password containing a code point which 
will be prohibited in a future version of the profile; however, since we do 
not control the storage process it is beyond our power to prevent such 
passwords from being stored.

Only strings that you are going to store into a database for future use are 
storage strings.  Strings retrieved from a database are not storage 
strings, unless you are then going to store them into some other database 
(or the same one, I suppose).


In any case, it turns out that in SASL PLAIN, and in SSH password, the 
process of password comparison is out of our control.  In virtually all 
cases, the server implementation will perform whatever transformation is 
required by the backend (possibly SASLprep, possibly a noop, possibly 
conversion into some non-Unicode character set), then pass the result to 
some mechanism which does the comparison according to its own rules.  I 
think we should limit ourselves to describing what must happen on the wire 
(no normalization), and recommending behaviour for cases where the 
implementor gets to decide how passwords are handled (use SASLprep, 
prohibit unassigned codepoints when passwords are stored).




-- Jeff


From owner-ietf-sasl Mon Jan 17 14:52:37 2005
Received: from above.proper.com (localhost.vpnc.org [127.0.0.1])
	by above.proper.com (8.12.11/8.12.9) with ESMTP id j0HMqbcr017267;
	Mon, 17 Jan 2005 14:52:37 -0800 (PST)
	(envelope-from owner-ietf-sasl@mail.imc.org)
Received: (from majordom@localhost)
	by above.proper.com (8.12.11/8.12.9/Submit) id j0HMqbSb017266;
	Mon, 17 Jan 2005 14:52:37 -0800 (PST)
X-Authentication-Warning: above.proper.com: majordom set sender to owner-ietf-sasl@mail.imc.org using -f
Received: from yxa.extundo.com (root@178.230.13.217.in-addr.dgcsystems.net [217.13.230.178])
	by above.proper.com (8.12.11/8.12.9) with ESMTP id j0HMqaZe017235
	for <ietf-sasl@imc.org>; Mon, 17 Jan 2005 14:52:36 -0800 (PST)
	(envelope-from jas@extundo.com)
Received: from latte.josefsson.org (c494102a.s-bi.bostream.se [217.215.27.65])
	(authenticated bits=0)
	by yxa.extundo.com (8.13.2/8.13.2/Debian-1) with ESMTP id j0HMqLKH022465
	(version=TLSv1/SSLv3 cipher=DHE-RSA-AES128-SHA bits=128 verify=OK);
	Mon, 17 Jan 2005 23:52:22 +0100
From: Simon Josefsson <jas@extundo.com>
To: Jeffrey Altman <jaltman@columbia.edu>
Cc: ietf-sasl@imc.org
Subject: Re: Implementing SASL PLAIN servers
References: <iluvfbcm89h.fsf@latte.josefsson.org>
	<6.1.2.0.0.20041208211630.02f89ef8@127.0.0.1>
	<iluk6rrl8et.fsf@latte.josefsson.org> <tslllat1aov.fsf@cz.mit.edu>
	<6.2.0.14.0.20050116154825.02878008@mail.openldap.org>
	<ilumzv7lrzd.fsf@latte.josefsson.org> <41EC3C2A.8020402@columbia.edu>
OpenPGP: id=B565716F; url=http://josefsson.org/key.txt
X-Hashcash: 1:21:050117:jaltman@columbia.edu::VVvsckIMMixXWdzG:1tkQ
X-Hashcash: 1:21:050117:ietf-sasl@imc.org::8hKFVoCp608HmM+I:BoUL
Date: Mon, 17 Jan 2005 23:52:10 +0100
In-Reply-To: <41EC3C2A.8020402@columbia.edu> (Jeffrey Altman's message of
	"Mon, 17 Jan 2005 17:28:58 -0500")
Message-ID: <iluekgjlld1.fsf@latte.josefsson.org>
User-Agent: Gnus/5.110003 (No Gnus v0.3) Emacs/21.3.50 (gnu/linux)
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
X-Spam-Status: No, hits=0.0 required=5.0 tests=none autolearn=no version=2.64
X-Spam-Checker-Version: SpamAssassin 2.64 (2004-01-11) on yxa-iv
X-Virus-Scanned: ClamAV 0.80/664/Thu Jan 13 16:13:05 2005
	clamav-milter version 0.80j
	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 Altman <jaltman@columbia.edu> writes:

> The only time a string is a "storage string" is when a string is being
> written to a database.

Or a digitally signed structure.

I agree with your general points, however, one small comment:

> If you are going to consider things which are read from databases as
> "storage strings', then almost every string in the protocol becomes
> a "storage string" and you get yourself into a lot of trouble.  This
> is because a "Kerberos ticket", an "X.509 cert", a "Kerberos
> keytab", etc. are all databases.  Some are used by the client as a
> source of strings sent to the server; or vice versa.

I'm not sure it is a good idea to put strings with unassigned code
points inside the authenticated parts of a Kerberos ticket.  On the
other hand, I thought Kerberos principal names were restricted to
ASCII currently, so this shouldn't be a problem yet.

There is some normative text in StringPrep about this:

   Due to the way that versioning is handled in this section, stored
   strings that are embedded in structures that cannot be changed (such
   as the signed parts of digital certificates) MUST NOT contain any
   unassigned code points.

But again the use of the terminology make things confusing.  What if
you are putting a query string into a structure that cannot be
changed?  Should that be OK?

I think the StringPrep terminology was not well chosen; at least it
doesn't contribute to clarity or lean itself to simple decisions for
how to classify strings.

Perhaps it would help to avoid thinking about query vs stored.
Instead, one could focus on when unassigned code points would be
harmless vs harmful.

Thanks,
Simon


From owner-ietf-sasl Mon Jan 17 16:01:54 2005
Received: from above.proper.com (localhost.vpnc.org [127.0.0.1])
	by above.proper.com (8.12.11/8.12.9) with ESMTP id j0I01sFa041480;
	Mon, 17 Jan 2005 16:01:54 -0800 (PST)
	(envelope-from owner-ietf-sasl@mail.imc.org)
Received: (from majordom@localhost)
	by above.proper.com (8.12.11/8.12.9/Submit) id j0I01s8c041479;
	Mon, 17 Jan 2005 16:01:54 -0800 (PST)
X-Authentication-Warning: above.proper.com: majordom set sender to owner-ietf-sasl@mail.imc.org using -f
Received: from cz.mit.edu (STRATTON-FOUR-FORTY-TWO.MIT.EDU [18.187.6.187])
	by above.proper.com (8.12.11/8.12.9) with ESMTP id j0I01j8n041470
	for <ietf-sasl@imc.org>; Mon, 17 Jan 2005 16:01:45 -0800 (PST)
	(envelope-from hartmans@mit.edu)
Received: by cz.mit.edu (Postfix, from userid 8042)
	id BFBCDE0063; Mon, 17 Jan 2005 19:01:41 -0500 (EST)
To: Simon Josefsson <jas@extundo.com>
Cc: Jeffrey Altman <jaltman@columbia.edu>, ietf-sasl@imc.org
Subject: Re: Implementing SASL PLAIN servers
References: <iluvfbcm89h.fsf@latte.josefsson.org>
	<6.1.2.0.0.20041208211630.02f89ef8@127.0.0.1>
	<iluk6rrl8et.fsf@latte.josefsson.org> <tslllat1aov.fsf@cz.mit.edu>
	<6.2.0.14.0.20050116154825.02878008@mail.openldap.org>
	<ilumzv7lrzd.fsf@latte.josefsson.org> <41EC3C2A.8020402@columbia.edu>
	<iluekgjlld1.fsf@latte.josefsson.org>
From: Sam Hartman <hartmans-ietf@mit.edu>
Date: Mon, 17 Jan 2005 19:01:41 -0500
In-Reply-To: <iluekgjlld1.fsf@latte.josefsson.org> (Simon Josefsson's
 message of "Mon, 17 Jan 2005 23:52:10 +0100")
Message-ID: <tsl7jmbmwpm.fsf@cz.mit.edu>
User-Agent: Gnus/5.1006 (Gnus v5.10.6) Emacs/21.3 (gnu/linux)
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
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>


>>>>> "Simon" == Simon Josefsson <jas@extundo.com> writes:

    Simon> I agree with your general points, however, one small
    Simon> comment:

    >> If you are going to consider things which are read from
    >> databases as "storage strings', then almost every string in the
    >> protocol becomes a "storage string" and you get yourself into a
    >> lot of trouble.  This is because a "Kerberos ticket", an "X.509
    >> cert", a "Kerberos keytab", etc. are all databases.  Some are
    >> used by the client as a source of strings sent to the server;
    >> or vice versa.

    Simon> I'm not sure it is a good idea to put strings with
    Simon> unassigned code points inside the authenticated parts of a
    Simon> Kerberos ticket.  On the other hand, I thought Kerberos
    Simon> principal names were restricted to ASCII currently, so this
    Simon> shouldn't be a problem yet.

This really belongs on another list.  However for names in the
encrypted part of a ticket, these names should be storage strings of
the administration protocol used to create the account.  At that point
you do the unassigned codepoint check.

--Sam


From owner-ietf-sasl Mon Jan 17 19:16:02 2005
Received: from above.proper.com (localhost.vpnc.org [127.0.0.1])
	by above.proper.com (8.12.11/8.12.9) with ESMTP id j0I3G2uY014709;
	Mon, 17 Jan 2005 19:16:02 -0800 (PST)
	(envelope-from owner-ietf-sasl@mail.imc.org)
Received: (from majordom@localhost)
	by above.proper.com (8.12.11/8.12.9/Submit) id j0I3G2dA014708;
	Mon, 17 Jan 2005 19:16:02 -0800 (PST)
X-Authentication-Warning: above.proper.com: majordom set sender to owner-ietf-sasl@mail.imc.org using -f
Received: from boole.openldap.org (root@boole.openldap.org [204.152.186.50])
	by above.proper.com (8.12.11/8.12.9) with ESMTP id j0I3G15b014702
	for <ietf-sasl@imc.org>; Mon, 17 Jan 2005 19:16:01 -0800 (PST)
	(envelope-from Kurt@OpenLDAP.org)
Received: from gypsy.OpenLDAP.org (24-205-218-53.cs-cres.charterpipeline.net [24.205.218.53])
	(authenticated bits=0)
	by boole.openldap.org (8.13.1/8.13.1) with ESMTP id j0I3FtpA050096
	(version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO);
	Tue, 18 Jan 2005 03:15:56 GMT
	(envelope-from Kurt@OpenLDAP.org)
Message-Id: <6.2.0.14.0.20050117191025.02d54d58@mail.openldap.org>
X-Mailer: QUALCOMM Windows Eudora Version 6.2.0.14
Date: Mon, 17 Jan 2005 19:15:25 -0800
To: Jeffrey Altman <jaltman@columbia.edu>
From: "Kurt D. Zeilenga" <Kurt@OpenLDAP.org>
Subject: Re: Implementing SASL PLAIN servers
Cc: ietf-sasl@imc.org
In-Reply-To: <41EC3C2A.8020402@columbia.edu>
References: <iluvfbcm89h.fsf@latte.josefsson.org>
 <6.1.2.0.0.20041208211630.02f89ef8@127.0.0.1>
 <iluk6rrl8et.fsf@latte.josefsson.org>
 <tslllat1aov.fsf@cz.mit.edu>
 <6.2.0.14.0.20050116154825.02878008@mail.openldap.org>
 <ilumzv7lrzd.fsf@latte.josefsson.org>
 <41EC3C2A.8020402@columbia.edu>
Mime-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
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 02:28 PM 1/17/2005, Jeffrey Altman wrote:
>Simon Josefsson wrote:
>>The problem is the circular use of the terms "query strings" and
>>"stored strings".  If you consider strings pulled from a databases as
>>"stored", then you implement it your way, if you consider strings
>>pulled from a database as query strings ("queries" into the PLAIN
>>authorization algorithm), you will implement Sam's way.  Neither
>>implementation would appear to violate the above text.
>
>I realize I have not been paying as much attention to this discussion
>as I should be.  I apologize for the delay.
>
>When Jeff Hutzelman and I were analyzing the Kerberos protocol to determine which category each string falls into,

If by category, you mean "storage" and "query", that's a mistake in
my opinion.  You should determine which of the two strings involved
in the comparison should be allowed to contain unassigned code
points.  That is, don't get wrapped about the terms "storage"
and "query".  They might as well have been called Foo and Bar
strings.  What's important is not both strings involved in the
comparison not be allowed to contain unassigned code points.

>In fact, you can
>even have two "query strings" from different sources compared with one
>another. 

Then maybe it makes sense to disallow unassigned code points in
both.

Kurt 


From owner-ietf-sasl Mon Jan 17 19:27:43 2005
Received: from above.proper.com (localhost.vpnc.org [127.0.0.1])
	by above.proper.com (8.12.11/8.12.9) with ESMTP id j0I3RgfV016487;
	Mon, 17 Jan 2005 19:27:42 -0800 (PST)
	(envelope-from owner-ietf-sasl@mail.imc.org)
Received: (from majordom@localhost)
	by above.proper.com (8.12.11/8.12.9/Submit) id j0I3Rg4o016483;
	Mon, 17 Jan 2005 19:27:42 -0800 (PST)
X-Authentication-Warning: above.proper.com: majordom set sender to owner-ietf-sasl@mail.imc.org using -f
Received: from boole.openldap.org (root@boole.openldap.org [204.152.186.50])
	by above.proper.com (8.12.11/8.12.9) with ESMTP id j0I3RXqX016319
	for <ietf-sasl@imc.org>; Mon, 17 Jan 2005 19:27:33 -0800 (PST)
	(envelope-from Kurt@OpenLDAP.org)
Received: from gypsy.OpenLDAP.org (24-205-218-53.cs-cres.charterpipeline.net [24.205.218.53])
	(authenticated bits=0)
	by boole.openldap.org (8.13.1/8.13.1) with ESMTP id j0I3ON1A050446
	(version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO);
	Tue, 18 Jan 2005 03:24:23 GMT
	(envelope-from Kurt@OpenLDAP.org)
Message-Id: <6.2.0.14.0.20050117191742.02d08e40@mail.openldap.org>
X-Mailer: QUALCOMM Windows Eudora Version 6.2.0.14
Date: Mon, 17 Jan 2005 19:23:52 -0800
To: Jeffrey Hutzelman <jhutz@cmu.edu>
From: "Kurt D. Zeilenga" <Kurt@OpenLDAP.org>
Subject: Re: Implementing SASL PLAIN servers
Cc: Sam Hartman <hartmans-ietf@mit.edu>, Simon Josefsson <jas@extundo.com>,
        ietf-sasl@imc.org
In-Reply-To: <16490000.1106000564@minbar.fac.cs.cmu.edu>
References: <iluvfbcm89h.fsf@latte.josefsson.org>
 <6.1.2.0.0.20041208211630.02f89ef8@127.0.0.1>
 <iluk6rrl8et.fsf@latte.josefsson.org>
 <tslllat1aov.fsf@cz.mit.edu>
 <6.2.0.14.0.20050116154825.02878008@mail.openldap.org>
 <tslbrboxcjf.fsf@cz.mit.edu>
 <16490000.1106000564@minbar.fac.cs.cmu.edu>
Mime-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
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 02:22 PM 1/17/2005, Jeffrey Hutzelman wrote:
>I think we should limit ourselves to describing what must happen on the wire (no normalization), and recommending behaviour for cases where the implementor gets to decide how passwords are handled (use SASLprep, prohibit unassigned codepoints when passwords are stored). 

So, you appear to concur with the proposed (see archives, ~
9-Dec-04) "SHOULD use SASLprep" behavior.   As I noted to Sam,
I intend to update the I-D to this end soon.

Kurt


From owner-ietf-sasl Mon Jan 17 19:32:54 2005
Received: from above.proper.com (localhost.vpnc.org [127.0.0.1])
	by above.proper.com (8.12.11/8.12.9) with ESMTP id j0I3WssC016851;
	Mon, 17 Jan 2005 19:32:54 -0800 (PST)
	(envelope-from owner-ietf-sasl@mail.imc.org)
Received: (from majordom@localhost)
	by above.proper.com (8.12.11/8.12.9/Submit) id j0I3WsBU016850;
	Mon, 17 Jan 2005 19:32:54 -0800 (PST)
X-Authentication-Warning: above.proper.com: majordom set sender to owner-ietf-sasl@mail.imc.org using -f
Received: from boole.openldap.org (root@boole.openldap.org [204.152.186.50])
	by above.proper.com (8.12.11/8.12.9) with ESMTP id j0I3Wsm6016844
	for <ietf-sasl@imc.org>; Mon, 17 Jan 2005 19:32:54 -0800 (PST)
	(envelope-from Kurt@OpenLDAP.org)
Received: from gypsy.OpenLDAP.org (24-205-218-53.cs-cres.charterpipeline.net [24.205.218.53])
	(authenticated bits=0)
	by boole.openldap.org (8.13.1/8.13.1) with ESMTP id j0I3TfTS050699
	(version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO);
	Tue, 18 Jan 2005 03:32:51 GMT
	(envelope-from Kurt@OpenLDAP.org)
Message-Id: <6.2.0.14.0.20050117192517.02cced10@mail.openldap.org>
X-Mailer: QUALCOMM Windows Eudora Version 6.2.0.14
Date: Mon, 17 Jan 2005 19:29:11 -0800
To: Simon Josefsson <jas@extundo.com>
From: "Kurt D. Zeilenga" <Kurt@OpenLDAP.org>
Subject: Re: Implementing SASL PLAIN servers
Cc: Jeffrey Altman <jaltman@columbia.edu>, ietf-sasl@imc.org
In-Reply-To: <iluekgjlld1.fsf@latte.josefsson.org>
References: <iluvfbcm89h.fsf@latte.josefsson.org>
 <6.1.2.0.0.20041208211630.02f89ef8@127.0.0.1>
 <iluk6rrl8et.fsf@latte.josefsson.org>
 <tslllat1aov.fsf@cz.mit.edu>
 <6.2.0.14.0.20050116154825.02878008@mail.openldap.org>
 <ilumzv7lrzd.fsf@latte.josefsson.org>
 <41EC3C2A.8020402@columbia.edu>
 <iluekgjlld1.fsf@latte.josefsson.org>
Mime-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
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 02:52 PM 1/17/2005, Simon Josefsson wrote:
>Perhaps it would help to avoid thinking about query vs stored.
>Instead, one could focus on when unassigned code points would be
>harmless vs harmful. 

Precisely.  In PLAIN, when SASLprep is used, the presented
strings may contain unassigned code points and the (stored)
strings they are compared against cannot.

If SASLprep is not being used, the implementor should still
avoid allowing unassigned code points from appearing in both
strings involved in a comparison... possibly by disallowing
unassigned code points in the presented string.

Kurt 


From owner-ietf-sasl Tue Jan 18 00:08:20 2005
Received: from above.proper.com (localhost.vpnc.org [127.0.0.1])
	by above.proper.com (8.12.11/8.12.9) with ESMTP id j0I88JW2075494;
	Tue, 18 Jan 2005 00:08:19 -0800 (PST)
	(envelope-from owner-ietf-sasl@mail.imc.org)
Received: (from majordom@localhost)
	by above.proper.com (8.12.11/8.12.9/Submit) id j0I88J62075493;
	Tue, 18 Jan 2005 00:08:19 -0800 (PST)
X-Authentication-Warning: above.proper.com: majordom set sender to owner-ietf-sasl@mail.imc.org using -f
Received: from yxa.extundo.com (root@178.230.13.217.in-addr.dgcsystems.net [217.13.230.178])
	by above.proper.com (8.12.11/8.12.9) with ESMTP id j0I88FpR075418
	for <ietf-sasl@imc.org>; Tue, 18 Jan 2005 00:08:19 -0800 (PST)
	(envelope-from jas@extundo.com)
Received: from latte.josefsson.org (c494102a.s-bi.bostream.se [217.215.27.65])
	(authenticated bits=0)
	by yxa.extundo.com (8.13.2/8.13.2/Debian-1) with ESMTP id j0I880fs018140
	(version=TLSv1/SSLv3 cipher=DHE-RSA-AES128-SHA bits=128 verify=OK);
	Tue, 18 Jan 2005 09:08:01 +0100
From: Simon Josefsson <jas@extundo.com>
To: Sam Hartman <hartmans-ietf@mit.edu>
Cc: Jeffrey Altman <jaltman@columbia.edu>, ietf-sasl@imc.org
Subject: Re: Implementing SASL PLAIN servers
References: <iluvfbcm89h.fsf@latte.josefsson.org>
	<6.1.2.0.0.20041208211630.02f89ef8@127.0.0.1>
	<iluk6rrl8et.fsf@latte.josefsson.org> <tslllat1aov.fsf@cz.mit.edu>
	<6.2.0.14.0.20050116154825.02878008@mail.openldap.org>
	<ilumzv7lrzd.fsf@latte.josefsson.org> <41EC3C2A.8020402@columbia.edu>
	<iluekgjlld1.fsf@latte.josefsson.org> <tsl7jmbmwpm.fsf@cz.mit.edu>
OpenPGP: id=B565716F; url=http://josefsson.org/key.txt
X-Hashcash: 1:21:050118:jaltman@columbia.edu::Je7eYNFbEY4rkHwz:18tR
X-Hashcash: 1:21:050118:ietf-sasl@imc.org::s0HtfSln0QI+0zHK:DPfL
X-Hashcash: 1:21:050118:hartmans-ietf@mit.edu::rarC/WdTLP/Peg/0:Jk82
Date: Tue, 18 Jan 2005 09:07:49 +0100
In-Reply-To: <tsl7jmbmwpm.fsf@cz.mit.edu> (Sam Hartman's message of "Mon, 17
	Jan 2005 19:01:41 -0500")
Message-ID: <ilu3bwzkvmy.fsf@latte.josefsson.org>
User-Agent: Gnus/5.110003 (No Gnus v0.3) Emacs/21.3.50 (gnu/linux)
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
X-Spam-Status: No, hits=0.0 required=5.0 tests=none autolearn=no version=2.64
X-Spam-Checker-Version: SpamAssassin 2.64 (2004-01-11) on yxa-iv
X-Virus-Scanned: ClamAV 0.80/664/Thu Jan 13 16:13:05 2005
	clamav-milter version 0.80j
	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>


Sam Hartman <hartmans-ietf@mit.edu> writes:

>     Simon> I'm not sure it is a good idea to put strings with
>     Simon> unassigned code points inside the authenticated parts of a
>     Simon> Kerberos ticket.  On the other hand, I thought Kerberos
>     Simon> principal names were restricted to ASCII currently, so this
>     Simon> shouldn't be a problem yet.
>
> This really belongs on another list.  However for names in the
> encrypted part of a ticket, these names should be storage strings of
> the administration protocol used to create the account.  At that point
> you do the unassigned codepoint check.

It seems the situation is similar to the SASL PLAIN situation.

The strings in the database might not have been processed by SASLprep.
That's partly because there is no standardized admin protocol that
suggest SASLprep.  So whether the database contain prepared or
unprepared strings is an implementation choice.

Unless a specific database model is assumed by SASL PLAIN or Kerberos,
those specifications has to discuss how strings pulled out of the
database should be prepared, if at all.  For SASL PLAIN I think either
choice (i.e., permit or forbid unassigned code points) are reasonable,
but for Kerberos, where the string may eventually end up in an
authenticated structure, I'm not as sure.

Regards,
Simon


From owner-ietf-sasl Fri Jan 21 12:57:15 2005
Received: from above.proper.com (localhost.vpnc.org [127.0.0.1])
	by above.proper.com (8.12.11/8.12.9) with ESMTP id j0LKvF4U055557;
	Fri, 21 Jan 2005 12:57:15 -0800 (PST)
	(envelope-from owner-ietf-sasl@mail.imc.org)
Received: (from majordom@localhost)
	by above.proper.com (8.12.11/8.12.9/Submit) id j0LKvFuX055556;
	Fri, 21 Jan 2005 12:57:15 -0800 (PST)
X-Authentication-Warning: above.proper.com: majordom set sender to owner-ietf-sasl@mail.imc.org using -f
Received: from ietf.org (odin.ietf.org [132.151.1.176])
	by above.proper.com (8.12.11/8.12.9) with ESMTP id j0LKvEd5055550
	for <ietf-sasl@imc.org>; Fri, 21 Jan 2005 12:57:14 -0800 (PST)
	(envelope-from dinaras@cnri.reston.va.us)
Received: from CNRI.Reston.VA.US (localhost [127.0.0.1])
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id PAA18578;
	Fri, 21 Jan 2005 15:57:12 -0500 (EST)
Message-Id: <200501212057.PAA18578@ietf.org>
Mime-Version: 1.0
Content-Type: Multipart/Mixed; Boundary="NextPart"
To: i-d-announce@ietf.org
Cc: ietf-sasl@imc.org
From: Internet-Drafts@ietf.org
Subject: I-D ACTION:draft-ietf-sasl-plain-06.txt
Date: Fri, 21 Jan 2005 15:57:11 -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 Plain SASL Mechanism
	Author(s)	: K. Zeilenga
	Filename	: draft-ietf-sasl-plain-06.txt
	Pages		: 10
	Date		: 2005-1-21
	
This document defines a simple clear-text user/password Simple
Authentication and Security Layer (SASL) mechanism called the PLAIN
mechanism.  The PLAIN mechanism intended to be used, in combination
with data confidentiality services provided by a lower layer, in
protocols which lack a simple password authentication command.

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

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


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

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


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

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

--NextPart
Content-Type: Multipart/Alternative; Boundary="OtherAccess"

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

Content-Type: text/plain
Content-ID:	<2005-1-21162823.I-D@ietf.org>

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

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

Content-Type: text/plain
Content-ID:	<2005-1-21162823.I-D@ietf.org>

--OtherAccess--

--NextPart--




Received: from above.proper.com (localhost.vpnc.org [127.0.0.1]) by above.proper.com (8.12.11/8.12.9) with ESMTP id j0LKvF4U055557; Fri, 21 Jan 2005 12:57:15 -0800 (PST) (envelope-from owner-ietf-sasl@mail.imc.org)
Received: (from majordom@localhost) by above.proper.com (8.12.11/8.12.9/Submit) id j0LKvFuX055556; Fri, 21 Jan 2005 12:57:15 -0800 (PST)
X-Authentication-Warning: above.proper.com: majordom set sender to owner-ietf-sasl@mail.imc.org using -f
Received: from ietf.org (odin.ietf.org [132.151.1.176]) by above.proper.com (8.12.11/8.12.9) with ESMTP id j0LKvEd5055550 for <ietf-sasl@imc.org>; Fri, 21 Jan 2005 12:57:14 -0800 (PST) (envelope-from dinaras@cnri.reston.va.us)
Received: from CNRI.Reston.VA.US (localhost [127.0.0.1]) by ietf.org (8.9.1a/8.9.1a) with ESMTP id PAA18578; Fri, 21 Jan 2005 15:57:12 -0500 (EST)
Message-Id: <200501212057.PAA18578@ietf.org>
Mime-Version: 1.0
Content-Type: Multipart/Mixed; Boundary="NextPart"
To: i-d-announce@ietf.org
Cc: ietf-sasl@imc.org
From: Internet-Drafts@ietf.org
Subject: I-D ACTION:draft-ietf-sasl-plain-06.txt
Date: Fri, 21 Jan 2005 15:57:11 -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 Plain SASL Mechanism
	Author(s)	: K. Zeilenga
	Filename	: draft-ietf-sasl-plain-06.txt
	Pages		: 10
	Date		: 2005-1-21
	
This document defines a simple clear-text user/password Simple
Authentication and Security Layer (SASL) mechanism called the PLAIN
mechanism.  The PLAIN mechanism intended to be used, in combination
with data confidentiality services provided by a lower layer, in
protocols which lack a simple password authentication command.

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

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


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

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


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

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

--NextPart
Content-Type: Multipart/Alternative; Boundary="OtherAccess"

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

Content-Type: text/plain
Content-ID:	<2005-1-21162823.I-D@ietf.org>

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

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

Content-Type: text/plain
Content-ID:	<2005-1-21162823.I-D@ietf.org>

--OtherAccess--

--NextPart--




Received: from above.proper.com (localhost.vpnc.org [127.0.0.1]) by above.proper.com (8.12.11/8.12.9) with ESMTP id j0I88JW2075494; Tue, 18 Jan 2005 00:08:19 -0800 (PST) (envelope-from owner-ietf-sasl@mail.imc.org)
Received: (from majordom@localhost) by above.proper.com (8.12.11/8.12.9/Submit) id j0I88J62075493; Tue, 18 Jan 2005 00:08:19 -0800 (PST)
X-Authentication-Warning: above.proper.com: majordom set sender to owner-ietf-sasl@mail.imc.org using -f
Received: from yxa.extundo.com (root@178.230.13.217.in-addr.dgcsystems.net [217.13.230.178]) by above.proper.com (8.12.11/8.12.9) with ESMTP id j0I88FpR075418 for <ietf-sasl@imc.org>; Tue, 18 Jan 2005 00:08:19 -0800 (PST) (envelope-from jas@extundo.com)
Received: from latte.josefsson.org (c494102a.s-bi.bostream.se [217.215.27.65]) (authenticated bits=0) by yxa.extundo.com (8.13.2/8.13.2/Debian-1) with ESMTP id j0I880fs018140 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES128-SHA bits=128 verify=OK); Tue, 18 Jan 2005 09:08:01 +0100
From: Simon Josefsson <jas@extundo.com>
To: Sam Hartman <hartmans-ietf@mit.edu>
Cc: Jeffrey Altman <jaltman@columbia.edu>, ietf-sasl@imc.org
Subject: Re: Implementing SASL PLAIN servers
References: <iluvfbcm89h.fsf@latte.josefsson.org> <6.1.2.0.0.20041208211630.02f89ef8@127.0.0.1> <iluk6rrl8et.fsf@latte.josefsson.org> <tslllat1aov.fsf@cz.mit.edu> <6.2.0.14.0.20050116154825.02878008@mail.openldap.org> <ilumzv7lrzd.fsf@latte.josefsson.org> <41EC3C2A.8020402@columbia.edu> <iluekgjlld1.fsf@latte.josefsson.org> <tsl7jmbmwpm.fsf@cz.mit.edu>
OpenPGP: id=B565716F; url=http://josefsson.org/key.txt
X-Hashcash: 1:21:050118:jaltman@columbia.edu::Je7eYNFbEY4rkHwz:18tR
X-Hashcash: 1:21:050118:ietf-sasl@imc.org::s0HtfSln0QI+0zHK:DPfL
X-Hashcash: 1:21:050118:hartmans-ietf@mit.edu::rarC/WdTLP/Peg/0:Jk82
Date: Tue, 18 Jan 2005 09:07:49 +0100
In-Reply-To: <tsl7jmbmwpm.fsf@cz.mit.edu> (Sam Hartman's message of "Mon, 17 Jan 2005 19:01:41 -0500")
Message-ID: <ilu3bwzkvmy.fsf@latte.josefsson.org>
User-Agent: Gnus/5.110003 (No Gnus v0.3) Emacs/21.3.50 (gnu/linux)
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
X-Spam-Status: No, hits=0.0 required=5.0 tests=none autolearn=no version=2.64
X-Spam-Checker-Version: SpamAssassin 2.64 (2004-01-11) on yxa-iv
X-Virus-Scanned: ClamAV 0.80/664/Thu Jan 13 16:13:05 2005 clamav-milter version 0.80j 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>

Sam Hartman <hartmans-ietf@mit.edu> writes:

>     Simon> I'm not sure it is a good idea to put strings with
>     Simon> unassigned code points inside the authenticated parts of a
>     Simon> Kerberos ticket.  On the other hand, I thought Kerberos
>     Simon> principal names were restricted to ASCII currently, so this
>     Simon> shouldn't be a problem yet.
>
> This really belongs on another list.  However for names in the
> encrypted part of a ticket, these names should be storage strings of
> the administration protocol used to create the account.  At that point
> you do the unassigned codepoint check.

It seems the situation is similar to the SASL PLAIN situation.

The strings in the database might not have been processed by SASLprep.
That's partly because there is no standardized admin protocol that
suggest SASLprep.  So whether the database contain prepared or
unprepared strings is an implementation choice.

Unless a specific database model is assumed by SASL PLAIN or Kerberos,
those specifications has to discuss how strings pulled out of the
database should be prepared, if at all.  For SASL PLAIN I think either
choice (i.e., permit or forbid unassigned code points) are reasonable,
but for Kerberos, where the string may eventually end up in an
authenticated structure, I'm not as sure.

Regards,
Simon



Received: from above.proper.com (localhost.vpnc.org [127.0.0.1]) by above.proper.com (8.12.11/8.12.9) with ESMTP id j0I3WssC016851; Mon, 17 Jan 2005 19:32:54 -0800 (PST) (envelope-from owner-ietf-sasl@mail.imc.org)
Received: (from majordom@localhost) by above.proper.com (8.12.11/8.12.9/Submit) id j0I3WsBU016850; Mon, 17 Jan 2005 19:32:54 -0800 (PST)
X-Authentication-Warning: above.proper.com: majordom set sender to owner-ietf-sasl@mail.imc.org using -f
Received: from boole.openldap.org (root@boole.openldap.org [204.152.186.50]) by above.proper.com (8.12.11/8.12.9) with ESMTP id j0I3Wsm6016844 for <ietf-sasl@imc.org>; Mon, 17 Jan 2005 19:32:54 -0800 (PST) (envelope-from Kurt@OpenLDAP.org)
Received: from gypsy.OpenLDAP.org (24-205-218-53.cs-cres.charterpipeline.net [24.205.218.53]) (authenticated bits=0) by boole.openldap.org (8.13.1/8.13.1) with ESMTP id j0I3TfTS050699 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Tue, 18 Jan 2005 03:32:51 GMT (envelope-from Kurt@OpenLDAP.org)
Message-Id: <6.2.0.14.0.20050117192517.02cced10@mail.openldap.org>
X-Mailer: QUALCOMM Windows Eudora Version 6.2.0.14
Date: Mon, 17 Jan 2005 19:29:11 -0800
To: Simon Josefsson <jas@extundo.com>
From: "Kurt D. Zeilenga" <Kurt@OpenLDAP.org>
Subject: Re: Implementing SASL PLAIN servers
Cc: Jeffrey Altman <jaltman@columbia.edu>, ietf-sasl@imc.org
In-Reply-To: <iluekgjlld1.fsf@latte.josefsson.org>
References: <iluvfbcm89h.fsf@latte.josefsson.org> <6.1.2.0.0.20041208211630.02f89ef8@127.0.0.1> <iluk6rrl8et.fsf@latte.josefsson.org> <tslllat1aov.fsf@cz.mit.edu> <6.2.0.14.0.20050116154825.02878008@mail.openldap.org> <ilumzv7lrzd.fsf@latte.josefsson.org> <41EC3C2A.8020402@columbia.edu> <iluekgjlld1.fsf@latte.josefsson.org>
Mime-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
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 02:52 PM 1/17/2005, Simon Josefsson wrote:
>Perhaps it would help to avoid thinking about query vs stored.
>Instead, one could focus on when unassigned code points would be
>harmless vs harmful. 

Precisely.  In PLAIN, when SASLprep is used, the presented
strings may contain unassigned code points and the (stored)
strings they are compared against cannot.

If SASLprep is not being used, the implementor should still
avoid allowing unassigned code points from appearing in both
strings involved in a comparison... possibly by disallowing
unassigned code points in the presented string.

Kurt 



Received: from above.proper.com (localhost.vpnc.org [127.0.0.1]) by above.proper.com (8.12.11/8.12.9) with ESMTP id j0I3RgfV016487; Mon, 17 Jan 2005 19:27:42 -0800 (PST) (envelope-from owner-ietf-sasl@mail.imc.org)
Received: (from majordom@localhost) by above.proper.com (8.12.11/8.12.9/Submit) id j0I3Rg4o016483; Mon, 17 Jan 2005 19:27:42 -0800 (PST)
X-Authentication-Warning: above.proper.com: majordom set sender to owner-ietf-sasl@mail.imc.org using -f
Received: from boole.openldap.org (root@boole.openldap.org [204.152.186.50]) by above.proper.com (8.12.11/8.12.9) with ESMTP id j0I3RXqX016319 for <ietf-sasl@imc.org>; Mon, 17 Jan 2005 19:27:33 -0800 (PST) (envelope-from Kurt@OpenLDAP.org)
Received: from gypsy.OpenLDAP.org (24-205-218-53.cs-cres.charterpipeline.net [24.205.218.53]) (authenticated bits=0) by boole.openldap.org (8.13.1/8.13.1) with ESMTP id j0I3ON1A050446 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Tue, 18 Jan 2005 03:24:23 GMT (envelope-from Kurt@OpenLDAP.org)
Message-Id: <6.2.0.14.0.20050117191742.02d08e40@mail.openldap.org>
X-Mailer: QUALCOMM Windows Eudora Version 6.2.0.14
Date: Mon, 17 Jan 2005 19:23:52 -0800
To: Jeffrey Hutzelman <jhutz@cmu.edu>
From: "Kurt D. Zeilenga" <Kurt@OpenLDAP.org>
Subject: Re: Implementing SASL PLAIN servers
Cc: Sam Hartman <hartmans-ietf@mit.edu>, Simon Josefsson <jas@extundo.com>, ietf-sasl@imc.org
In-Reply-To: <16490000.1106000564@minbar.fac.cs.cmu.edu>
References: <iluvfbcm89h.fsf@latte.josefsson.org> <6.1.2.0.0.20041208211630.02f89ef8@127.0.0.1> <iluk6rrl8et.fsf@latte.josefsson.org> <tslllat1aov.fsf@cz.mit.edu> <6.2.0.14.0.20050116154825.02878008@mail.openldap.org> <tslbrboxcjf.fsf@cz.mit.edu> <16490000.1106000564@minbar.fac.cs.cmu.edu>
Mime-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
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 02:22 PM 1/17/2005, Jeffrey Hutzelman wrote:
>I think we should limit ourselves to describing what must happen on the wire (no normalization), and recommending behaviour for cases where the implementor gets to decide how passwords are handled (use SASLprep, prohibit unassigned codepoints when passwords are stored). 

So, you appear to concur with the proposed (see archives, ~
9-Dec-04) "SHOULD use SASLprep" behavior.   As I noted to Sam,
I intend to update the I-D to this end soon.

Kurt



Received: from above.proper.com (localhost.vpnc.org [127.0.0.1]) by above.proper.com (8.12.11/8.12.9) with ESMTP id j0I3G2uY014709; Mon, 17 Jan 2005 19:16:02 -0800 (PST) (envelope-from owner-ietf-sasl@mail.imc.org)
Received: (from majordom@localhost) by above.proper.com (8.12.11/8.12.9/Submit) id j0I3G2dA014708; Mon, 17 Jan 2005 19:16:02 -0800 (PST)
X-Authentication-Warning: above.proper.com: majordom set sender to owner-ietf-sasl@mail.imc.org using -f
Received: from boole.openldap.org (root@boole.openldap.org [204.152.186.50]) by above.proper.com (8.12.11/8.12.9) with ESMTP id j0I3G15b014702 for <ietf-sasl@imc.org>; Mon, 17 Jan 2005 19:16:01 -0800 (PST) (envelope-from Kurt@OpenLDAP.org)
Received: from gypsy.OpenLDAP.org (24-205-218-53.cs-cres.charterpipeline.net [24.205.218.53]) (authenticated bits=0) by boole.openldap.org (8.13.1/8.13.1) with ESMTP id j0I3FtpA050096 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Tue, 18 Jan 2005 03:15:56 GMT (envelope-from Kurt@OpenLDAP.org)
Message-Id: <6.2.0.14.0.20050117191025.02d54d58@mail.openldap.org>
X-Mailer: QUALCOMM Windows Eudora Version 6.2.0.14
Date: Mon, 17 Jan 2005 19:15:25 -0800
To: Jeffrey Altman <jaltman@columbia.edu>
From: "Kurt D. Zeilenga" <Kurt@OpenLDAP.org>
Subject: Re: Implementing SASL PLAIN servers
Cc: ietf-sasl@imc.org
In-Reply-To: <41EC3C2A.8020402@columbia.edu>
References: <iluvfbcm89h.fsf@latte.josefsson.org> <6.1.2.0.0.20041208211630.02f89ef8@127.0.0.1> <iluk6rrl8et.fsf@latte.josefsson.org> <tslllat1aov.fsf@cz.mit.edu> <6.2.0.14.0.20050116154825.02878008@mail.openldap.org> <ilumzv7lrzd.fsf@latte.josefsson.org> <41EC3C2A.8020402@columbia.edu>
Mime-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
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 02:28 PM 1/17/2005, Jeffrey Altman wrote:
>Simon Josefsson wrote:
>>The problem is the circular use of the terms "query strings" and
>>"stored strings".  If you consider strings pulled from a databases as
>>"stored", then you implement it your way, if you consider strings
>>pulled from a database as query strings ("queries" into the PLAIN
>>authorization algorithm), you will implement Sam's way.  Neither
>>implementation would appear to violate the above text.
>
>I realize I have not been paying as much attention to this discussion
>as I should be.  I apologize for the delay.
>
>When Jeff Hutzelman and I were analyzing the Kerberos protocol to determine which category each string falls into,

If by category, you mean "storage" and "query", that's a mistake in
my opinion.  You should determine which of the two strings involved
in the comparison should be allowed to contain unassigned code
points.  That is, don't get wrapped about the terms "storage"
and "query".  They might as well have been called Foo and Bar
strings.  What's important is not both strings involved in the
comparison not be allowed to contain unassigned code points.

>In fact, you can
>even have two "query strings" from different sources compared with one
>another. 

Then maybe it makes sense to disallow unassigned code points in
both.

Kurt 



Received: from above.proper.com (localhost.vpnc.org [127.0.0.1]) by above.proper.com (8.12.11/8.12.9) with ESMTP id j0I01sFa041480; Mon, 17 Jan 2005 16:01:54 -0800 (PST) (envelope-from owner-ietf-sasl@mail.imc.org)
Received: (from majordom@localhost) by above.proper.com (8.12.11/8.12.9/Submit) id j0I01s8c041479; Mon, 17 Jan 2005 16:01:54 -0800 (PST)
X-Authentication-Warning: above.proper.com: majordom set sender to owner-ietf-sasl@mail.imc.org using -f
Received: from cz.mit.edu (STRATTON-FOUR-FORTY-TWO.MIT.EDU [18.187.6.187]) by above.proper.com (8.12.11/8.12.9) with ESMTP id j0I01j8n041470 for <ietf-sasl@imc.org>; Mon, 17 Jan 2005 16:01:45 -0800 (PST) (envelope-from hartmans@mit.edu)
Received: by cz.mit.edu (Postfix, from userid 8042) id BFBCDE0063; Mon, 17 Jan 2005 19:01:41 -0500 (EST)
To: Simon Josefsson <jas@extundo.com>
Cc: Jeffrey Altman <jaltman@columbia.edu>, ietf-sasl@imc.org
Subject: Re: Implementing SASL PLAIN servers
References: <iluvfbcm89h.fsf@latte.josefsson.org> <6.1.2.0.0.20041208211630.02f89ef8@127.0.0.1> <iluk6rrl8et.fsf@latte.josefsson.org> <tslllat1aov.fsf@cz.mit.edu> <6.2.0.14.0.20050116154825.02878008@mail.openldap.org> <ilumzv7lrzd.fsf@latte.josefsson.org> <41EC3C2A.8020402@columbia.edu> <iluekgjlld1.fsf@latte.josefsson.org>
From: Sam Hartman <hartmans-ietf@mit.edu>
Date: Mon, 17 Jan 2005 19:01:41 -0500
In-Reply-To: <iluekgjlld1.fsf@latte.josefsson.org> (Simon Josefsson's message of "Mon, 17 Jan 2005 23:52:10 +0100")
Message-ID: <tsl7jmbmwpm.fsf@cz.mit.edu>
User-Agent: Gnus/5.1006 (Gnus v5.10.6) Emacs/21.3 (gnu/linux)
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
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>

>>>>> "Simon" == Simon Josefsson <jas@extundo.com> writes:

    Simon> I agree with your general points, however, one small
    Simon> comment:

    >> If you are going to consider things which are read from
    >> databases as "storage strings', then almost every string in the
    >> protocol becomes a "storage string" and you get yourself into a
    >> lot of trouble.  This is because a "Kerberos ticket", an "X.509
    >> cert", a "Kerberos keytab", etc. are all databases.  Some are
    >> used by the client as a source of strings sent to the server;
    >> or vice versa.

    Simon> I'm not sure it is a good idea to put strings with
    Simon> unassigned code points inside the authenticated parts of a
    Simon> Kerberos ticket.  On the other hand, I thought Kerberos
    Simon> principal names were restricted to ASCII currently, so this
    Simon> shouldn't be a problem yet.

This really belongs on another list.  However for names in the
encrypted part of a ticket, these names should be storage strings of
the administration protocol used to create the account.  At that point
you do the unassigned codepoint check.

--Sam



Received: from above.proper.com (localhost.vpnc.org [127.0.0.1]) by above.proper.com (8.12.11/8.12.9) with ESMTP id j0HMqbcr017267; Mon, 17 Jan 2005 14:52:37 -0800 (PST) (envelope-from owner-ietf-sasl@mail.imc.org)
Received: (from majordom@localhost) by above.proper.com (8.12.11/8.12.9/Submit) id j0HMqbSb017266; Mon, 17 Jan 2005 14:52:37 -0800 (PST)
X-Authentication-Warning: above.proper.com: majordom set sender to owner-ietf-sasl@mail.imc.org using -f
Received: from yxa.extundo.com (root@178.230.13.217.in-addr.dgcsystems.net [217.13.230.178]) by above.proper.com (8.12.11/8.12.9) with ESMTP id j0HMqaZe017235 for <ietf-sasl@imc.org>; Mon, 17 Jan 2005 14:52:36 -0800 (PST) (envelope-from jas@extundo.com)
Received: from latte.josefsson.org (c494102a.s-bi.bostream.se [217.215.27.65]) (authenticated bits=0) by yxa.extundo.com (8.13.2/8.13.2/Debian-1) with ESMTP id j0HMqLKH022465 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES128-SHA bits=128 verify=OK); Mon, 17 Jan 2005 23:52:22 +0100
From: Simon Josefsson <jas@extundo.com>
To: Jeffrey Altman <jaltman@columbia.edu>
Cc: ietf-sasl@imc.org
Subject: Re: Implementing SASL PLAIN servers
References: <iluvfbcm89h.fsf@latte.josefsson.org> <6.1.2.0.0.20041208211630.02f89ef8@127.0.0.1> <iluk6rrl8et.fsf@latte.josefsson.org> <tslllat1aov.fsf@cz.mit.edu> <6.2.0.14.0.20050116154825.02878008@mail.openldap.org> <ilumzv7lrzd.fsf@latte.josefsson.org> <41EC3C2A.8020402@columbia.edu>
OpenPGP: id=B565716F; url=http://josefsson.org/key.txt
X-Hashcash: 1:21:050117:jaltman@columbia.edu::VVvsckIMMixXWdzG:1tkQ
X-Hashcash: 1:21:050117:ietf-sasl@imc.org::8hKFVoCp608HmM+I:BoUL
Date: Mon, 17 Jan 2005 23:52:10 +0100
In-Reply-To: <41EC3C2A.8020402@columbia.edu> (Jeffrey Altman's message of "Mon, 17 Jan 2005 17:28:58 -0500")
Message-ID: <iluekgjlld1.fsf@latte.josefsson.org>
User-Agent: Gnus/5.110003 (No Gnus v0.3) Emacs/21.3.50 (gnu/linux)
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
X-Spam-Status: No, hits=0.0 required=5.0 tests=none autolearn=no version=2.64
X-Spam-Checker-Version: SpamAssassin 2.64 (2004-01-11) on yxa-iv
X-Virus-Scanned: ClamAV 0.80/664/Thu Jan 13 16:13:05 2005 clamav-milter version 0.80j 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 Altman <jaltman@columbia.edu> writes:

> The only time a string is a "storage string" is when a string is being
> written to a database.

Or a digitally signed structure.

I agree with your general points, however, one small comment:

> If you are going to consider things which are read from databases as
> "storage strings', then almost every string in the protocol becomes
> a "storage string" and you get yourself into a lot of trouble.  This
> is because a "Kerberos ticket", an "X.509 cert", a "Kerberos
> keytab", etc. are all databases.  Some are used by the client as a
> source of strings sent to the server; or vice versa.

I'm not sure it is a good idea to put strings with unassigned code
points inside the authenticated parts of a Kerberos ticket.  On the
other hand, I thought Kerberos principal names were restricted to
ASCII currently, so this shouldn't be a problem yet.

There is some normative text in StringPrep about this:

   Due to the way that versioning is handled in this section, stored
   strings that are embedded in structures that cannot be changed (such
   as the signed parts of digital certificates) MUST NOT contain any
   unassigned code points.

But again the use of the terminology make things confusing.  What if
you are putting a query string into a structure that cannot be
changed?  Should that be OK?

I think the StringPrep terminology was not well chosen; at least it
doesn't contribute to clarity or lean itself to simple decisions for
how to classify strings.

Perhaps it would help to avoid thinking about query vs stored.
Instead, one could focus on when unassigned code points would be
harmless vs harmful.

Thanks,
Simon



Received: from above.proper.com (localhost.vpnc.org [127.0.0.1]) by above.proper.com (8.12.11/8.12.9) with ESMTP id j0HMQmkA014638; Mon, 17 Jan 2005 14:26:48 -0800 (PST) (envelope-from owner-ietf-sasl@mail.imc.org)
Received: (from majordom@localhost) by above.proper.com (8.12.11/8.12.9/Submit) id j0HMQmoc014637; Mon, 17 Jan 2005 14:26:48 -0800 (PST)
X-Authentication-Warning: above.proper.com: majordom set sender to owner-ietf-sasl@mail.imc.org using -f
Received: from jalapeno.cc.columbia.edu (IDENT:cu41754@jalapeno.cc.columbia.edu [128.59.29.5]) by above.proper.com (8.12.11/8.12.9) with ESMTP id j0HMQmf6014631 for <ietf-sasl@imc.org>; Mon, 17 Jan 2005 14:26:48 -0800 (PST) (envelope-from jaltman@columbia.edu)
Received: from [192.168.1.10] (24-193-46-55.nyc.rr.com [24.193.46.55]) (user=jaltman mech=PLAIN bits=0) by jalapeno.cc.columbia.edu (8.13.0/8.13.0) with ESMTP id j0HMQko4000878 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT) for <ietf-sasl@imc.org>; Mon, 17 Jan 2005 17:26:47 -0500 (EST)
Message-ID: <41EC3C2A.8020402@columbia.edu>
Date: Mon, 17 Jan 2005 17:28:58 -0500
From: Jeffrey Altman <jaltman@columbia.edu>
Organization: Not Affiliated with Columbia University in the City of New York
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7.5) Gecko/20041217
X-Accept-Language: en-us, en
MIME-Version: 1.0
To: ietf-sasl@imc.org
Subject: Re: Implementing SASL PLAIN servers
References: <iluvfbcm89h.fsf@latte.josefsson.org>	<6.1.2.0.0.20041208211630.02f89ef8@127.0.0.1>	<iluk6rrl8et.fsf@latte.josefsson.org> <tslllat1aov.fsf@cz.mit.edu>	<6.2.0.14.0.20050116154825.02878008@mail.openldap.org> <ilumzv7lrzd.fsf@latte.josefsson.org>
In-Reply-To: <ilumzv7lrzd.fsf@latte.josefsson.org>
X-Enigmail-Version: 0.89.6.0
X-Enigmail-Supports: pgp-inline, pgp-mime
Content-Type: multipart/signed; protocol="application/x-pkcs7-signature"; micalg=sha1; boundary="------------ms040603050702080103070509"
X-No-Spam-Score: Local
X-Scanned-By: MIMEDefang 2.48 on 128.59.206.19
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 is a cryptographically signed message in MIME format.

--------------ms040603050702080103070509
Content-Type: text/plain; charset=us-ascii; format=flowed
Content-Transfer-Encoding: 7bit

Simon Josefsson wrote:

> The problem is the circular use of the terms "query strings" and
> "stored strings".  If you consider strings pulled from a databases as
> "stored", then you implement it your way, if you consider strings
> pulled from a database as query strings ("queries" into the PLAIN
> authorization algorithm), you will implement Sam's way.  Neither
> implementation would appear to violate the above text.

I realize I have not been paying as much attention to this discussion
as I should be.  I apologize for the delay.

When Jeff Hutzelman and I were analyzing the Kerberos protocol to 
determine which category each string falls into, we realized that in a 
protocol such as Kerberos there are no storage strings.  We have query 
strings and display strings.  The only place a storage string exists is
in the set/change password protocol which is not part of the core
specification.

The only time a string is a "storage string" is when a string is being
written to a database.  If you are going to consider things which are
read from databases as "storage strings', then almost every string in
the protocol becomes a "storage string" and you get yourself into a lot
of trouble.  This is because a "Kerberos ticket", an "X.509 cert", a
"Kerberos keytab", etc. are all databases.  Some are used by the client
as a source of strings sent to the server; or vice versa.

A "query string" is a string which is being generated for the purpose
of comparison and not for the purpose of storage.  In fact, you can
even have two "query strings" from different sources compared with one
another.  As long as the strings are not being stored, they are not
"storage strings".

Jeffrey Altman



--------------ms040603050702080103070509
Content-Type: application/x-pkcs7-signature; name="smime.p7s"
Content-Transfer-Encoding: base64
Content-Disposition: attachment; filename="smime.p7s"
Content-Description: S/MIME Cryptographic Signature

MIAGCSqGSIb3DQEHAqCAMIACAQExCzAJBgUrDgMCGgUAMIAGCSqGSIb3DQEHAQAAoIIJPzCC
AvowggJjoAMCAQICAwxk8TANBgkqhkiG9w0BAQQFADBiMQswCQYDVQQGEwJaQTElMCMGA1UE
ChMcVGhhd3RlIENvbnN1bHRpbmcgKFB0eSkgTHRkLjEsMCoGA1UEAxMjVGhhd3RlIFBlcnNv
bmFsIEZyZWVtYWlsIElzc3VpbmcgQ0EwHhcNMDQwNTI3MTc1ODU4WhcNMDUwNTI3MTc1ODU4
WjBrMQ8wDQYDVQQEEwZBbHRtYW4xFTATBgNVBCoTDEplZmZyZXkgRXJpYzEcMBoGA1UEAxMT
SmVmZnJleSBFcmljIEFsdG1hbjEjMCEGCSqGSIb3DQEJARYUamFsdG1hbkBjb2x1bWJpYS5l
ZHUwggEiMA0GCSqGSIb3DQEBAQUAA4IBDwAwggEKAoIBAQDc3JqO5AsZrozd+mJ2mPuCTYo2
+nJ9Qq6jtUYtp7YTMW4d2Q6GLhNaHb1l9m74SxuY4f5vP6JtZjr6p9+LCCxD0w0NVLKRgUDp
z+tKFitbkJe9BSCxCURRvY3vdWA71gSCUvZAN3346hHb4oGVqgdpmfFJXYAHWpC46wiL72N9
WxySzY17/0eU0c8+r9dNoLpPQeL43O66O80jCl1qnXMaXaakZPsfm+5W90MYXhpQ1WIQpv02
lBn3BH5YE8xwbsNrw5AF4v7pjMuW85GI6FrDmfbpJX473Rpl5rmv3TpXkJ+7UsIIO1puyS8r
1o7kjDZ5EUYJxxglTGR6XL/RNzqHAgMBAAGjMTAvMB8GA1UdEQQYMBaBFGphbHRtYW5AY29s
dW1iaWEuZWR1MAwGA1UdEwEB/wQCMAAwDQYJKoZIhvcNAQEEBQADgYEAZYeVFCMP0iV+UVa0
eFoXkzMVl61CNAVY2YQ9/QQazO3G4qNiif35ArrnjPRDRj5M7WTeOCFqPVuvCttyJRiDKsEe
L4Yah22mRA3mR7x52j2FquPYZ9qCr1IhrNGzsMk+gopX5G0fTHZb6+uDu5SeMPNNcIznGA7M
CMpXAJ2PcKgwggL6MIICY6ADAgECAgMMZPEwDQYJKoZIhvcNAQEEBQAwYjELMAkGA1UEBhMC
WkExJTAjBgNVBAoTHFRoYXd0ZSBDb25zdWx0aW5nIChQdHkpIEx0ZC4xLDAqBgNVBAMTI1Ro
YXd0ZSBQZXJzb25hbCBGcmVlbWFpbCBJc3N1aW5nIENBMB4XDTA0MDUyNzE3NTg1OFoXDTA1
MDUyNzE3NTg1OFowazEPMA0GA1UEBBMGQWx0bWFuMRUwEwYDVQQqEwxKZWZmcmV5IEVyaWMx
HDAaBgNVBAMTE0plZmZyZXkgRXJpYyBBbHRtYW4xIzAhBgkqhkiG9w0BCQEWFGphbHRtYW5A
Y29sdW1iaWEuZWR1MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEA3NyajuQLGa6M
3fpidpj7gk2KNvpyfUKuo7VGLae2EzFuHdkOhi4TWh29ZfZu+EsbmOH+bz+ibWY6+qffiwgs
Q9MNDVSykYFA6c/rShYrW5CXvQUgsQlEUb2N73VgO9YEglL2QDd9+OoR2+KBlaoHaZnxSV2A
B1qQuOsIi+9jfVscks2Ne/9HlNHPPq/XTaC6T0Hi+NzuujvNIwpdap1zGl2mpGT7H5vuVvdD
GF4aUNViEKb9NpQZ9wR+WBPMcG7Da8OQBeL+6YzLlvORiOhaw5n26SV+O90aZea5r906V5Cf
u1LCCDtabskvK9aO5Iw2eRFGCccYJUxkely/0Tc6hwIDAQABozEwLzAfBgNVHREEGDAWgRRq
YWx0bWFuQGNvbHVtYmlhLmVkdTAMBgNVHRMBAf8EAjAAMA0GCSqGSIb3DQEBBAUAA4GBAGWH
lRQjD9IlflFWtHhaF5MzFZetQjQFWNmEPf0EGsztxuKjYon9+QK654z0Q0Y+TO1k3jghaj1b
rwrbciUYgyrBHi+GGodtpkQN5ke8edo9harj2Gfagq9SIazRs7DJPoKKV+RtH0x2W+vrg7uU
njDzTXCM5xgOzAjKVwCdj3CoMIIDPzCCAqigAwIBAgIBDTANBgkqhkiG9w0BAQUFADCB0TEL
MAkGA1UEBhMCWkExFTATBgNVBAgTDFdlc3Rlcm4gQ2FwZTESMBAGA1UEBxMJQ2FwZSBUb3du
MRowGAYDVQQKExFUaGF3dGUgQ29uc3VsdGluZzEoMCYGA1UECxMfQ2VydGlmaWNhdGlvbiBT
ZXJ2aWNlcyBEaXZpc2lvbjEkMCIGA1UEAxMbVGhhd3RlIFBlcnNvbmFsIEZyZWVtYWlsIENB
MSswKQYJKoZIhvcNAQkBFhxwZXJzb25hbC1mcmVlbWFpbEB0aGF3dGUuY29tMB4XDTAzMDcx
NzAwMDAwMFoXDTEzMDcxNjIzNTk1OVowYjELMAkGA1UEBhMCWkExJTAjBgNVBAoTHFRoYXd0
ZSBDb25zdWx0aW5nIChQdHkpIEx0ZC4xLDAqBgNVBAMTI1RoYXd0ZSBQZXJzb25hbCBGcmVl
bWFpbCBJc3N1aW5nIENBMIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQDEpjxVc1X7TrnK
mVoeaMB1BHCd3+n/ox7svc31W/Iadr1/DDph8r9RzgHU5VAKMNcCY1osiRVwjt3J8CuFWqo/
cVbLrzwLB+fxH5E2JCoTzyvV84J3PQO+K/67GD4Hv0CAAmTXp6a7n2XRxSpUhQ9IBH+nttE8
YQRAHmQZcmC3+wIDAQABo4GUMIGRMBIGA1UdEwEB/wQIMAYBAf8CAQAwQwYDVR0fBDwwOjA4
oDagNIYyaHR0cDovL2NybC50aGF3dGUuY29tL1RoYXd0ZVBlcnNvbmFsRnJlZW1haWxDQS5j
cmwwCwYDVR0PBAQDAgEGMCkGA1UdEQQiMCCkHjAcMRowGAYDVQQDExFQcml2YXRlTGFiZWwy
LTEzODANBgkqhkiG9w0BAQUFAAOBgQBIjNFQg+oLLswNo2asZw9/r6y+whehQ5aUnX9MIbj4
Nh+qLZ82L8D0HFAgk3A8/a3hYWLD2ToZfoSxmRsAxRoLgnSeJVCUYsfbJ3FXJY3dqZw5jowg
T2Vfldr394fWxghOrvbqNOUQGls1TXfjViF4gtwhGTXeJLHTHUb/XV9lTzGCAzswggM3AgEB
MGkwYjELMAkGA1UEBhMCWkExJTAjBgNVBAoTHFRoYXd0ZSBDb25zdWx0aW5nIChQdHkpIEx0
ZC4xLDAqBgNVBAMTI1RoYXd0ZSBQZXJzb25hbCBGcmVlbWFpbCBJc3N1aW5nIENBAgMMZPEw
CQYFKw4DAhoFAKCCAacwGAYJKoZIhvcNAQkDMQsGCSqGSIb3DQEHATAcBgkqhkiG9w0BCQUx
DxcNMDUwMTE3MjIyODU4WjAjBgkqhkiG9w0BCQQxFgQUvwUb2KE8MZqAbYqFxCwvfdn10asw
UgYJKoZIhvcNAQkPMUUwQzAKBggqhkiG9w0DBzAOBggqhkiG9w0DAgICAIAwDQYIKoZIhvcN
AwICAUAwBwYFKw4DAgcwDQYIKoZIhvcNAwICASgweAYJKwYBBAGCNxAEMWswaTBiMQswCQYD
VQQGEwJaQTElMCMGA1UEChMcVGhhd3RlIENvbnN1bHRpbmcgKFB0eSkgTHRkLjEsMCoGA1UE
AxMjVGhhd3RlIFBlcnNvbmFsIEZyZWVtYWlsIElzc3VpbmcgQ0ECAwxk8TB6BgsqhkiG9w0B
CRACCzFroGkwYjELMAkGA1UEBhMCWkExJTAjBgNVBAoTHFRoYXd0ZSBDb25zdWx0aW5nIChQ
dHkpIEx0ZC4xLDAqBgNVBAMTI1RoYXd0ZSBQZXJzb25hbCBGcmVlbWFpbCBJc3N1aW5nIENB
AgMMZPEwDQYJKoZIhvcNAQEBBQAEggEACTuZ/8meOGw7tTv18kNWTx8/BmIMPHrjczv19wmD
WL5+FcUJit5GBewCgeIBJJZXbfS77HeNnl3hNAObNzoFaiJdHROyk9Dae4r4U6tJyry2mvJ/
v4f5K5lND9x0Z2Zy3ZTcMsdIdQaoBHvc0WKzCnPI9KQtyJgcRWbU6g4DV8mShYXyyMymy6V6
DhO9LITenUfXaRk+ZGq8sbB0+u/Oq3CxzZL+iVs9rGjBA4LRVuW8t0XHltgTmLYIHixQM+yQ
awd1HGIYyC6LvJljgRG/YJvaxK/fs1XKZ5add1NhXpwPILs28+BKqNTWIpFtGt+iziW19ulG
HcN+5BjXRBuelAAAAAAAAA==
--------------ms040603050702080103070509--



Received: from above.proper.com (localhost.vpnc.org [127.0.0.1]) by above.proper.com (8.12.11/8.12.9) with ESMTP id j0HMN6Og013921; Mon, 17 Jan 2005 14:23:06 -0800 (PST) (envelope-from owner-ietf-sasl@mail.imc.org)
Received: (from majordom@localhost) by above.proper.com (8.12.11/8.12.9/Submit) id j0HMN6uR013920; Mon, 17 Jan 2005 14:23:06 -0800 (PST)
X-Authentication-Warning: above.proper.com: majordom set sender to owner-ietf-sasl@mail.imc.org using -f
Received: from minbar.fac.cs.cmu.edu (MINBAR.FAC.CS.CMU.EDU [128.2.185.161]) by above.proper.com (8.12.11/8.12.9) with SMTP id j0HMN0No013907 for <ietf-sasl@imc.org>; Mon, 17 Jan 2005 14:23:00 -0800 (PST) (envelope-from jhutz@cmu.edu)
Received: from minbar.fac.cs.cmu.edu ([127.0.0.1]) by minbar.fac.cs.cmu.edu id aa04555; 17 Jan 2005 17:22 EST
Date: Mon, 17 Jan 2005 17:22:44 -0500
From: Jeffrey Hutzelman <jhutz@cmu.edu>
To: Sam Hartman <hartmans-ietf@mit.edu>, "Kurt D. Zeilenga" <Kurt@OpenLDAP.org>
cc: Simon Josefsson <jas@extundo.com>, ietf-sasl@imc.org
Subject: Re: Implementing SASL PLAIN servers
Message-ID: <16490000.1106000564@minbar.fac.cs.cmu.edu>
In-Reply-To: <tslbrboxcjf.fsf@cz.mit.edu>
References: <iluvfbcm89h.fsf@latte.josefsson.org> <6.1.2.0.0.20041208211630.02f89ef8@127.0.0.1> <iluk6rrl8et.fsf@latte.josefsson.org> <tslllat1aov.fsf@cz.mit.edu> <6.2.0.14.0.20050116154825.02878008@mail.openldap.org> <tslbrboxcjf.fsf@cz.mit.edu>
X-Mailer: Mulberry/3.0.3 (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, January 17, 2005 11:09:40 -0500 Sam Hartman 
<hartmans-ietf@mit.edu> wrote:

> In particular, I believe it is consistent with the definition of query
> string presented in section 7 to argue that a string pulled out of a
> database is a query string.  If stringprep is used when that string is
> stored in the database, it needs to be a storage string.

I agree with this interpretation.  As I understand it, the theory is that 
you want to prevent the storage into the database of a string containing a 
code point which is unassigned at the time of storage, but which in a later 
version of the profile will map to something other than itself (some other 
codepoint, or multiple code points, or the empty string) or be prohibited 
entirely.

By prohibiting unassigned code points at the time of storage, you protect 
against this problem by guaranteeing that the only mapping applied to any 
code points in the stored string is the one you know about.  And, by 
applying normalization at the same time, you guarantee that no further 
normalization will apply to the stored string, and so even if the later 
comparison is done against a string prepared against an older version of 
the profile, you know that a positive match is definitive because the older 
profile will have identity-mapped any unknown codepoints, which means they 
will match the stored string only if they map to themselves under the newer 
profile used at storage time.  (stringprep profiles are required to have 
the property that applying the transformation multiple times yields the 
same result; achieving this property is possible only if output contains 
only code points which map to themselves).

However, if you start with two unnormalized strings, normalize both of 
them, and then compare the results, you can guarantee that normalization of 
both strings was done with the same version of the profile.  In this case, 
sequences of code points which are unassigned in that version of the 
profile will match only if they are identical in both strings, since again, 
such code points are mapped to themselves.  It is true that it is possible 
to authenticate against a stored password containing a code point which 
will be prohibited in a future version of the profile; however, since we do 
not control the storage process it is beyond our power to prevent such 
passwords from being stored.

Only strings that you are going to store into a database for future use are 
storage strings.  Strings retrieved from a database are not storage 
strings, unless you are then going to store them into some other database 
(or the same one, I suppose).


In any case, it turns out that in SASL PLAIN, and in SSH password, the 
process of password comparison is out of our control.  In virtually all 
cases, the server implementation will perform whatever transformation is 
required by the backend (possibly SASLprep, possibly a noop, possibly 
conversion into some non-Unicode character set), then pass the result to 
some mechanism which does the comparison according to its own rules.  I 
think we should limit ourselves to describing what must happen on the wire 
(no normalization), and recommending behaviour for cases where the 
implementor gets to decide how passwords are handled (use SASLprep, 
prohibit unassigned codepoints when passwords are stored).




-- Jeff



Received: from above.proper.com (localhost.vpnc.org [127.0.0.1]) by above.proper.com (8.12.11/8.12.9) with ESMTP id j0HLhBwA076294; Mon, 17 Jan 2005 13:43:11 -0800 (PST) (envelope-from owner-ietf-sasl@mail.imc.org)
Received: (from majordom@localhost) by above.proper.com (8.12.11/8.12.9/Submit) id j0HLhBRH076286; Mon, 17 Jan 2005 13:43:11 -0800 (PST)
X-Authentication-Warning: above.proper.com: majordom set sender to owner-ietf-sasl@mail.imc.org using -f
Received: from cz.mit.edu (STRATTON-FOUR-FORTY-TWO.MIT.EDU [18.187.6.187]) by above.proper.com (8.12.11/8.12.9) with ESMTP id j0HLh9oG076259 for <ietf-sasl@imc.org>; Mon, 17 Jan 2005 13:43:10 -0800 (PST) (envelope-from hartmans@mit.edu)
Received: by cz.mit.edu (Postfix, from userid 8042) id 3399FE0063; Mon, 17 Jan 2005 16:43:06 -0500 (EST)
To: ietf-sasl@imc.org
Cc: tlyu@mit.edu
Subject: Please welcome Tom Yu as a SASL co-chair
From: Sam Hartman <hartmans-ietf@mit.edu>
Date: Mon, 17 Jan 2005 16:43:06 -0500
Message-ID: <tslu0pfratx.fsf@cz.mit.edu>
User-Agent: Gnus/5.1006 (Gnus v5.10.6) Emacs/21.3 (gnu/linux)
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
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.  I'd like to welcome Tom Yu who will be joining Kurt as one of the
chairs of the SASL working group.


Tom is one of the authors of the Kerberos draft.  In the Kerberos
working group and in other IETF working groups he has a long history
of building consensus and making sure viewpoints are heard.

Tom also has done a great job of security analysis of protocols and of
clearly explaining this analysis.


I'd also like to thank Kurt for recommending Tom to this position.



Received: from above.proper.com (localhost.vpnc.org [127.0.0.1]) by above.proper.com (8.12.11/8.12.9) with ESMTP id j0HKTfAh034020; Mon, 17 Jan 2005 12:29:41 -0800 (PST) (envelope-from owner-ietf-sasl@mail.imc.org)
Received: (from majordom@localhost) by above.proper.com (8.12.11/8.12.9/Submit) id j0HKTfnq034019; Mon, 17 Jan 2005 12:29:41 -0800 (PST)
X-Authentication-Warning: above.proper.com: majordom set sender to owner-ietf-sasl@mail.imc.org using -f
Received: from yxa.extundo.com (root@178.230.13.217.in-addr.dgcsystems.net [217.13.230.178]) by above.proper.com (8.12.11/8.12.9) with ESMTP id j0HKTVFV033295 for <ietf-sasl@imc.org>; Mon, 17 Jan 2005 12:29:41 -0800 (PST) (envelope-from jas@extundo.com)
Received: from latte.josefsson.org (c494102a.s-bi.bostream.se [217.215.27.65]) (authenticated bits=0) by yxa.extundo.com (8.13.2/8.13.2/Debian-1) with ESMTP id j0HKTKei016086 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES128-SHA bits=128 verify=OK); Mon, 17 Jan 2005 21:29:21 +0100
From: Simon Josefsson <jas@extundo.com>
To: "Kurt D. Zeilenga" <Kurt@OpenLDAP.org>
Cc: ietf-sasl@imc.org, Sam Hartman <hartmans-ietf@mit.edu>
Subject: Re: Implementing SASL PLAIN servers
References: <iluvfbcm89h.fsf@latte.josefsson.org> <6.1.2.0.0.20041208211630.02f89ef8@127.0.0.1> <iluk6rrl8et.fsf@latte.josefsson.org> <tslllat1aov.fsf@cz.mit.edu> <6.2.0.14.0.20050116154825.02878008@mail.openldap.org>
OpenPGP: id=B565716F; url=http://josefsson.org/key.txt
X-Hashcash: 1:21:050117:kurt@openldap.org::GO3UUaGhUqvmYzBc:2Z44
X-Hashcash: 1:21:050117:hartmans-ietf@mit.edu::LWVV+O+2z9zHozbZ:27XT
X-Hashcash: 1:21:050117:ietf-sasl@imc.org::dLlYRstG+vdjk4TK:7nDi
X-Hashcash: 1:21:050117:kurt@openldap.org::f/M6/gg5VTi8Y1X5:HuY9
Date: Mon, 17 Jan 2005 21:29:10 +0100
In-Reply-To: <6.2.0.14.0.20050116154825.02878008@mail.openldap.org> (Kurt D. Zeilenga's message of "Sun, 16 Jan 2005 15:57:54 -0800")
Message-ID: <ilumzv7lrzd.fsf@latte.josefsson.org>
User-Agent: Gnus/5.110003 (No Gnus v0.3) Emacs/21.3.50 (gnu/linux)
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
X-Spam-Status: No, hits=0.0 required=5.0 tests=none autolearn=no version=2.64
X-Spam-Checker-Version: SpamAssassin 2.64 (2004-01-11) on yxa-iv
X-Virus-Scanned: ClamAV 0.80/664/Thu Jan 13 16:13:05 2005 clamav-milter version 0.80j 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>

"Kurt D. Zeilenga" <Kurt@OpenLDAP.org> writes:

> So, in short, I think PLAIN (and SASLprep (and Stringprep))
> should not be changed in this regard.

I believe it should change to clarify what is intended.  The current
text:

  The server SHALL first prepare authentication identity and password
  strings using the [SASLPrep] profile of the [StringPrep] algorithm.
  Per Section 7 of [StringPrep], unassigned code points may appear in
  prepared presented (query) strings but are prohibited in stored
  strings.

I think this leave the field open to implement either your or Sam's
approach, both which seem reasonable choices to me.

The problem is the circular use of the terms "query strings" and
"stored strings".  If you consider strings pulled from a databases as
"stored", then you implement it your way, if you consider strings
pulled from a database as query strings ("queries" into the PLAIN
authorization algorithm), you will implement Sam's way.  Neither
implementation would appear to violate the above text.

To repeat what I have been trying to say all along: all specifications
must say, for each string that is going to be prepared, whether is to
be regarded a query string or a stored string.  Classifying strings
into stored strings and query strings is not a mechanic process.

Thanks,
Simon



Received: from above.proper.com (localhost.vpnc.org [127.0.0.1]) by above.proper.com (8.12.11/8.12.9) with ESMTP id j0HIPVLP061198; Mon, 17 Jan 2005 10:25:31 -0800 (PST) (envelope-from owner-ietf-sasl@mail.imc.org)
Received: (from majordom@localhost) by above.proper.com (8.12.11/8.12.9/Submit) id j0HIPVot061196; Mon, 17 Jan 2005 10:25:31 -0800 (PST)
X-Authentication-Warning: above.proper.com: majordom set sender to owner-ietf-sasl@mail.imc.org using -f
Received: from boole.openldap.org (root@boole.openldap.org [204.152.186.50]) by above.proper.com (8.12.11/8.12.9) with ESMTP id j0HIPQvp061181 for <ietf-sasl@imc.org>; Mon, 17 Jan 2005 10:25:26 -0800 (PST) (envelope-from Kurt@OpenLDAP.org)
Received: from gypsy.OpenLDAP.org (24-205-218-53.cs-cres.charterpipeline.net [24.205.218.53]) (authenticated bits=0) by boole.openldap.org (8.13.1/8.13.1) with ESMTP id j0HIMDOh027138 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Mon, 17 Jan 2005 18:22:13 GMT (envelope-from Kurt@OpenLDAP.org)
Message-Id: <6.2.0.14.0.20050117101800.066fb600@mail.openldap.org>
X-Mailer: QUALCOMM Windows Eudora Version 6.2.0.14
Date: Mon, 17 Jan 2005 10:21:43 -0800
To: Sam Hartman <hartmans-ietf@mit.edu>
From: "Kurt D. Zeilenga" <Kurt@OpenLDAP.org>
Subject: Re: Implementing SASL PLAIN servers
Cc: Simon Josefsson <jas@extundo.com>, ietf-sasl@imc.org
In-Reply-To: <tslacr8uers.fsf@cz.mit.edu>
References: <iluvfbcm89h.fsf@latte.josefsson.org> <6.1.2.0.0.20041208211630.02f89ef8@127.0.0.1> <iluk6rrl8et.fsf@latte.josefsson.org> <tslllat1aov.fsf@cz.mit.edu> <6.2.0.14.0.20050116154825.02878008@mail.openldap.org> <tslbrboxcjf.fsf@cz.mit.edu> <6.2.0.14.0.20050117083145.03642f80@mail.openldap.org> <tslr7kkugfn.fsf@cz.mit.edu> <6.2.0.14.0.20050117092100.06596dc8@mail.openldap.org> <tslacr8uers.fsf@cz.mit.edu>
Mime-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
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 09:49 AM 1/17/2005, Sam Hartman wrote:

>>>>>> "Kurt" == Kurt D Zeilenga <Kurt@OpenLDAP.org> writes:
>
>    Kurt> At 09:13 AM 1/17/2005, Sam Hartman wrote:
>    >> The question in my mind is whether we describe the problem
>    >> clearly enough that implementers will make the right decision
>    >> for their environment.  I agree that our normative text is
>    >> fine.
>
>    Kurt> I think we're quite clear that SASLprep SHOULD be used.
>    Kurt> Now, we've allowed implementors to use other preparation
>    Kurt> algorithms, but the risk (to interoperability, security,
>    Kurt> etc.) of doing so is all theirs.  As with going against any
>    Kurt> SHOULD, the implementor should carefully consider the
>    Kurt> consequences of doing so.  Obviously we cannot prevent
>    Kurt> implementors from not carefully considering the
>    Kurt> consequences... but we should assume in our writing that
>    Kurt> they will carefully consider the consequences.  And with
>    Kurt> that assumption, I don't see how they could miss Section 7
>    Kurt> of RFC 3454.
>
>For the purposes of moving forward on plain, I'll drop this
>discussion.
>
>In the interests of understanding, I think I'd like to discuss this
>issue with you in person because there seems to be a fairly
>significant disconnect here.  However I don't think there is support
>in the WG for making any changes in this regard.
>
>If my understanding is correct, you accepted some textual changes from
>Simon.  So, I should be waiting for a new plain before last calling
>it?

As Editor, I believe the WG supports making some textual changes
based upon Simon's suggestions.  Hence, I intend to prepare
(and submit) a revised I-D for further WG consideration.  Please
hold off any AD action for now.

Kurt 



Received: from above.proper.com (localhost.vpnc.org [127.0.0.1]) by above.proper.com (8.12.11/8.12.9) with ESMTP id j0HHniHS055194; Mon, 17 Jan 2005 09:49:45 -0800 (PST) (envelope-from owner-ietf-sasl@mail.imc.org)
Received: (from majordom@localhost) by above.proper.com (8.12.11/8.12.9/Submit) id j0HHnieQ055193; Mon, 17 Jan 2005 09:49:44 -0800 (PST)
X-Authentication-Warning: above.proper.com: majordom set sender to owner-ietf-sasl@mail.imc.org using -f
Received: from cz.mit.edu (STRATTON-FOUR-FORTY-TWO.MIT.EDU [18.187.6.187]) by above.proper.com (8.12.11/8.12.9) with ESMTP id j0HHnijI055126 for <ietf-sasl@imc.org>; Mon, 17 Jan 2005 09:49:44 -0800 (PST) (envelope-from hartmans@mit.edu)
Received: by cz.mit.edu (Postfix, from userid 8042) id 24F67E0063; Mon, 17 Jan 2005 12:49:43 -0500 (EST)
To: "Kurt D. Zeilenga" <Kurt@OpenLDAP.org>
Cc: Simon Josefsson <jas@extundo.com>, ietf-sasl@imc.org
Subject: Re: Implementing SASL PLAIN servers
References: <iluvfbcm89h.fsf@latte.josefsson.org> <6.1.2.0.0.20041208211630.02f89ef8@127.0.0.1> <iluk6rrl8et.fsf@latte.josefsson.org> <tslllat1aov.fsf@cz.mit.edu> <6.2.0.14.0.20050116154825.02878008@mail.openldap.org> <tslbrboxcjf.fsf@cz.mit.edu> <6.2.0.14.0.20050117083145.03642f80@mail.openldap.org> <tslr7kkugfn.fsf@cz.mit.edu> <6.2.0.14.0.20050117092100.06596dc8@mail.openldap.org>
From: Sam Hartman <hartmans-ietf@mit.edu>
Date: Mon, 17 Jan 2005 12:49:43 -0500
In-Reply-To: <6.2.0.14.0.20050117092100.06596dc8@mail.openldap.org> (Kurt D. Zeilenga's message of "Mon, 17 Jan 2005 09:31:36 -0800")
Message-ID: <tslacr8uers.fsf@cz.mit.edu>
User-Agent: Gnus/5.1006 (Gnus v5.10.6) Emacs/21.3 (gnu/linux)
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
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" == Kurt D Zeilenga <Kurt@OpenLDAP.org> writes:

    Kurt> At 09:13 AM 1/17/2005, Sam Hartman wrote:
    >> The question in my mind is whether we describe the problem
    >> clearly enough that implementers will make the right decision
    >> for their environment.  I agree that our normative text is
    >> fine.

    Kurt> I think we're quite clear that SASLprep SHOULD be used.
    Kurt> Now, we've allowed implementors to use other preparation
    Kurt> algorithms, but the risk (to interoperability, security,
    Kurt> etc.) of doing so is all theirs.  As with going against any
    Kurt> SHOULD, the implementor should carefully consider the
    Kurt> consequences of doing so.  Obviously we cannot prevent
    Kurt> implementors from not carefully considering the
    Kurt> consequences... but we should assume in our writing that
    Kurt> they will carefully consider the consequences.  And with
    Kurt> that assumption, I don't see how they could miss Section 7
    Kurt> of RFC 3454.

For the purposes of moving forward on plain, I'll drop this
discussion.

In the interests of understanding, I think I'd like to discuss this
issue with you in person because there seems to be a fairly
significant disconnect here.  However I don't think there is support
in the WG for making any changes in this regard.

If my understanding is correct, you accepted some textual changes from
Simon.  So, I should be waiting for a new plain before last calling
it?

--Sam



Received: from above.proper.com (localhost.vpnc.org [127.0.0.1]) by above.proper.com (8.12.11/8.12.9) with ESMTP id j0HHZFWb051833; Mon, 17 Jan 2005 09:35:15 -0800 (PST) (envelope-from owner-ietf-sasl@mail.imc.org)
Received: (from majordom@localhost) by above.proper.com (8.12.11/8.12.9/Submit) id j0HHZFWC051832; Mon, 17 Jan 2005 09:35:15 -0800 (PST)
X-Authentication-Warning: above.proper.com: majordom set sender to owner-ietf-sasl@mail.imc.org using -f
Received: from boole.openldap.org (root@boole.openldap.org [204.152.186.50]) by above.proper.com (8.12.11/8.12.9) with ESMTP id j0HHZFMG051826 for <ietf-sasl@imc.org>; Mon, 17 Jan 2005 09:35:15 -0800 (PST) (envelope-from Kurt@OpenLDAP.org)
Received: from gypsy.OpenLDAP.org (24-205-218-53.cs-cres.charterpipeline.net [24.205.218.53]) (authenticated bits=0) by boole.openldap.org (8.13.1/8.13.1) with ESMTP id j0HHW6up024661 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Mon, 17 Jan 2005 17:32:06 GMT (envelope-from Kurt@OpenLDAP.org)
Message-Id: <6.2.0.14.0.20050117092100.06596dc8@mail.openldap.org>
X-Mailer: QUALCOMM Windows Eudora Version 6.2.0.14
Date: Mon, 17 Jan 2005 09:31:36 -0800
To: Sam Hartman <hartmans-ietf@mit.edu>
From: "Kurt D. Zeilenga" <Kurt@OpenLDAP.org>
Subject: Re: Implementing SASL PLAIN servers
Cc: Simon Josefsson <jas@extundo.com>, ietf-sasl@imc.org
In-Reply-To: <tslr7kkugfn.fsf@cz.mit.edu>
References: <iluvfbcm89h.fsf@latte.josefsson.org> <6.1.2.0.0.20041208211630.02f89ef8@127.0.0.1> <iluk6rrl8et.fsf@latte.josefsson.org> <tslllat1aov.fsf@cz.mit.edu> <6.2.0.14.0.20050116154825.02878008@mail.openldap.org> <tslbrboxcjf.fsf@cz.mit.edu> <6.2.0.14.0.20050117083145.03642f80@mail.openldap.org> <tslr7kkugfn.fsf@cz.mit.edu>
Mime-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
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 09:13 AM 1/17/2005, Sam Hartman wrote:
>The question in my mind is whether we describe the problem clearly
>enough that implementers will make the right decision for their
>environment.  I agree that our normative text is fine. 

I think we're quite clear that SASLprep SHOULD be used.  Now,
we've allowed implementors to use other preparation algorithms,
but the risk (to interoperability, security, etc.) of doing so
is all theirs.  As with going against any SHOULD, the implementor
should carefully consider the consequences of doing so.  Obviously
we cannot prevent implementors from not carefully considering the
consequences... but we should assume in our writing that they will
carefully consider the consequences.  And with that assumption, I
don't see how they could miss Section 7 of RFC 3454.

Kurt 



Received: from above.proper.com (localhost.vpnc.org [127.0.0.1]) by above.proper.com (8.12.11/8.12.9) with ESMTP id j0HHDn2q049102; Mon, 17 Jan 2005 09:13:49 -0800 (PST) (envelope-from owner-ietf-sasl@mail.imc.org)
Received: (from majordom@localhost) by above.proper.com (8.12.11/8.12.9/Submit) id j0HHDnCU049101; Mon, 17 Jan 2005 09:13:49 -0800 (PST)
X-Authentication-Warning: above.proper.com: majordom set sender to owner-ietf-sasl@mail.imc.org using -f
Received: from cz.mit.edu (STRATTON-FOUR-FORTY-TWO.MIT.EDU [18.187.6.187]) by above.proper.com (8.12.11/8.12.9) with ESMTP id j0HHDmtI049095 for <ietf-sasl@imc.org>; Mon, 17 Jan 2005 09:13:48 -0800 (PST) (envelope-from hartmans@mit.edu)
Received: by cz.mit.edu (Postfix, from userid 8042) id BDC59E0063; Mon, 17 Jan 2005 12:13:48 -0500 (EST)
To: "Kurt D. Zeilenga" <Kurt@OpenLDAP.org>
Cc: Simon Josefsson <jas@extundo.com>, ietf-sasl@imc.org
Subject: Re: Implementing SASL PLAIN servers
References: <iluvfbcm89h.fsf@latte.josefsson.org> <6.1.2.0.0.20041208211630.02f89ef8@127.0.0.1> <iluk6rrl8et.fsf@latte.josefsson.org> <tslllat1aov.fsf@cz.mit.edu> <6.2.0.14.0.20050116154825.02878008@mail.openldap.org> <tslbrboxcjf.fsf@cz.mit.edu> <6.2.0.14.0.20050117083145.03642f80@mail.openldap.org>
From: Sam Hartman <hartmans-ietf@mit.edu>
Date: Mon, 17 Jan 2005 12:13:48 -0500
In-Reply-To: <6.2.0.14.0.20050117083145.03642f80@mail.openldap.org> (Kurt D. Zeilenga's message of "Mon, 17 Jan 2005 08:49:04 -0800")
Message-ID: <tslr7kkugfn.fsf@cz.mit.edu>
User-Agent: Gnus/5.1006 (Gnus v5.10.6) Emacs/21.3 (gnu/linux)
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
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" == Kurt D Zeilenga <Kurt@OpenLDAP.org> writes:


    Kurt> I argue that any algorithm which allows both strings
    Kurt> compared to contain unassigned code points is not a valid
    Kurt> profile of the StringPrep algorithm.  

Again, stringprep does not address comparison, only preparation.

    Kurt> We can argue about the
    Kurt> language of RFC 3454 if you like, but I strongly believe
    Kurt> that the intent of RFC 3454 was to prohibit comparisons of
    Kurt> two strings both containing unassigned code points (from
    Kurt> both my talks with authors, and my lurking on the IDN list
    Kurt> during its development) .  

Agreed, but I also think the authors only considered the scope where
the IETF had control of either both strings or at least the storage
string.

If for example we were discussing the LDAP set password operation I'd
completely agree the password needs to be treated as a storage string.

    Kurt> If that not clear in RFC 3454,
    Kurt> then the IETF should address that in a revision of RFC 3454.

    Kurt> But given the above SHOULD, isn't this argument moot?


The question in my mind is whether we describe the problem clearly
enough that implementers will make the right decision for their
environment.  I agree that our normative text is fine.



Received: from above.proper.com (localhost.vpnc.org [127.0.0.1]) by above.proper.com (8.12.11/8.12.9) with ESMTP id j0HH73tG048278; Mon, 17 Jan 2005 09:07:03 -0800 (PST) (envelope-from owner-ietf-sasl@mail.imc.org)
Received: (from majordom@localhost) by above.proper.com (8.12.11/8.12.9/Submit) id j0HH73LI048277; Mon, 17 Jan 2005 09:07:03 -0800 (PST)
X-Authentication-Warning: above.proper.com: majordom set sender to owner-ietf-sasl@mail.imc.org using -f
Received: from boole.openldap.org (root@boole.openldap.org [204.152.186.50]) by above.proper.com (8.12.11/8.12.9) with ESMTP id j0HH6u2M048246 for <ietf-sasl@imc.org>; Mon, 17 Jan 2005 09:06:56 -0800 (PST) (envelope-from Kurt@OpenLDAP.org)
Received: from gypsy.OpenLDAP.org (24-205-218-53.cs-cres.charterpipeline.net [24.205.218.53]) (authenticated bits=0) by boole.openldap.org (8.13.1/8.13.1) with ESMTP id j0HGnYrs022670 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Mon, 17 Jan 2005 16:49:34 GMT (envelope-from Kurt@OpenLDAP.org)
Message-Id: <6.2.0.14.0.20050117083145.03642f80@mail.openldap.org>
X-Mailer: QUALCOMM Windows Eudora Version 6.2.0.14
Date: Mon, 17 Jan 2005 08:49:04 -0800
To: Sam Hartman <hartmans-ietf@mit.edu>
From: "Kurt D. Zeilenga" <Kurt@OpenLDAP.org>
Subject: Re: Implementing SASL PLAIN servers
Cc: Simon Josefsson <jas@extundo.com>, ietf-sasl@imc.org
In-Reply-To: <tslbrboxcjf.fsf@cz.mit.edu>
References: <iluvfbcm89h.fsf@latte.josefsson.org> <6.1.2.0.0.20041208211630.02f89ef8@127.0.0.1> <iluk6rrl8et.fsf@latte.josefsson.org> <tslllat1aov.fsf@cz.mit.edu> <6.2.0.14.0.20050116154825.02878008@mail.openldap.org> <tslbrboxcjf.fsf@cz.mit.edu>
Mime-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
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 08:09 AM 1/17/2005, Sam Hartman wrote:
>I do agree with your reasons for requiring a stringprep algorithm,

We don't actually require a stringprep algorithm, we recommend
one (SASLprep).

>but do not think they apply to my argument.
>
>    Kurt> Lastly, operationally, I think it better to fail
>    Kurt> authentication for stored passwords which contain unassigned
>    Kurt> code points and, in doing so, forcing stored password to
>    Kurt> consist only of assigned code points.  I would suspect, even
>    Kurt> if you were to allow them in PLAIN, use of such passwords in
>    Kurt> other systems would be quite problematic.
>
>First, keep in mind that these passwords are allowed in plain; we no
>longer require any particular normalization.

Actually, we don't require use of SASLprep... and hence its
normalization step... and, hence, its prohibit step.
   The server SHOULD prepare each of these strings using the
   [SASLPrep] profile of the [StringPrep] algorithm.

(I argue that without these steps, its no longer SASLprep.)

>My assumption is that people using these sorts of passwords will
>continue using these passwords because they already have
>infrastructure that works that way.

We already give them an escape in the above "SHOULD".  That is,
the language:
   When preparing using [SASLprep] or other [StringPrep] based
   algorithm, per Section 7 of [StringPrep], unassigned code points
   may appear in prepared presented (query) strings but are prohibited
   in prepared stored strings.  If only the output of a non-invertible
   function of expected string is stored, the string MUST be prepared
   before input to that function.

only applies to use of [SASLprep] and other [StringPrep] based
algorithms.  If an implementation chooses (after appropriately
considering the implications of doing so), to use some other
preparation algorithm, even one which is like SASLprep in
every regard except prohibition, fine.  But its not proper to
call that algorithm "SASLprep".  In SASLprep, the mandatory
prohibition step includes unassigned code point restrictions.

I argue that any algorithm which allows both strings compared
to contain unassigned code points is not a valid profile of
the StringPrep algorithm.  We can argue about the language
of RFC 3454 if you like, but I strongly believe that the
intent of RFC 3454 was to prohibit comparisons of two
strings both containing unassigned code points (from both
my talks with authors, and my lurking on the IDN list during
its development) .  If that not clear in RFC 3454, then the
IETF should address that in a revision of RFC 3454. 

But given the above SHOULD, isn't this argument moot?
Haven't we already given the implementor plenty of rope to
do whatever they please?

-- Kurt 



Received: from above.proper.com (localhost.vpnc.org [127.0.0.1]) by above.proper.com (8.12.11/8.12.9) with ESMTP id j0HG9l8U037398; Mon, 17 Jan 2005 08:09:47 -0800 (PST) (envelope-from owner-ietf-sasl@mail.imc.org)
Received: (from majordom@localhost) by above.proper.com (8.12.11/8.12.9/Submit) id j0HG9lXn037397; Mon, 17 Jan 2005 08:09:47 -0800 (PST)
X-Authentication-Warning: above.proper.com: majordom set sender to owner-ietf-sasl@mail.imc.org using -f
Received: from cz.mit.edu (STRATTON-FOUR-FORTY-TWO.MIT.EDU [18.187.6.187]) by above.proper.com (8.12.11/8.12.9) with ESMTP id j0HG9ejE037380 for <ietf-sasl@imc.org>; Mon, 17 Jan 2005 08:09:40 -0800 (PST) (envelope-from hartmans@mit.edu)
Received: by cz.mit.edu (Postfix, from userid 8042) id 8D198E0063; Mon, 17 Jan 2005 11:09:40 -0500 (EST)
To: "Kurt D. Zeilenga" <Kurt@OpenLDAP.org>
Cc: Simon Josefsson <jas@extundo.com>, ietf-sasl@imc.org
Subject: Re: Implementing SASL PLAIN servers
References: <iluvfbcm89h.fsf@latte.josefsson.org> <6.1.2.0.0.20041208211630.02f89ef8@127.0.0.1> <iluk6rrl8et.fsf@latte.josefsson.org> <tslllat1aov.fsf@cz.mit.edu> <6.2.0.14.0.20050116154825.02878008@mail.openldap.org>
From: Sam Hartman <hartmans-ietf@mit.edu>
Date: Mon, 17 Jan 2005 11:09:40 -0500
In-Reply-To: <6.2.0.14.0.20050116154825.02878008@mail.openldap.org> (Kurt D. Zeilenga's message of "Sun, 16 Jan 2005 15:57:54 -0800")
Message-ID: <tslbrboxcjf.fsf@cz.mit.edu>
User-Agent: Gnus/5.1006 (Gnus v5.10.6) Emacs/21.3 (gnu/linux)
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
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" == Kurt D Zeilenga <Kurt@OpenLDAP.org> writes:

    Kurt> Sam, Since SASLprep is a profile of the Stringprep
    Kurt> algorithm, it simply does not provide the option you
    Kurt> desire....  to allow both strings to contain unassigned code
    Kurt> points.  So, instead of SASLprep, you recommend we use some
    Kurt> other algorithm which allows both strings to contain
    Kurt> unassigned code points.  

I don't believe that is true.  Stringprep defines a preparation step,
not a comparison step.  I believe the text in section 7 of stringprep
is liberal enough to allow what I am talking about, although it is not
liberal enough to allow for an IETF protocol that would ever get into
the situation I'm discussing.

In particular, I believe it is consistent with the definition of query
string presented in section 7 to argue that a string pulled out of a
database is a query string.  If stringprep is used when that string is
stored in the database, it needs to be a storage string.  However
under the case we are discussing that storage operation is not under
the control of an IETf protocol.


I cannot find normative text forbidding a query string being compared
with another query string.  I can find explanatory text in section 7
motivating the normative guidelines in this section.  That text says
section 7 is designed to prevent the comparison of two strings that
both contain unassigned codepoints.  These guidelines are in fact
sufficient to achieve that goal when both strings are transported
through IETF protocols that use stringprep.  I don't think the
guidelines are sufficient (nor should they be) to prevent comparison
of two query strings in other situations.

    Kurt> oThis algorithm would 
not be a
    Kurt> profile of Stringprep.

Disagree because I'm talking about using stringprep.
I do agree with your reasons for requiring a stringprep algorithm, but do not think they apply to my argument.

    Kurt> Lastly, operationally, I think it better to fail
    Kurt> authentication for stored passwords which contain unassigned
    Kurt> code points and, in doing so, forcing stored password to
    Kurt> consist only of assigned code points.  I would suspect, even
    Kurt> if you were to allow them in PLAIN, use of such passwords in
    Kurt> other systems would be quite problematic.

First, keep in mind that these passwords are allowed in plain; we no
longer require any particular normalization.

My assumption is that people using these sorts of passwords will
continue using these passwords because they already have
infrastructure that works that way.  Examples of such infrastructure
include Windows Active Directory, PAM on Unix, and a variety of
SQL-backed password stores.

I assume that if plain doesn't support these passwords it will be a
problem for applications that use plain, and those applications rather
than the password store will be blamed.  If it actually turns out that
forbidding unassigned codepoints when saslprep is used with plain will
significantly reduce their use, then they should be forbidden.

--Sam



Received: from above.proper.com (localhost.vpnc.org [127.0.0.1]) by above.proper.com (8.12.11/8.12.9) with ESMTP id j0H01ksl018427; Sun, 16 Jan 2005 16:01:46 -0800 (PST) (envelope-from owner-ietf-sasl@mail.imc.org)
Received: (from majordom@localhost) by above.proper.com (8.12.11/8.12.9/Submit) id j0H01k4c018426; Sun, 16 Jan 2005 16:01:46 -0800 (PST)
X-Authentication-Warning: above.proper.com: majordom set sender to owner-ietf-sasl@mail.imc.org using -f
Received: from boole.openldap.org (root@boole.openldap.org [204.152.186.50]) by above.proper.com (8.12.11/8.12.9) with ESMTP id j0H01dFB018291 for <ietf-sasl@imc.org>; Sun, 16 Jan 2005 16:01:39 -0800 (PST) (envelope-from Kurt@OpenLDAP.org)
Received: from gypsy.OpenLDAP.org (24-205-218-53.cs-cres.charterpipeline.net [24.205.218.53]) (authenticated bits=0) by boole.openldap.org (8.13.1/8.13.1) with ESMTP id j0GNwNn2087579 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Sun, 16 Jan 2005 23:58:24 GMT (envelope-from Kurt@OpenLDAP.org)
Message-Id: <6.2.0.14.0.20050116154825.02878008@mail.openldap.org>
X-Mailer: QUALCOMM Windows Eudora Version 6.2.0.14
Date: Sun, 16 Jan 2005 15:57:54 -0800
To: Sam Hartman <hartmans-ietf@mit.edu>
From: "Kurt D. Zeilenga" <Kurt@OpenLDAP.org>
Subject: Re: Implementing SASL PLAIN servers
Cc: Simon Josefsson <jas@extundo.com>, ietf-sasl@imc.org
In-Reply-To: <tslllat1aov.fsf@cz.mit.edu>
References: <iluvfbcm89h.fsf@latte.josefsson.org> <6.1.2.0.0.20041208211630.02f89ef8@127.0.0.1> <iluk6rrl8et.fsf@latte.josefsson.org> <tslllat1aov.fsf@cz.mit.edu>
Mime-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
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>

Sam,

Since SASLprep is a profile of the Stringprep algorithm, it
simply does not provide the option you desire....  to allow
both strings to contain unassigned code points.  So, instead
of SASLprep, you recommend we use some other algorithm which
allows both strings to contain unassigned code points.
This algorithm would not be a profile of Stringprep.

I do not support this for a number of reasons.

First, I think it important to leverage Stringprep and
SASLprep in PLAIN.

Second, I think Stringprep has it right from an interoperability
standpoint.  Both strings should not contain unassigned code points.

Lastly, operationally, I think it better to fail authentication
for stored passwords which contain unassigned code points and,
in doing so, forcing stored password to consist only of
assigned code points.  I would suspect, even if you were to
allow them in PLAIN, use of such passwords in other systems
would be quite problematic.

So, in short, I think PLAIN (and SASLprep (and Stringprep))
should not be changed in this regard.

Kurt (with Editor and Chair hats off)


At 10:38 AM 1/16/2005, Sam Hartman wrote:

>>>>>> "Simon" == Simon Josefsson <jas@extundo.com> writes:
>
>    >>> If the server store unprepared passwords and authentication
>    >>> identities ("server strings"), the server prepare these using
>    >>> SASLprep, allowing unassigned code points in the output.  The
>    >>> server verify the authentication by comparing the prepared
>    >>> client strings with the prepared server strings.
>    >>  This behavior is counter to the specified behavior of SASLprep
>    >> and StringPrep, from Section 7 of RFC 3454.  The goal of the
>    >> requirements in this section is to prevent comparisons between
>    >> two strings that were both permitted to contain unassigned code
>    >> points.  Since we allowing unassigned code points in the
>    >> presented strings, we must prohibit them in the stored strings.
>
>    Simon> Unless I misunderstood him, or remember incorrectly, Sam
>    Simon> proposed this approach.  I would have implemented it
>    Simon> differently -- I would treat the unprepared strings using
>    Simon> SASLprep treating the strings as stored strings.  I don't
>    Simon> care which option is chosen, only that there is a plan and
>    Simon> that the plan is expressed in the document.
>
>First I'm sorry it has taken me so long to respond to this.
>
>
>Apparently I seem to be the only one who believes that we're doing
>something wrong.  Let me explain where I'm coming from and make sure
>the group understands my position.  If people still believe that
>forbidding unassigned codepoints is wrong, I'll withdraw my objection.
>
>First, the ideal goal is to make sure that at some point when we are
>storing a password or username, we forbid unassigned codepoints.  We'd
>like that to happen.  If the IETF ever writes change password or
>account creation protocols, we can make sure that happens for those
>protocols.
>
>However plain does not include a change password or account creation
>protocol; the credentials are established out of band.  We explain to
>people that they should normalize with saslprep and they should forbid
>unassigned codepoints when establishing credentials.
>
>We know about a lot of cases where people won't.  For example the unix
>passwd command neither normalizes nor forbids unassigned codepoints.
>Windows active directory passwords don't normalize although at least
>they have a well defined character set.
>
>If passwords are hashed, there's not really much you can do.  One
>thing you can try is to try both the saslpreped and non-saslpreped
>version of the string, hash both and see if one works.
>
>My concern comes about when we think about what to do if it happens
>you have access to the plaintext credential.  That is, the credential
>establishment protocol actually stores the password.
>
>Remember this credential establishment protocol is outside our
>control.  I would like to take a look at the case where it neither
>normalizes nor forbids unassigned codepoints.
>
>It seems like the easiest thing to do in an implementation of plain
>for this situation is to saslprep the two strings (one from user; one
>from database) and compare.  My question is what do you do if the
>database string contains unassigned codepoints.
>
>If you allow unassigned codepoints you may improve interoperability.
>This is true in the case where the codepoints end up being assigned to
>normalize to themselves in a future saslprep.
>
>What is the cost of allowing unassigned codepoints in this case.
>Well, normally the cost of unassigned codepoints is that you don't
>want to store long-term strings that may end up having the wrong
>normalization.  However in this instance, that has already happened:
>completely outside our control this string has already been placed in
>the database.  The only cost I can see is that if some of the
>unassigned codepoints end up generating forbidden output in a new
>saslprep, upgrading a server to support that new saslprep will cause
>passwords that used to work to stop working.  If we forbid unassigned
>codepoints then these passwords never would have worked.  In either
>case we cannot prevent the password from being established.  
>
>It seems to boil down to two possible attitudes.  Option one (allowing
>unassigned codepoints) means that users may be able to log in today
>even though a server upgrade may stop the login process from working
>in the future.  The second option is that we prevent users from
>logging in today in order to guarantee that they will not be surprised
>by a future server upgrade.
>
>--Sam



Received: from above.proper.com (localhost.vpnc.org [127.0.0.1]) by above.proper.com (8.12.11/8.12.9) with ESMTP id j0GJmA14080852; Sun, 16 Jan 2005 11:48:10 -0800 (PST) (envelope-from owner-ietf-sasl@mail.imc.org)
Received: (from majordom@localhost) by above.proper.com (8.12.11/8.12.9/Submit) id j0GJmAt4080851; Sun, 16 Jan 2005 11:48:10 -0800 (PST)
X-Authentication-Warning: above.proper.com: majordom set sender to owner-ietf-sasl@mail.imc.org using -f
Received: from cz.mit.edu (STRATTON-FOUR-FORTY-TWO.MIT.EDU [18.187.6.187]) by above.proper.com (8.12.11/8.12.9) with ESMTP id j0GJmAVc080844 for <ietf-sasl@imc.org>; Sun, 16 Jan 2005 11:48:10 -0800 (PST) (envelope-from hartmans@mit.edu)
Received: by cz.mit.edu (Postfix, from userid 8042) id 55AF1E0063; Sun, 16 Jan 2005 14:48:08 -0500 (EST)
To: Simon Josefsson <jas@extundo.com>
Cc: ietf-sasl@imc.org
Subject: Re: Implementing SASL PLAIN servers
References: <iluvfbcm89h.fsf@latte.josefsson.org> <6.1.2.0.0.20041208211630.02f89ef8@127.0.0.1> <iluk6rrl8et.fsf@latte.josefsson.org> <tslllat1aov.fsf@cz.mit.edu> <iluacr9p3jf.fsf@latte.josefsson.org>
From: Sam Hartman <hartmans-ietf@mit.edu>
Date: Sun, 16 Jan 2005 14:48:08 -0500
In-Reply-To: <iluacr9p3jf.fsf@latte.josefsson.org> (Simon Josefsson's message of "Sun, 16 Jan 2005 20:39:00 +0100")
Message-ID: <tslzmz9yx3b.fsf@cz.mit.edu>
User-Agent: Gnus/5.1006 (Gnus v5.10.6) Emacs/21.3 (gnu/linux)
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
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>

>>>>> "Simon" == Simon Josefsson <jas@extundo.com> writes:

    Simon> Sam Hartman <hartmans-ietf@mit.edu> writes:
    >> If people still believe that forbidding unassigned codepoints
    >> is wrong, I'll withdraw my objection.

    Simon> I didn't follow this.  Was the logic reversed here?
    Simon> s/wrong/right/?  I and (I believe) Kurt has suggested that

You are correct, s/wrong/right.



Received: from above.proper.com (localhost.vpnc.org [127.0.0.1]) by above.proper.com (8.12.11/8.12.9) with ESMTP id j0GJdEbc070466; Sun, 16 Jan 2005 11:39:14 -0800 (PST) (envelope-from owner-ietf-sasl@mail.imc.org)
Received: (from majordom@localhost) by above.proper.com (8.12.11/8.12.9/Submit) id j0GJdEZT070465; Sun, 16 Jan 2005 11:39:14 -0800 (PST)
X-Authentication-Warning: above.proper.com: majordom set sender to owner-ietf-sasl@mail.imc.org using -f
Received: from yxa.extundo.com (root@178.230.13.217.in-addr.dgcsystems.net [217.13.230.178]) by above.proper.com (8.12.11/8.12.9) with ESMTP id j0GJdCM7070420 for <ietf-sasl@imc.org>; Sun, 16 Jan 2005 11:39:13 -0800 (PST) (envelope-from jas@extundo.com)
Received: from latte.josefsson.org (c494102a.s-bi.bostream.se [217.215.27.65]) (authenticated bits=0) by yxa.extundo.com (8.13.2/8.13.2/Debian-1) with ESMTP id j0GJdAII009196 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES128-SHA bits=128 verify=OK); Sun, 16 Jan 2005 20:39:11 +0100
From: Simon Josefsson <jas@extundo.com>
To: Sam Hartman <hartmans-ietf@mit.edu>
Cc: ietf-sasl@imc.org
Subject: Re: Implementing SASL PLAIN servers
References: <iluvfbcm89h.fsf@latte.josefsson.org> <6.1.2.0.0.20041208211630.02f89ef8@127.0.0.1> <iluk6rrl8et.fsf@latte.josefsson.org> <tslllat1aov.fsf@cz.mit.edu>
OpenPGP: id=B565716F; url=http://josefsson.org/key.txt
X-Hashcash: 1:21:050116:hartmans-ietf@mit.edu::2u93maH7pogCX2Po:29i5
X-Hashcash: 1:21:050116:ietf-sasl@imc.org::x5ZRrS2uMspAsQpe:786H
Date: Sun, 16 Jan 2005 20:39:00 +0100
In-Reply-To: <tslllat1aov.fsf@cz.mit.edu> (Sam Hartman's message of "Sun, 16 Jan 2005 13:38:24 -0500")
Message-ID: <iluacr9p3jf.fsf@latte.josefsson.org>
User-Agent: Gnus/5.110003 (No Gnus v0.3) Emacs/21.3.50 (gnu/linux)
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
X-Spam-Status: No, hits=0.0 required=5.0 tests=none autolearn=no version=2.64
X-Spam-Checker-Version: SpamAssassin 2.64 (2004-01-11) on yxa-iv
X-Virus-Scanned: ClamAV 0.80/664/Thu Jan 13 16:13:05 2005 clamav-milter version 0.80j 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>

Sam Hartman <hartmans-ietf@mit.edu> writes:

> Apparently I seem to be the only one who believes that we're doing
> something wrong.  Let me explain where I'm coming from and make sure
> the group understands my position.

Thanks for explaining, I now understand your approach.  While it
appear to go against the spirit of the following paragraph in
StringPrep, I think you make a good case for choosing another
strategy.

   The goal of the requirements in this section is to prevent
   comparisons between two strings that were both permitted to contain
   unassigned code points.  When two strings X and Y are compared and
   string Y was prepared in a way that permits unassigned code points, a
   negative result to the comparison is not definitive; it's possible
   that the strings don't match even though they would match if a more
   recent version of the profile were used for Y.  However, if both X
   and Y were prepared in a way that permits unassigned code points,
   something worse can happen: even a positive result for the comparison
   is not definitive.  It is possible that the strings do match even
   though they would not match if a more recent version of the profile
   were used (one that prohibits a code point appearing in both X and
   Y).

> If people still believe that forbidding unassigned codepoints is
> wrong, I'll withdraw my objection.

I didn't follow this.  Was the logic reversed here?  s/wrong/right/?
I and (I believe) Kurt has suggested that unassigned code points
should be forbidden, and you are suggesting to permit them, when
taking a string from an external database.

> It seems to boil down to two possible attitudes.  Option one (allowing
> unassigned codepoints) means that users may be able to log in today
> even though a server upgrade may stop the login process from working
> in the future.  The second option is that we prevent users from
> logging in today in order to guarantee that they will not be surprised
> by a future server upgrade.

You could also explain it as two possible attitudes toward StringPrep.
Either follow its spirit closely, and never compare strings with
unassigned code points, or realize it may be useful to violate the
StringPrep spirit.

Perhaps some input from people more familiar with StringPrep would be
useful, to see if anyone is bothered by breaking this rule.  Or if
they see other potential pitfalls in doing so.

Concluding, I don't have any objections to either solution, if it is
clear from the document which is used.

Thanks,
Simon



Received: from above.proper.com (localhost.vpnc.org [127.0.0.1]) by above.proper.com (8.12.11/8.12.9) with ESMTP id j0GIgUgL094838; Sun, 16 Jan 2005 10:42:30 -0800 (PST) (envelope-from owner-ietf-sasl@mail.imc.org)
Received: (from majordom@localhost) by above.proper.com (8.12.11/8.12.9/Submit) id j0GIgUTc094829; Sun, 16 Jan 2005 10:42:30 -0800 (PST)
X-Authentication-Warning: above.proper.com: majordom set sender to owner-ietf-sasl@mail.imc.org using -f
Received: from cz.mit.edu (STRATTON-FOUR-FORTY-TWO.MIT.EDU [18.187.6.187]) by above.proper.com (8.12.11/8.12.9) with ESMTP id j0GIgTPR094806 for <ietf-sasl@imc.org>; Sun, 16 Jan 2005 10:42:30 -0800 (PST) (envelope-from hartmans@mit.edu)
Received: by cz.mit.edu (Postfix, from userid 8042) id 693C9E0063; Sun, 16 Jan 2005 13:42:31 -0500 (EST)
To: ietf-sasl@imc.org
Subject: Prodding progress on base
From: Sam Hartman <hartmans-ietf@mit.edu>
Message-Id: <20050116184231.693C9E0063@cz.mit.edu>
Date: Sun, 16 Jan 2005 13:42:31 -0500 (EST)
Sender: owner-ietf-sasl@mail.imc.org
Precedence: bulk
List-Archive: <http://www.imc.org/ietf-sasl/mail-archive/>
List-ID: <ietf-sasl.imc.org>
List-Unsubscribe: <mailto:ietf-sasl-request@imc.org?body=unsubscribe>

I think it would be a good idea if we were much closer to sending RFC
2222bis to the IESG by IETF 62.


We should probably try and pick up those discussions.

--Sam



Received: from above.proper.com (localhost.vpnc.org [127.0.0.1]) by above.proper.com (8.12.11/8.12.9) with ESMTP id j0GIcWeV089499; Sun, 16 Jan 2005 10:38:32 -0800 (PST) (envelope-from owner-ietf-sasl@mail.imc.org)
Received: (from majordom@localhost) by above.proper.com (8.12.11/8.12.9/Submit) id j0GIcWfM089497; Sun, 16 Jan 2005 10:38:32 -0800 (PST)
X-Authentication-Warning: above.proper.com: majordom set sender to owner-ietf-sasl@mail.imc.org using -f
Received: from cz.mit.edu (STRATTON-FOUR-FORTY-TWO.MIT.EDU [18.187.6.187]) by above.proper.com (8.12.11/8.12.9) with ESMTP id j0GIcQTO089297 for <ietf-sasl@imc.org>; Sun, 16 Jan 2005 10:38:27 -0800 (PST) (envelope-from hartmans@mit.edu)
Received: by cz.mit.edu (Postfix, from userid 8042) id 57075E0063; Sun, 16 Jan 2005 13:38:24 -0500 (EST)
To: Simon Josefsson <jas@extundo.com>
Cc: ietf-sasl@imc.org
Subject: Re: Implementing SASL PLAIN servers
References: <iluvfbcm89h.fsf@latte.josefsson.org> <6.1.2.0.0.20041208211630.02f89ef8@127.0.0.1> <iluk6rrl8et.fsf@latte.josefsson.org>
From: Sam Hartman <hartmans-ietf@mit.edu>
Date: Sun, 16 Jan 2005 13:38:24 -0500
In-Reply-To: <iluk6rrl8et.fsf@latte.josefsson.org> (Simon Josefsson's message of "Thu, 09 Dec 2004 17:54:02 +0100")
Message-ID: <tslllat1aov.fsf@cz.mit.edu>
User-Agent: Gnus/5.1006 (Gnus v5.10.6) Emacs/21.3 (gnu/linux)
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
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>

>>>>> "Simon" == Simon Josefsson <jas@extundo.com> writes:

    >>> If the server store unprepared passwords and authentication
    >>> identities ("server strings"), the server prepare these using
    >>> SASLprep, allowing unassigned code points in the output.  The
    >>> server verify the authentication by comparing the prepared
    >>> client strings with the prepared server strings.
    >>  This behavior is counter to the specified behavior of SASLprep
    >> and StringPrep, from Section 7 of RFC 3454.  The goal of the
    >> requirements in this section is to prevent comparisons between
    >> two strings that were both permitted to contain unassigned code
    >> points.  Since we allowing unassigned code points in the
    >> presented strings, we must prohibit them in the stored strings.

    Simon> Unless I misunderstood him, or remember incorrectly, Sam
    Simon> proposed this approach.  I would have implemented it
    Simon> differently -- I would treat the unprepared strings using
    Simon> SASLprep treating the strings as stored strings.  I don't
    Simon> care which option is chosen, only that there is a plan and
    Simon> that the plan is expressed in the document.

First I'm sorry it has taken me so long to respond to this.


Apparently I seem to be the only one who believes that we're doing
something wrong.  Let me explain where I'm coming from and make sure
the group understands my position.  If people still believe that
forbidding unassigned codepoints is wrong, I'll withdraw my objection.

First, the ideal goal is to make sure that at some point when we are
storing a password or username, we forbid unassigned codepoints.  We'd
like that to happen.  If the IETF ever writes change password or
account creation protocols, we can make sure that happens for those
protocols.

However plain does not include a change password or account creation
protocol; the credentials are established out of band.  We explain to
people that they should normalize with saslprep and they should forbid
unassigned codepoints when establishing credentials.

We know about a lot of cases where people won't.  For example the unix
passwd command neither normalizes nor forbids unassigned codepoints.
Windows active directory passwords don't normalize although at least
they have a well defined character set.

If passwords are hashed, there's not really much you can do.  One
thing you can try is to try both the saslpreped and non-saslpreped
version of the string, hash both and see if one works.

My concern comes about when we think about what to do if it happens
you have access to the plaintext credential.  That is, the credential
establishment protocol actually stores the password.

Remember this credential establishment protocol is outside our
control.  I would like to take a look at the case where it neither
normalizes nor forbids unassigned codepoints.

It seems like the easiest thing to do in an implementation of plain
for this situation is to saslprep the two strings (one from user; one
from database) and compare.  My question is what do you do if the
database string contains unassigned codepoints.

If you allow unassigned codepoints you may improve interoperability.
This is true in the case where the codepoints end up being assigned to
normalize to themselves in a future saslprep.

What is the cost of allowing unassigned codepoints in this case.
Well, normally the cost of unassigned codepoints is that you don't
want to store long-term strings that may end up having the wrong
normalization.  However in this instance, that has already happened:
completely outside our control this string has already been placed in
the database.  The only cost I can see is that if some of the
unassigned codepoints end up generating forbidden output in a new
saslprep, upgrading a server to support that new saslprep will cause
passwords that used to work to stop working.  If we forbid unassigned
codepoints then these passwords never would have worked.  In either
case we cannot prevent the password from being established.  

It seems to boil down to two possible attitudes.  Option one (allowing
unassigned codepoints) means that users may be able to log in today
even though a server upgrade may stop the login process from working
in the future.  The second option is that we prevent users from
logging in today in order to guarantee that they will not be surprised
by a future server upgrade.

--Sam



Received: from above.proper.com (localhost.vpnc.org [127.0.0.1]) by above.proper.com (8.12.11/8.12.9) with ESMTP id j03K2J9N096984; Mon, 3 Jan 2005 12:02:19 -0800 (PST) (envelope-from owner-ietf-sasl@mail.imc.org)
Received: (from majordom@localhost) by above.proper.com (8.12.11/8.12.9/Submit) id j03K2Juf096983; Mon, 3 Jan 2005 12:02:19 -0800 (PST)
X-Authentication-Warning: above.proper.com: majordom set sender to owner-ietf-sasl@mail.imc.org using -f
Received: from mail2.microsoft.com (mail2.microsoft.com [131.107.3.124]) by above.proper.com (8.12.11/8.12.9) with ESMTP id j03K2B10096435 for <ietf-sasl@imc.org>; Mon, 3 Jan 2005 12:02:11 -0800 (PST) (envelope-from paulle@windows.microsoft.com)
Received: from mailout2.microsoft.com ([157.54.1.120]) by mail2.microsoft.com with Microsoft SMTPSVC(6.0.3790.211); Mon, 3 Jan 2005 12:02:04 -0800
Received: from red-hub-03.redmond.corp.microsoft.com ([157.54.2.25]) by mailout2.microsoft.com with Microsoft SMTPSVC(6.0.3790.211); Mon, 3 Jan 2005 12:02:01 -0800
Received: from win-imc-02.wingroup.windeploy.ntdev.microsoft.com ([157.54.0.84]) by red-hub-03.redmond.corp.microsoft.com with Microsoft SMTPSVC(6.0.3790.1264); Mon, 3 Jan 2005 12:02:03 -0800
Received: from WIN-MSG-10.wingroup.windeploy.ntdev.microsoft.com ([157.54.12.81]) by win-imc-02.wingroup.windeploy.ntdev.microsoft.com with Microsoft SMTPSVC(6.0.3790.1289); Mon, 3 Jan 2005 12:02:03 -0800
X-MimeOLE: Produced By Microsoft Exchange V6.5.7226.0
Content-class: urn:content-classes:message
MIME-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
Subject: RE: Some DIGEST-MD5 nits
Date: Mon, 3 Jan 2005 12:02:24 -0800
Message-ID: <91D7F2CEE3425A4A9D11311D09FCE2460C6B4462@WIN-MSG-10.wingroup.windeploy.ntdev.microsoft.com>
X-MS-Has-Attach: 
X-MS-TNEF-Correlator: 
Thread-Topic: Some DIGEST-MD5 nits
Thread-Index: AcTxyTAyMNegDK4NR3eBTfVhgMKVGAABRDYA
From: "Paul Leach" <paulle@windows.microsoft.com>
To: "Sam Hartman" <hartmans-ietf@mit.edu>
Cc: "Simon Josefsson" <jas@extundo.com>, <ietf-sasl@imc.org>
X-OriginalArrivalTime: 03 Jan 2005 20:02:03.0644 (UTC) FILETIME=[1800B3C0:01C4F1CF]
Content-Transfer-Encoding: 8bit
X-MIME-Autoconverted: from quoted-printable to 8bit by above.proper.com id j03K2C10096693
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 misread the RSA Labs response
(http://www.rsasecurity.com/rsalabs/node.asp?id=2009)
to Shamir's paper. I thought it unilaterally recommended discarding the
first 256 bytes of PRNG output. Instead, it recommends that _or_ hashing
with some sort of IV or equivalent, which, as you correctly point out,
is what is already done.

So, you're right that nothing needs to be changed.





Received: from above.proper.com (localhost.vpnc.org [127.0.0.1]) by above.proper.com (8.12.11/8.12.9) with ESMTP id j03JJnMX039909; Mon, 3 Jan 2005 11:19:49 -0800 (PST) (envelope-from owner-ietf-sasl@mail.imc.org)
Received: (from majordom@localhost) by above.proper.com (8.12.11/8.12.9/Submit) id j03JJnLY039908; Mon, 3 Jan 2005 11:19:49 -0800 (PST)
X-Authentication-Warning: above.proper.com: majordom set sender to owner-ietf-sasl@mail.imc.org using -f
Received: from cz.mit.edu (CARTER-ZIMMERMAN.MIT.EDU [18.18.3.197]) by above.proper.com (8.12.11/8.12.9) with ESMTP id j03JJfox039835 for <ietf-sasl@imc.org>; Mon, 3 Jan 2005 11:19:42 -0800 (PST) (envelope-from hartmans@mit.edu)
Received: by cz.mit.edu (Postfix, from userid 8042) id F0817E0063; Mon,  3 Jan 2005 14:20:45 -0500 (EST)
To: "Paul Leach" <paulle@windows.microsoft.com>
Cc: "Simon Josefsson" <jas@extundo.com>, <ietf-sasl@imc.org>
Subject: Re: Some DIGEST-MD5 nits
References: <91D7F2CEE3425A4A9D11311D09FCE2460C5B225A@WIN-MSG-10.wingroup.windeploy.ntdev.microsoft.com>
From: Sam Hartman <hartmans-ietf@mit.edu>
Date: Mon, 03 Jan 2005 14:20:45 -0500
In-Reply-To: <91D7F2CEE3425A4A9D11311D09FCE2460C5B225A@WIN-MSG-10.wingroup.windeploy.ntdev.microsoft.com> (Paul Leach's message of "Mon, 20 Dec 2004 11:26:56 -0800")
Message-ID: <tslekh2wc8i.fsf@cz.mit.edu>
User-Agent: Gnus/5.1006 (Gnus v5.10.6) Emacs/21.3 (gnu/linux)
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
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>

>>>>> "Paul" == Paul Leach <paulle@windows.microsoft.com> writes:

    >> -----Original Message----- From: owner-ietf-sasl@mail.imc.org
    Paul> [mailto:owner-ietf-sasl@mail.imc.org]
    >> On Behalf Of Simon Josefsson Sent: Sunday, December 19, 2004
    >> 7:09 PM To: ietf-sasl@imc.org Subject: Re: Some DIGEST-MD5 nits
    >> 
    >> 
    >> A few additional notes:
    >> 
    >> I suggest making AES the mandatory to implement cipher.
    >> Currently, there is no reference for rc4 in the document, there
    >> are papers on weaknesses (such as Wagner's [1]), and there is
    >> no discussion in the current document how to deal with Shamir's
    >> findings (see [2]).
    Paul> [Paul Leach] I would suggest that either RC4 be deprecated,
    Paul> or that a new RC4-based cipher specifier be added that
    Paul> discards the first 256 bytes of the RNG. If the latter is
    Paul> the choice, security considerations should be added
    Paul> referencing the above, and noting that discarding 256 bytes
    Paul> handles the problems.

I'm having a hard time seeing the need for this.  It seems like the
current keys are the result of hashing and I don't understand how you
would get a related key attack against digest-md5.

Clarification on this would be appreciated.  If I'm right, there's no
need to introduce new types.  If I'm wrong then there is a serious
security problem.

--Sam



Received: from above.proper.com (localhost.vpnc.org [127.0.0.1]) by above.proper.com (8.12.11/8.12.9) with ESMTP id j035B9u6028972; Sun, 2 Jan 2005 21:11:09 -0800 (PST) (envelope-from owner-ietf-sasl@mail.imc.org)
Received: (from majordom@localhost) by above.proper.com (8.12.11/8.12.9/Submit) id j035B9lH028967; Sun, 2 Jan 2005 21:11:09 -0800 (PST)
X-Authentication-Warning: above.proper.com: majordom set sender to owner-ietf-sasl@mail.imc.org using -f
Received: from aragorn.bbn.com (aragorn.bbn.com [128.33.0.62]) by above.proper.com (8.12.11/8.12.9) with ESMTP id j035B5pY028813; Sun, 2 Jan 2005 21:11:05 -0800 (PST) (envelope-from kseo@bbn.com)
Received: from [128.89.89.115] (dhcp89-089-115.bbn.com [128.89.89.115]) by aragorn.bbn.com (8.12.7/8.12.7) with ESMTP id j0359wjf003765; Mon, 3 Jan 2005 00:09:58 -0500 (EST)
Mime-Version: 1.0
X-Sender: kseo@po2.bbn.com
Message-Id: <p061005d3bdf24f5d9a23@[128.89.89.115]>
Date: Mon, 3 Jan 2005 00:13:09 -0500
To: ietf-enroll@mit.edu, inch@nic.surfnet.nl, ipsec@ietf.org, ipseckey@ietf.org, ipsec-policy@vpnc.org, isms@ietf.org, kitten@lists.ietf.org, ietf-kink@vpnc.org, ietf-krb-wg@anl.gov, ietf-ltans@imc.org, mobike@machshav.com, msec@securemulticast.org, ietf-openpgp@imc.org, pki4ipsec@icsalabs.com, ietf-pkix@imc.org, ietf-sacred@imc.org, ietf-sasl@imc.org, ietf-ssh@netbsd.org, ietf-smime@imc.org, authtime@nist.gov, syslog-sec@employees.org, ietf-tls@lists.certicom.com
From: Karen Seo <kseo@bbn.com>
Subject: 2005 Network and Distributed System Security Symposium (NDSS '05)
Cc: kseo@bbn.com
Content-Type: multipart/alternative; boundary="============_-1107393303==_ma============"
X-Scanned-By: MIMEDefang 2.28 (www . roaringpenguin . com / mimedefang)
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>

--============_-1107393303==_ma============
Content-Type: text/plain; charset="us-ascii" ; format="flowed"

   ** My apologies if you receive multiple copies of this message. **

                ANNOUNCING THE INTERNET SOCIETY'S
2005 NETWORK AND DISTRIBUTED SYSTEM SECURITY SYMPOSIUM (NDSS'05)

February 2, 2005 - Pre Conference Workshop
February 3-4, 2005 - Symposium
Catamaran Resort Hotel, San Diego, California
General Chair:  Eric Harder, National Security Agency
Program co-Chairs: Dan Simon, Microsoft Research
		   Dan Boneh, Stanford University

ONLINE INFORMATION AND REGISTRATION: http://www.isoc.org/ndss05/

     The 12th annual NDSS Symposium brings together innovative and
     forward thinking members of the Internet community including
     leading edge security researchers and implementers, globally
     recognized security technology experts, and users from both
     the private and public sectors who design, develop, exploit,
     and deploy the technologies that define network and distributed
     system security.

     NDSS'05 provides a balanced mix of technical papers (with a
     strong emphasis on implementation) that cover new and practical
     approaches to security problems that are endemic to network and
     distributed systems. 

THIS YEAR'S TOPICS INCLUDE:
	* Cryptography in Network Security
	* Denial of Service Attacks,
	* Peer to Peer Approaches
	* Internet Defense
	* Intrusion Detection
	* Platform Security.

FEATURED GUEST SPEAKER:
	* Amit Yoran, who was responsible for coordinating cyber-security
           activities for Homeland Security, will speak on "Security
           Challenges and Opportunities of the Future Enterprise"

PRE CONFERENCE WORKSHOP TOPICS INCLUDE:
	* Security in handling mobility on the internet
	* Security in wireless LANs
	* Security for telephony or voice over IP
	* Trust relations in ad hoc networks
	* Key management strategies to support mobility
	* Security in RFID.
      More information is available at:
         http://www.isoc.org/isoc/conferences/ndss/05/workshop.shtml
      Parties interested in submitting papers should see the above
         web page for directions

REGISTER EARLY FOR BEST PRICING
      Registration for NDSS'05 is now open. Student rates are available
      for both the workshop and symposium. See the web site for more
      information -- http://www.isoc.org/ndss05/  Registration fees:
	*  November 31, 2004-January 10, 2005   $625.
	*  After January 10, 2005               $695.

SPONSORSHIP OPPORTUNITIES AVAILABLE!
      If your organization would like to help support NDSS and gain
      visibility through sponsoring, please contact:
      sponsor-ndss@isoc.org.  Information is also available at   
      http://www.isoc.org/ndss05/


Karen Seo
NDSS'05 Publicity Chair
--============_-1107393303==_ma============
Content-Type: text/html; charset="us-ascii"

<!doctype html public "-//W3C//DTD W3 HTML//EN">
<html><head><style type="text/css"><!--
blockquote, dl, ul, ol, li { padding-top: 0 ; padding-bottom: 0 }
 --></style><title>2005 Network and Distributed System Security
Symposium (ND</title></head><body>
<div>&nbsp; ** My apologies if you receive multiple copies of this
message. **</div>
<div><font color="#000000"><br></font></div>
<div><font
color="#000000"
>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span
></span>&nbsp;&nbsp;&nbsp; ANNOUNCING THE INTERNET
SOCIETY'S</font></div>
<div><font color="#000000">2005 NETWORK AND DISTRIBUTED SYSTEM
SECURITY SYMPOSIUM (NDSS'05)</font></div>
<div><font color="#000000"><br>
February 2, 2005 - Pre Conference Workshop<br>
February 3-4, 2005 - Symposium<br>
Catamaran Resort Hotel, San Diego, California</font></div>
<div><font color="#000000">General Chair:&nbsp; Eric Harder, National
Security Agency</font></div>
<div><font color="#000000">Program co-Chairs: Dan Simon, Microsoft
Research</font></div>
<div><font
color="#000000"><x-tab>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
</x-tab><x-tab>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
</x-tab>&nbsp;&nbsp; Dan Boneh, Stanford University</font></div>
<div><font color="#000000"><br>
ONLINE INFORMATION AND REGISTRATION: http://www.isoc.org/ndss05/<br>
<br>
&nbsp;&nbsp;&nbsp; The 12th annual NDSS Symposium brings together
innovative and</font></div>
<div><font color="#000000">&nbsp;&nbsp;&nbsp; forward thinking members
of the Internet community including</font></div>
<div><font color="#000000">&nbsp;&nbsp;&nbsp; leading edge security
researchers and implementers, globally</font></div>
<div><font color="#000000">&nbsp;&nbsp;&nbsp; recognized security
technology experts, and users from both</font></div>
<div><font color="#000000">&nbsp;&nbsp;&nbsp; the private and public
sectors who design, develop, exploit,</font></div>
<div><font color="#000000">&nbsp;&nbsp;&nbsp; and deploy the
technologies that define network and distributed</font></div>
<div><font color="#000000">&nbsp;&nbsp;&nbsp; system
security.</font></div>
<div><font color="#000000"><br>
&nbsp;&nbsp;&nbsp; NDSS'05 provides a balanced mix of technical papers
(with a</font></div>
<div><font color="#000000">&nbsp;&nbsp;&nbsp; strong emphasis on
implementation) that cover new and practical</font></div>
<div><font color="#000000">&nbsp;&nbsp;&nbsp; approaches to security
problems that are endemic to network and</font></div>
<div><font color="#000000">&nbsp;&nbsp;&nbsp; distributed
systems.&nbsp;</font></div>
<div><font color="#000000"><br>
THIS YEAR'S TOPICS INCLUDE:<br>
<x-tab>&nbsp;&nbsp;&nbsp;&nbsp; </x-tab>* Cryptography in Network
Security<br>
<x-tab>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </x-tab>* Denial of Service
Attacks,<br>
<x-tab>&nbsp;&nbsp;&nbsp; </x-tab>* Peer to Peer Approaches<br>
<x-tab>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </x-tab>* Internet
Defense<br>
<x-tab>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </x-tab>* Intrusion
Detection<br>
<x-tab>&nbsp;&nbsp; </x-tab>* Platform Security.</font><br>
</div>
<div>FEATURED GUEST SPEAKER:</div>
<div><x-tab>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </x-tab>* Amit
Yoran, who was responsible for coordinating cyber-security</div>
<div>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; activities
for Homeland Security, will speak on &quot;Security</div>
<div>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Challenges
and Opportunities of the Future Enterprise&quot;</div>
<div><br>
PRE CONFERENCE WORKSHOP TOPICS INCLUDE:<br>
<x-tab> </x-tab>* Security in handling mobility on the internet</div>
<div><x-tab>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </x-tab>*
Security in wireless LANs<br>
<x-tab>&nbsp;&nbsp;&nbsp;&nbsp; </x-tab>* Security for telephony or
voice over IP<br>
<x-tab>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </x-tab>* Trust relations
in ad hoc networks<br>
<x-tab>&nbsp;&nbsp;&nbsp; </x-tab>* Key management strategies to
support mobility</div>
<div><x-tab>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </x-tab>*
Security in RFID.</div>
<div>&nbsp;&nbsp;&nbsp;&nbsp; More information is available at:</div>
<div>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
http://www.isoc.org/isoc/conferences/ndss/05/workshop.shtml</div>
<div>&nbsp;&nbsp;&nbsp;&nbsp; Parties interested in submitting papers
should see the above</div>
<div>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; web page for
directions</div>
<div><font color="#000000"><br></font></div>
<div><font color="#000000">REGISTER EARLY FOR BEST
PRICING</font></div>
<div><font color="#000000">&nbsp;&nbsp;&nbsp;&nbsp; Registration for
NDSS'05 is now open. Student rates are available</font></div>
<div><font color="#000000">&nbsp;&nbsp;&nbsp;&nbsp; for both the
workshop and symposium. See the web site for more</font></div>
<div><font color="#000000">&nbsp;&nbsp;&nbsp;&nbsp; information
--&nbsp;</font><font
color="#0000FF"><u>http://www.isoc.org/ndss05/</u></font><font
color="#000000">&nbsp; Registration fees:</font></div>
<div><font
color="#000000"><x-tab>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
</x-tab>*&nbsp; November 31, 2004-January 10, 2005&nbsp;&nbsp;
$625.</font></div>
<div><font
color="#000000"><x-tab>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
</x-tab>*&nbsp; After January 10,
2005&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span
></span>&nbsp;&nbsp;&nbsp;&nbsp; $695.</font></div>
<div><font color="#000000"><br>
SPONSORSHIP OPPORTUNITIES AVAILABLE!</font></div>
<div><font color="#000000">&nbsp;&nbsp;&nbsp;&nbsp; If your
organization would like to help support NDSS and gain</font></div>
<div><font color="#000000">&nbsp;&nbsp;&nbsp;&nbsp; visibility through
sponsoring, please contact:</font></div>
<div><font color="#000000">&nbsp;&nbsp;&nbsp;&nbsp;
sponsor-ndss@isoc.org.&nbsp; Information is also available
at&nbsp;&nbsp;&nbsp;</font></div>
<div><font color="#000000">&nbsp;&nbsp;&nbsp;&nbsp;
http://www.isoc.org/ndss05/</font></div>
<div><br></div>
<div><br></div>
<div>Karen Seo</div>
<div>NDSS'05 Publicity Chair</div>
</body>
</html>
--============_-1107393303==_ma============--


