Re: [http-auth] Pete Resnick's No Objection on draft-ietf-httpauth-basicauth-update-06: (with COMMENT)

Bjoern Hoehrmann <derhoermi@gmx.net> Wed, 18 February 2015 22:38 UTC

Return-Path: <derhoermi@gmx.net>
X-Original-To: http-auth@ietfa.amsl.com
Delivered-To: http-auth@ietfa.amsl.com
Received: from localhost (ietfa.amsl.com [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 49B691A1AF4; Wed, 18 Feb 2015 14:38:56 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.14
X-Spam-Level:
X-Spam-Status: No, score=-1.14 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_SORBS_WEB=0.77, SPF_PASS=-0.001, T_RP_MATCHES_RCVD=-0.01] autolearn=no
Received: from mail.ietf.org ([4.31.198.44]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id yQ213jWRU6qY; Wed, 18 Feb 2015 14:38:54 -0800 (PST)
Received: from mout.gmx.net (mout.gmx.net [212.227.17.20]) (using TLSv1.2 with cipher DHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 778A31A0252; Wed, 18 Feb 2015 14:38:54 -0800 (PST)
Received: from netb ([89.204.137.79]) by mail.gmx.com (mrgmx101) with ESMTPSA (Nemesis) id 0MF9WR-1YMJi922sl-00GFR2; Wed, 18 Feb 2015 23:38:48 +0100
From: Bjoern Hoehrmann <derhoermi@gmx.net>
To: Pete Resnick <presnick@qti.qualcomm.com>
Date: Wed, 18 Feb 2015 23:38:46 +0100
Message-ID: <m23aea5ot3oj8jbfae9af5h7gqhk4pk8vl@hive.bjoern.hoehrmann.de>
References: <20150218214927.31074.15996.idtracker@ietfa.amsl.com>
In-Reply-To: <20150218214927.31074.15996.idtracker@ietfa.amsl.com>
X-Mailer: Forte Agent 3.3/32.846
MIME-Version: 1.0
Content-Type: text/plain; charset="ISO-8859-1"
Content-Transfer-Encoding: 8bit
X-Provags-ID: V03:K0:hED1M2dZxCIJe/OGUMCWYsUgFIFH4z5k20EOtmYMWowFV6Lo5nu 8HgwY7je1b6M/0cBKzW8mSdns8kLXXx+f8m3s1k2pkpq4XlXP95FWBQBZuLQTjXI+1WBVXA 3IXdmlQAgtRzdbSZRd8z/3xZaepgj7BdAlAH3heML5PRkAZDQbYhPmntFCuk3MnoM0S2Qv3 A3syLOwZnb52IioBVy68w==
X-UI-Out-Filterresults: notjunk:1;
Archived-At: <http://mailarchive.ietf.org/arch/msg/http-auth/o0CyVmfxAd9FkCoczL9tIAK9xBQ>
Cc: http-auth@ietf.org, draft-ietf-httpauth-basicauth-update.all@ietf.org, The IESG <iesg@ietf.org>, httpauth-chairs@ietf.org
Subject: Re: [http-auth] Pete Resnick's No Objection on draft-ietf-httpauth-basicauth-update-06: (with COMMENT)
X-BeenThere: http-auth@ietf.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: HTTP authentication methods <http-auth.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/http-auth>, <mailto:http-auth-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/http-auth/>
List-Post: <mailto:http-auth@ietf.org>
List-Help: <mailto:http-auth-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/http-auth>, <mailto:http-auth-request@ietf.org?subject=subscribe>
X-List-Received-Date: Wed, 18 Feb 2015 22:38:56 -0000

* Pete Resnick wrote:
>2: I'd at least like to hear an explanation about why this is
>unreasonable (if it is):
>
>OLD
>   Furthermore, a user-id containing a colon character is invalid, as
>   recipients will split the user-pass at the first occurrence of a
>   colon character.  Note that many user agents however will accept a
>   colon in user-id, thereby producing a user-pass string that
>   recipients will likely treat in a way not intended by the user.
>NEW
>   Furthermore, a user-id MUST NOT contain a colon character, as
>   recipients will split the user-pass at the first occurrence of a
>   colon character.  Many user agents will accept a colon in user-id,
>   but this produces a user-pass string that recipients will likely
>   treat in a way not intended by the user.
>END
>
>MUST NOT means that not using a colon is required for interoperation.
>Which is true. So I don't see why you don't come out and say that.

The intent is to say that usernames containing colons are not supported
by the scheme because first colon in `user:pass` strings separates the
username from the password and there is no escaping mechanism. It would
be incorrect to phrase that as a "MUST NOT".
-- 
Björn Höhrmann · mailto:bjoern@hoehrmann.de · http://bjoern.hoehrmann.de
D-10243 Berlin · PGP Pub. KeyID: 0xA4357E78 · http://www.bjoernsworld.de
 Available for hire in Berlin (early 2015)  · http://www.websitedev.de/