
From nobody Mon Sep 15 18:31:32 2014
Return-Path: <msporny@digitalbazaar.com>
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 C33D51A00BA for <http-auth@ietfa.amsl.com>; Mon, 15 Sep 2014 18:31:31 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: 0.896
X-Spam-Level: 
X-Spam-Status: No, score=0.896 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, FH_RELAY_NODNS=1.451, HELO_MISMATCH_COM=0.553, RDNS_NONE=0.793, SPF_PASS=-0.001] 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 hlS83n9pOJiF for <http-auth@ietfa.amsl.com>; Mon, 15 Sep 2014 18:31:30 -0700 (PDT)
Received: from mail.digitalbazaar.com (unknown [216.252.204.51]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 611541A00B8 for <http-auth@ietf.org>; Mon, 15 Sep 2014 18:31:30 -0700 (PDT)
Received: from [192.168.100.5] by mail.digitalbazaar.com with esmtp (Exim 4.72) (envelope-from <msporny@digitalbazaar.com>) id 1XThc5-0002us-8w; Mon, 15 Sep 2014 21:31:26 -0400
Message-ID: <541792E7.5030300@digitalbazaar.com>
Date: Mon, 15 Sep 2014 21:31:19 -0400
From: Manu Sporny <msporny@digitalbazaar.com>
User-Agent: Mozilla/5.0 (X11; Linux i686; rv:24.0) Gecko/20100101 Icedove/24.5.0
MIME-Version: 1.0
To: Mark Nottingham <mnot@mnot.net>
References: <536BFA23.9020900@digitalbazaar.com> <44475C73-A79F-4C54-A09D-A9842FD49CA2@mnot.net> <53CC62AF.6040305@digitalbazaar.com> <66027EA8-520D-4530-AC1E-E53FA8109E4C@mnot.net>
In-Reply-To: <66027EA8-520D-4530-AC1E-E53FA8109E4C@mnot.net>
Content-Type: text/plain; charset=windows-1252
Content-Transfer-Encoding: 7bit
Archived-At: http://mailarchive.ietf.org/arch/msg/http-auth/xzwafb4QngqUMYixQMvLOv9Iqw4
Cc: "Julian F. Reschke" <julian.reschke@gmx.de>, IETF HTTP Auth <http-auth@ietf.org>, Web Payments CG <public-webpayments@w3.org>
Subject: Re: [http-auth] Review Request for third draft of "Signing HTTP Messages"
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: Tue, 16 Sep 2014 01:31:31 -0000

On 07/27/2014 09:38 PM, Mark Nottingham wrote:
>> Whitespace around field values is not included. The spec now refers
>> to the appropriate section in draft-ietf-httpbis-p1-messaging-26:
>> 
>> https://github.com/web-payments/web-payments.org/commit/2e00f1a30dc99e80b18deebb30f4d4b03d4b4a75
>>
>>
>> 
> Is this straight concatenation, or with a comma?
> 
> E.g., if you have
> 
> Cache-Control: max-age=60 Cache-Control: must-revalidate
> 
> Would the canonicalised string be:
> 
> Cache-Control: max-age=60must-revalidate
> 
> or
> 
> Cache-Control: max-age=60,must-revalidate
> 
> or...?
> 
> While your text isn't ambiguous really, people are very used to 
> concatenate-delimit-with-comma (plus some whitespace, usually), and 
> it might be good to point out what you mean (even if with an 
> example).

I've updated the spec to clarify
concatenate-delimit-with-comma-plus-single-space character and added an
example to make sure we're crystal clear in the spec about this:

https://github.com/web-payments/web-payments.org/commit/921c90dbd1a1c92ac2e56dadf9ef82669fd4dd02

> What I'd suggest is to actually use the :-prefix that http/2 
> specifies, because it can't be part of a valid http header 
> field-name. The method isn't part of the request-target, so that 
> would leave you with these "special" header field names:
> 
> :method :uri
> 
> For :uri, I'd refer to the Effective Request URI in RFC7230 Section 
> 5.5; that's the concept you're looking to hook onto, I think, and it
>  should be stable between HTTP versions.

I couldn't find the :-prefix pseudo header in RFC7230 or
draft-ietf-httpbis-http2-14. Using the effective Request URI would
include the protocol scheme and host in the signature string and could
break checking the signature in certain http->https proxy scenarios
(among others), right?

We've had to avoid specifying the mandatory use of scheme, port, and
hostname because there are edge cases where proxies that want to check
the signature before proxying the request on would generate the improper
signature string during the check. We recommend the following
pseudo-headers in the current spec:

:method :path

Is that an issue?

>>> * Can trailers be included in a signature?
>> 
> Cool. Note that the Trailer header 
> <http://tools.ietf.org/html/rfc7230#section-4.4> already allows this;
> e.g. you'd have:
> 
> Trailer: Signature
> 
> to indicate that Signature is coming in the trailers.

Oh hey, that's way better, thanks!

If you're good w/ the changes we've made above, then the comments on the
spec have slowed down to the point that we're going to do a final call
for implementations to get the 4 current libraries updated to the latest
version of the spec and get any other new implementations started.

-- manu

-- 
Manu Sporny (skype: msporny, twitter: manusporny, G+: +Manu Sporny)
Founder/CEO - Digital Bazaar, Inc.
blog: The Marathonic Dawn of Web Payments
http://manu.sporny.org/2014/dawn-of-web-payments/


From nobody Fri Sep 19 19:48:17 2014
Return-Path: <y.oiwa@aist.go.jp>
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 D39951A0072 for <http-auth@ietfa.amsl.com>; Fri, 19 Sep 2014 19:48:15 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -3.679
X-Spam-Level: 
X-Spam-Status: No, score=-3.679 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, FM_FORGED_GMAIL=0.622, RCVD_IN_DNSWL_MED=-2.3, SPF_PASS=-0.001] 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 CufShkRzGWRY for <http-auth@ietfa.amsl.com>; Fri, 19 Sep 2014 19:48:13 -0700 (PDT)
Received: from na3sys010aog108.obsmtp.com (na3sys010aog108.obsmtp.com [74.125.245.84]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 221E41A005A for <http-auth@ietf.org>; Fri, 19 Sep 2014 19:48:13 -0700 (PDT)
Received: from mail-vc0-f171.google.com ([209.85.220.171]) (using TLSv1) by na3sys010aob108.postini.com ([74.125.244.12]) with SMTP ID DSNKVBzq7O2HReRLXiPHdFY/RHUYMp6NWWNP@postini.com; Fri, 19 Sep 2014 19:48:13 PDT
Received: by mail-vc0-f171.google.com with SMTP id ij19so978072vcb.30 for <http-auth@ietf.org>; Fri, 19 Sep 2014 19:48:12 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=aist.go.jp; s=google;  h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-type; bh=qXGWwbcTfKwvnB9BtIKfDnUvxSqA2n/aKkWReW6S3eI=; b=g8AjgE/6ItC6DvSYfPRfBChi+EO8RFAItEw+y79JebGZ4Z/W5brlK69W0iBaP2mM6w u+x0h67Isjnl7oah7cCF8pPXzW42P2pQD3dFWYT93XVCwT4b35PTQcdw2lpFRhZErjNi ZkdbNUWK6vA87hQrBIeaAiAkddYli30z133e4=
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc:content-type; bh=qXGWwbcTfKwvnB9BtIKfDnUvxSqA2n/aKkWReW6S3eI=; b=KdCtLaFVvuMVOjwgEAd6rb4fc6hglOKhTpVVR4KVttL+klo6jA3TMTTf4YJxzd6bgw FMo1V5eCCfPgeSabiiR9dc6txJyEs5HQk5wK6oeBS7AiIDl5jpzBc14PEdlZ9wkNNy6g oUBGRYSt0vlqFgGbl6a5NcptnizXp88pM/wmDyxFcr3ZVIUyz1UqWF6D4mIdFtbUt+tm 7299fRcVlwEQ14tJiiZ9G2QP5kHXPgtIfxtAOHx0yZNCRLy188kNf8sylcuC323cAIlB 1Rivw97oUhNuC2o95j7iDOVlkUnJsXcnYnwlONeDCZpEzFCZjaSISwXTd9A2s0qprBgq P8pA==
X-Gm-Message-State: ALoCoQkdnBMSWEtp3viLV/2bBXiltmIPMqeLPICD4ktHDHnPDrQ9zpEdF0B9RUEVhVAvV/MKlH5h91dh8XRYGu+F70dHwWMwOAya9PDD8nZRDNTQ5GEE8iQCU6FCISwvUSw2wqwqd9N15/xeQ9pzgPoRnNJGdkFISg==
X-Received: by 10.220.97.5 with SMTP id j5mr7532130vcn.16.1411181292086; Fri, 19 Sep 2014 19:48:12 -0700 (PDT)
X-Received: by 10.220.97.5 with SMTP id j5mr7532120vcn.16.1411181291904; Fri, 19 Sep 2014 19:48:11 -0700 (PDT)
MIME-Version: 1.0
Received: by 10.220.134.70 with HTTP; Fri, 19 Sep 2014 19:47:51 -0700 (PDT)
In-Reply-To: <541792E7.5030300@digitalbazaar.com>
References: <536BFA23.9020900@digitalbazaar.com> <44475C73-A79F-4C54-A09D-A9842FD49CA2@mnot.net> <53CC62AF.6040305@digitalbazaar.com> <66027EA8-520D-4530-AC1E-E53FA8109E4C@mnot.net> <541792E7.5030300@digitalbazaar.com>
From: Yutaka OIWA <y.oiwa@aist.go.jp>
Date: Sat, 20 Sep 2014 11:47:51 +0900
Message-ID: <CAMeZVwuYUhTXzhDtZ7v_bS=7LCYBP0p_xTmgy36DtPxwUzd8DQ@mail.gmail.com>
To: Manu Sporny <msporny@digitalbazaar.com>
Content-Type: text/plain; charset=UTF-8
Archived-At: http://mailarchive.ietf.org/arch/msg/http-auth/Eab8CXDzfmrzIydv0dKKcPgM6qc
Cc: IETF HTTP Auth <http-auth@ietf.org>, Web Payments CG <public-webpayments@w3.org>
Subject: Re: [http-auth] Review Request for third draft of "Signing HTTP Messages"
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: Sat, 20 Sep 2014 02:48:16 -0000

Dear Manu,

> We've had to avoid specifying the mandatory use of scheme, port, and
> hostname because there are edge cases where proxies that want to check
> the signature before proxying the request on would generate the improper
> signature string during the check. We recommend the following
> pseudo-headers in the current spec:

Could you explain a bit more about the "edge case"?
IMO, the hostname is quite essential for the verification
of message source in any cases, even though the
intermediate reverse-proxy is deployed.

Even in the existence of the reverse-proxy, the end server
could generally know how the content is delivered to the client
(iow, for which URL the client is requesting a resource),
even though the actual URL the proxy is requsting for
the server is different from that.
As far as this holds, there is no problem for including
the host part to the signature.
(Also, it is anyway required for generating 3XX responses,
 Refresh: header and other absolute URLs from applications.)

Our Mutual-Auth proposa  has a slightly resembling
requirement (for verifying the source host of the response).
The server-side module has a configuration parameter
for the host-string and TLS certificate hash,
which will override the default values acquired from
the server configuration and used for generation of
verification tokens, and it works.


2014-09-16 10:31 GMT+09:00 Manu Sporny <msporny@digitalbazaar.com>:
> On 07/27/2014 09:38 PM, Mark Nottingham wrote:
>>> Whitespace around field values is not included. The spec now refers
>>> to the appropriate section in draft-ietf-httpbis-p1-messaging-26:
>>>
>>> https://github.com/web-payments/web-payments.org/commit/2e00f1a30dc99e80b18deebb30f4d4b03d4b4a75
>>>
>>>
>>>
>> Is this straight concatenation, or with a comma?
>>
>> E.g., if you have
>>
>> Cache-Control: max-age=60 Cache-Control: must-revalidate
>>
>> Would the canonicalised string be:
>>
>> Cache-Control: max-age=60must-revalidate
>>
>> or
>>
>> Cache-Control: max-age=60,must-revalidate
>>
>> or...?
>>
>> While your text isn't ambiguous really, people are very used to
>> concatenate-delimit-with-comma (plus some whitespace, usually), and
>> it might be good to point out what you mean (even if with an
>> example).
>
> I've updated the spec to clarify
> concatenate-delimit-with-comma-plus-single-space character and added an
> example to make sure we're crystal clear in the spec about this:
>
> https://github.com/web-payments/web-payments.org/commit/921c90dbd1a1c92ac2e56dadf9ef82669fd4dd02
>
>> What I'd suggest is to actually use the :-prefix that http/2
>> specifies, because it can't be part of a valid http header
>> field-name. The method isn't part of the request-target, so that
>> would leave you with these "special" header field names:
>>
>> :method :uri
>>
>> For :uri, I'd refer to the Effective Request URI in RFC7230 Section
>> 5.5; that's the concept you're looking to hook onto, I think, and it
>>  should be stable between HTTP versions.
>
> I couldn't find the :-prefix pseudo header in RFC7230 or
> draft-ietf-httpbis-http2-14. Using the effective Request URI would
> include the protocol scheme and host in the signature string and could
> break checking the signature in certain http->https proxy scenarios
> (among others), right?
>
> We've had to avoid specifying the mandatory use of scheme, port, and
> hostname because there are edge cases where proxies that want to check
> the signature before proxying the request on would generate the improper
> signature string during the check. We recommend the following
> pseudo-headers in the current spec:
>
> :method :path
>
> Is that an issue?
>
>>>> * Can trailers be included in a signature?
>>>
>> Cool. Note that the Trailer header
>> <http://tools.ietf.org/html/rfc7230#section-4.4> already allows this;
>> e.g. you'd have:
>>
>> Trailer: Signature
>>
>> to indicate that Signature is coming in the trailers.
>
> Oh hey, that's way better, thanks!
>
> If you're good w/ the changes we've made above, then the comments on the
> spec have slowed down to the point that we're going to do a final call
> for implementations to get the 4 current libraries updated to the latest
> version of the spec and get any other new implementations started.
>
> -- manu
>
> --
> Manu Sporny (skype: msporny, twitter: manusporny, G+: +Manu Sporny)
> Founder/CEO - Digital Bazaar, Inc.
> blog: The Marathonic Dawn of Web Payments
> http://manu.sporny.org/2014/dawn-of-web-payments/
>
> _______________________________________________
> http-auth mailing list
> http-auth@ietf.org
> https://www.ietf.org/mailman/listinfo/http-auth



-- 
Yutaka OIWA, Ph.D.                 Leader, System Life-cycle Research Group
                               Research Institute for Secure Systems (RISEC)
     National Institute of Advanced Industrial Science and Technology (AIST)
                       Mail addresses: <y.oiwa@aist.go.jp>, <yutaka@oiwa.jp>
OpenPGP: id[440546B5] fp[7C9F 723A 7559 3246 229D  3139 8677 9BD2 4405 46B5]


From nobody Sat Sep 20 09:54:27 2014
Return-Path: <mnot@mnot.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 722151A0173 for <http-auth@ietfa.amsl.com>; Sat, 20 Sep 2014 09:54:25 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.602
X-Spam-Level: 
X-Spam-Status: No, score=-2.602 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, RCVD_IN_DNSWL_LOW=-0.7, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001] 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 XttLXNHLCSnF for <http-auth@ietfa.amsl.com>; Sat, 20 Sep 2014 09:54:23 -0700 (PDT)
Received: from mxout-08.mxes.net (mxout-08.mxes.net [216.86.168.183]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 0B6A21A0188 for <http-auth@ietf.org>; Sat, 20 Sep 2014 09:54:22 -0700 (PDT)
Received: from [172.24.21.190] (unknown [173.226.97.253]) (using TLSv1 with cipher AES128-SHA (128/128 bits)) (No client certificate requested) by smtp.mxes.net (Postfix) with ESMTPSA id 30290509B5; Sat, 20 Sep 2014 12:54:19 -0400 (EDT)
Content-Type: text/plain; charset=windows-1252
Mime-Version: 1.0 (Mac OS X Mail 7.3 \(1878.6\))
From: Mark Nottingham <mnot@mnot.net>
In-Reply-To: <541792E7.5030300@digitalbazaar.com>
Date: Sat, 20 Sep 2014 09:54:17 -0700
Content-Transfer-Encoding: quoted-printable
Message-Id: <C7A9521B-8670-4689-991E-279935615412@mnot.net>
References: <536BFA23.9020900@digitalbazaar.com> <44475C73-A79F-4C54-A09D-A9842FD49CA2@mnot.net> <53CC62AF.6040305@digitalbazaar.com> <66027EA8-520D-4530-AC1E-E53FA8109E4C@mnot.net> <541792E7.5030300@digitalbazaar.com>
To: Manu Sporny <msporny@digitalbazaar.com>
X-Mailer: Apple Mail (2.1878.6)
Archived-At: http://mailarchive.ietf.org/arch/msg/http-auth/UoSEuJaidKmImWTT3eRJBdOOdbw
Cc: "Julian F. Reschke" <julian.reschke@gmx.de>, IETF HTTP Auth <http-auth@ietf.org>, Web Payments CG <public-webpayments@w3.org>
Subject: Re: [http-auth] Review Request for third draft of "Signing HTTP Messages"
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: Sat, 20 Sep 2014 16:54:25 -0000

Hey Manu,

Thanks for following up. Some responses below.

On 15 Sep 2014, at 6:31 pm, Manu Sporny <msporny@digitalbazaar.com> =
wrote:
>=20
> I've updated the spec to clarify
> concatenate-delimit-with-comma-plus-single-space character and added =
an
> example to make sure we're crystal clear in the spec about this:
>=20
> =
https://github.com/web-payments/web-payments.org/commit/921c90dbd1a1c92ac2=
e56dadf9ef82669fd4dd02

I think that=92s pretty good. There are some quibbles that might come =
out in review later, but it=92s pretty good. (hint: they=92ll likely =
come from Julian).


>> What I'd suggest is to actually use the :-prefix that http/2=20
>> specifies, because it can't be part of a valid http header=20
>> field-name. The method isn't part of the request-target, so that=20
>> would leave you with these "special" header field names:
>>=20
>> :method :uri
>>=20
>> For :uri, I'd refer to the Effective Request URI in RFC7230 Section=20=

>> 5.5; that's the concept you're looking to hook onto, I think, and it
>> should be stable between HTTP versions.
>=20
> I couldn't find the :-prefix pseudo header in RFC7230 or
> draft-ietf-httpbis-http2-14. Using the effective Request URI would
> include the protocol scheme and host in the signature string and could
> break checking the signature in certain http->https proxy scenarios
> (among others), right?

I meant <http://http2.github.io/http2-spec/#PseudoHeaderFields>

Specifically, :scheme :authority and :path.

WRT breaking the signature in proxy situations =97 yes, it will, and I=92d=
 argue that that=92s the responsibility of the people doing that reverse =
proxying. The origin (scheme, host, port) is CRITICAL in the Web =
security model, and leaving it out of any signature scheme simply =
doesn=92t make sense.


> We've had to avoid specifying the mandatory use of scheme, port, and
> hostname because there are edge cases where proxies that want to check
> the signature before proxying the request on would generate the =
improper
> signature string during the check. We recommend the following
> pseudo-headers in the current spec:
>=20
> :method :path
>=20
> Is that an issue?

See above.


>=20
>>>> * Can trailers be included in a signature?
>>>=20
>> Cool. Note that the Trailer header=20
>> <http://tools.ietf.org/html/rfc7230#section-4.4> already allows this;
>> e.g. you'd have:
>>=20
>> Trailer: Signature
>>=20
>> to indicate that Signature is coming in the trailers.
>=20
> Oh hey, that's way better, thanks!
>=20
> If you're good w/ the changes we've made above, then the comments on =
the
> spec have slowed down to the point that we're going to do a final call
> for implementations to get the 4 current libraries updated to the =
latest
> version of the spec and get any other new implementations started.
>=20
> -- manu
>=20
> --=20
> Manu Sporny (skype: msporny, twitter: manusporny, G+: +Manu Sporny)
> Founder/CEO - Digital Bazaar, Inc.
> blog: The Marathonic Dawn of Web Payments
> http://manu.sporny.org/2014/dawn-of-web-payments/

--
Mark Nottingham   http://www.mnot.net/




From nobody Sun Sep 21 22:56:09 2014
Return-Path: <ynir.ietf@gmail.com>
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 6A8751A1A2A for <http-auth@ietfa.amsl.com>; Sun, 21 Sep 2014 22:55:59 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: 0.701
X-Spam-Level: 
X-Spam-Status: No, score=0.701 tagged_above=-999 required=5 tests=[BAYES_50=0.8, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, FREEMAIL_FROM=0.001, HTML_MESSAGE=0.001, SPF_PASS=-0.001] 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 Gdvz0BNxeSne for <http-auth@ietfa.amsl.com>; Sun, 21 Sep 2014 22:55:57 -0700 (PDT)
Received: from mail-wi0-x22d.google.com (mail-wi0-x22d.google.com [IPv6:2a00:1450:400c:c05::22d]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 22AC21A1A28 for <http-auth@ietf.org>; Sun, 21 Sep 2014 22:55:56 -0700 (PDT)
Received: by mail-wi0-f173.google.com with SMTP id r20so2212746wiv.12 for <http-auth@ietf.org>; Sun, 21 Sep 2014 22:55:55 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113;  h=from:content-type:subject:message-id:date:to:mime-version; bh=IrgfZM6GbOBPQ+hZoUwojyYQyluAJ3NMA7tlJWK6khs=; b=EWaLgw85Ho7Sy+Gh05WY0cfhgUEWn/5Ke70Xt58B+1XhJqx8fH3FmFWiKh34fEE4cD Yj5UzQDvxuPi971YP7sGHFaJfs8Iib4B/EjWrays2pCYFenFbRoCmV5V7RbQqpcVkg6K 4nBbklzAB++rOKRvqBWRaMGXHF3/ln5iA4LRT35QPFPFPOggn2M9Jc21clCpb+TPGgkx QXgObdc+ac0YBTcizf+vStATZ2EQMlD2wCfz5SQ8/reI3/thAkz07MVmaTg+VcgnbC3q 5Bak8iGl+trjgOHs3az2qlbYXy4BwGKkeUN/IysTY5QySwKbsm45A2BPPOt2dLakdmNn aUiw==
X-Received: by 10.194.237.2 with SMTP id uy2mr710265wjc.89.1411365355713; Sun, 21 Sep 2014 22:55:55 -0700 (PDT)
Received: from [10.4.36.239] ([80.179.9.7]) by mx.google.com with ESMTPSA id u10sm10873295wix.2.2014.09.21.22.55.43 for <http-auth@ietf.org> (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Sun, 21 Sep 2014 22:55:55 -0700 (PDT)
From: Yoav Nir <ynir.ietf@gmail.com>
Content-Type: multipart/alternative; boundary="Apple-Mail=_E2048353-FEAF-4496-8A47-934201F3BA9F"
Message-Id: <8A2A44BA-D6DC-4588-A456-0796208F4BBD@gmail.com>
Date: Mon, 22 Sep 2014 08:48:58 +0300
To: IETF HTTP Auth <http-auth@ietf.org>
Mime-Version: 1.0 (Mac OS X Mail 7.3 \(1878.6\))
X-Mailer: Apple Mail (2.1878.6)
Archived-At: http://mailarchive.ietf.org/arch/msg/http-auth/3B6SxPqTEQ6KadDvXMDmqQhZEiQ
Subject: [http-auth] WGLC for draft-ietf-httpauth-hoba-04
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: Mon, 22 Sep 2014 05:55:59 -0000

--Apple-Mail=_E2048353-FEAF-4496-8A47-934201F3BA9F
Content-Transfer-Encoding: quoted-printable
Content-Type: text/plain;
	charset=windows-1252

Hi all

Stephen, Paul, and Michael submitted version -04 about a month ago, and =
it has received no discussion so far.  The authors are of the opinion =
that the document is ready for publication, and it=92s time for the =
group to weigh in on this subject.

This mail begins working group last call for this document. Please take =
the time to read the draft and send comments to the list about its =
security, applicability, usefulness, and any other aspect you wish to =
discuss. For guidance on what to look for, let me quote the following =
from our charter:
  The httpauth WG will be a short-lived working group that will document
  a small number of HTTP user authentication schemes that might offer
  security benefits, and that could, following experimentation, be
  widely adopted as standards-track schemes for HTTP user
  authentication. Each of these RFCs will be Informational or
  Experimental, and should include a description of when use of its
  mechanism is appropriate, via a use-case or other distinguishing
  characteristics.=20
The WGLC is two weeks long, and ends on October 6th. Please send your =
reviews as replies to this message.

Thanks,

Yoav & Matt=

--Apple-Mail=_E2048353-FEAF-4496-8A47-934201F3BA9F
Content-Transfer-Encoding: quoted-printable
Content-Type: text/html;
	charset=windows-1252

<html><head><meta http-equiv=3D"Content-Type" content=3D"text/html =
charset=3Dwindows-1252"></head><body style=3D"word-wrap: break-word; =
-webkit-nbsp-mode: space; -webkit-line-break: after-white-space;">Hi =
all<div><br></div><div>Stephen, Paul, and Michael submitted version -04 =
about a month ago, and it has received no discussion so far. &nbsp;The =
authors are of the opinion that the document is ready for publication, =
and it=92s time for the group to weigh in on this =
subject.</div><div><br></div><div>This mail begins working group last =
call for this document. Please take the time to read the draft and send =
comments to the list about its security, applicability, usefulness, and =
any other aspect you wish to discuss. For guidance on what to look for, =
let me quote the following from our charter:</div><div><pre =
style=3D"background-color: rgb(255, 255, 255); position: static; =
z-index: auto;">  The httpauth WG will be a short-lived working group =
that will document
  a small number of HTTP user authentication schemes that might offer
  security benefits, and that could, following experimentation, be
  widely adopted as standards-track schemes for HTTP user
  authentication. Each of these RFCs will be Informational or
  Experimental, and should include a description of when use of its
  mechanism is appropriate, via a use-case or other distinguishing
  characteristics. </pre><div>The WGLC is two weeks long, and ends on =
October 6th. Please send your reviews as replies to this =
message.</div></div><div><br></div><div>Thanks,</div><div><br></div><div>Y=
oav &amp; Matt</div></body></html>=

--Apple-Mail=_E2048353-FEAF-4496-8A47-934201F3BA9F--


From nobody Mon Sep 22 15:27:02 2014
Return-Path: <msweet@apple.com>
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 09F931A024C for <http-auth@ietfa.amsl.com>; Mon, 22 Sep 2014 15:27:01 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.387
X-Spam-Level: 
X-Spam-Status: No, score=-2.387 tagged_above=-999 required=5 tests=[BAYES_50=0.8, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, RCVD_IN_DNSWL_MED=-2.3, RP_MATCHES_RCVD=-0.786, SPF_PASS=-0.001] 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 zI6KApAzN3gW for <http-auth@ietfa.amsl.com>; Mon, 22 Sep 2014 15:26:59 -0700 (PDT)
Received: from mail-in7.apple.com (mail-out7.apple.com [17.151.62.29]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 50B831A036E for <http-auth@ietf.org>; Mon, 22 Sep 2014 15:26:59 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; d=apple.com; s=mailout2048s; c=relaxed/simple;  q=dns/txt; i=@apple.com; t=1411424818; x=2275338418; h=From:Sender:Reply-To:Subject:Date:Message-id:To:Cc:MIME-version:Content-type: Content-transfer-encoding:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:In-reply-to:References:List-Id: List-Help:List-Unsubscribe:List-Subscribe:List-Post:List-Owner:List-Archive; bh=pKsJ/O2CBqNbYXDbrYeejzzDB15Ln6EvsE9Eqp2tjx8=; b=tHg+kojtH8lgUyt8+/iSCkG6yupFnUtM6Vvg4bFDJNDCuRTo1NEqppWUBNoMMMYJ qSgSNYK7G4onB7jm0krsQhP0aVACyhpwK7vtJM/tQA4MIbbRbcZLa84MXeJ8R0V3 2jmHxjJGsIHS3ssVkwEymsGGxo4Dmqx5CbsJmLimNmYHmayh8Sh5fEZYTgtYRNJ3 XWgcLQH2ikZM3qK2nWRKbbHXBLbQUmEikZbSTDwkGEqKABvdpWySJ7IeLgs2C5k/ BgoDCTC0yhslp/+0QBqBDCRsPk5RvpeLkwAP80FSgQkMehHOTs/0/P0xyVIFBopv r5k2x/3tL2n9RjQLdKFTqw==;
Received: from mail-out.apple.com (crispin.apple.com [17.151.62.50]) (using TLS with cipher RC4-MD5 (128/128 bits)) (Client did not present a certificate) by mail-in7.apple.com (Apple Secure Mail Relay) with SMTP id AA.17.31401.232A0245; Mon, 22 Sep 2014 15:26:58 -0700 (PDT)
MIME-version: 1.0
Content-type: text/plain; charset=windows-1252
Received: from relay8.apple.com ([17.128.113.102]) by local.mail-out.apple.com (Oracle Communications Messaging Server 7.0.5.30.0 64bit (built Oct 22 2013)) with ESMTP id <0NCB00JD6QCH0WH1@local.mail-out.apple.com> for http-auth@ietf.org; Mon, 22 Sep 2014 15:26:58 -0700 (PDT)
X-AuditID: 11973e16-f793b6d000007aa9-04-5420a23277bb
Received: from orrisroot.apple.com (orrisroot.apple.com [17.128.115.106]) (using TLS with cipher RC4-MD5 (128/128 bits)) (Client did not present a certificate)	by relay8.apple.com (Apple SCV relay) with SMTP id CD.59.11638.332A0245; Mon, 22 Sep 2014 15:26:59 -0700 (PDT)
Received: from [17.114.158.176] by orrisroot.apple.com (Oracle Communications Messaging Server 7.0.5.30.0 64bit (built Oct 22 2013)) with ESMTPSA id <0NCB005XMQCYC090@orrisroot.apple.com> for http-auth@ietf.org;  Mon, 22 Sep 2014 15:26:58 -0700 (PDT)
From: Michael Sweet <msweet@apple.com>
In-reply-to: <8A2A44BA-D6DC-4588-A456-0796208F4BBD@gmail.com>
Date: Mon, 22 Sep 2014 15:26:59 -0700
Content-transfer-encoding: quoted-printable
Message-id: <8BBF035E-1E19-494B-AAFE-F43E0FE2D017@apple.com>
References: <8A2A44BA-D6DC-4588-A456-0796208F4BBD@gmail.com>
To: Yoav Nir <ynir.ietf@gmail.com>
X-Mailer: Apple Mail (2.1985.3)
X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFtrLLMWRmVeSWpSXmKPExsUiON3OSNdokUKIwaRXShYf9s9hcmD0WLLk J1MAYxSXTUpqTmZZapG+XQJXxrNlKxkLpupXbLv3m62B8aNKFyMnh4SAicSWd5uYIWwxiQv3 1rN1MXJxCAnMZJL4tOQTC0iCV0BQ4sfke0A2BwezgJ7E/YtaEDWzmCR+Pb3JAjPobOMNVojE FCaJAzNeMkI4/xkl2nb9BFshLGArsWrlWbAONgE1id+T+lhBbE6g+JwzG8BsFgFViYYHz5lA bGYBdYnlU14wQ9jaEk/eXWAFuYJXwEbi8aJwkLAQkDlpwzFGEFtEQEni8JWvUN/IS7RM2AT2 jYTAa1aJW+s2M01gFJmF5KFZCA/NQrJhASPzKkah3MTMHN3MPHO9xIKCnFS95PzcTYyQ8Bbb wfhwldUhRgEORiUe3gVN8iFCrIllxZW5hxilOViUxHmXL1AIERJITyxJzU5NLUgtii8qzUkt PsTIxMEp1cA49fTRwp03jHfVLd9lEf5Q+63A4cUBvTIfg3N7py2XiFu9/d+ZvKkCkdWrv81b tyivKyd1pt+zlbMmnpoZvGtm95IDlovNVCy6Q74JTU9Lkmhy+3yIhcNCZwdrPf8z2divWovX 8x62+THh3Z5blt6rJs4508NrIjZ15ulS5+/CbkseBd/Zuye3R4mlOCPRUIu5qDgRAKseH81Q AgAA
X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFlrILMWRmVeSWpSXmKPExsUi2FCcpWu8SCHEYF6HocWH/XOYHBg9liz5 yRTAGMVlk5Kak1mWWqRvl8CV8WzZSsaCqfoV2+79Zmtg/KjSxcjJISFgInG28QYrhC0mceHe erYuRi4OIYEpTBK7brawQDj/GSXadv1kBqkSFrCVWLXyLFCCg4NXwECi7agjiMksoCdx/6IW SAWbgJrE70l9YDM5garnnNkAZrMIqEo0PHjOBGIzC6hLLJ/yghnC1pZ48u4CK8REG4nHi8JB wkJA5qQNxxhBbBEBJYnDV74yQ5wpL9EyYRPbBEaBWQg3zEK4YRaSmQsYmVcxChSl5iRWWugl FhTkpOol5+duYgQHXGHaDsam5VaHGAU4GJV4eH+2yIcIsSaWFVfmHmKU4GBWEuEtmagQIsSb klhZlVqUH19UmpNafIhRmoNFSZw3qUw6REggPbEkNTs1tSC1CCbLxMEp1cDoz+RSJcag+7XG aZnUEv6Eo/KJBZnX+vaZ/xBWDtIuWLWJO6t5d8jK24wXkxi2m/Od1JO8I3Tx69oHFxcff+Ht 2rxb++3abM+sYPPLumKGgdGP7X+9L3CcGGI3sSq4xjLi8JfW657Ld2tph6Sbik4M9et/w/Ze +Ld6k0H8j3h+RSO+HIlUWyWW4oxEQy3mouJEADe3eUw0AgAA
Archived-At: http://mailarchive.ietf.org/arch/msg/http-auth/iJ7l6w0y63iD9RKNH4iL3JU_mL0
Cc: IETF HTTP Auth <http-auth@ietf.org>
Subject: Re: [http-auth] WGLC for draft-ietf-httpauth-hoba-04
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: Mon, 22 Sep 2014 22:27:01 -0000

Comments for:

    https://tools.ietf.org/html/draft-ietf-httpauth-hoba-04

- In section 1 (introduction), the following text is awkward to read:

    Current HTTP authentication methods (Basic and Digest), as well as
    username/password authentication using web forms, have been in use
    for many years, but being based on passwords, are susceptible to
    theft of server-side databases.

  The following is my suggested rewording:

   Current username/password authentication methods such as HTTP Basic,
   HTTP Digest, and web forms have been in use for many years but are
   susceptible to theft of server-side password databases.

- Also in section 1:

    Session management with HOBA is identical to username/password
    session management.  Typically, the session management tool (such as
    PHP, Python CGI, and so on) inserts a session cookie into the output
    to the browser.  HOBA does nothing to help or hurt session cookie
    hijacking; TLS is still required for that.  If the authentication is
    not bound to HTTP sessions, even TLS cannot help against all =
attacks.

  might read better as:

    HOBA session management is identical to username/password session
    management, with a server-side session management tool or script
    inserting a session cookie into the output to the browser.  HOBA
    still requires TLS to prevent session cookie hijacking.

- And here in section 1 aren't you talking about revoking keys?

   o  Users are also likely to lose a private key, or the client's
      memory of which key pair is associated with which origin, such as
      when a user loses the computer or mobile device in which state is
      stored.  HOBA allows for clients to tell servers to delete the
      association between an existing CPK and an account.

- This text in section 1 is also awkward/confusing:

   o  Since there are always devices and applications in which state of
      the art digital signature mechanism runtimes are significant, and
      since HTTP authentication in theory requires that every HTTP
      request to a given realm have a signature in an "Authorization"
      header field, and since HOBA is a challenge response scheme, we
      also define a way in which HTTP servers can indicate the duration
      for which they will consider a given challenge value to be valid.
      As a consequence we also define a way for UAs to fetch a fresh
      challenge.

  Perhaps reword as:

   o  Digital signatures can be expensive to compute, so HOBA defines a
      way for HTTP servers to indicate how long a given challenge value =
is
      valid, and a way for UAs to fetch a fresh challenge at any time.

- Section 1.1, drop "in which this can be done" from the third line.

- Section 1.2 is a mix of styles, consider making it "Term: definition" =
throughout, and separate HOBA-js and HOBA-http.

- Section 1.2 is missing a reference to HTTP authentication =
specification (which do you mean?)

- Section 1.2: The statement "This specification uses the Augmented =
Backus-Naur Form (ABNF) notation of [RFC5234]" probably doesn't belong =
here, unless you want to define ABNF as a term (in which case make it =
ABNF: definition [RFC5234])

- Figure 1: Shouldn't the unreserved values actually be base64url =
values?

- Figure 2: Ditto here - base64url encoded?

- Section 3: If this is a valid security concern, change to "the =
challenge MUST be unique for every HTTP 401 response ..."

- Section 4, top of page 9: Something is missing betweem "from HTML5." =
and "is used".

- Section 4, not sure I like the raw URL references - better to make =
them informative or normative references (as appropriate). Also, since =
WebCrypto is not available I'm not sure it is appropriate to mention it =
here - maybe move this to an  appendix that outlines some potential =
future enhancements based on in-progress work.

- Section 3: Is it ".well-known/hoba/getChal" or =
".well-known/hoba/getchal" (lowercase), as it appears in section 6.4?

- Section 8: If reuse of challenge values (section 3) stays a SHOULD =
NOT, then it should be added here in more detail as to why this can be =
problematic.

- Section 9.4: Extra "i" after "ok."

- Section 10: Don't deleted sections go at the end to make the RFC =
Editor's job easier and to avoid broken references?



> On Sep 21, 2014, at 10:48 PM, Yoav Nir <ynir.ietf@gmail.com> wrote:
>=20
> Hi all
>=20
> Stephen, Paul, and Michael submitted version -04 about a month ago, =
and it has received no discussion so far.  The authors are of the =
opinion that the document is ready for publication, and it=92s time for =
the group to weigh in on this subject.
>=20
> This mail begins working group last call for this document. Please =
take the time to read the draft and send comments to the list about its =
security, applicability, usefulness, and any other aspect you wish to =
discuss. For guidance on what to look for, let me quote the following =
from our charter:
>   The httpauth WG will be a short-lived working group that will =
document
>   a small number of HTTP user authentication schemes that might offer
>   security benefits, and that could, following experimentation, be
>   widely adopted as standards-track schemes for HTTP user
>   authentication. Each of these RFCs will be Informational or
>   Experimental, and should include a description of when use of its
>   mechanism is appropriate, via a use-case or other distinguishing
>   characteristics.=20
>=20
> The WGLC is two weeks long, and ends on October 6th. Please send your =
reviews as replies to this message.
>=20
> Thanks,
>=20
> Yoav & Matt
> _______________________________________________
> http-auth mailing list
> http-auth@ietf.org
> https://www.ietf.org/mailman/listinfo/http-auth

_________________________________________________________
Michael Sweet, Senior Printing System Engineer, PWG Chair


From nobody Tue Sep 23 00:11:13 2014
Return-Path: <julian.reschke@gmx.de>
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 D8AD71A0352 for <http-auth@ietfa.amsl.com>; Tue, 23 Sep 2014 00:11:11 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.9
X-Spam-Level: 
X-Spam-Status: No, score=-1.9 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_PASS=-0.001] 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 Hs8nhZhQDMcd for <http-auth@ietfa.amsl.com>; Tue, 23 Sep 2014 00:11:05 -0700 (PDT)
Received: from mout.gmx.net (mout.gmx.net [212.227.17.21]) (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 2D9411A1BAD for <http-auth@ietf.org>; Tue, 23 Sep 2014 00:11:03 -0700 (PDT)
Received: from [192.168.2.160] ([93.217.81.200]) by mail.gmx.com (mrgmx103) with ESMTPSA (Nemesis) id 0MAhTr-1XQ1nj1YVf-00BuT5; Tue, 23 Sep 2014 09:11:00 +0200
Message-ID: <54211CFF.1040702@gmx.de>
Date: Tue, 23 Sep 2014 09:10:55 +0200
From: Julian Reschke <julian.reschke@gmx.de>
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:31.0) Gecko/20100101 Thunderbird/31.1.1
MIME-Version: 1.0
To: Yoav Nir <ynir.ietf@gmail.com>, IETF HTTP Auth <http-auth@ietf.org>
References: <8A2A44BA-D6DC-4588-A456-0796208F4BBD@gmail.com>
In-Reply-To: <8A2A44BA-D6DC-4588-A456-0796208F4BBD@gmail.com>
Content-Type: text/plain; charset=windows-1252; format=flowed
Content-Transfer-Encoding: 7bit
X-Provags-ID: V03:K0:T8mNJovsq+kaNVFrc/8JARhEQWrcVrOwh7hsmhLgF5W//eR9rK7 rsW0CX9AtJ7SJb0gxrt3IjBXii/9oOnH8VgiDcT4QP4zKheXr0zgEJHL0Pvwf1G7vfbFshL fc0vEVEVa916Y7MfoHTTbxR0J/l1kvKLpLiPd1EbPDiyCnN208d7/Mp/XLy/ifz0NLFoUlv BdaAIXQcUBOJVeJk+ZjPw==
X-UI-Out-Filterresults: notjunk:1;
Archived-At: http://mailarchive.ietf.org/arch/msg/http-auth/upMyVgBpvNSApemmvNN5dTunooU
Subject: Re: [http-auth] WGLC for draft-ietf-httpauth-hoba-04
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: Tue, 23 Sep 2014 07:11:12 -0000

On 2014-09-22 07:48, Yoav Nir wrote:
> ...

I had a look from an editorial and HTTP related angle (me no security 
person):

- it seems that the reference to RFC 7235 needs to be normative

- in the IANA sections, it would be helpful if the specification links 
would be more specific

- there's a "TBD" in Section 9.3

- for the new IANA registries, I believe you ought to specify the actual 
format of the registry and/or provide a registration form

- terminology confusion: Section 2 introduces the "authentication 
scheme" (which seems to be about HOBA in general), but the actual HTTP 
authentication scheme is defined in Section 3.

- TODO in Acknowledgements: "[[ and any more to be added ]]"

Finally some comments on Section 3:

This describes behavior, but reads a bit strange as a formal definition 
of an auth scheme. For instance:

> If the "HOBA" scheme is listed, it MUST be followed by two or more auth-param values.

Replace by:

"The HOBA scheme has two REQUIRED attributes (...) and one OPTIONAL 
attribute (realm) described below:"

Also, a full HTTP request/response exchange example might make this 
simpler to understand.

Best regards, Julian


From nobody Tue Sep 23 04:57:21 2014
Return-Path: <julian.reschke@gmx.de>
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 CFB521A710D for <http-auth@ietfa.amsl.com>; Tue, 23 Sep 2014 04:57:19 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.9
X-Spam-Level: 
X-Spam-Status: No, score=-1.9 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_PASS=-0.001] 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 0NNUuX10RpaE for <http-auth@ietfa.amsl.com>; Tue, 23 Sep 2014 04:57:18 -0700 (PDT)
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 861D71A7D83 for <http-auth@ietf.org>; Tue, 23 Sep 2014 04:57:18 -0700 (PDT)
Received: from [192.168.1.26] ([217.91.35.233]) by mail.gmx.com (mrgmx102) with ESMTPSA (Nemesis) id 0Lyj4F-1YKEHs3gl5-01641B; Tue, 23 Sep 2014 13:57:16 +0200
Message-ID: <54216016.4060800@gmx.de>
Date: Tue, 23 Sep 2014 13:57:10 +0200
From: Julian Reschke <julian.reschke@gmx.de>
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:31.0) Gecko/20100101 Thunderbird/31.1.1
MIME-Version: 1.0
To: Yoav Nir <ynir.ietf@gmail.com>, IETF HTTP Auth <http-auth@ietf.org>
References: <8A2A44BA-D6DC-4588-A456-0796208F4BBD@gmail.com> <54211CFF.1040702@gmx.de>
In-Reply-To: <54211CFF.1040702@gmx.de>
Content-Type: text/plain; charset=windows-1252; format=flowed
Content-Transfer-Encoding: 7bit
X-Provags-ID: V03:K0:XdcvWUj1ud55O0Cj9bX09ASnkQMqBFZ3cRVAVwukHUdaV9ER7QK 7x/IX0qjyDhkooZc8KKNV6ME+8T+sS6FeeDelmIoztUcnkEbsI5vjUS7+cIGXjMlYhbCpD0 gc8afzs0AMQMMbxdGTJXLpKGvPoJE2EDC2KWDBdx2MMjQpeadegqqi74JmepDFt8SoIqdgO HWOQA5IviWyO/9FYpasdQ==
X-UI-Out-Filterresults: notjunk:1;
Archived-At: http://mailarchive.ietf.org/arch/msg/http-auth/xcYzLDUUt_1zynzB1FTrEtk2KbU
Subject: Re: [http-auth] WGLC for draft-ietf-httpauth-hoba-04
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: Tue, 23 Sep 2014 11:57:20 -0000

On 2014-09-23 09:10, Julian Reschke wrote:
> ...

Furthermore, Section 9.6 tries to IANA-register the header field 
"HOBAREG" which doesn't seem to be defined anywhere.

Best regards, Julian


From nobody Wed Sep 24 04:54:11 2014
Return-Path: <julian.reschke@gmx.de>
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 3320E1A86F6 for <http-auth@ietfa.amsl.com>; Wed, 24 Sep 2014 04:54:10 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.9
X-Spam-Level: 
X-Spam-Status: No, score=-1.9 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_PASS=-0.001] 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 50oNggdFPGhU for <http-auth@ietfa.amsl.com>; Wed, 24 Sep 2014 04:54:08 -0700 (PDT)
Received: from mout.gmx.net (mout.gmx.net [212.227.15.15]) (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 118C11A702C for <http-auth@ietf.org>; Wed, 24 Sep 2014 04:54:08 -0700 (PDT)
Received: from [192.168.1.26] ([217.91.35.233]) by mail.gmx.com (mrgmx002) with ESMTPSA (Nemesis) id 0MaIPo-1XqdRV1eNU-00JqSS; Wed, 24 Sep 2014 13:54:05 +0200
Message-ID: <5422B0D7.6040905@gmx.de>
Date: Wed, 24 Sep 2014 13:53:59 +0200
From: Julian Reschke <julian.reschke@gmx.de>
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:31.0) Gecko/20100101 Thunderbird/31.1.1
MIME-Version: 1.0
To: Yoav Nir <ynir.ietf@gmail.com>, IETF HTTP Auth <http-auth@ietf.org>
References: <8A2A44BA-D6DC-4588-A456-0796208F4BBD@gmail.com> <54211CFF.1040702@gmx.de> <54216016.4060800@gmx.de>
In-Reply-To: <54216016.4060800@gmx.de>
Content-Type: text/plain; charset=windows-1252; format=flowed
Content-Transfer-Encoding: 7bit
X-Provags-ID: V03:K0:1tWfOOGQQtyvmBuBrYauku9hpqKauUC9UBbgO2GsXH5aC1Fj/A2 UhHgTI4JSrYvqBL2VvEK9EJEeLdyJ/wTN2hUrpND40z73hZgH47rwg3jMF5CC1ELyq1Uji+ gZqDqBGcZVWhPQe1dzyFj7dFzv8+mIuAe/S+LzB8f/L5oCuAEbVU2OYG2gQTra4YB17ybdx uYCvEjmcryuDv7ej96UeA==
X-UI-Out-Filterresults: notjunk:1;
Archived-At: http://mailarchive.ietf.org/arch/msg/http-auth/V0s6xerB1tP-4dONdU5OOUJRZp0
Subject: Re: [http-auth] WGLC for draft-ietf-httpauth-hoba-04
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, 24 Sep 2014 11:54:10 -0000

...also:

>    o  An "expires" attribute MUST be included that specifies the number
>       of seconds from the time the HTTP response is emitted for which
>       responses to this challenge can be accepted.

HTTP caching (RFC 7235) knows the "Expires" header field (taking a 
date), and the "max-age" cache-control directive (taking seconds). Maybe 
it would make sense to rename this one to "max-age" for consistency.

Best regards, Julian


From nobody Sat Sep 27 14:37:41 2014
Return-Path: <ynir.ietf@gmail.com>
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 EBB041A0AC8 for <http-auth@ietfa.amsl.com>; Sat, 27 Sep 2014 14:37:39 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2
X-Spam-Level: 
X-Spam-Status: No, score=-2 tagged_above=-999 required=5 tests=[BAYES_00=-1.9,  DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, FREEMAIL_FROM=0.001, SPF_PASS=-0.001] 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 tUwOuceFfvPt for <http-auth@ietfa.amsl.com>; Sat, 27 Sep 2014 14:37:35 -0700 (PDT)
Received: from mail-we0-x22c.google.com (mail-we0-x22c.google.com [IPv6:2a00:1450:400c:c03::22c]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 2D7E81A0406 for <http-auth@ietf.org>; Sat, 27 Sep 2014 14:37:35 -0700 (PDT)
Received: by mail-we0-f172.google.com with SMTP id q58so2293676wes.3 for <http-auth@ietf.org>; Sat, 27 Sep 2014 14:37:33 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113;  h=content-type:mime-version:subject:from:in-reply-to:date :content-transfer-encoding:message-id:references:to; bh=p5yfXvkU2GaHL0odVEYFle9vb2onikq8YDpspFqg9oQ=; b=v71UN/WDwGPJTrN+aV1A2OFitd7NsTcoKPOK2hsrBPKH50/vGb9ig++SZaBoV0DfFu 1mB+91Q9S/uGnucobIsQI01HfyE6qfqMMEohW3K32DXsxCkm3wazcK+kcjhW7qXiPW82 vA/zJh5vi+817dXAAAV3JKB/VRCZt9V9ReeBcbiwwssppVdzpWwVYUh6lW5feDF7W4LF EZNzGdWP6sKC7SnXCgjNkQjS7V0W1S+4qA+bAcYMi3unOmQVDIMu1A1VEODOgwE608k5 FSfWbH7pViUkbjTw3GiTtBCwYW4ysg1/Zqbc9nfLYYkRXIJcxu8qELS7ymSIpWmJnqA5 +StQ==
X-Received: by 10.194.232.232 with SMTP id tr8mr31069079wjc.21.1411853853685;  Sat, 27 Sep 2014 14:37:33 -0700 (PDT)
Received: from [192.168.1.103] (IGLD-84-228-192-134.inter.net.il. [84.228.192.134]) by mx.google.com with ESMTPSA id lg6sm10572015wjb.40.2014.09.27.14.37.31 for <multiple recipients> (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Sat, 27 Sep 2014 14:37:33 -0700 (PDT)
Content-Type: text/plain; charset=windows-1252
Mime-Version: 1.0 (Mac OS X Mail 7.3 \(1878.6\))
From: Yoav Nir <ynir.ietf@gmail.com>
In-Reply-To: <542114CF.3040204@treenet.co.nz>
Date: Sun, 28 Sep 2014 00:37:00 +0300
Content-Transfer-Encoding: quoted-printable
Message-Id: <99737F26-FC05-4570-9FB1-DD8ED1A8905E@gmail.com>
References: <8A2A44BA-D6DC-4588-A456-0796208F4BBD@gmail.com> <FEB91DAA-7736-4468-A736-097295D06115@mnot.net> <542114CF.3040204@treenet.co.nz>
To: IETF HTTP Auth <http-auth@ietf.org>, Amos Jeffries <squid3@treenet.co.nz>
X-Mailer: Apple Mail (2.1878.6)
Archived-At: http://mailarchive.ietf.org/arch/msg/http-auth/aiWoTrWnkk-rsB5GMEswkYI2mRM
Subject: Re: [http-auth] WGLC for draft-ietf-httpauth-hoba-04
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: Sat, 27 Sep 2014 21:37:40 -0000

Forwarding to the http-auth mailing list where this LC is happening.

On Sep 23, 2014, at 9:35 AM, Amos Jeffries <squid3@treenet.co.nz> wrote:

> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>=20
> On 23/09/2014 9:50 a.m., Mark Nottingham wrote:
>> FYI; please have a look over this with an HTTP eye (and note that
>> the intended status is Experimental).
>>=20
>> <https://tools.ietf.org/html/draft-ietf-httpauth-hoba-04>
>>=20
>> Cheers,
>>=20
>>=20
>> Begin forwarded message:
>>=20
>>> From: Yoav Nir <ynir.ietf@gmail.com> Subject: [http-auth] WGLC
>>> for draft-ietf-httpauth-hoba-04 Date: 21 September 2014 10:48:58
>>> pm PDT To: IETF HTTP Auth <http-auth@ietf.org> Archived-At:
>>> =
http://mailarchive.ietf.org/arch/msg/http-auth/3B6SxPqTEQ6KadDvXMDmqQhZEiQ=

>>>=20
>>>=20
>>>=20
> Hi all
>>>=20
>>> Stephen, Paul, and Michael submitted version -04 about a month
>>> ago, and it has received no discussion so far.  The authors are
>>> of the opinion that the document is ready for publication, and
>>> it=92s time for the group to weigh in on this subject.
>>>=20
>>> This mail begins working group last call for this document.
>>> Please take the time to read the draft and send comments to the
>>> list about its security, applicability, usefulness, and any other
>>> aspect you wish to discuss. For guidance on what to look for, let
>>> me quote the following from our charter: The httpauth WG will be
>>> a short-lived working group that will document a small number of
>>> HTTP user authentication schemes that might offer security
>>> benefits, and that could, following experimentation, be widely
>>> adopted as standards-track schemes for HTTP user authentication.
>>> Each of these RFCs will be Informational or Experimental, and
>>> should include a description of when use of its mechanism is
>>> appropriate, via a use-case or other distinguishing=20
>>> characteristics. The WGLC is two weeks long, and ends on October
>>> 6th. Please send your reviews as replies to this message.
>>>=20
>>> Thanks,
>>>=20
>>> Yoav & Matt _______________________________________________=20
>>> http-auth mailing list http-auth@ietf.org=20
>>> https://www.ietf.org/mailman/listinfo/http-auth
>>=20
>> -- Mark Nottingham   http://www.mnot.net/
>>=20
>=20
> Looks like the HTTP specific part is almost a duplicate of RFC 6750
> OAuth 2.0 Bearer authentication.
>=20
> One could re-write this specification by doing:
>=20
> * reference Bearer specification,
> * add expires=3D and challenge=3D (code=3D?) parameters on www-auth =
header,
> * add a scope parameter value "hoba:origin",
> * prohibit token re-use/replay,
> * prohibit URI-query and payload delivery mechanisms
> * define section 5 and section 6 using RFC 6749 credential management
> parameters and mechanisms.
>=20
> Doing so would avoid both the need to register a new authentication
> scheme, and "well-known" URI space.
>=20
> Amos
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v2.0.22 (MingW32)
>=20
> iQEcBAEBAgAGBQJUIRTPAAoJELJo5wb/XPRjHtcH/RSHv9Zg9YUnZw3q2Q/lsobX
> xa8cvK1LrEjrtlEBGG+R3I8G5y4WDNqhowEsbHk1hMv2Kn+WN1ZCmzSM32KWBd+X
> HalPfFlWvIctKd/M2uVe9DBXJS6GLVAGR1YhY2siBMN3G2umOgf2TCgS70NnXwVq
> W2o7xhvYwBpX1NjrxOEQTYG7B7HDYUM1oVXGjXMTjt0GhAopIS8xXXkXrxqS82kG
> gdZQ1EFfyci3TJD17zvbpGBhTEjT/ZTD5B8DY/2trdLq3MZ7FvSDBtoUwi1Ornm8
> EMFnr/8kldKG+77xqSNrfBlBnUqWfEI+epzFqKBD9wdaHVn0JE9RR+XL/7SngN0=3D
> =3DgNel
> -----END PGP SIGNATURE-----
>=20


From nobody Mon Sep 29 11:54:48 2014
Return-Path: <kaduk@mit.edu>
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 E2C131A913E for <http-auth@ietfa.amsl.com>; Mon, 29 Sep 2014 11:54:46 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.488
X-Spam-Level: 
X-Spam-Status: No, score=-2.488 tagged_above=-999 required=5 tests=[BAYES_40=-0.001, J_CHICKENPOX_21=0.6, RCVD_IN_DNSWL_MED=-2.3, RP_MATCHES_RCVD=-0.786, SPF_PASS=-0.001] 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 wB9oKEChAeDm for <http-auth@ietfa.amsl.com>; Mon, 29 Sep 2014 11:54:43 -0700 (PDT)
Received: from dmz-mailsec-scanner-7.mit.edu (dmz-mailsec-scanner-7.mit.edu [18.7.68.36]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 4CC381A90F7 for <http-auth@ietf.org>; Mon, 29 Sep 2014 11:54:43 -0700 (PDT)
X-AuditID: 12074424-f79346d000004923-33-5429aaf22631
Received: from mailhub-auth-1.mit.edu ( [18.9.21.35]) (using TLS with cipher AES256-SHA (256/256 bits)) (Client did not present a certificate) by dmz-mailsec-scanner-7.mit.edu (Symantec Messaging Gateway) with SMTP id 5C.44.18723.2FAA9245; Mon, 29 Sep 2014 14:54:42 -0400 (EDT)
Received: from outgoing.mit.edu (outgoing-auth-1.mit.edu [18.9.28.11]) by mailhub-auth-1.mit.edu (8.13.8/8.9.2) with ESMTP id s8TIsf7H029307 for <http-auth@ietf.org>; Mon, 29 Sep 2014 14:54:41 -0400
Received: from multics.mit.edu (system-low-sipb.mit.edu [18.187.2.37]) (authenticated bits=56) (User authenticated as kaduk@ATHENA.MIT.EDU) by outgoing.mit.edu (8.13.8/8.12.4) with ESMTP id s8TIsdTa025928 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT) for <http-auth@ietf.org>; Mon, 29 Sep 2014 14:54:41 -0400
Received: (from kaduk@localhost) by multics.mit.edu (8.12.9.20060308) id s8TIsdb2020525; Mon, 29 Sep 2014 14:54:39 -0400 (EDT)
Date: Mon, 29 Sep 2014 14:54:39 -0400 (EDT)
From: Benjamin Kaduk <kaduk@MIT.EDU>
To: IETF HTTP Auth <http-auth@ietf.org>
In-Reply-To: <8A2A44BA-D6DC-4588-A456-0796208F4BBD@gmail.com>
Message-ID: <alpine.GSO.1.10.1409272210020.21571@multics.mit.edu>
References: <8A2A44BA-D6DC-4588-A456-0796208F4BBD@gmail.com>
User-Agent: Alpine 1.10 (GSO 962 2008-03-14)
MIME-Version: 1.0
Content-Type: MULTIPART/MIXED; boundary="-559023410-1794718810-1411870237=:21571"
Content-ID: <alpine.GSO.1.10.1409291443070.17516@multics.mit.edu>
X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFlrAKsWRmVeSWpSXmKPExsUixCmqrPtplWaIwbvp7BYf9s9hcmD0WLLk J1MAYxSXTUpqTmZZapG+XQJXxquP9xgLVqtUnNozj6mBcZtMFyMnh4SAicSaK02MELaYxIV7 69m6GLk4hARmM0ksX/CUBcI5xSjx/slBVgjnNpPE+Yd/oMoaGCW2bF7KAtLPIqAtMWlPIyuI zSagIjHzzUY2EFtEQF3i1bp97CC2sICtxKqVZ8HqOYHsA49ngMV5BRwlPny+yQRiCwnYSEza cAzsJlEBHYnV+6ewQNQISpyc+QTMZhYIlNi/cw8zhO0o0fu0h20Co+AsJGWzkJTNQlIGYetI 3JyxGMrWlrh/s40NpmbVwXXsCxjZVjHKpuRW6eYmZuYUpybrFicn5uWlFuma6+VmluilppRu YgQFPruLyg7G5kNKhxgFOBiVeHg3LNUIEWJNLCuuzD3EKMnBpCTKq7xcM0SILyk/pTIjsTgj vqg0J7X4EKMEB7OSCG/wUqAcb0piZVVqUT5MSpqDRUmcd9MPvhAhgfTEktTs1NSC1CKYrAwH h5IErzkwwoUEi1LTUyvSMnNKENJMHJwgw3mAhrOD1PAWFyTmFmemQ+RPMepyrOv81s8kxJKX n5cqJc4rAlIkAFKUUZoHNweWsF4xigO9JcwrDlLFA0x2cJNeAS1hAlqStkEdZElJIkJKqoFR ZWvy+WP9Ue0VDLWCHvPtpaP+fPG7vjc+4prFpB86B33l1n9yMO94wjCb3/L89/U8MXsFJru5 tt48/un2ef28FF2PDeYCd3xil8U9rnnp4bhg5xZNgbjCCeUaG1Xyd78r12ndK1NxNvK4goRC xe1ONfvP/Ks7fHsbAlP2JZT5OX0J+H3Uyk6JpTgj0VCLuag4EQDJVod7MwMAAA==
Archived-At: http://mailarchive.ietf.org/arch/msg/http-auth/lRA4nk-9_82-WIq163KJr_I_HN4
Subject: Re: [http-auth] WGLC for draft-ietf-httpauth-hoba-04
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: Mon, 29 Sep 2014 18:54:47 -0000

  This message is in MIME format.  The first part should be readable text,
  while the remaining parts are likely unreadable without MIME-aware tools.

---559023410-1794718810-1411870237=:21571
Content-Type: TEXT/PLAIN; charset=ISO-8859-7
Content-Transfer-Encoding: QUOTED-PRINTABLE
Content-ID: <alpine.GSO.1.10.1409291437561.17516@multics.mit.edu>

On Mon, 22 Sep 2014, Yoav Nir wrote:

> Hi all
>
> Stephen, Paul, and Michael submitted version -04 about a month ago, and
> it has received no discussion so far.  The authors are of the opinion
> that the document is ready for publication, and it=A2s time for the group
> to weigh in on this subject.
>
> This mail begins working group last call for this document. Please take t=
he time to read the draft and send comments to the list about its security,=
 applicability, usefulness, and any other aspect you wish to discuss. For g=
uidance on what to look for, let me quote the following from our charter:
>   The httpauth WG will be a short-lived working group that will document
>   a small number of HTTP user authentication schemes that might offer
>   security benefits, and that could, following experimentation, be
>   widely adopted as standards-track schemes for HTTP user
>   authentication. Each of these RFCs will be Informational or
>   Experimental, and should include a description of when use of its
>   mechanism is appropriate, via a use-case or other distinguishing
>   characteristics.
> The WGLC is two weeks long, and ends on October 6th. Please send your
> reviews as replies to this message.

I see a few places that could be unclear, and have a handful of editorial
comments.


In section 2,

   On receipt of a challenge (and optional realm) from a server, the
   client marshals an HOBA to-be-signed (TBS) blob that includes a
   client generated nonce, the web-origin, the realm, an identifier for
   the CPK and the challenge string; and signs that hashed blob with the
   private key corresponding to the CPK for that web-origin.

The client is supposed to marshal a blob, but then signs a hashed blob.
How does the hashing happen (or is it part of the signature)?


Still in section 2,

   The value that is sent over the network is the HOBA "client result"
   which we now define.

It might be good to explicitly say that this is sent over the network by
the client.


In section 3, we hear that the HOBA scheme "MUST be followed by two or
more auth-param values."  It might be useful to include here an example of
how those attributes are encoded.








And the editorial bits:


In section 3,

   the client to authenticate with HOBA.  Note that the HOBA auth-scheme
   might not be the only one that the server includes in a WWW-
   Authenticate.

I think that "a WWW-Authenticate header" is better grammar, unless this is
some usage I'm not familiar with.


Still in section 3,

   When the "client response" is created, the UA encodes the HOBA
   client-result (a string matching the HOBA-RES production in Figure 2
   as an auth-param with the name "result" and returns that in the
   Authorization header.

There is no matching close parenthesis.


In section 4,

   storage.  For example, an implementation would store a dictionary
   account identifier, public key, private key tuples in the origin's
   localStorage for subsequent authentication requests.

I don't think the grammar is correct in the specification of the contents
of the tuples stored in localStorage.


Also in section 4,

   available: WebCrypto (see http://www.w3.org/TR/WebCryptoAPI).  In
   lieu of WebCrypto, JavaScript crypto libraries can be employed with
   the known deficiencies of PRNG, and the general immaturity of those
   libraries.

The grammar is not correct in this sentence.


In section 5.1,

   In the CPK preparation phase, the client determines if it already has
   a CPK for the web-origin it is going to.

Reading this, I want to ask "what is the client going to do?", that is,
the language feels informal to the point of causing confusion.


In section 9.3,

   TBD, hopefully re-use and existing registry

s/and/an/


In section 9.4,

   "1" means a URI, such as a mailto: or acct: URI, but anything
   conforming to [RFC3986] is ok.i

The trailing 'i' was already mentioned, but I would consider expanding out
"okay" or using less-informal terminology.


Throughout section 9 in general, the list entries are inconsistent about
whether they end with a period or not.


-Ben
---559023410-1794718810-1411870237=:21571--


From nobody Mon Sep 29 13:33:03 2014
Return-Path: <stephen.farrell@cs.tcd.ie>
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 2C5771ACAD8 for <http-auth@ietfa.amsl.com>; Mon, 29 Sep 2014 13:33:02 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.686
X-Spam-Level: 
X-Spam-Status: No, score=-2.686 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, RP_MATCHES_RCVD=-0.786] 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 Jia1MTNUhsN2 for <http-auth@ietfa.amsl.com>; Mon, 29 Sep 2014 13:33:00 -0700 (PDT)
Received: from mercury.scss.tcd.ie (mercury.scss.tcd.ie [134.226.56.6]) by ietfa.amsl.com (Postfix) with ESMTP id C19461A1BD9 for <http-auth@ietf.org>; Mon, 29 Sep 2014 13:33:00 -0700 (PDT)
Received: from localhost (localhost [127.0.0.1]) by mercury.scss.tcd.ie (Postfix) with ESMTP id DDEADBE4D; Mon, 29 Sep 2014 21:32:59 +0100 (IST)
X-Virus-Scanned: Debian amavisd-new at scss.tcd.ie
Received: from mercury.scss.tcd.ie ([127.0.0.1]) by localhost (mercury.scss.tcd.ie [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id qbjF2CnWoDwq; Mon, 29 Sep 2014 21:32:58 +0100 (IST)
Received: from [10.87.48.7] (unknown [86.46.16.219]) by mercury.scss.tcd.ie (Postfix) with ESMTPSA id 5A721BE0A; Mon, 29 Sep 2014 21:32:58 +0100 (IST)
Message-ID: <5429C1F9.5010600@cs.tcd.ie>
Date: Mon, 29 Sep 2014 21:32:57 +0100
From: Stephen Farrell <stephen.farrell@cs.tcd.ie>
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.1.2
MIME-Version: 1.0
To: Yoav Nir <ynir.ietf@gmail.com>, IETF HTTP Auth <http-auth@ietf.org>
References: <8A2A44BA-D6DC-4588-A456-0796208F4BBD@gmail.com>
In-Reply-To: <8A2A44BA-D6DC-4588-A456-0796208F4BBD@gmail.com>
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: 8bit
Archived-At: http://mailarchive.ietf.org/arch/msg/http-auth/6Y6SXoZd8m_R6sO5AUvMCx-rOAE
Subject: Re: [http-auth] WGLC for draft-ietf-httpauth-hoba-04
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: Mon, 29 Sep 2014 20:33:02 -0000

Hi all,

Apologies for not responding to the good comments sent so far
but I hope to get time for that this week. (And if the chairs
want to prolong the WGLC accordingly on the basis of tardy
author responses that'd be quite reasonable:-)

Cheers,
S.

On 22/09/14 06:48, Yoav Nir wrote:
> Hi all
> 
> Stephen, Paul, and Michael submitted version -04 about a month ago, and it has received no discussion so far.  The authors are of the opinion that the document is ready for publication, and it’s time for the group to weigh in on this subject.
> 
> This mail begins working group last call for this document. Please take the time to read the draft and send comments to the list about its security, applicability, usefulness, and any other aspect you wish to discuss. For guidance on what to look for, let me quote the following from our charter:
>   The httpauth WG will be a short-lived working group that will document
>   a small number of HTTP user authentication schemes that might offer
>   security benefits, and that could, following experimentation, be
>   widely adopted as standards-track schemes for HTTP user
>   authentication. Each of these RFCs will be Informational or
>   Experimental, and should include a description of when use of its
>   mechanism is appropriate, via a use-case or other distinguishing
>   characteristics. 
> The WGLC is two weeks long, and ends on October 6th. Please send your reviews as replies to this message.
> 
> Thanks,
> 
> Yoav & Matt
> 
> 
> 
> _______________________________________________
> http-auth mailing list
> http-auth@ietf.org
> https://www.ietf.org/mailman/listinfo/http-auth
> 


From nobody Tue Sep 30 00:31:03 2014
Return-Path: <ynir.ietf@gmail.com>
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 929C81A0218 for <http-auth@ietfa.amsl.com>; Tue, 30 Sep 2014 00:31:02 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2
X-Spam-Level: 
X-Spam-Status: No, score=-2 tagged_above=-999 required=5 tests=[BAYES_00=-1.9,  DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, FREEMAIL_FROM=0.001, SPF_PASS=-0.001] 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 Iqe8xiB-wCtd for <http-auth@ietfa.amsl.com>; Tue, 30 Sep 2014 00:31:01 -0700 (PDT)
Received: from mail-wi0-x22b.google.com (mail-wi0-x22b.google.com [IPv6:2a00:1450:400c:c05::22b]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 1F7671A0154 for <http-auth@ietf.org>; Tue, 30 Sep 2014 00:31:00 -0700 (PDT)
Received: by mail-wi0-f171.google.com with SMTP id ho1so4917483wib.16 for <http-auth@ietf.org>; Tue, 30 Sep 2014 00:30:59 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113;  h=content-type:mime-version:subject:from:in-reply-to:date:cc :content-transfer-encoding:message-id:references:to; bh=fO421dvAYgDf6pDRmRuNI17Sda2XycTmfw3C7q5+A+E=; b=lDNZwK9BWfh9l//xZoiqvREubFoBcQ8d8wObIj6qG6Wz9qndWRzY/MRxXRTXbN11xQ r5mXhxCGvKyLUCYMWtqf8+KHDBCNr01qN4nBo4FS8DsRzsttDuR60gWaFpuLm9pMCkSJ wAriIeqBOdRXEMvYgHqgzBoI/FEa2qh7mEsQmFw4iVTp3JCQQbtwH3l3JO1vSsVXhIPS 7OCYAET1WDaca/YRz7h2Pdhiya/XQPKhUaMkQQGMhQaeBLzETZXFi2gqWfLX1NfWmyeR oc/xM41wok0QOpsOEUKUE2jzofCdArQEXPPnM6ftq2eqGbGWNbBxFLnTeAnwhagE9vpp GPOg==
X-Received: by 10.194.249.199 with SMTP id yw7mr1065232wjc.135.1412062259605;  Tue, 30 Sep 2014 00:30:59 -0700 (PDT)
Received: from [172.24.251.145] (dyn32-131.checkpoint.com. [194.29.32.131]) by mx.google.com with ESMTPSA id dc9sm14174348wib.5.2014.09.30.00.30.58 for <multiple recipients> (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Tue, 30 Sep 2014 00:30:58 -0700 (PDT)
Content-Type: text/plain; charset=windows-1252
Mime-Version: 1.0 (Mac OS X Mail 7.3 \(1878.6\))
From: Yoav Nir <ynir.ietf@gmail.com>
In-Reply-To: <5429C1F9.5010600@cs.tcd.ie>
Date: Tue, 30 Sep 2014 10:30:54 +0300
Content-Transfer-Encoding: quoted-printable
Message-Id: <82C72D6B-F249-48C4-856A-2B1BA0378468@gmail.com>
References: <8A2A44BA-D6DC-4588-A456-0796208F4BBD@gmail.com> <5429C1F9.5010600@cs.tcd.ie>
To: Stephen Farrell <stephen.farrell@cs.tcd.ie>
X-Mailer: Apple Mail (2.1878.6)
Archived-At: http://mailarchive.ietf.org/arch/msg/http-auth/yYT0tWkbgO0ui1DhYlyTTQUypHM
Cc: IETF HTTP Auth <http-auth@ietf.org>
Subject: Re: [http-auth] WGLC for draft-ietf-httpauth-hoba-04
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: Tue, 30 Sep 2014 07:31:02 -0000

On Sep 29, 2014, at 11:32 PM, Stephen Farrell =
<stephen.farrell@cs.tcd.ie> wrote:

>=20
> Hi all,
>=20
> Apologies for not responding to the good comments sent so far

Yeah, I was going to comment on that=85

> but I hope to get time for that this week. (And if the chairs
> want to prolong the WGLC accordingly on the basis of tardy
> author responses that'd be quite reasonable:-)

I don=92t see a need for that. There are obviously some points raised =
that need discussing, and I don=92t think all of them will be sorted out =
to everyone=92s satisfaction by next Monday. So this is more =93get =
people to finally read the draft=94 WGLC rather than a real last call. =
So discussion will continue on the list, and if needed, we=92ll also =
spend time on it in Honolulu.

Thanks.

Yoav

