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

Mark Nottingham <mnot@mnot.net> Thu, 17 June 2021 01:47 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 E80213A129E for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Wed, 16 Jun 2021 18:47:10 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -7.749
X-Spam-Level:
X-Spam-Status: No, score=-7.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_DNSWL_HI=-5, 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=mnot.net header.b=bRTnplF1; dkim=pass (2048-bit key) header.d=messagingengine.com header.b=Z+HfkrPP
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 UGw9uAMSSLR1 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Wed, 16 Jun 2021 18:47:06 -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 4454E3A129C for <httpbisa-archive-bis2Juki@lists.ietf.org>; Wed, 16 Jun 2021 18:47:06 -0700 (PDT)
Received: from lists by lyra.w3.org with local (Exim 4.92) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1lth6P-000814-37 for ietf-http-wg-dist@listhub.w3.org; Thu, 17 Jun 2021 01:45:58 +0000
Resent-Date: Thu, 17 Jun 2021 01:45:53 +0000
Resent-Message-Id: <E1lth6P-000814-37@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 <mnot@mnot.net>) id 1lth5x-0007xh-LA for ietf-http-wg@listhub.w3.org; Thu, 17 Jun 2021 01:45:29 +0000
Received: from out5-smtp.messagingengine.com ([66.111.4.29]) by mimas.w3.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from <mnot@mnot.net>) id 1lth5n-0005Bt-QT for ietf-http-wg@w3.org; Thu, 17 Jun 2021 01:45:19 +0000
Received: from compute6.internal (compute6.nyi.internal [10.202.2.46]) by mailout.nyi.internal (Postfix) with ESMTP id 068B35C0109; Wed, 16 Jun 2021 21:45:05 -0400 (EDT)
Received: from mailfrontend2 ([10.202.2.163]) by compute6.internal (MEProxy); Wed, 16 Jun 2021 21:45:05 -0400
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=mnot.net; h= content-type:mime-version:subject:from:in-reply-to:date:cc :content-transfer-encoding:message-id:references:to; s=fm3; bh=1 daHoHEA7QfVhO8f5N+droXtTQ0lYKP3Aij2GoylT6I=; b=bRTnplF1QIExfv3MU l8lw4HCFj2uPLB5N6PA78RFD0S0vrus8PPmADyWi8fG+NdNraLc7N/mWdmxn5VJV GM02GTQmKzyf7vHBFSLPiQQU3kzhFG7GtmIuwqmko8OMBrWfwc4Dz7OFkUN1L0nC iiTMp11bNa2NpunOiqWkRXnB7MY/DH8YXn9wbGUq5M+BdklRUkEAuEIYWGyYfv2u jpHJiDwrszh14OXX+plq3IH4H1tM/ac517tV8yofkRzl8eSXw/qaDtj2DXiROAeI Z2cX61HPR4BHVUv5xce9qI2yyCm3mMoQwrFx+Q4rVt2wPbDUfeflrFgX2ZWjVkSQ s4FBw==
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-transfer-encoding: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=1daHoHEA7QfVhO8f5N+droXtTQ0lYKP3Aij2GoylT 6I=; b=Z+HfkrPPo6hIe+/o7nj6LeumOgTca/Ius/plXZiszQ1MsU1KH4z+TfDQ6 nf3Y84UvLuL9sO2c9rRSQRnQy72Q1x4Exb6QNHhAFMsMxK46tnywyfriHdK9NqbN hB/BCo11DB/7q8UZDUDajbCqzmIED4MWoTS/+F/W1xpfLbXuqprb0LTb4EBCECRy eA+orW/4rB6C/sqSsVaLLS7W2+UEBMwZ4vy0kQ1Z/+6QMXkmiluUPvEj8yOc/WOb Sml0up+7NI+3P58PUQYyv+ilXsJ6te1NIRoxiFc8SnNNcl9jD/+MPoUrd2kfKKh+ c4fFrULYH/EJV5jo7ChHAS43t+PXA==
X-ME-Sender: <xms:H6nKYC_gteUYvScwTvWZ5u0IjRyvrPG5DuC1O7v1c0W5dBQ8kccAWA> <xme:H6nKYCvKJOsOVqYnteZ0C1FbgWa2ci0Zwp9ruY8LCaXcc4ZzXcVYhTVO5pymDAo2z EbVanSdTtd_ax6gHA>
X-ME-Received: <xmr:H6nKYIAOUc2sHdfmomw8Sa6d2Nly18mLEMB6oZoRP79Hz_fp_bnlhqzTPpmSV1bBhRYeGUADqE0t6Jn8p-c-ti5RvfMDHNxnaukD32g21Um3uUOzxJVlsZ07>
X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeduledrfeeftddggeeiucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmne cujfgurheptggguffhjgffgffkfhfvofesthhqmhdthhdtjeenucfhrhhomhepofgrrhhk ucfpohhtthhinhhghhgrmhcuoehmnhhothesmhhnohhtrdhnvghtqeenucggtffrrghtth gvrhhnpeetfeelffejfffhheehfeefgedulefgueejudekieegvdeghefffedvheffieel keenucffohhmrghinhepmhhnohhtrdhnvghtnecuvehluhhsthgvrhfuihiivgeptdenuc frrghrrghmpehmrghilhhfrhhomhepmhhnohhtsehmnhhothdrnhgvth
X-ME-Proxy: <xmx:H6nKYKeYbeFkfz-RQ2EpMcXFb0siXM4rTBBV-jH5or3dPXno5htlpg> <xmx:H6nKYHPNBzsPHBB8PVINuw9qT2l1IIquqgbbMhNpOCvGq8BpbDJWCw> <xmx:H6nKYElo0sXaqTIYA4mNej2U5VfZW_KNYYRTF5zQu7wFnegniKVF9A> <xmx:IanKYDCvp59T3NUbqyF_Lpyk9sL00Y61rcbw8sXHfOo2VuYeST7fNQ>
Received: by mail.messagingengine.com (Postfix) with ESMTPA; Wed, 16 Jun 2021 21:45:02 -0400 (EDT)
Content-Type: text/plain; charset="utf-8"
Mime-Version: 1.0 (Mac OS X Mail 14.0 \(3654.100.0.2.22\))
From: Mark Nottingham <mnot@mnot.net>
In-Reply-To: <162387594905.23641.14127507690244359885@ietfa.amsl.com>
Date: Thu, 17 Jun 2021 11:44:58 +1000
Cc: The IESG <iesg@ietf.org>, draft-ietf-httpbis-semantics@ietf.org, HTTP Working Group <ietf-http-wg@w3.org>, Tommy Pauly <tpauly@apple.com>
Content-Transfer-Encoding: quoted-printable
Message-Id: <C80881FF-1D38-4BD0-A8B0-7A693C05B341@mnot.net>
References: <162387594905.23641.14127507690244359885@ietfa.amsl.com>
To: Benjamin Kaduk <kaduk@mit.edu>
X-Mailer: Apple Mail (2.3654.100.0.2.22)
Received-SPF: pass client-ip=66.111.4.29; envelope-from=mnot@mnot.net; helo=out5-smtp.messagingengine.com
X-W3C-Hub-DKIM-Status: validation passed: (address=mnot@mnot.net domain=mnot.net), signature is good
X-W3C-Hub-DKIM-Status: validation passed: (address=mnot@mnot.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_H4=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 1lth5n-0005Bt-QT c47d0d832be628e261ddf5e291fd8379
X-Original-To: ietf-http-wg@w3.org
Subject: Re: Benjamin Kaduk's Discuss on draft-ietf-httpbis-semantics-16: (with DISCUSS and COMMENT)
Archived-At: <https://www.w3.org/mid/C80881FF-1D38-4BD0-A8B0-7A693C05B341@mnot.net>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/38902
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>

Hi Ben,

> On 17 Jun 2021, at 6:39 am, Benjamin Kaduk via Datatracker <noreply@ietf.org> wrote:
> 
> ----------------------------------------------------------------------
> DISCUSS:
> ----------------------------------------------------------------------
> 
> Thank you for this quite masterfully done mammoth undertaking!  I expect
> to ballot Yes pending discussion of one point.
> 
> I'm looking at the following text in Section 4.3.4 relating to how to
> handle certificate validation failures for https:
> 
>   If the certificate is not valid for the URI's origin server, a user
>   agent MUST either notify the user (user agents MAY give the user an
>   option to continue with the connection in any case) or terminate the
>   connection with a bad certificate error.  [...]
> 
> Given the discussion up in §3.5 about requirements to "notify" the user
> vs requiring "confirmation" from the user, I don't think that just "MUST
> notify the user" is sufficient to prevent the user-agent from
> continuing, since it is sufficient to just write a log entry as the
> means to notify the user.  Is the intent to require confirmation of the
> action to continue in the face of such an error (which, again per §3.5
> could be a pre-configured confirmation)?  An intent to require
> "confirmation" (vs mere "notification") seems consistent with the
> subsequent text placing requirements on automated clients and would be
> more consistent with my understanding of general IETF consensus for
> securing protocols

Good catch. I think that 'notify the user' --> 'obtain confirmation from the user' is the right change here (possibly with a reference to 3.5).

Anyone disagree?

Cheers,


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