[OAUTH-WG] Re: [Technical Errata Reported] RFC7519 (8060)
Brian Campbell <bcampbell@pingidentity.com> Wed, 31 July 2024 16:46 UTC
Return-Path: <bcampbell@pingidentity.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 4472CC1E0D96 for <oauth@ietfa.amsl.com>; Wed, 31 Jul 2024 09:46:05 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -7.104
X-Spam-Level:
X-Spam-Status: No, score=-7.104 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, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_HI=-5, RCVD_IN_ZEN_BLOCKED_OPENDNS=0.001, SPF_HELO_NONE=0.001, SPF_NONE=0.001, T_SCC_BODY_TEXT_LINE=-0.01, URIBL_DBL_BLOCKED_OPENDNS=0.001, URIBL_ZEN_BLOCKED_OPENDNS=0.001] autolearn=unavailable autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=pingidentity.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 mu7GXArMpO1G for <oauth@ietfa.amsl.com>; Wed, 31 Jul 2024 09:46:01 -0700 (PDT)
Received: from mail-vs1-xe35.google.com (mail-vs1-xe35.google.com [IPv6:2607:f8b0:4864:20::e35]) (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 B8858C1DFD30 for <oauth@ietf.org>; Wed, 31 Jul 2024 09:45:40 -0700 (PDT)
Received: by mail-vs1-xe35.google.com with SMTP id ada2fe7eead31-4929992a5e2so1034653137.2 for <oauth@ietf.org>; Wed, 31 Jul 2024 09:45:40 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=pingidentity.com; s=google; t=1722444339; x=1723049139; 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=114XuB3WcMann1PogEGu82bcHPH2Imn51BHZuLBJbnM=; b=L9TvjCtsmFVXbu4rF7Qm2DVeFDGeZ3aSLQkaCRgMLlMzQRul8WYTKGjkPeg15aCN8k 4bUEVYHFGukUSIYKChrxp8J8VAOdf+eXBASNNVcLays2dwFdBRjFueyWTnkt4fwcLKYK rFLQ9Ocwe1JJPXUXZX/V76/oZRWvAu05XiR0QIJN41VexkW37TFANWBt3vIBPDpMXz+V nDh4wvJWvYqn6Yq8tpPM7CbzaISZAhBJhCGvoi2VoKlfKLByh0DqhFYHCjd2XHWJ+4rw ndpjTV+3HIR4AET0q4m2vyQXdwMF01yZxHkhHlSCehkpUvNNfaffyn92zYsGkOSkN32I WVKA==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1722444339; x=1723049139; 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=114XuB3WcMann1PogEGu82bcHPH2Imn51BHZuLBJbnM=; b=UB54VWpJuefzZUPGAxHOujXTjJJjnkpgI0chr6fmcX5keMtPXuei7QqyEDyFWMeFNu GRCeYAjsxy6qdVMQbO44KpTzMqFIibhmZKyMMQ1xVaV/EDPKeUkJAtP0WNp6fL7ciLZo wVirMANo4amtDzLxiWBdfEM4hl3otRlA7MntzefCRq0YGTgxbboo7701BHXzW8JUKHyT TcM382Sd4Pugd/o6esmT8iC5vlTB5Pgyvoy1ms8kRnZ1drc75JQsVF+19VeZ1SFhwZRU wtmG8TJNl12VmC+Uw9JX8MJ35mXaLBHtwojUylUrnkwykz1hYGjJ1Xnn98QHGfMEUxgJ PTQA==
X-Forwarded-Encrypted: i=1; AJvYcCVz9kw2VDJrA3SE/RU1YM7Md2eQ10pUhH6YLBXzRrNn6ILbNwVWzM0+Hv4BDKXGViHaMVBV5IlM79mnOMbzoQ==
X-Gm-Message-State: AOJu0YyFurBJTDBqm+YVrzbqKl7CtVys/bh0G3PEv1Uv1YlGxUBNh4i9 feLIQYX4Tm9qWOtcTXL25y6LzpSKG/aDDlOM+9kzyiTCII9xhEHQeRKkJp9rRa9dHfpBjdFZ/bE vJ17TX7XiSbgUmjfEuVGuZgRwsFWUfcD9f8e55RfMSgMRtK5zWvNyQJv1iAorYgsLBAWm1tfi3r RGIIfgziH/jA==
X-Google-Smtp-Source: AGHT+IEut5r0hJmXBPYbFKsjO0GOeiMkUz5ManQKRDr7Y5EN9BQIQyKEiKWSjLOMqcDoDNuwM8CAHx7OeWCGoYx81Rc=
X-Received: by 2002:a05:6102:26ca:b0:492:a39c:57d7 with SMTP id ada2fe7eead31-493fa623598mr11732672137.4.1722444339164; Wed, 31 Jul 2024 09:45:39 -0700 (PDT)
MIME-Version: 1.0
References: <20240731132617.0FE6C3B873@rfcpa.rfc-editor.org> <CA+k3eCSU45mnmRQxdNhf-cJ6FEfxon9d64bO0jJ4u3G99bEvqA@mail.gmail.com> <DBAPR83MB0437A90177CB7B34DBD67F1291B12@DBAPR83MB0437.EURPRD83.prod.outlook.com>
In-Reply-To: <DBAPR83MB0437A90177CB7B34DBD67F1291B12@DBAPR83MB0437.EURPRD83.prod.outlook.com>
From: Brian Campbell <bcampbell@pingidentity.com>
Date: Wed, 31 Jul 2024 10:45:12 -0600
Message-ID: <CA+k3eCQ_8NAmdYejmj7oLW=QeLM1=AHKnPQyM2qhc65=hNwqTw@mail.gmail.com>
To: Pieter Kasselman <pieter.kasselman=40microsoft.com@dmarc.ietf.org>
Content-Type: multipart/alternative; boundary="000000000000fb5d3e061e8dd295"
Message-ID-Hash: S3PNEQYHYDWGPXKX22JT2KLZCL33ESNO
X-Message-ID-Hash: S3PNEQYHYDWGPXKX22JT2KLZCL33ESNO
X-MailFrom: bcampbell@pingidentity.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: RFC Errata System <rfc-editor@rfc-editor.org>, "paul.wouters@aiven.io" <paul.wouters@aiven.io>, "prkasselman@gmail.com" <prkasselman@gmail.com>, "oauth@ietf.org" <oauth@ietf.org>
X-Mailman-Version: 3.3.9rc4
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/2N_331Fe4j_RxbdDnBFPX2dk-5w>
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>
I honestly don't know. Perhaps the copied AD or someone on the receiving end of the also copied rfc-editor@rfc-editor.org can advise on the best course of action with respect to the errata process. On Wed, Jul 31, 2024 at 8:01 AM Pieter Kasselman <pieter.kasselman= 40microsoft.com@dmarc.ietf.org> wrote: > Thanks Brain – is there a way to edit errata, or do I just submit another > one? > > > > *From:* Brian Campbell <bcampbell=40pingidentity.com@dmarc.ietf.org> > *Sent:* Wednesday, July 31, 2024 2:49 PM > *To:* RFC Errata System <rfc-editor@rfc-editor.org> > *Cc:* mbj@microsoft.com; n-sakimura@nri.co.jp; paul.wouters@aiven.io; > prkasselman@gmail.com; oauth@ietf.org > *Subject:* [OAUTH-WG] Re: [Technical Errata Reported] RFC7519 (8060) > > > > > > That is a good catch of an inconsistency in JWT/RFC7519 that is deserving > of errata. Note however that JWE/RFC7516 says that the "rules about > handling Header Parameters that are not understood by the implementation > are also the same [as JWS]"* so the correcting errata text should probably > be more generally applicable to all JWTs. > > > > * see https://datatracker.ietf.org/doc/html/rfc7516#section-4 > > > > On Wed, Jul 31, 2024 at 7:27 AM RFC Errata System < > rfc-editor@rfc-editor.org> wrote: > > The following errata report has been submitted for RFC7519, > "JSON Web Token (JWT)". > > -------------------------------------- > You may review the report below and at: > https://www.rfc-editor.org/errata/eid8060 > > -------------------------------------- > Type: Technical > Reported by: Pieter Kasselman <prkasselman@gmail.com> > > Section: 7.2 > > 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 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. If the JWT is a JWS, the steps specified in > RFC7515 takes precedence when validating JOSE Header parameters. > > 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 which requires that the > processing rules of RFC 1515 be used if the JWT is a JWS (defined in RFC > 1515). RFC 7515 does not 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 > (repeated below for convenience). > > "Unless listed as a critical Header Parameter, per > Section 4.1.11, all Header Parameters not defined by this > specification MUST be ignored when not understood." > > A discussion with the authors at IETF 120 confirmed that all header > parameters that are not understood must be ignored. > > The proposed errata aims to clarify that if the JWT is a JWS, the > processing rules of RFC 7151 should apply (including ignoring header > parameters that are not understood). This is consistent with point 7.2, > which requires that RFC 7515 [JWS] rules applies and avoids the impression > that a new requirement on when parameters are ignored is being introduced > in (i.e. the need to be explicitly defined as needing to be ignored). > > Instructions: > ------------- > This erratum is currently posted as "Reported". (If it is spam, it > will be removed shortly by the RFC Production Center.) Please > use "Reply All" to discuss whether it should be verified or > rejected. When a decision is reached, the verifying party > will log in to change the status and edit the report, if necessary. > > -------------------------------------- > RFC7519 (draft-ietf-oauth-json-web-token-32) > -------------------------------------- > Title : JSON Web Token (JWT) > Publication Date : May 2015 > Author(s) : M. Jones, J. Bradley, N. Sakimura > Category : PROPOSED STANDARD > Source : Web Authorization Protocol > Stream : IETF > Verifying Party : IESG > > _______________________________________________ > 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.* > -- _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-WG] [Technical Errata Reported] RFC7519 (8… RFC Errata System
- [OAUTH-WG] Re: [Technical Errata Reported] RFC751… Brian Campbell
- [OAUTH-WG] Re: [Technical Errata Reported] RFC751… Pieter Kasselman
- [OAUTH-WG] Re: [Technical Errata Reported] RFC751… Brian Campbell
- [OAUTH-WG] Re: [Technical Errata Reported] RFC751… Paul Wouters
- [OAUTH-WG] Re: [Technical Errata Reported] RFC751… Pieter Kasselman
- [OAUTH-WG] Re: [Technical Errata Reported] RFC751… Brian Campbell
- [OAUTH-WG] Re: [Technical Errata Reported] RFC751… Pieter Kasselman
- [OAUTH-WG] Re: [Technical Errata Reported] RFC751… David Waite
- [OAUTH-WG] Re: [Technical Errata Reported] RFC751… Pieter Kasselman
- [OAUTH-WG] Re: [Technical Errata Reported] RFC751… Brian Campbell
- [OAUTH-WG] Re: [Technical Errata Reported] RFC751… Pieter Kasselman
- [OAUTH-WG] Re: [Technical Errata Reported] RFC751… Justin Richer