Re: signatures vs sf-date

Lucas Pardue <lucaspardue.24.7@gmail.com> Mon, 23 January 2023 17:04 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 2B473C15C503 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Mon, 23 Jan 2023 09:04:02 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -7.75
X-Spam-Level:
X-Spam-Status: No, score=-7.75 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, HTML_MESSAGE=0.001, MAILING_LIST_MULTI=-1, RCVD_IN_DNSWL_HI=-5, RCVD_IN_MSPIKE_H2=-0.001, RCVD_IN_ZEN_BLOCKED_OPENDNS=0.001, SPF_PASS=-0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=gmail.com
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 Jk6eWNIfrwLe for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Mon, 23 Jan 2023 09:04:01 -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 9AB6BC1526FB for <httpbisa-archive-bis2Juki@lists.ietf.org>; Mon, 23 Jan 2023 09:04:01 -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 1pK0EM-005VCz-9b for ietf-http-wg-dist@listhub.w3.org; Mon, 23 Jan 2023 17:03:38 +0000
Resent-Date: Mon, 23 Jan 2023 17:03:38 +0000
Resent-Message-Id: <E1pK0EM-005VCz-9b@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 <lucaspardue.24.7@gmail.com>) id 1pK0EL-005VC7-Ah for ietf-http-wg@listhub.w3.org; Mon, 23 Jan 2023 17:03:37 +0000
Received: from mail-oa1-x32.google.com ([2001:4860:4864:20::32]) by titan.w3.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256 (Exim 4.94.2) (envelope-from <lucaspardue.24.7@gmail.com>) id 1pK0EI-0049gW-5c for ietf-http-wg@w3.org; Mon, 23 Jan 2023 17:03:37 +0000
Received: by mail-oa1-x32.google.com with SMTP id 586e51a60fabf-15b9c93848dso14707848fac.1 for <ietf-http-wg@w3.org>; Mon, 23 Jan 2023 09:03:35 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:from:to:cc:subject:date:message-id:reply-to; bh=aklJxo4OkwkjEI8lVH4A9xxrInNjH1SRwNL6N9viUyg=; b=NSSA5nTAqSPNBwqDYfiicaLB4/yHfLMF+QZFKNm69lK/ocN2CjlaJRGvD1q5O8atp/ 2ESt18le6KxSAbfLm6py7D/adF1w2Do4rf8EPUQABAImUDGMKnkEwXwSH6fHlAjAUb1Q jyc+BOjspX7arDP22oJY1ct+ojG4Hgqj9PzFiqlErFB8TFXuNEDB2+gE77xBRgs3r8N5 QvcMtSmsCW5PAi63rmPahBCp2yogZBTJcAaboI6Ik+cvrknUZat5L3uduHux6fDF3faG 6gJCBEDByXrNEjZokTpQcepgiEUkIrVmyzlQiUQRHIq3hagaBtc6QmDNkmFKJ4cP51jX 8NDg==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=aklJxo4OkwkjEI8lVH4A9xxrInNjH1SRwNL6N9viUyg=; b=LLLQiLz5L8aMxcMYa6j4JFXTL98227HwWSBXAhsndyu4L97z1C4LqXfKb+lIUVO0cU LNOKrHE9ZpYCSc4emYWRMqOIeOFnjZ2U+fWEByc7uYu6R0NzZx9WHU4ko5NO/ZMrItVR zFh9j0qe9jD8tiEkcN/hBzoPnFPbMybhKQZL49Bay0u5DE3p5YvFlHrXWTFW+rWGEdY3 YEUvIaL76co7Fr0nXvUnPXf+7sn1ipT1ZSK8lSmH9r24OlpR6VnHD2QcvoQI2/jjesku E5SE6W1k23hKwLP9wTeTELd3tf3XXbqjNxHWH8DbLI4n+sOUdISKyRL846GmKZQd+UOm s5rA==
X-Gm-Message-State: AFqh2krLXEF89e0VIV5mJZVG0aj8EL83UYoOMvSmGYOFH3YeE36/k4YX /dEvrElWtQJHcrMwZ23GIQRxzG2Mf5ZEYwaabfv77r4h
X-Google-Smtp-Source: AMrXdXvfAys7Q1B4fkpfpyBMynCvkupfXPLOhBrURg9tMTy0Ix9ajIeKEne89vHYNrDVGFk0WXo5dCtxIa9sBLBUHDw=
X-Received: by 2002:a05:6870:6605:b0:14f:bdc3:ab23 with SMTP id gf5-20020a056870660500b0014fbdc3ab23mr2368485oab.240.1674493404681; Mon, 23 Jan 2023 09:03:24 -0800 (PST)
MIME-Version: 1.0
References: <2070c8e0-98d6-7b63-77c3-550bcd661397@gmx.de> <8b547e17-1f24-ff1f-90d1-ec4c974de88f@gmx.de> <FEA9B22C-B3AC-48D0-B4AC-64BADB8E8F18@mnot.net> <a4cae48c-960f-0edb-33c5-19e01b7e4093@gmx.de> <CALGR9oZMYhB8MXZzJHjb1QM+x7f3w_bENDLDqr39+BR5=t5r3w@mail.gmail.com> <4e63a31d-1168-2736-53f1-13b80a03dd05@gmx.de>
In-Reply-To: <4e63a31d-1168-2736-53f1-13b80a03dd05@gmx.de>
From: Lucas Pardue <lucaspardue.24.7@gmail.com>
Date: Mon, 23 Jan 2023 17:03:13 +0000
Message-ID: <CALGR9oaM+ZsN8EbFdUAKe468bZAJA=tW7BKq2E8o6WtXp728qQ@mail.gmail.com>
To: Julian Reschke <julian.reschke@gmx.de>
Cc: Mark Nottingham <mnot@mnot.net>, ietf-http-wg@w3.org
Content-Type: multipart/alternative; boundary="000000000000909c4505f2f1606c"
Received-SPF: pass client-ip=2001:4860:4864:20::32; envelope-from=lucaspardue.24.7@gmail.com; helo=mail-oa1-x32.google.com
X-W3C-Hub-DKIM-Status: validation passed: (address=lucaspardue.24.7@gmail.com domain=gmail.com), signature is good
X-W3C-Hub-Spam-Status: No, score=-4.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, FREEMAIL_ENVFROM_END_DIGIT=0.25, FREEMAIL_FROM=0.001, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_NONE=-0.0001, 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 1pK0EI-0049gW-5c 8c41573bcc3cfba2bc569821bf881e69
X-Original-To: ietf-http-wg@w3.org
Subject: Re: signatures vs sf-date
Archived-At: <https://www.w3.org/mid/CALGR9oaM+ZsN8EbFdUAKe468bZAJA=tW7BKq2E8o6WtXp728qQ@mail.gmail.com>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/40703
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 Mon, Jan 23, 2023 at 4:09 PM Julian Reschke <julian.reschke@gmx.de>
wrote:

> Bare items are simple; there's no optionality involved.
>
> What about a dictionary, where you're only looking for "x" (expected to
> be an integer), but the sender adds an extension parameter "y" as sf-date?
>
> A conforming parser (of the current spec) will reject the whole field
> value, and the recipient will not be able to see the value for "x".
>

Yeah, thats what happens in sfv, it fails the Dictionary parse and there's
no structured way to work around that :-(

Cheers,
Lucas