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

"Roy T. Fielding" <fielding@gbiv.com> Sat, 24 July 2021 18:39 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 0ECC43A45CE for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Sat, 24 Jul 2021 11:39:32 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.996
X-Spam-Level:
X-Spam-Status: No, score=-2.996 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.001, MAILING_LIST_MULTI=-1, RCVD_IN_DNSWL_BLOCKED=0.001, RCVD_IN_MSPIKE_H4=0.001, RCVD_IN_MSPIKE_WL=0.001, SPF_PASS=-0.001, URIBL_BLOCKED=0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (1024-bit key) header.d=gbiv.com
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 RMzaRIRVSfoT for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Sat, 24 Jul 2021 11:39:27 -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 696AC3A45CD for <httpbisa-archive-bis2Juki@lists.ietf.org>; Sat, 24 Jul 2021 11:39:26 -0700 (PDT)
Received: from lists by lyra.w3.org with local (Exim 4.92) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1m7MVY-0005OD-G5 for ietf-http-wg-dist@listhub.w3.org; Sat, 24 Jul 2021 18:36:20 +0000
Resent-Date: Sat, 24 Jul 2021 18:36:20 +0000
Resent-Message-Id: <E1m7MVY-0005OD-G5@lyra.w3.org>
Received: from titan.w3.org ([128.30.52.76]) by lyra.w3.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from <fielding@gbiv.com>) id 1m7MVX-0005NR-2M for ietf-http-wg@listhub.w3.org; Sat, 24 Jul 2021 18:36:19 +0000
Received: from eastern.birch.relay.mailchannels.net ([23.83.209.55]) by titan.w3.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from <fielding@gbiv.com>) id 1m7MVV-0007JK-3l for ietf-http-wg@w3.org; Sat, 24 Jul 2021 18:36:18 +0000
X-Sender-Id: dreamhost|x-authsender|fielding@gbiv.com
Received: from relay.mailchannels.net (localhost [127.0.0.1]) by relay.mailchannels.net (Postfix) with ESMTP id 6A40D7E1C29; Sat, 24 Jul 2021 18:36:04 +0000 (UTC)
Received: from pdx1-sub0-mail-a32.g.dreamhost.com (100-96-27-225.trex-nlb.outbound.svc.cluster.local [100.96.27.225]) (Authenticated sender: dreamhost) by relay.mailchannels.net (Postfix) with ESMTPA id 6C6897E1B2C; Sat, 24 Jul 2021 18:36:03 +0000 (UTC)
X-Sender-Id: dreamhost|x-authsender|fielding@gbiv.com
Received: from pdx1-sub0-mail-a32.g.dreamhost.com (pop.dreamhost.com [64.90.62.162]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384) by 100.96.27.225 (trex/6.3.3); Sat, 24 Jul 2021 18:36:04 +0000
X-MC-Relay: Neutral
X-MailChannels-SenderId: dreamhost|x-authsender|fielding@gbiv.com
X-MailChannels-Auth-Id: dreamhost
X-Cooperative-Fearful: 1a341be10a2cc98f_1627151764192_970863970
X-MC-Loop-Signature: 1627151764192:1407699381
X-MC-Ingress-Time: 1627151764191
Received: from pdx1-sub0-mail-a32.g.dreamhost.com (localhost [127.0.0.1]) by pdx1-sub0-mail-a32.g.dreamhost.com (Postfix) with ESMTP id 2F1E0803FB; Sat, 24 Jul 2021 11:36:03 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=gbiv.com; h=content-type :mime-version:subject:from:in-reply-to:date:cc :content-transfer-encoding:message-id:references:to; s=gbiv.com; bh=uBV+bbEZHZIurCHmjVr2qaQ9IqI=; b=ToNZygzU/1jV7Zis091WgMgicf/o xSHuTImQunGrlAjjUFdk8wVC+LZBt1HApYKL6+zWqE/XRB7ekwWrFbn9fa+jCqGc FbF+7d8yjNfFzkD7DBgnUbZDT1Pl+fGZTQ/7kuGPDVdikzOl0+pfgbzQQ8d2iVJ9 pBENJtl3O8vRMfg=
Received: from [192.168.1.19] (ip68-101-102-139.oc.oc.cox.net [68.101.102.139]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) (Authenticated sender: fielding@gbiv.com) by pdx1-sub0-mail-a32.g.dreamhost.com (Postfix) with ESMTPSA id B36CA87619; Sat, 24 Jul 2021 11:35:59 -0700 (PDT)
Content-Type: text/plain; charset="utf-8"
Mime-Version: 1.0 (Mac OS X Mail 13.4 \(3608.120.23.2.7\))
X-DH-BACKEND: pdx1-sub0-mail-a32
From: "Roy T. Fielding" <fielding@gbiv.com>
In-Reply-To: <20210617025013.GT11634@kduck.mit.edu>
Date: Sat, 24 Jul 2021 11:35:57 -0700
Cc: Mark Nottingham <mnot@mnot.net>, 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: <B46D7A9A-83D8-49B6-91BC-2450CE482717@gbiv.com>
References: <162387594905.23641.14127507690244359885@ietfa.amsl.com> <C80881FF-1D38-4BD0-A8B0-7A693C05B341@mnot.net> <20210617025013.GT11634@kduck.mit.edu>
To: Benjamin Kaduk <kaduk@mit.edu>
X-Mailer: Apple Mail (2.3608.120.23.2.7)
Received-SPF: pass client-ip=23.83.209.55; envelope-from=fielding@gbiv.com; helo=eastern.birch.relay.mailchannels.net
X-W3C-Hub-DKIM-Status: validation passed: (address=fielding@gbiv.com domain=gbiv.com), signature is good
X-W3C-Hub-Spam-Status: No, score=-6.1
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_NONE=-0.0001, RCVD_IN_MSPIKE_H2=-0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, W3C_AA=-1, W3C_DB=-1, W3C_IRA=-1, W3C_WL=-1
X-W3C-Scan-Sig: titan.w3.org 1m7MVV-0007JK-3l 1caeacc750598bbdb3c753ad94a27105
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/B46D7A9A-83D8-49B6-91BC-2450CE482717@gbiv.com>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/39075
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 Jun 16, 2021, at 7:50 PM, Benjamin Kaduk <kaduk@mit.edu> wrote:
> 
> Hi Mark,
> 
> On Thu, Jun 17, 2021 at 11:44:58AM +1000, Mark Nottingham wrote:
>> 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?
> 
> Not I -- that sounds good to me.
> The parenthetical might want a bit of reworking (or removal?) as a
> follow-up, though.
> 
> Thanks,
> 
> Ben

We almost forgot this one.  Done in

 https://github.com/httpwg/http-core/commit/d93cc5f1a5f72e0d45529871fdd2d20395f6dbda

....Roy