Re: Digests, signatures and chunk extensions

Julian Reschke <julian.reschke@gmx.de> Thu, 01 December 2022 17:07 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 F41B1C14F6EC for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Thu, 1 Dec 2022 09:07:55 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -5.049
X-Spam-Level:
X-Spam-Status: No, score=-5.049 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.25, MAILING_LIST_MULTI=-1, NICE_REPLY_A=-0.001, RCVD_IN_DNSWL_MED=-2.3, RCVD_IN_MSPIKE_H2=-0.001, RCVD_IN_ZEN_BLOCKED_OPENDNS=0.001, SPF_PASS=-0.001, URIBL_BLOCKED=0.001, URIBL_DBL_BLOCKED_OPENDNS=0.001, URIBL_ZEN_BLOCKED_OPENDNS=0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=gmx.de
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 ftyB0GRP8wLB for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Thu, 1 Dec 2022 09:07:51 -0800 (PST)
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 46301C14F725 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Thu, 1 Dec 2022 09:07:50 -0800 (PST)
Received: from lists by lyra.w3.org with local (Exim 4.94.2) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1p0n2A-006GCG-9k for ietf-http-wg-dist@listhub.w3.org; Thu, 01 Dec 2022 17:07:38 +0000
Resent-Date: Thu, 01 Dec 2022 17:07:38 +0000
Resent-Message-Id: <E1p0n2A-006GCG-9k@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 <julian.reschke@gmx.de>) id 1p0n29-006GBJ-BI for ietf-http-wg@listhub.w3.org; Thu, 01 Dec 2022 17:07:37 +0000
Received: from mout.gmx.net ([212.227.15.18]) by titan.w3.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from <julian.reschke@gmx.de>) id 1p0n27-003S2F-Gu for ietf-http-wg@w3.org; Thu, 01 Dec 2022 17:07:37 +0000
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=gmx.de; s=s31663417; t=1669914442; bh=lAHZCt9Tcn0PQJiOhDmRwANldYivUdk1S4uASawc+5g=; h=X-UI-Sender-Class:Date:Subject:To:References:From:In-Reply-To; b=VSnEho//zDg9lcqagScUApClbE9+z5jd/ZDZHck2Y/cHvOQgCSy327kBUXsbj6+DA FJepeqb9fGZrht3e/spWn4ZIUHwkmc4bkMC5pXBcrqW4Pnj+KlqASmeqPjWvPamecM cRr3sB5Yjzs4xMie585R2ccB1Xg4HaUo3Q2J83WOdr/L0vYNiBHCRBiE5tk4wRZwqA IYpguPV8Y9n27MdoBUYnCAAcjqZkNfnr7QiQSN0ilvbhkYPQh9EL87rUqJgZ42TfPe Y6uE4KszohhyzgjE/JhBTID80MI7EydvWktubf/rDO4W/3L87HLpA0dT8k6XU2VZCx PwKIGubYsqcfA==
X-UI-Sender-Class: 724b4f7f-cbec-4199-ad4e-598c01a50d3a
Received: from [192.168.178.179] ([91.61.63.177]) by mail.gmx.net (mrgmx005 [212.227.17.190]) with ESMTPSA (Nemesis) id 1Mo6qv-1odHiz1ME7-00pYzb for <ietf-http-wg@w3.org>; Thu, 01 Dec 2022 18:07:22 +0100
Message-ID: <668733a2-6249-5c7a-1d91-7820cd9d58d6@gmx.de>
Date: Thu, 01 Dec 2022 18:07:21 +0100
MIME-Version: 1.0
User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:102.0) Gecko/20100101 Thunderbird/102.5.0
Content-Language: en-US
To: ietf-http-wg@w3.org
References: <cfacd6ca-4a9d-5df7-4d48-1925b503bc8c@rd.bbc.co.uk> <CALGR9ob8u3FwUuZZs+f=wdmWXTB4qzN_d2W7rYOc_pG_-n3eJQ@mail.gmail.com> <3d5d6f2c-5568-a48d-3f1b-57b56da42c8d@rd.bbc.co.uk> <Y4jcmt9a0C43zjbK@LK-Perkele-VII2.locald>
From: Julian Reschke <julian.reschke@gmx.de>
In-Reply-To: <Y4jcmt9a0C43zjbK@LK-Perkele-VII2.locald>
Content-Type: text/plain; charset="UTF-8"; format="flowed"
Content-Transfer-Encoding: quoted-printable
X-Provags-ID: V03:K1:BrI9Nklx54eM8P+Mnu4YpkJhbHrBbJFtlbpkp9LKem/ywagYrqX FimE1CreCkBDj/0oa3zvGRORwQVaoOfnP1Bn0Rnia0Xtg+LKVCaMcw+n8GnBecvAKysKoY4 jHmz9eAKaZfoTtGLChQ2eBBmmgUNwa9lRKvzrTDYHqy87kAygQHCJBLlABVM2FIEHLAqOcW hN6fh/Bihl/ob6seXir3g==
UI-OutboundReport: notjunk:1;M01:P0:+qPnsSp4kyI=;TZ2iImm12bUzyo5BuKQaY/V0sX1 +3NFC758UqDNwEGi2ALCjaiHC8ZMnxDawNw5gMiv4vMSGv6tdgPAw/iwXrIR1JkLbrDZXNgTl etNwJg2EFCeZTnQjvcAcecpTT3iFKpH+OiwdrKVNmAC64i08TIKfsEM+CgkrkHsNYqiwl+Tza 6HDrRuUcI/NpuohCt47vgNlGgD2GYbo+qH74LoxN9MFOl08E2Sn4bUUoho+H6hKuTp62mMgul nncqsO9dt05MyZhaXRzuQRhZVlZWUIKTWd6WVtmwCJQj45Gsyu0oW/SbTof+EThJzYojJbrLQ Sp5oaaGNrNVCTKdZbR/QtSnIK14551aFebcAmsLRKpSWFQ02M0Bcc8uYCz1qx7tR15tXxwmAB kHCfAxgmZf5ARl0Tq2ujuVzp66NVW4qZIJXzCNKXw2R5VAl2NNbrWbmfBpm5tZNyRbs+JNtw7 jJ+GtNK7GrwUQupC19rZE05cINu823+9sd6kTIM3VNS4rGsEgB+/AZf+4VSCRV3mVBlbn2vmu DpwRXagDJz2snmHmYssY+r4FFV6ShwWQyav4f0g8wNt+B1aJ4c5rH+OsGweRy4BpDs0lm/Vjv xZaS6xDY1XZWQUNrGfVYUx+vRgQAtEPzG2LnsDUSX3s99X2lpnEm0jkjZTB3GBbv0454ztTd5 W/Zy9nG26sicNDIrmQZRl9WURkA1XaIvXWMR+F+3NR0b05vzlvwJzmRW/WY6+oLhIByTGNtO/ RWDIEgsCwjZVgweqBVuApz8tVkrIFwhmISUka0OlzK4V+2ddC+PA/Vm/nnc/LQ2oHGoNCNp4U dIxDvig851GVEzCDJm2djEFq5ZvqMsYYtPwgdnS8X3bu5l6jvuGZu+d0Q+iikkaWYviSuXnv2 ROq/+mI297rML3LcWYNGTxrUzHU5W2d9pX7fdiyMb0Ot37/4MKKg1fyUAT6lMJJLQ2u+zqo1x /ksvgC4TA3cU/VWpswg/192iplo=
Received-SPF: pass client-ip=212.227.15.18; envelope-from=julian.reschke@gmx.de; helo=mout.gmx.net
X-W3C-Hub-DKIM-Status: validation passed: (address=julian.reschke@gmx.de domain=gmx.de), 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, FREEMAIL_FROM=0.001, NICE_REPLY_A=-0.257, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H2=-0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, W3C_AA=-1, W3C_IRA=-1, W3C_WL=-1
X-W3C-Scan-Sig: titan.w3.org 1p0n27-003S2F-Gu fcdadd804f7ef79824579ead4beb1b29
X-Original-To: ietf-http-wg@w3.org
Subject: Re: Digests, signatures and chunk extensions
Archived-At: <https://www.w3.org/mid/668733a2-6249-5c7a-1d91-7820cd9d58d6@gmx.de>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/40593
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 01.12.2022 17:55, Ilari Liusvaara wrote:
> On Thu, Dec 01, 2022 at 04:30:18PM +0000, Samuel Hurst wrote:
>> Hi Lucas,
>>
>> On 01/12/2022 16:20, Lucas Pardue wrote:
>>> Hiya Sam,
>>>
>>> This sounds like something that the MICE (Merkle Integrity Content
>>> Encoding( draft [1] might help you solve?
>>>
>>> Cheers,
>>> Lucas
>>>
>>> [1] - https://datatracker.ietf.org/doc/draft-thomson-http-mice/
>>
>> Thanks for the quick response. At first glance, this looks like it
>> could be what I'm after. Any pointers towards any implementations
>> would be very gratefully received!
>
> Looking at the draft, I do not think it fits your usecase. Specifically,
> it seemingly requires the entiere rest of response to be available to
> even start sending, which is obviously not going to work for live
> streaming.
>
> And with regards to chunk extensions, use of those is essentially
> unspecified, and virtually all implementations just ignore those.

You make it sound as if Martin's content coding uses chunk extensions -
that is not the case.

> Nominally, HTTP/2 has middlers (HEADERS that is not End of Stream
> after initial request/final response) where one could stuff weird
> out-of-band metadata, but sending those will probably make a lot of
> implementations to either puke or become very confused.
> I do not know if HTTP/3 can send middlers.
>
> Obviously, none of this will work through any forward or reverse
> proxies.

When we worked on RFC 9110, we tried to define the generic concept of
middlers (for use in H/3), but were told to back them out :-(.

Best regards, Julian