Re: Bikeshed: "context" parameter for signatures

Lucas Pardue <lucaspardue.24.7@gmail.com> Fri, 23 September 2022 17:34 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 6C99AC1522DD for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Fri, 23 Sep 2022 10:34:04 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.761
X-Spam-Level:
X-Spam-Status: No, score=-2.761 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, HTML_MESSAGE=0.001, MAILING_LIST_MULTI=-1, RCVD_IN_DNSWL_BLOCKED=0.001, RCVD_IN_MSPIKE_H2=-0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01] 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 C8OWw-1BaVlQ for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Fri, 23 Sep 2022 10:33:59 -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 2D4FFC1522D1 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Fri, 23 Sep 2022 10:33:58 -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 1obmYb-00GKg8-RV for ietf-http-wg-dist@listhub.w3.org; Fri, 23 Sep 2022 17:33:45 +0000
Resent-Date: Fri, 23 Sep 2022 17:33:45 +0000
Resent-Message-Id: <E1obmYb-00GKg8-RV@lyra.w3.org>
Received: from mimas.w3.org ([128.30.52.79]) 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 1obmYZ-00GKfA-UN for ietf-http-wg@listhub.w3.org; Fri, 23 Sep 2022 17:33:43 +0000
Received: from mail-ot1-x334.google.com ([2607:f8b0:4864:20::334]) by mimas.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 1obmYX-002Zy1-Sg for ietf-http-wg@w3.org; Fri, 23 Sep 2022 17:33:43 +0000
Received: by mail-ot1-x334.google.com with SMTP id cm7-20020a056830650700b006587fe87d1aso450998otb.10 for <ietf-http-wg@w3.org>; Fri, 23 Sep 2022 10:33:41 -0700 (PDT)
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; bh=HCV4g5ezIQuE+ezafrspR3wVArDHy39uYlwziyNCuwk=; b=Xtu1NFN7K5qsEUyeit6x/lr9VOoVmq2GmjYi1/Wn3ODjphgRPAnknigW372tlmyaa5 vwVo36QOcjIeHC4WBcsfFrpDvrkgUU7dx2yib6Koo430C5qZb7Z8gSIj1XmppTyBMt5a Ex+4buNXCfMvaDuihxfQu/wwYogozkRVX5GIA4idXn+KTPScvGioE3DTDtQCRz2JiqJr oM7/qFKeKesS3zx2xzqX/70dOPQZN0X1Q0EFqohDkFctmHiL52YTK77zdeelhcCyQaaf qtfxR/vqbhZXr4etAXU8uIrDxyV3qFEdLyXLaIHvkW0luDkK9o5wgY7CdNSebaxdXECP PEKg==
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; bh=HCV4g5ezIQuE+ezafrspR3wVArDHy39uYlwziyNCuwk=; b=EVEOFZdNCl8VgSgtoF3ji9Nm56uoXJoPWkGcU7aFKpQJGD2eCA8xrYP674rLSE9ZNh GrLK1Cjbq680I7tkXPO43eJ9StZgo82EnSscBMDBiBUVExrL/Y2iRwVIOfMvZ98gNZ/1 Fv8LrOoONZ6V2Xy2aGZW6n3CqOwySMaf3EaXTBBjN0cndbMlYUyDZKTlfe25PmP9hxLK R7Ru5vZSAM81yDL3u5ryP/YKBtqMWuDcmbKUqh/pRRr7HZ9heENWIwD1DNEWqZbPCDkN 6yl3vFi7tDx8Tz+QKYVP2X/v40/VwT3DEbvx+TvxmXuK/VpiaKIREYmn/ZCTxVCus0GX v8rg==
X-Gm-Message-State: ACrzQf0ivdHlDMhF9fmr/5I1FAhJqUYFJVVe+nCMYgmIVsRad6oml6dY v1TPIlIUHV3KbsUDFpZboluLnR8AmnEUZRsuJpw=
X-Google-Smtp-Source: AMsMyM56vl/He0iweYiy8JCZL9l+qaa2GStKyW6Y1Kw6JAm4j2UQDMf1Rjl/cajW1U11pOYdPj30Tpu4b7Zc8fOtS/U=
X-Received: by 2002:a05:6830:165a:b0:654:edd:d5c with SMTP id h26-20020a056830165a00b006540edd0d5cmr4460037otr.280.1663954410889; Fri, 23 Sep 2022 10:33:30 -0700 (PDT)
MIME-Version: 1.0
References: <54FD011B-AD69-4354-A1A1-D6F019DCB541@mit.edu> <CAGQ3E+eLfq5rLVnmjaLVh1oepTVD+Mgtko4mUpvigWRxEwvBpA@mail.gmail.com> <8FD4B671-76CB-4FC4-89A0-5FD125E843D5@amazon.com>
In-Reply-To: <8FD4B671-76CB-4FC4-89A0-5FD125E843D5@amazon.com>
From: Lucas Pardue <lucaspardue.24.7@gmail.com>
Date: Fri, 23 Sep 2022 18:33:19 +0100
Message-ID: <CALGR9oYWVzNB8AG51AW4g=VRWG42bS9sExcNU5PO9nXYo+NPug@mail.gmail.com>
To: "Backman, Annabelle" <richanna@amazon.com>
Cc: Tyler Ham <tyler@thamtech.com>, Justin Richer <jricher@mit.edu>, HTTP Working Group <ietf-http-wg@w3.org>
Content-Type: multipart/alternative; boundary="00000000000095650e05e95b93ed"
Received-SPF: pass client-ip=2607:f8b0:4864:20::334; envelope-from=lucaspardue.24.7@gmail.com; helo=mail-ot1-x334.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: mimas.w3.org 1obmYX-002Zy1-Sg ea564cd251dd64cffb26e92a435f0add
X-Original-To: ietf-http-wg@w3.org
Subject: Re: Bikeshed: "context" parameter for signatures
Archived-At: <https://www.w3.org/mid/CALGR9oYWVzNB8AG51AW4g=VRWG42bS9sExcNU5PO9nXYo+NPug@mail.gmail.com>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/40407
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>

"tag" or "label" sound like good options to me.

On Fri, Sep 23, 2022 at 5:54 PM Backman, Annabelle <richanna@amazon.com>
wrote:

> "appdata" doesn't address the structured data concerns Justin raised,
> which I agree with.
>
> I like "tag" or "label", as they capture both the variable,
> application-defined meaning of this parameter's value, and its optionality.
>
> —
> Annabelle Backman (she/her)
> richanna@amazon.com
>
>
>
>
> On Sep 22, 2022, at 11:53 AM, Tyler Ham <tyler@thamtech.com> wrote:
>
> *CAUTION*: This email originated from outside of the organization. Do not
> click links or open attachments unless you can confirm the sender and know
> the content is safe.
>
> My first thought when I see the labels "app" and "application" is that the
> value is meant to be the name of an application.
>
> How about something like "appdata"? This changes the noun to a generic
> "data", but it keeps "app" in there as an adjective to indicate that this
> parameter is for something application-specific.
>
> Tyler
>
>
> On Thu, Sep 22, 2022, 8:43 AM Justin Richer <jricher@mit.edu> wrote:
>
>> I missed an issue that had been filed (but not tagged) prior to the
>> publication of signatures-12, and it asks a pretty simple question:
>>
>> We added a “context” parameter to allow applications to put a specific
>> string that the application can recognize into the signature parameter set,
>> so that (for example) an authz protocol can declare that a specific value
>> be used or a cloud deployment can have all of its proxies use the same
>> value. However, the term “context” is used in other ways in the spec, so
>> it’s not the best term to use for this new parameter. The proposal is to
>> change “context” to “application” or even the shorter “app”:
>>
>> https://github.com/httpwg/http-extensions/issues/2249
>>
>>
>> I’d like to do a quick bike shed on this parameter name here, for anyone
>> who has an opinion. Since it’s newer, existing libraries mostly don’t have
>> it supported yet so if we’re going to change it we should change it right
>> now.
>>
>>
>> Thanks,
>>  — Justin
>>
>
>