[OAUTH-WG] Re: [Technical Errata Reported] RFC7519 (8060)

Deb Cooley <debcooley1@gmail.com> Tue, 11 February 2025 11:10 UTC

Return-Path: <debcooley1@gmail.com>
X-Original-To: oauth@ietfa.amsl.com
Delivered-To: oauth@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 1AEB8C1CAE71 for <oauth@ietfa.amsl.com>; Tue, 11 Feb 2025 03:10:24 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.855
X-Spam-Level:
X-Spam-Status: No, score=-1.855 tagged_above=-999 required=5 tests=[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, SPF_HELO_NONE=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
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 irLGMH4uYe0O for <oauth@ietfa.amsl.com>; Tue, 11 Feb 2025 03:10:20 -0800 (PST)
Received: from mail-pl1-x62e.google.com (mail-pl1-x62e.google.com [IPv6:2607:f8b0:4864:20::62e]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature ECDSA (P-256) server-digest SHA256) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id B88EBC14F703 for <oauth@ietf.org>; Tue, 11 Feb 2025 03:10:08 -0800 (PST)
Received: by mail-pl1-x62e.google.com with SMTP id d9443c01a7336-21f2339dcfdso84675445ad.1 for <oauth@ietf.org>; Tue, 11 Feb 2025 03:10:08 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1739272208; x=1739877008; darn=ietf.org; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:from:to:cc:subject:date:message-id:reply-to; bh=JEAeTQRmTafRTKFZe43ue48Ptnb3/mqnk5aSsLNNkzY=; b=Px6MYgVC7mgwffq2PkAvv1Y2olR/B1Vpq4KXve1ukmVWuMq8CpqFoS8fVgFs6GReSc TPq49wuHDopETequkaXAZ4zB4dMXHQbBMcTCFsHw2v02jnuOnC3DmDgV9peXRpaZX3Wy gwYw2takomN91xwTZoO1L3H37LhdpW6BOTcGIazrhSvJHLqh6HHx2yVN+sgXrFLDm287 6EyAJpbjakbc+ANoPKZbTeJ8AGkfPp64QWxPTIpK646n2GNE0MLhg5cLza/cDc6BWN0V RQa7WwWdqHYQUCv4Z+R71pyG9GeUP1OfDEjvNZztHZnjkGS+oovhkxp04sxaPzhRIvgI zuHg==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1739272208; x=1739877008; 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=JEAeTQRmTafRTKFZe43ue48Ptnb3/mqnk5aSsLNNkzY=; b=pcuSfK5qMiF/GrhtKKky329+O2qAwvEUz706dBTC6xmo09WmvgtrhPZ0zbnvU5imDd ybHCvIBiURsOF7dGfoiApves/xW5EYPmWmX6hzhHFQxuAes3ePUCXIJYVoADTg0n2C4M sXTPHmSfNRZTYQlQVLczohsqT3risYKhKgVyo9cXf+PAwzm5ld2x/SJ6N0REAElZAaXF PG+vbp5eygsQzRG+hQMn+QRYssRdG1OtPuNIaOo+zfpJasxTorpA9Sv9Wlyqye7D8PXV /0xUSHfCLt2Gj/2jUCyhvT6YlUj2wUhcc9LkHVUAAW6u2blKKUz3Vu2x4Vvu4p8nkaea 8BOw==
X-Forwarded-Encrypted: i=1; AJvYcCUpy52LhU6+UPHVIA+cq7wc7ydWMtyZWD998FhYI8LT3Yc34nPqRHPnUqPlTiFFrId4kcn16g==@ietf.org
X-Gm-Message-State: AOJu0Yz0v6fLI3wJ8Y1AoyyS2jIwivyZfQLDjtOh2N0rG5uW6bdOTbDl RyLa47RSlRQ8wTPOGE62qzSiJwKMdDusWZlmdP8jNI2Wtol25+pCFPtIX19nAOOvsJJH1yxKSML zS/NzYxALtgLiSnJ+g/NhB0UGsAC5ZQJ7Ow==
X-Gm-Gg: ASbGncuDuQlFx407aRil2aU3rrRBDTPMN9g30A9/KJzyMdE8JUel54PvcmMVu1npf8V 97+XmpC098NxvnDy38tZM6eUVaWdlKu4TcCpDWQFPNKBhwmG7lpxhip+mxnUqIs2IhsuWzWnhd6 sHyStMyO0ihCtlbC6bPo5Ij27fOFpHEw==
X-Google-Smtp-Source: AGHT+IFCxjJxai8SBQWMHJ7MF74g2QQkNBHG8Mu4ijv+S+t8sLWvQQX3Zr5P7KoWms0uK27BeWhMcJIw4DVBoE8cPHk=
X-Received: by 2002:a17:902:c94a:b0:21f:6546:9adc with SMTP id d9443c01a7336-21fb6c1a9c9mr38979405ad.13.1739272208035; Tue, 11 Feb 2025 03:10:08 -0800 (PST)
MIME-Version: 1.0
References: <CALtWOA3-T-48T8Vp3Na45NgxuUApYrHt9GcFq_KyF9B8xkkuVA@mail.gmail.com> <CA+k3eCThwcY3Xxiv+7ns8sJe_8HbrOG3gu5JUgMFr2yZN7aU+A@mail.gmail.com> <CAGgd1Oc=VnX17-ayddGJhc7MNpX8ct_syijn2um+iNMPX=ns7g@mail.gmail.com> <CA+k3eCQg-31PsJhrWaCvLEm8qZs3jrfi3uyHkGCrjD2ifWyqJA@mail.gmail.com>
In-Reply-To: <CA+k3eCQg-31PsJhrWaCvLEm8qZs3jrfi3uyHkGCrjD2ifWyqJA@mail.gmail.com>
From: Deb Cooley <debcooley1@gmail.com>
Date: Tue, 11 Feb 2025 06:09:54 -0500
X-Gm-Features: AWEUYZnPVNtBZSdBdwkLSEYX2ZdMeBxwg2ZpcxqodNIqcQ5dDzkcEbiVnEkQ-HQ
Message-ID: <CAGgd1OeakM8cUmryMZ7PUtBL+m9gVbK-5+Q1B5m=GYq8BAeKaw@mail.gmail.com>
To: Brian Campbell <bcampbell@pingidentity.com>
Content-Type: multipart/alternative; boundary="00000000000020b969062ddbde15"
Message-ID-Hash: LCAQW3STTSQQX2RRGG3DIGJGHIXLDLLD
X-Message-ID-Hash: LCAQW3STTSQQX2RRGG3DIGJGHIXLDLLD
X-MailFrom: debcooley1@gmail.com
X-Mailman-Rule-Misses: dmarc-mitigation; no-senders; approved; emergency; loop; banned-address; member-moderation; header-match-oauth.ietf.org-0; nonmember-moderation; administrivia; implicit-dest; max-recipients; max-size; news-moderation; no-subject; digests; suspicious-header
CC: Pieter Kasselman <pieter@spirl.com>, oauth <oauth@ietf.org>
X-Mailman-Version: 3.3.9rc6
Precedence: list
Subject: [OAUTH-WG] Re: [Technical Errata Reported] RFC7519 (8060)
List-Id: OAUTH WG <oauth.ietf.org>
Archived-At: <https://mailarchive.ietf.org/arch/msg/oauth/W7KRIIvB6azsJea-K2_K_OEQS28>
List-Archive: <https://mailarchive.ietf.org/arch/browse/oauth>
List-Help: <mailto:oauth-request@ietf.org?subject=help>
List-Owner: <mailto:oauth-owner@ietf.org>
List-Post: <mailto:oauth@ietf.org>
List-Subscribe: <mailto:oauth-join@ietf.org>
List-Unsubscribe: <mailto:oauth-leave@ietf.org>

Can I talk you into looking at the other three reported errata on that
RFC?  (RFC 7519 and Erratas:  5906, 7720, and 8225)
To make it worth my while to wrestle w/ the RFC errata system...

Deb

On Mon, Feb 10, 2025 at 5:56 PM Brian Campbell <bcampbell@pingidentity.com>
wrote:

> Pieter said errata in July of last year and we've had this very
> intermittent conversation about https://www.rfc-editor.org/errata/eid8060
> in the intervening months. I think it's ready for those edits and button
> pushing you mentioned. No impact on RFCs 7797 or 8725 (BCP 225). These are
> the edits I think we've agreed on as validated/verified technical errata:
>
> Section 7.2 says:
>
>    5.  Verify that the resulting JOSE Header includes only parameters
>         and values whose syntax and semantics are both understood and
>         supported or that are specified as being ignored when not
>         understood.
>
> It should say:
>
>    5.  Verify the resulting JOSE Header according to RFC7515 or RFC7516.
>
> Notes:
> Validation step 5 in section 7.2 of RFC 7519 states that header parameters
> should only be ignored if they are explicitly specified as needing to be
> ignored.
>
> This is contrary to step 7 in section 7.2 of RFC 7519 which requires that
> the processing rules of RFC 7515 should be followed if the JWT is a JWS, or
> the rules of RFC7516 should be followed if the JWT is a JWE. Neither RFC
> 7515 nor RFC 7516 include any special provisions for only ignoring header
> parameters if they are specified as being ignored, but instead requires all
> header parameters to be ignored if they are not understood, except if they
> are critical.
>
>
>
>
>
> On Sat, Feb 8, 2025 at 4:37 AM Deb Cooley <debcooley1@gmail.com> wrote:
>
>> Errata?  Did I hear you say errata?
>>
>> I can push the buttons to properly dispatch this.  I think this includes
>> editing an errata and certainly includes adding notes to it.  I need to
>> know what edits and or comments you want made, and what outcome (reject,
>> validate, hold for document update).  Also how it affects RFCs 7797 and
>> 8725 (BCP 225), since I see that 7519 is updated by these.
>>
>> While we are doing this work, there are three others (5906, 7720, and
>> 8225) at:
>> https://www.rfc-editor.org/errata_search.php?rfc=7519&rec_status=2&area_acronym=sec&presentation=table
>> .  Take a peek and tell me how to mark them (reject, validate, HFDU).  The
>> tooling for this is, hmmmm old, so I like to do these in groups.
>>
>> If there is appetite, we can look at other oauth errata...
>>
>> Deb
>>
>>
>>
>> On Fri, Feb 7, 2025 at 2:56 PM Brian Campbell <bcampbell=
>> 40pingidentity.com@dmarc.ietf.org> wrote:
>>
>>> Apologies Pieter, this fell "below the fold" in my inbox so to speak and
>>> I lost track of responding to it. Thanks for the proposed new "notes" for
>>> the errata, which I do think are sufficient now. In conjunction with that
>>> simple "corrected text" you had of "5.  Verify the resulting JOSE Header
>>> according to RFC7515 or RFC7516."
>>>
>>> On Thu, Nov 21, 2024 at 8:25 PM Pieter Kasselman <pieter@spirl.com>
>>> wrote:
>>>
>>>> Brian, as discussed at IETF 121, it would be good to wrap up on this errata. Is the below sufficient, or are there additional refinements or steps to take?
>>>>
>>>> Cheers
>>>>
>>>> Pieter
>>>>
>>>> --------------------------------
>>>>
>>>> Hi Brian, agreed, and thanks for pointing that out. Suggestion below:
>>>>
>>>>
>>>>
>>>> Notes
>>>> -----
>>>> Validation step 5 in section 7.2 of RFC 7519 states that header parameters should only be ignored if they are explicitly specified as needing to be ignored.
>>>>
>>>> This is contrary to step 7 in section 7.2 of RFC 7519 which requires that the processing rules of RFC 7515 should be followed if the JWT is a JWS, or the rules of RFC7516 should be followed if the JWT is a JWE. Neither RFC 7515 nor RFC 7516 include any special provisions for only ignoring header parameters if they are specified as being ignored, but instead requires all header parameters to be ignored if they are not understood, except if they are critical.
>>>>
>>>> This errata clarifies that JOSE Header parameters should be verified according to RFC7515 (JWS) or RFC7516 (JWE).
>>>>
>>>>
>>>>
>>>>
>>>> From: Brian Campbell <bcampbell=40pingidentity.com@dmarc.ietf.org> <&lt;bcampbell=40pingidentity.com@dmarc.ietf.org&gt;>
>>>> Sent: Monday 12 August 2024 19:46
>>>> To: Pieter Kasselman <pieter.kasselman@microsoft.com> <&lt;pieter.kasselman@microsoft.com&gt;>
>>>> Cc: David Waite <david@alkaline-solutions.com> <&lt;david@alkaline-solutions.com&gt;>; Paul Wouters <paul.wouters@aiven.io> <&lt;paul.wouters@aiven.io&gt;>; RFC Errata System <rfc-editor@rfc-editor.org> <&lt;rfc-editor@rfc-editor.org&gt;>; prkasselman@gmail.com; oauth@ietf.org
>>>> Subject: Re: [OAUTH-WG] Re: [Technical Errata Reported] RFC7519 (8060)
>>>>
>>>> Thanks Pieter,
>>>>
>>>> That sounds good to me. I think a bit of the explanatory text in the "Notes" part of the errata likely needs to be adjusted accordingly too.
>>>>
>>>>
>>>>
>>>> On Mon, Aug 12, 2024 at 5:01 AM Pieter Kasselman <pieter.kasselman=40microsoft.com@dmarc.ietf.org<mailto:40microsoft.com@dmarc.ietf.org>> wrote:
>>>> Thanks David and Brian.
>>>>
>>>> Unless there are any concerns with adopting the alternative text, I would suggest the following for the errata in section 7.2 bullet 5:
>>>>
>>>> Original Text
>>>> -------------
>>>>    5.   Verify that the resulting JOSE Header includes only parameters
>>>>         and values whose syntax and semantics are both understood and
>>>>         supported or that are specified as being ignored when not
>>>>         understood.
>>>>
>>>> Corrected Text
>>>> --------------
>>>>    5.  Verify the resulting JOSE Header according to RFC7515 or RFC7516.
>>>>
>>>> Cheers
>>>>
>>>> Pieter
>>>>
>>>> From: David Waite <david=40alkaline-solutions.com@dmarc.ietf.org<mailto:40alkaline-solutions.com@dmarc.ietf.org>>
>>>> Sent: Monday 5 August 2024 22:43
>>>> To: Pieter Kasselman <pieter.kasselman=40microsoft.com@dmarc.ietf.org<mailto:40microsoft.com@dmarc.ietf.org>>
>>>> Cc: Paul Wouters <paul.wouters=40aiven.io@dmarc.ietf.org<mailto:40aiven.io@dmarc.ietf.org>>; RFC Errata System <rfc-editor@rfc-editor.org<mailto:rfc-editor@rfc-editor.org>>; prkasselman@gmail.com<mailto:prkasselman@gmail.com>; oauth@ietf.org<mailto:oauth@ietf.org>
>>>> Subject: [OAUTH-WG] Re: [Technical Errata Reported] RFC7519 (8060)
>>>>
>>>>
>>>>
>>>> On Aug 5, 2024, at 1:52 PM, Pieter Kasselman <pieter.kasselman=40microsoft.com@dmarc.ietf.org<mailto:pieter.kasselman=40microsoft.com@dmarc.ietf.org>> wrote:
>>>>
>>>> I tried to keep the changes to additional text that would scope the processing rules more precisely for the JWT/JWS/JWE cases (point 7 in the processing steps references JWS and JWE separately, so thought I would propose text that does something similar to that). The idea of additional text is that a reader who is familiar may find it easier to process the delta.
>>>>
>>>> However, if we want to change the text, I like your second option:
>>>>
>>>> "Verify the resulting JOSE Header according to RFC7515 or RFC7516."
>>>>
>>>> I don’t think we should delete the bullet completely.
>>>>
>>>> Cheers
>>>>
>>>> Pieter
>>>>
>>>> I prefer this over the current text, which might be incorrectly construed to provide counter guidance to the “crit” protected header parameter.
>>>>
>>>> -DW
>>>> _______________________________________________
>>>> OAuth mailing list -- oauth@ietf.org<mailto:oauth@ietf.org>
>>>> To unsubscribe send an email to oauth-leave@ietf.org<mailto:oauth-leave@ietf.org>
>>>>
>>>> CONFIDENTIALITY NOTICE: This email may contain confidential and privileged material for the sole use of the intended recipient(s). Any review, use, distribution or disclosure by others is strictly prohibited.  If you have received this communication in error, please notify the sender immediately by e-mail and delete the message and any file attachments from your computer. Thank you.
>>>>
>>>>
>>>>
>>>>
>>>>
>>>>
>>> *CONFIDENTIALITY NOTICE: This email may contain confidential and
>>> privileged material for the sole use of the intended recipient(s). Any
>>> review, use, distribution or disclosure by others is strictly prohibited.
>>> If you have received this communication in error, please notify the sender
>>> immediately by e-mail and delete the message and any file attachments from
>>> your computer. Thank you.*
>>> _______________________________________________
>>> OAuth mailing list -- oauth@ietf.org
>>> To unsubscribe send an email to oauth-leave@ietf.org
>>>
>>
> *CONFIDENTIALITY NOTICE: This email may contain confidential and
> privileged material for the sole use of the intended recipient(s). Any
> review, use, distribution or disclosure by others is strictly prohibited.
> If you have received this communication in error, please notify the sender
> immediately by e-mail and delete the message and any file attachments from
> your computer. Thank you.*