Re: [kitten] spaces in SASL user names

Simon Josefsson <simon@josefsson.org> Wed, 11 April 2012 07:01 UTC

Return-Path: <simon@josefsson.org>
X-Original-To: kitten@ietfa.amsl.com
Delivered-To: kitten@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 45A9C21F86B0 for <kitten@ietfa.amsl.com>; Wed, 11 Apr 2012 00:01:34 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -99.511
X-Spam-Level:
X-Spam-Status: No, score=-99.511 tagged_above=-999 required=5 tests=[AWL=-0.202, BAYES_00=-2.599, FH_HOST_EQ_D_D_D_D=0.765, HELO_MISMATCH_COM=0.553, HOST_EQ_STATICB=1.372, J_CHICKENPOX_92=0.6, USER_IN_WHITELIST=-100]
Received: from mail.ietf.org ([12.22.58.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id bXgeZ8JRPSew for <kitten@ietfa.amsl.com>; Wed, 11 Apr 2012 00:01:33 -0700 (PDT)
Received: from yxa-v.extundo.com (static-213-115-179-173.sme.bredbandsbolaget.se [213.115.179.173]) by ietfa.amsl.com (Postfix) with ESMTP id 61CA221F86B7 for <kitten@ietf.org>; Wed, 11 Apr 2012 00:01:28 -0700 (PDT)
Received: from latte.josefsson.org (static-213-115-179-130.sme.bredbandsbolaget.se [213.115.179.130]) (authenticated bits=0) by yxa-v.extundo.com (8.14.3/8.14.3/Debian-5+lenny1) with ESMTP id q3B71JOL031646 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES128-SHA bits=128 verify=NOT); Wed, 11 Apr 2012 09:01:21 +0200
From: Simon Josefsson <simon@josefsson.org>
To: Peter Saint-Andre <stpeter@stpeter.im>
References: <4F84AAA5.3030104__43291.804000228$1334094511$gmane$org@stpeter.im>
OpenPGP: id=B565716F; url=http://josefsson.org/key.txt
X-Hashcash: 1:22:120411:kitten@ietf.org::nGiiSihrIhcNzKBi:Gy3R
X-Hashcash: 1:22:120411:stpeter@stpeter.im::MxQFNCPpbqEcfKOT:IVry
Date: Wed, 11 Apr 2012 09:01:19 +0200
In-Reply-To: <4F84AAA5.3030104__43291.804000228$1334094511$gmane$org@stpeter.im> (Peter Saint-Andre's message of "Tue, 10 Apr 2012 15:48:21 -0600")
Message-ID: <87ehrusqf4.fsf@latte.josefsson.org>
User-Agent: Gnus/5.130004 (Ma Gnus v0.4) Emacs/24.0.94 (gnu/linux)
MIME-Version: 1.0
Content-Type: text/plain
X-Virus-Scanned: clamav-milter 0.97.3 at yxa-v
X-Virus-Status: Clean
Cc: "kitten@ietf.org" <kitten@ietf.org>
Subject: Re: [kitten] spaces in SASL user names
X-BeenThere: kitten@ietf.org
X-Mailman-Version: 2.1.12
Precedence: list
List-Id: Common Authentication Technologies - Next Generation <kitten.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/kitten>, <mailto:kitten-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/kitten>
List-Post: <mailto:kitten@ietf.org>
List-Help: <mailto:kitten-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/kitten>, <mailto:kitten-request@ietf.org?subject=subscribe>
X-List-Received-Date: Wed, 11 Apr 2012 07:01:34 -0000

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

> At the PRECIS WG session in Paris, we had quite a discussion about
> spaces in user names. Alexey maintained that this must have been
> included in SASLprep (RFC 4013) for a good reason, but the reason
> wasn't clear to folks in the meeting. So I have a few questions:
>
> 1. Do SASL user names really need to include spaces?

I have seen real human names used for authentication identifiers more
than once, so I believe the answer is yes.

/Simon

> 2. If SASL user names do *not* need to include spaces, would it be
> fine to re-use the PRECIS NameClass for simple user names in SASL?
>
> 3. If SASL user names *do* need to include spaces, would it be fine to
> define simple user names in SASL as a space-separated list of
> NameClass entities?
>
> Option #3 seems preferable to (a) specifying that the PRECIS NameClass
> needs to include space (to which there was a lot of resistance during
> the PRECIS WG session), (b) enabling folks to superclass PRECIS string
> classes (to which there was also a lot of resistance), or (c) severely
> subclassing the PRECIS FreeClass to be something like NameClass+SP.
>
> Peter