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

Bjoern Hoehrmann <derhoermi@gmx.net> Thu, 19 February 2015 22:33 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 345A81A0E10; Thu, 19 Feb 2015 14:33:25 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.91
X-Spam-Level:
X-Spam-Status: No, score=-1.91 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_PASS=-0.001, T_RP_MATCHES_RCVD=-0.01] autolearn=ham
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 JvGo9P16pAIw; Thu, 19 Feb 2015 14:33:23 -0800 (PST)
Received: from mout.gmx.net (mout.gmx.net [212.227.17.22]) (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 B64E21A0470; Thu, 19 Feb 2015 14:33:22 -0800 (PST)
Received: from netb ([89.204.130.64]) by mail.gmx.com (mrgmx102) with ESMTPSA (Nemesis) id 0Lv8hi-1XOSqG0AiI-010OR0; Thu, 19 Feb 2015 23:33:18 +0100
From: Bjoern Hoehrmann <derhoermi@gmx.net>
To: Julian Reschke <julian.reschke@greenbytes.de>
Date: Thu, 19 Feb 2015 23:33:13 +0100
Message-ID: <1goceat2c0sh1sifsuq6rv7u5bbth190vq@hive.bjoern.hoehrmann.de>
References: <20150218214927.31074.15996.idtracker@ietfa.amsl.com> <54E511BF.1070503@gmx.de> <54E51652.4050301@qti.qualcomm.com> <54E51843.1050307@greenbytes.de> <CALaySJJCzgkUNpONxFdv9-ZUD_Qxa_70rt+3g+U60Ctt80CMAg@mail.gmail.com> <54E58D9C.5020207@gmx.de> <CAHbuEH7rf72Dx0QiLgEjPZ7vCDDinEYZE-E9yTvABfSii635Pg@mail.gmail.com> <54E61331.7080807@greenbytes.de>
In-Reply-To: <54E61331.7080807@greenbytes.de>
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:MN8jZV+gb2656LILQGCvu1+MYJavuOplZTrN+5Sz3sXrmnINfCr Q5FCZzROjMoFm+CUoiw+aYpWq8nFucl34PukE6z6YfLyHBeB4gPCaJ1Aoji+jktaVJA9EDO GI8YUjvJZ4kxb9dXaVO8BQf8T8NAGSRnVLKczxsSwJvFAp7u2W0Toer13xwLRTtjuxv7ucp wCn6vxJ6ivAb3c2WLrrCA==
X-UI-Out-Filterresults: notjunk:1;
Archived-At: <http://mailarchive.ietf.org/arch/msg/http-auth/NEdWVulnfyhTi_L8wouIOpGeTcI>
Cc: Julian Reschke <julian.reschke@gmx.de>, Pete Resnick <presnick@qti.qualcomm.com>, httpauth-chairs@ietf.org, "http-auth@ietf.org" <http-auth@ietf.org>, The IESG <iesg@ietf.org>, Barry Leiba <barryleiba@computer.org>, draft-ietf-httpauth-basicauth-update.all@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: Thu, 19 Feb 2015 22:33:25 -0000

* Julian Reschke wrote:
>The problem here is the "long tail". We simply have no information about 
>whether these IDs exist in practice. The fact that all UAs I checked 
>indeed accept them at least *hints* that they might be used somewhere. 
>Or none of the implementers ever thought about rejecting them.
>
>I don't believe we can find out what the reason for this is.
>
>In RFC 2617, the pseudo-ABNF prose production excluded the colon, but no 
>additional prose requirements were present.
>
>In the draft, we have replaced that pseudo-ABNF by prose, and that prose 
>not only says "invalid" but also explains what common UAs do, and how 
>that might affect results. I hope everybody agrees that this is an 
>improvement over what we had before.

The current text is:

   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.

So if the password contains a colon, and the draft requires support for
that, then what? Are recipients REQUIRED to split the string at the 1st
colon? If so, then I think the current text is not adequate. If not,
then it seems wrong to require support for colons in passwords.
-- 
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/