Re: Benjamin Kaduk's Discuss on draft-ietf-httpbis-messaging-16: (with DISCUSS and COMMENT)

Martin Thomson <mt@lowentropy.net> Thu, 17 June 2021 04:45 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 E281B3A0121 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Wed, 16 Jun 2021 21:45:18 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.749
X-Spam-Level:
X-Spam-Status: No, score=-2.749 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, HEADER_FROM_DIFFERENT_DOMAINS=0.249, MAILING_LIST_MULTI=-1, RCVD_IN_MSPIKE_H4=0.001, RCVD_IN_MSPIKE_WL=0.001, SPF_PASS=-0.001, URIBL_BLOCKED=0.001] autolearn=unavailable autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=lowentropy.net header.b=HEeAilnB; dkim=pass (2048-bit key) header.d=messagingengine.com header.b=G0rRmc3G
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 sJJ3Cus65TQ7 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Wed, 16 Jun 2021 21:45:13 -0700 (PDT)
Received: from lyra.w3.org (lyra.w3.org [128.30.52.18]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 2E88B3A011D for <httpbisa-archive-bis2Juki@lists.ietf.org>; Wed, 16 Jun 2021 21:45:12 -0700 (PDT)
Received: from lists by lyra.w3.org with local (Exim 4.92) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1ltjqR-0005NN-SE for ietf-http-wg-dist@listhub.w3.org; Thu, 17 Jun 2021 04:41:38 +0000
Resent-Date: Thu, 17 Jun 2021 04:41:35 +0000
Resent-Message-Id: <E1ltjqR-0005NN-SE@lyra.w3.org>
Received: from mimas.w3.org ([128.30.52.79]) by lyra.w3.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from <mt@lowentropy.net>) id 1ltjpr-0005Jv-Jj for ietf-http-wg@listhub.w3.org; Thu, 17 Jun 2021 04:41:01 +0000
Received: from out1-smtp.messagingengine.com ([66.111.4.25]) by mimas.w3.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from <mt@lowentropy.net>) id 1ltjpj-0000uL-MP for ietf-http-wg@w3.org; Thu, 17 Jun 2021 04:40:56 +0000
Received: from compute4.internal (compute4.nyi.internal [10.202.2.44]) by mailout.nyi.internal (Postfix) with ESMTP id 499675C00FB; Thu, 17 Jun 2021 00:40:39 -0400 (EDT)
Received: from imap10 ([10.202.2.60]) by compute4.internal (MEProxy); Thu, 17 Jun 2021 00:40:39 -0400
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=lowentropy.net; h=mime-version:message-id:in-reply-to:references:date:from:to :cc:subject:content-type; s=fm2; bh=OvmysEJ0mfnoIHLRoods2v+26pq3 hwB51bCzF+mIXkQ=; b=HEeAilnBcU+g8ESdTz2QSL4yiv3FrAe1nYtjOnXEFHLk 5j/F5nVupX4J4eAxVcUlK4HxtjK2ZPqrFV/1jt/hxQ99QeNXm/ZiXtrSpthbr2+S 9q8WunupYr9gTCP4bCU2OWgVONrOFXhqmP7WRsEwUmyiESHFGyaS3bi12mhyAX6x bDgFV79tBtOyvnx+B5Jor2w1b92zoQAWtekaKQXOaE/nrPN3WQX7YV1alMeo7W0m jffoyKqW7DLmxcr0hmIP8860gFqLCp3fUpOTis/zxFnyFVt73iwY6gfqEFxfK9K9 kldgyfsSRkBte21U3HAZvBtzs23wmG214AOCzt/ilw==
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-type:date:from:in-reply-to :message-id:mime-version:references:subject:to:x-me-proxy :x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s=fm3; bh=OvmysE J0mfnoIHLRoods2v+26pq3hwB51bCzF+mIXkQ=; b=G0rRmc3G0At93DjHLyXbF4 /D+tkGXODgwpmqPjpsD7wxBguGWHt7uXbZ60gT948R36aWnMuXswnWWIJfX8plAb tpGLPOo6rikR5UDEidvjS8fj6ZkudLARWoLLzMEwRzM3ZVB9PvUt/Mfyv4iWb6Ez REymeUtjylD4EQwDKp97Vs4zjdxZgqg9C1+HtO1WtxRWjj4gPq8A81CxzYcSMCVv 4V3w009wwGct4xhjwt2IpyzumpxXSOvsHr72w3RLa9snn8TXG5lq8fMDoFLIbphr KQHHjOYImbCKqm2QScahNglSPS1wMOZCwdqJNhMZjnM5D3zh29dtX6Pcd4F2tvvA ==
X-ME-Sender: <xms:RtLKYKJZCpEIOHb9XOoD5DIzvxLWFNdO9c2Rmw2jubKsenVSv-3KrA> <xme:RtLKYCLSPXOJ_-51glb55cOL-wPZFSoaixBj6KPIAfwBuNCRfIn_zid7rYnLZxz-I GAdQjedkzjnXNWb_-g>
X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeduledrfeeftddgkedvucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmne cujfgurhepofgfggfkjghffffhvffutgesthdtredtreerjeenucfhrhhomhepfdforghr thhinhcuvfhhohhmshhonhdfuceomhhtsehlohifvghnthhrohhphidrnhgvtheqnecugg ftrfgrthhtvghrnhepteeuvdehhffgkeeihfeluefhteffffegudevhefffeefjeetledt leeuuddvtefhnecuffhomhgrihhnpehhthhtphefrdhofhhfnecuvehluhhsthgvrhfuih iivgeptdenucfrrghrrghmpehmrghilhhfrhhomhepmhhtsehlohifvghnthhrohhphidr nhgvth
X-ME-Proxy: <xmx:RtLKYKtc1cYoxYOqBk9HZSIoR30BoA4coMpVm3i5-iNO6qc_cepiVw> <xmx:RtLKYPaCoVZPkmGuT517J0rEhvdOko64s_jeT9xkYC9dNR-QLEiypw> <xmx:RtLKYBaLeUkXfV61CihfKnXaNkloYegkXmBvXMEb9D3Ar_mEE9Yc-Q> <xmx:R9LKYAUcjO_kvZWfEdUTjrcFf_bEtBJ_GKi5e0IgnwzhjYrsHb13sw>
Received: by mailuser.nyi.internal (Postfix, from userid 501) id C07414E0095; Thu, 17 Jun 2021 00:40:38 -0400 (EDT)
X-Mailer: MessagingEngine.com Webmail Interface
User-Agent: Cyrus-JMAP/3.5.0-alpha0-526-gf020ecf851-fm-20210616.001-gf020ecf8
Mime-Version: 1.0
Message-Id: <2a5d126b-c5e2-4d3e-9aa4-e60face65a50@www.fastmail.com>
In-Reply-To: <812453F4-E080-442B-9E2D-7C8FE5374639@mnot.net>
References: <162389376384.2031.14383558836768559852@ietfa.amsl.com> <83B4B04D-0B2B-4A79-B178-28F08467847C@mnot.net> <20210617031531.GU11634@kduck.mit.edu> <812453F4-E080-442B-9E2D-7C8FE5374639@mnot.net>
Date: Thu, 17 Jun 2021 14:40:17 +1000
From: Martin Thomson <mt@lowentropy.net>
To: Mark Nottingham <mnot@mnot.net>, Benjamin Kaduk <kaduk@mit.edu>
Cc: The IESG <iesg@ietf.org>, draft-ietf-httpbis-messaging@ietf.org, httpbis-chairs@ietf.org, ietf-http-wg@w3.org, Tommy Pauly <tpauly@apple.com>
Content-Type: text/plain
Received-SPF: pass client-ip=66.111.4.25; envelope-from=mt@lowentropy.net; helo=out1-smtp.messagingengine.com
X-W3C-Hub-DKIM-Status: validation passed: (address=mt@lowentropy.net domain=lowentropy.net), signature is good
X-W3C-Hub-DKIM-Status: validation passed: (address=mt@lowentropy.net domain=messagingengine.com), signature is good
X-W3C-Hub-Spam-Status: No, score=-9.8
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H3=0.001, RCVD_IN_MSPIKE_WL=0.001, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001, W3C_AA=-1, W3C_DB=-1, W3C_IRA=-1, W3C_IRR=-3, W3C_WL=-1
X-W3C-Scan-Sig: mimas.w3.org 1ltjpj-0000uL-MP 7799953b16929d560c3ae5a9a474563f
X-Original-To: ietf-http-wg@w3.org
Subject: Re: Benjamin Kaduk's Discuss on draft-ietf-httpbis-messaging-16: (with DISCUSS and COMMENT)
Archived-At: <https://www.w3.org/mid/2a5d126b-c5e2-4d3e-9aa4-e60face65a50@www.fastmail.com>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/38909
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: <https://www.w3.org/Mail/>
List-Post: <mailto:ietf-http-wg@w3.org>
List-Unsubscribe: <mailto:ietf-http-wg-request@w3.org?subject=unsubscribe>

On Thu, Jun 17, 2021, at 14:19, Mark Nottingham wrote:
> > on -semantics.  However, I am not seeing any requirement on the server 
> > to ensure that the response it generates is secured.
...
> I don't think that helps, at least in the case of HTTP/1.1. There, the 
> server is responsible for setting the correct scheme for the target URI 
> when a request is received; the security properties of the request and 
> response follow from that. Effectively, it's not under attacker control.

That only establishes that it is not an attack, which might mean that the requirement is not strictly necessary.  Adding a requirement might still be useful.

> However, I don't see any equivalent mechanism regarding :scheme in 
> http/2 bis  or http/3. Off the cuff, I tend to think that security 
> considerations about this probably belong on both of those specs.

I disagree.  This is a generic requirement: if the scheme is "https", the server needs to ensure that the response has appropriate integrity and confidentiality protections.  I think that is all that Ben's question suggests we do.