Re: [Technical Errata Reported] RFC7616 (7005)

Joe Orton <joe@manyfish.co.uk> Fri, 19 August 2022 13:36 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 4D0AFC14CF17 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Fri, 19 Aug 2022 06:36:37 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.659
X-Spam-Level:
X-Spam-Status: No, score=-2.659 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, HEADER_FROM_DIFFERENT_DOMAINS=0.249, MAILING_LIST_MULTI=-1, RCVD_IN_MSPIKE_H2=-0.001, RCVD_IN_ZEN_BLOCKED_OPENDNS=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01, URIBL_BLOCKED=0.001, URIBL_DBL_BLOCKED_OPENDNS=0.001, URIBL_ZEN_BLOCKED_OPENDNS=0.001] autolearn=ham autolearn_force=no
Received: from mail.ietf.org ([50.223.129.194]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id wJJZ163SjCCj for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Fri, 19 Aug 2022 06:36:33 -0700 (PDT)
Received: from lyra.w3.org (lyra.w3.org [128.30.52.18]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (P-256) server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 9DC0BC14CF15 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Fri, 19 Aug 2022 06:36:33 -0700 (PDT)
Received: from lists by lyra.w3.org with local (Exim 4.94.2) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1oP281-00ERMw-BC for ietf-http-wg-dist@listhub.w3.org; Fri, 19 Aug 2022 13:33:37 +0000
Resent-Date: Fri, 19 Aug 2022 13:33:37 +0000
Resent-Message-Id: <E1oP281-00ERMw-BC@lyra.w3.org>
Received: from titan.w3.org ([128.30.52.76]) by lyra.w3.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from <joe@manyfish.co.uk>) id 1oP27w-00ERM3-8U for ietf-http-wg@listhub.w3.org; Fri, 19 Aug 2022 13:33:32 +0000
Received: from draba.manyfish.co.uk ([81.187.127.137]) by titan.w3.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from <joe@manyfish.co.uk>) id 1oP27u-001TXk-Oc for ietf-http-wg@w3.org; Fri, 19 Aug 2022 13:33:31 +0000
Received: from ricotia.manyfish.co.uk ([172.17.3.108] helo=manyfish.co.uk) by draba.manyfish.co.uk with esmtps (TLS1.3) tls TLS_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from <joe@manyfish.co.uk>) id 1oP27X-0056qI-9n; Fri, 19 Aug 2022 14:33:07 +0100
Date: Fri, 19 Aug 2022 14:33:02 +0100
From: Joe Orton <joe@manyfish.co.uk>
To: RFC Errata System <rfc-editor@rfc-editor.org>
Cc: rifaat.ietf@gmail.com, ahrensdc@gmail.com, sophie.bremer@netzkonform.de, rdd@cert.org, paul.wouters@aiven.io, ynir.ietf@gmail.com, patrick.ni@redant.ca, ietf-http-wg@w3.org
Message-ID: <Yv+RDpxH47JICX22@manyfish.co.uk>
References: <20220623213241.CD95EAEAB@rfcpa.amsl.com>
MIME-Version: 1.0
Content-Type: text/plain; charset="utf-8"
Content-Disposition: inline
In-Reply-To: <20220623213241.CD95EAEAB@rfcpa.amsl.com>
Received-SPF: pass client-ip=81.187.127.137; envelope-from=joe@manyfish.co.uk; helo=draba.manyfish.co.uk
X-W3C-Hub-Spam-Status: No, score=-3.9
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01, W3C_AA=-1, W3C_WL=-1
X-W3C-Scan-Sig: titan.w3.org 1oP27u-001TXk-Oc 9e33cae88c8cf8b052bf6f7d109c5a12
X-Original-To: ietf-http-wg@w3.org
Subject: Re: [Technical Errata Reported] RFC7616 (7005)
Archived-At: <https://www.w3.org/mid/Yv+RDpxH47JICX22@manyfish.co.uk>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/40333
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 23, 2022 at 02:32:41PM -0700, RFC Errata System wrote:
> The following errata report has been submitted for RFC7616,
> "HTTP Digest Access Authentication".
> 
> --------------------------------------
> You may review the report below and at:
> https://www.rfc-editor.org/errata/eid7005

I reported this to the list a couple of years ago as well.

A partial resolution is:

Section 3.4.  Replace section about "Effective Request URI" here, which 
is wrong, because the effective request URI is completely different to 
request-target if the latter is "*".  It should read something like:

  uri
     The request-target of the HTTP request, per Section 3.1.1 of [RFC7230].
     This is duplicated here because proxies may change the request-target.

Section 3.4.3.  Replace request-uri with request-target

The examples using an abspath are then all fine.

This leaves Section 3.5, where "request-uri" is used in the rspauth 
construction. I think the only way to fix this is to actually require 
use of the effective request URI here, which is be different behaviour 
to 2617 (again for the "*" case) and possibly fragile. Is there a better 
option?

Regards, Joe