[EAI] ISSUE: IMAP - handling of invalid SASLPrep input in usernames/passwords in Section 5

Alexey Melnikov <alexey.melnikov@isode.com> Sat, 18 July 2009 20:16 UTC

Return-Path: <alexey.melnikov@isode.com>
X-Original-To: ima@core3.amsl.com
Delivered-To: ima@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id AD2733A6B14 for <ima@core3.amsl.com>; Sat, 18 Jul 2009 13:16:56 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.805
X-Spam-Level:
X-Spam-Status: No, score=-1.805 tagged_above=-999 required=5 tests=[AWL=0.794, BAYES_00=-2.599]
Received: from mail.ietf.org ([64.170.98.32]) by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id sDtiaw3m1POd for <ima@core3.amsl.com>; Sat, 18 Jul 2009 13:16:56 -0700 (PDT)
Received: from rufus.isode.com (rufus.isode.com [62.3.217.251]) by core3.amsl.com (Postfix) with ESMTP id B4F2E3A6B07 for <ima@ietf.org>; Sat, 18 Jul 2009 13:16:55 -0700 (PDT)
Received: from [92.40.162.39] (92.40.162.39.sub.mbb.three.co.uk [92.40.162.39]) by rufus.isode.com (submission channel) via TCP with ESMTPA id <SmItSwAe-a0D@rufus.isode.com>; Sat, 18 Jul 2009 21:15:12 +0100
Message-ID: <4A622D0C.3090905@isode.com>
Date: Sat, 18 Jul 2009 21:14:04 +0100
From: Alexey Melnikov <alexey.melnikov@isode.com>
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7.12) Gecko/20050915
X-Accept-Language: en-us, en
To: EAI WG <ima@ietf.org>
References: <4A5B2F8D.2020809@alvestrand.no>
In-Reply-To: <4A5B2F8D.2020809@alvestrand.no>
MIME-Version: 1.0
Content-Type: text/plain; charset="ISO-8859-1"; format="flowed"
Content-Transfer-Encoding: 7bit
Subject: [EAI] ISSUE: IMAP - handling of invalid SASLPrep input in usernames/passwords in Section 5
X-BeenThere: ima@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: "EAI \(Email Address Internationalization\)" <ima.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/ima>, <mailto:ima-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/ima>
List-Post: <mailto:ima@ietf.org>
List-Help: <mailto:ima-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/ima>, <mailto:ima-request@ietf.org?subject=subscribe>
X-List-Received-Date: Sat, 18 Jul 2009 20:16:56 -0000

>
> If the UTF8=USER capability is advertised, that indicates the server
> accepts UTF-8 user names and passwords and applies SASLprep [RFC4013]
> to both arguments of the LOGIN command. The server MUST reject UTF-8
> which fails to comply with the formal syntax in RFC 3629 [RFC3629].

The last sentence should also say how the server should deal with 
Unicode characters prohibited by SASLPrep.
Suggested replacement:

    The server MUST reject UTF-8 which fails to comply with the formal 
syntax in RFC 3629
    [RFC3629] or if it encounters a Unicode characters listed in section 
2.3 of RFC 4013 [RFC4013].