Re: Op-sec simplification

Kari Hurtta <hurtta-ietf@elmme-mailer.org> Mon, 31 October 2016 05:37 UTC

Return-Path: <ietf-http-wg-request+bounce-httpbisa-archive-bis2juki=lists.ie@listhub.w3.org>
X-Original-To: ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com
Delivered-To: ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id D65C212951B for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Sun, 30 Oct 2016 22:37:50 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -8.398
X-Spam-Level:
X-Spam-Status: No, score=-8.398 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, HEADER_FROM_DIFFERENT_DOMAINS=0.001, RCVD_IN_DNSWL_HI=-5, RP_MATCHES_RCVD=-1.497, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001] autolearn=ham autolearn_force=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 0qOd2N1DwdIX for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Sun, 30 Oct 2016 22:37:49 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) (using TLSv1.2 with cipher DHE-RSA-AES128-SHA (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 1E449126FDC for <httpbisa-archive-bis2Juki@lists.ietf.org>; Sun, 30 Oct 2016 22:37:48 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.80) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1c15Do-00046g-5N for ietf-http-wg-dist@listhub.w3.org; Mon, 31 Oct 2016 05:33:24 +0000
Resent-Date: Mon, 31 Oct 2016 05:33:24 +0000
Resent-Message-Id: <E1c15Do-00046g-5N@frink.w3.org>
Received: from mimas.w3.org ([128.30.52.79]) by frink.w3.org with esmtps (TLS1.2:RSA_AES_128_CBC_SHA1:128) (Exim 4.80) (envelope-from <khurtta@welho.com>) id 1c15Df-00045t-Cj for ietf-http-wg@listhub.w3.org; Mon, 31 Oct 2016 05:33:15 +0000
Received: from welho-filter3.welho.com ([83.102.41.25]) by mimas.w3.org with esmtp (Exim 4.84_2) (envelope-from <khurtta@welho.com>) id 1c15DX-00067r-Ht for ietf-http-wg@w3.org; Mon, 31 Oct 2016 05:33:08 +0000
Received: from localhost (localhost [127.0.0.1]) by welho-filter3.welho.com (Postfix) with ESMTP id E9C6D12F5D; Mon, 31 Oct 2016 07:32:39 +0200 (EET)
X-Virus-Scanned: Debian amavisd-new at pp.htv.fi
Received: from welho-smtp2.welho.com ([IPv6:::ffff:83.102.41.85]) by localhost (welho-filter3.welho.com [::ffff:83.102.41.25]) (amavisd-new, port 10024) with ESMTP id rmhuw3Ktt1b8; Mon, 31 Oct 2016 07:32:39 +0200 (EET)
Received: from hurtta09lk.keh.iki.fi (89-27-35-245.bb.dnainternet.fi [89.27.35.245]) (using TLSv1 with cipher ECDHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by welho-smtp2.welho.com (Postfix) with ESMTPS id 282BB27B; Mon, 31 Oct 2016 07:32:39 +0200 (EET)
To: Martin Thomson <martin.thomson@gmail.com>
Date: Mon, 31 Oct 2016 07:32:39 +0200 (EET)
Sender: hurtta@hurtta09lk.keh.iki.fi
From: Kari Hurtta <hurtta-ietf@elmme-mailer.org>
CC: HTTP working group mailing list <ietf-http-wg@w3.org>, Kari Hurtta <hurtta-ietf@elmme-mailer.org>
X-Mailer: ELM [version ME+ 2.5 PLalpha43+]
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Type: text/plain; charset="US-ASCII"
Message-Id: <20161031053239.E9C6D12F5D@welho-filter3.welho.com>
Received-SPF: none client-ip=83.102.41.25; envelope-from=khurtta@welho.com; helo=welho-filter3.welho.com
X-W3C-Hub-Spam-Status: No, score=-6.7
X-W3C-Hub-Spam-Report: AWL=-0.148, BAYES_00=-1.9, HEADER_FROM_DIFFERENT_DOMAINS=0.001, RCVD_IN_DNSWL_NONE=-0.0001, RP_MATCHES_RCVD=-2.656, W3C_AA=-1, W3C_WL=-1
X-W3C-Scan-Sig: mimas.w3.org 1c15DX-00067r-Ht 64e1e39ea3ef06fd63226469fbd51bf1
X-Original-To: ietf-http-wg@w3.org
Subject: Re: Op-sec simplification
Archived-At: <http://www.w3.org/mid/20161031053239.E9C6D12F5D@welho-filter3.welho.com>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/32746
X-Loop: ietf-http-wg@w3.org
Resent-Sender: ietf-http-wg-request@w3.org
Precedence: list
List-Id: <ietf-http-wg.w3.org>
List-Help: <http://www.w3.org/Mail/>
List-Post: <mailto:ietf-http-wg@w3.org>
List-Unsubscribe: <mailto:ietf-http-wg-request@w3.org?subject=unsubscribe>

| https://github.com/httpwg/http-extensions/pull/254
| 
| The main changes:
| 
|  - the .well-known resource is a flat list of origins

( no comment about that yet. )

|  - the client only needs to acquire a .wk from the secured server

Hmm. Reading it from original and from the secured server
gives little more verify that they really are giving same answers.

| - the draft explicitly allows HTTP/1.1

https://github.com/httpwg/http-extensions/blob/967aa51e513e4a2eea39ce6b2a37789be05c9483/draft-ietf-httpbis-http2-encryption.md#using-http-uris-over-tls

| Note that HTTP/1.1 requests MUST use the absolute form (see Section 5.3.2 of {{RFC7230}}).

Yes, I suggested that.

Example needs also to use absolute form here:

https://github.com/httpwg/http-extensions/blob/967aa51e513e4a2eea39ce6b2a37789be05c9483/draft-ietf-httpbis-http2-encryption.md#alternative-server-opt-in-auth

| GET /.well-known/http-opportunistic HTTP/1.1
| Host: www.example.com


( I think that I mentioned that example also. )

So it should be

| GET http://www.example.com/.well-known/http-opportunistic HTTP/1.1
| Host: www.example.com


( Seems that "Host" header is required also when absolute form is used. 
  That I missed last time
  https://lists.w3.org/Archives/Public/ietf-http-wg/2016OctDec/0097.html
)

/ Kari Hurtta