Re: [http-auth] I-D Action: draft-ietf-httpauth-basicauth-enc-00.txt

Julian Reschke <julian.reschke@gmx.de> Sun, 30 June 2013 13:12 UTC

Return-Path: <julian.reschke@gmx.de>
X-Original-To: http-auth@ietfa.amsl.com
Delivered-To: http-auth@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id A9E0F21F9A31 for <http-auth@ietfa.amsl.com>; Sun, 30 Jun 2013 06:12:27 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -106.599
X-Spam-Level:
X-Spam-Status: No, score=-106.599 tagged_above=-999 required=5 tests=[AWL=-4.000, BAYES_00=-2.599, 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 wAZSh5MHiwnW for <http-auth@ietfa.amsl.com>; Sun, 30 Jun 2013 06:12:23 -0700 (PDT)
Received: from mout.gmx.net (mout.gmx.net [212.227.15.18]) by ietfa.amsl.com (Postfix) with ESMTP id B0B7E21F9A33 for <http-auth@ietf.org>; Sun, 30 Jun 2013 06:12:22 -0700 (PDT)
Received: from mailout-de.gmx.net ([10.1.76.2]) by mrigmx.server.lan (mrigmx002) with ESMTP (Nemesis) id 0MBptp-1V3xrO3jEd-00AkBI for <http-auth@ietf.org>; Sun, 30 Jun 2013 15:12:21 +0200
Received: (qmail invoked by alias); 30 Jun 2013 13:12:21 -0000
Received: from p5DD97A5B.dip0.t-ipconnect.de (EHLO [192.168.2.117]) [93.217.122.91] by mail.gmx.net (mp002) with SMTP; 30 Jun 2013 15:12:21 +0200
X-Authenticated: #1915285
X-Provags-ID: V01U2FsdGVkX1/ji9sN2Bnjr9krpFxxi1znohPDdJQPYla67YRVA7 6VKYjm1IJYA5Vt
Message-ID: <51D02EAC.5050907@gmx.de>
Date: Sun, 30 Jun 2013 15:12:12 +0200
From: Julian Reschke <julian.reschke@gmx.de>
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:17.0) Gecko/20130620 Thunderbird/17.0.7
MIME-Version: 1.0
To: Stephen Farrell <stephen.farrell@cs.tcd.ie>
References: <20130516191811.8525.51598.idtracker@ietfa.amsl.com> <5195F65F.7030803@cs.tcd.ie> <5196086B.3000700@gmx.de>
In-Reply-To: <5196086B.3000700@gmx.de>
Content-Type: text/plain; charset="ISO-8859-1"; format="flowed"
Content-Transfer-Encoding: 7bit
X-Y-GMX-Trusted: 0
Cc: http-auth@ietf.org
Subject: Re: [http-auth] I-D Action: draft-ietf-httpauth-basicauth-enc-00.txt
X-BeenThere: http-auth@ietf.org
X-Mailman-Version: 2.1.12
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: Sun, 30 Jun 2013 13:12:27 -0000

On 2013-05-17 12:37, Julian Reschke wrote:
> On 2013-05-17 11:20, Stephen Farrell wrote:
>>
>> Nice. This looks pretty baked to me. Some nitty comments
>> below, nothing major at all.
>>
>> Cheers,
>> S.
>>
>> - What's the story on updating/obsoleting 2617? I don't much
>
> HTTPbis P7 obsoletes the framework part of RFC 2617. We'll need two
> additional specs defining Basic and Digest to get rid of RFC 2617
> completely.
>
> *This* draft just addresses the I18N issue of Basic. The reason why I
> don't want to do it in a new Basic spec is that this *really* is
> experimental. There's no point putting it into something that's
> replacing 2617 if we don't have any evidence that it works.
>
>> care but this'd be a good thing to work out before IETF LC as
>> otherwise we might end up doing multiple LC's to get it right.
>> Seems like httpbis-p7 doesn't obsolete 2617 and nor does this
>> and presumably nor would an updated digest. Somehow that seems
>> wrong;-) I can't recall if 3 RFCs can all obsolete 2617 or
>> not but maybe that'd be worth checking out with someone who
>> cares. I can find someone who cares and ask if that's what
>> the wg want - the chairs can tell me if so, or that might be
>> better as a thing the httpbis wg think about, or perhaps its
>> all been thought about already.
>>
>> - An additional example or two would be good, maybe with
>> a username and password with asian characters or something.
>> If sticking with one Example, maybe change the title of
>> section 4:-)
>
> Ok.

Done.

>> - section 5: I wondered if there are any potential bad effects
>> if a UA sends an Authorization header like this to a server
>> that only supports ASCII. Is it worth adding a warning that
>> servers that assume that they get ASCII after base64 decoding
>> Authorization headers might get a surprise? Yes, it'd have
>> to be pretty crappy server code for that to cause a security
>> problem, but I guess it could happen.
>
> Clients already send non-ASCII; the issue here is making the encoding
> reliable.
>
>> - A.1: do we know that current UAs will actually ignore the
>> new parameter? I think I recall someone saying that is the
>> case, but I forget. Ah - you have it in B.3 - I think it'd
>> be better to merge those bits. The links from B.3 are great
>> btw, thanks for doing that work.
>
> I can do that.

Actually, that part is in B.3 because it's a section I assume will be 
removed in the final RFC.

>> - A.1.1: trying twice made me wonder if there's any way to
>> leverage that for some kind of side-channel/oracle attack.
>> Can't think of one but has someone thought about that?
>
> Feedback appreciated :-)
>
>> - A.2: "as well as before" - is that being disingenuous? If
>> so I think it'd be better not to do that since many people
>> reading this won't get it. I'd suggest replacing that with
>> "as well or as badly as before."
>
> Ack.

Done.

>> - B.2: "this scheme" - I think the "this" here refers to
>> Digest, but its ambiguous as written.
>
> Also, this WG actually is chartered to update Digest, so this needs work.

I rephrased this to say:

"The Digest scheme has similar issues with respect to 
internationalization. The HTTPAuth Working Group is chartered to address 
this problem as well, and the solution might be very similar."

>> - D.2: I don't understand this but then I never did and
>> probably never will, so you could add anything and that'd
>> work for me:-)
>
> Thanks for the feedback!
>
> Best regards, Julian

Best regards, Julian

PS: "done" meaning: in the HTTPauth SVN (see 
<http://tools.ietf.org/wg/httpauth/trac/browser/draft-ietf-httpauth-basicauth-enc/latest>)