[GNAP] Re: [Technical Errata Reported] RFC9635 (8198)
Deb Cooley <debcooley1@gmail.com> Sun, 08 December 2024 10:50 UTC
Return-Path: <debcooley1@gmail.com>
X-Original-To: txauth@ietfa.amsl.com
Delivered-To: txauth@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 8E510C14F5E6 for <txauth@ietfa.amsl.com>; Sun, 8 Dec 2024 02:50:48 -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=unavailable 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 hGdntqjIvSB5 for <txauth@ietfa.amsl.com>; Sun, 8 Dec 2024 02:50:44 -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 69EC6C14F5FE for <txauth@ietf.org>; Sun, 8 Dec 2024 02:50:44 -0800 (PST)
Received: by mail-pl1-x62e.google.com with SMTP id d9443c01a7336-2155e9dcbe7so29735025ad.3 for <txauth@ietf.org>; Sun, 08 Dec 2024 02:50:44 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1733655043; x=1734259843; 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=DeNZD000emj9jGSDjhtHIFMzuAjeiYf6YaAuO6a6x9A=; b=XiFeEQ2sSjeuCSyRvFbl7HGuotoUZd/0H3/vGYe3pm2EjuauLZ/q8PV3Y+FbtpIsLc FYfeHj6Ns0UI4yrvShR3nn/iQPkpYjbt+AXHXINGfj5GfvSm32OXqXtc3F4eWT1bDfwY 5xQ88Pkdk3eh3VoZlQFHLm3+N1Do0knLGsuXiy4zKD5LhIqftZOKPFPmVrwEj+Kn8Fd6 /ch8rjJZcFokWU9cLcjqxZIMeUHrmNMSRat2vmQjKq85soeWb4qwafY7qyUIX1BzTFiw GyPzo7sDuIBVaPRn9PQl4ND1E5sVDPZ5ELvudLrcGFyMQ/xlePvGeOSPOk4eQB3dxWsr JsoQ==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1733655043; x=1734259843; 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=DeNZD000emj9jGSDjhtHIFMzuAjeiYf6YaAuO6a6x9A=; b=b021eqz3WlEuY+/q7YAiQZ405w20Ire/qeUZL43nC1NmddIBvRnr295s/p2XkLfrvc kDTeuUVy1/nSPPHSiFDyNFUTtvUZH42yjYxDJG4kLO+TufX/oFJ0EnDl69qJZGlGdSpy HdgFno+IMZTEXdgnmoEg/1GeFdWJxV8Hwctjm/aZdT9LV9DXrk0DijWxrn3vWdxFvvd9 Y0r/Q2sbwDNzJX6o6lV0SYHTWsCAR9JS+QHp0R6sFCGMYRDj8JtZ/EyFZl/CaTTSIA0u 9RvP4UotT/c4Zmty2XRQ7BmP0lZEfb1Sh6B9ymvq/VlEK0PZ01/IqyBfbWL703QGxsOM O6Tg==
X-Forwarded-Encrypted: i=1; AJvYcCWP3z+n+FJUS4cnrkFRIdAL/5W6mmya8BwJpkm1kQKIo0myk8NSF/pJpHn7lO+ZHeCMfjrQL9Q=@ietf.org
X-Gm-Message-State: AOJu0YzBfSAYk34JUXzx/6YBjOqtr8U5WPu4II0toL09uYgcgrLEKNx5 N/UEE81mJTGkMzvMjdxWyV/G6DQdm73Dr6Zgszu2P0BAAqiRMlvWu4kxzKq1rTz4ZK6dD7pOGQD Pvilt57TGgirbEkt9o+zKQ93qdg==
X-Gm-Gg: ASbGncvFobe8YOQlJVKXhQvmqqs43ghzGB9+r201CpoZM3eeVphKsJ0Q6cXr8OsPHyA esj9pXT9wZl1eSbWg4EJPR+aaMObimwU=
X-Google-Smtp-Source: AGHT+IGGz49YWWYVNPSAVh003lTAAnjdeA6JcA8cGVnAarEe1/Bx/nPceAoERZs+1OkJ9Rx5Lu+98hlx2stL6U6R37s=
X-Received: by 2002:a17:902:d2c4:b0:215:8513:8c7 with SMTP id d9443c01a7336-21614df79b2mr99260155ad.55.1733655043362; Sun, 08 Dec 2024 02:50:43 -0800 (PST)
MIME-Version: 1.0
References: <20241204173035.8748E1BE96E@rfcpa.rfc-editor.org> <649964B1-A6B2-7B41-9AF7-BA59F069E04E@hxcore.ol> <LV8PR01MB8677E733C7AD14144D9F820BBD322@LV8PR01MB8677.prod.exchangelabs.com>
In-Reply-To: <LV8PR01MB8677E733C7AD14144D9F820BBD322@LV8PR01MB8677.prod.exchangelabs.com>
From: Deb Cooley <debcooley1@gmail.com>
Date: Sun, 08 Dec 2024 05:50:32 -0500
Message-ID: <CAGgd1Oc+pDZf6uOz=KOe31KMZSxp62o85RmmaX-a_1bv3xfqUQ@mail.gmail.com>
To: Justin Richer <jricher@mit.edu>
Content-Type: multipart/alternative; boundary="00000000000005db7d0628c0055c"
Message-ID-Hash: QHYTSNIWXIJ27VA5UFH4UL2FTONW7T4T
X-Message-ID-Hash: QHYTSNIWXIJ27VA5UFH4UL2FTONW7T4T
X-MailFrom: debcooley1@gmail.com
X-Mailman-Rule-Misses: dmarc-mitigation; no-senders; approved; emergency; loop; banned-address; member-moderation; nonmember-moderation; administrivia; implicit-dest; max-recipients; max-size; news-moderation; no-subject; digests; suspicious-header
CC: Yaron Sheffer <yaronf.ietf@gmail.com>, RFC Errata System <rfc-editor@rfc-editor.org>, "ietf@justin.richer.org" <ietf@justin.richer.org>, "fabien.imbault@acert.io" <fabien.imbault@acert.io>, "paul.wouters@aiven.io" <paul.wouters@aiven.io>, "leifj@sunet.se" <leifj@sunet.se>, "iana@erinshepherd.net" <iana@erinshepherd.net>, "txauth@ietf.org" <txauth@ietf.org>
X-Mailman-Version: 3.3.9rc6
Precedence: list
Subject: [GNAP] Re: [Technical Errata Reported] RFC9635 (8198)
List-Id: GNAP <txauth.ietf.org>
Archived-At: <https://mailarchive.ietf.org/arch/msg/txauth/PrJ_c2CXSw8nWVlBgB2RuzbK1yo>
List-Archive: <https://mailarchive.ietf.org/arch/browse/txauth>
List-Help: <mailto:txauth-request@ietf.org?subject=help>
List-Owner: <mailto:txauth-owner@ietf.org>
List-Post: <mailto:txauth@ietf.org>
List-Subscribe: <mailto:txauth-join@ietf.org>
List-Unsubscribe: <mailto:txauth-leave@ietf.org>
I'll look at this (I'm a tiny bit buried at the moment, so give me a couple of days). Deb On Fri, Dec 6, 2024 at 9:13 PM Justin Richer <jricher@mit.edu> wrote: > It's defined in the document in a stable way but the registration wasn't > requested, I don't think we need another document just to make the request. > Perhaps the AD can chime in on the required process. > ------------------------------ > *From:* Yaron Sheffer <yaronf.ietf@gmail.com> > *Sent:* Friday, December 6, 2024 9:55 AM > *To:* RFC Errata System <rfc-editor@rfc-editor.org>; > ietf@justin.richer.org <ietf@justin.richer.org>; fabien.imbault@acert.io < > fabien.imbault@acert.io>; debcooley1@gmail.com <debcooley1@gmail.com>; > paul.wouters@aiven.io <paul.wouters@aiven.io>; leifj@sunet.se < > leifj@sunet.se> > *Cc:* iana@erinshepherd.net <iana@erinshepherd.net>; txauth@ietf.org < > txauth@ietf.org>; rfc-editor@rfc-editor.org <rfc-editor@rfc-editor.org> > *Subject:* [GNAP] Re: [Technical Errata Reported] RFC9635 (8198) > > > I believe this errata should be marked Verified. > > > > But we also have to deal with the unregistered header field. Normally I > would say, let’s submit an IANA registration request [1] and be done with > it. But registering a new header field is somewhat painful, see [2], and > seems to require a stable reference. So, do we need a -bis document? Or > maybe a short AD-sponsored draft for this one purpose? > > > > Thanks, > > Yaron > > > > [1] https://www.iana.org/form/protocol-assignment > > [2] > https://httpwg.org/specs/rfc7231.html#considerations.for.new.header.fields > > > > On 04/12/2024, 19:30, "RFC Errata System" <rfc-editor@rfc-editor.org> > wrote: > > The following errata report has been submitted for RFC9635, > > "Grant Negotiation and Authorization Protocol (GNAP)". > > > > -------------------------------------- > > You may review the report below and at: > > https://www.rfc-editor.org/errata/eid8198 > > > > -------------------------------------- > > Type: Technical > > Reported by: Erin Shepherd <iana@erinshepherd.net> > > > > Section: 7.3.3. > > > > Original Text > > ------------- > > The signer presents the signed object in compact form [RFC7515] in > > the Detached-JWS header field. > > > > In the following non-normative example, the JOSE header contains the > > following parameters: > > > > { > > "alg": "RS256", > > "kid": "gnap-rsa", > > "uri": "https://server.example.com/gnap", > > "htm": "POST", > > "typ": "gnap-binding-jwsd", > > "created": 1618884475 > > } > > > > The request content is the following JSON object: > > > > NOTE: '\' line wrapping per RFC 8792 > > > > { > > "access_token": { > > "access": [ > > "dolphin-metadata" > > ] > > }, > > "interact": { > > "start": ["redirect"], > > "finish": { > > "method": "redirect", > > "uri": "https://client.foo/callback", > > "nonce": "VJLO6A4CAYLBXHTR0KRO" > > } > > }, > > "client": { > > "key": { > > "proof": "jwsd", > > "jwk": { > > "kid": "gnap-rsa", > > "kty": "RSA", > > "e": "AQAB", > > "alg": "RS256", > > "n": "hYOJ-XOKISdMMShn_G4W9m20mT0VWtQBsmBBkI2cmRt4Ai8Bf\ > > YdHsFzAtYKOjpBR1RpKpJmVKxIGNy0g6Z3ad2XYsh8KowlyVy8IkZ8NMwSrcUIBZG\ > > YXjHpwjzvfGvXH_5KJlnR3_uRUp4Z4Ujk2bCaKegDn11V2vxE41hqaPUnhRZxe0jR\ > > ETddzsE3mu1SK8dTCROjwUl14mUNo8iTrTm4n0qDadz8BkPo-uv4BC0bunS0K3bA_\ > > 3UgVp7zBlQFoFnLTO2uWp_muLEWGl67gBq9MO3brKXfGhi3kOzywzwPTuq-cVQDyE\ > > N7aL0SxCb3Hc4IdqDaMg8qHUyObpPitDQ" > > } > > } > > "display": { > > "name": "My Client Display Name", > > "uri": "https://client.foo/" > > }, > > } > > } > > > > This is hashed to the following base64-encoded value: > > > > PGiVuOZUcN1tRtUS6tx2b4cBgw9mPgXG3IPB3wY7ctc > > > > This leads to the following full HTTP request message: > > > > NOTE: '\' line wrapping per RFC 8792 > > > > POST /gnap HTTP/1.1 > > Host: server.example.com > > Content-Type: application/json > > Content-Length: 983 > > Detached-JWS: eyJhbGciOiJSUzI1NiIsImNyZWF0ZWQiOjE2MTg4ODQ0NzUsImh0b\ > > SI6IlBPU1QiLCJraWQiOiJnbmFwLXJzYSIsInR5cCI6ImduYXAtYmluZGluZytqd3\ > > NkIiwidXJpIjoiaHR0cHM6Ly9zZXJ2ZXIuZXhhbXBsZS5jb20vZ25hcCJ9.PGiVuO\ > > ZUcN1tRtUS6tx2b4cBgw9mPgXG3IPB3wY7ctc.fUq-SV-A1iFN2MwCRW_yolVtT2_\ > > TZA2h5YeXUoi5F2Q2iToC0Tc4drYFOSHIX68knd68RUA7yHqCVP-ZQEd6aL32H69e\ > > 9zuMiw6O_s4TBKB3vDOvwrhYtDH6fX2hP70cQoO-47OwbqP-ifkrvI3hVgMX9TfjV\ > > eKNwnhoNnw3vbu7SNKeqJEbbwZfpESaGepS52xNBlDNMYBQQXxM9OqKJaXffzLFEl\ > > -Xe0UnfolVtBraz3aPrPy1C6a4uT7wLda3PaTOVtgysxzii3oJWpuz0WP5kRujzDF\ > > wX_EOzW0jsjCSkL-PXaKSpZgEjNjKDMg9irSxUISt1C1T6q3SzRgfuQ > > > > > > { > > "access_token": { > > "access": [ > > "dolphin-metadata" > > ] > > }, > > "interact": { > > "start": ["redirect"], > > "finish": { > > "method": "redirect", > > "uri": "https://client.foo/callback", > > "nonce": "VJLO6A4CAYLBXHTR0KRO" > > } > > }, > > "client": { > > "key": { > > "proof": "jwsd", > > "jwk": { > > "kid": "gnap-rsa", > > "kty": "RSA", > > "e": "AQAB", > > "alg": "RS256", > > "n": "hYOJ-XOKISdMMShn_G4W9m20mT0VWtQBsmBBkI2cmRt4Ai8Bf\ > > YdHsFzAtYKOjpBR1RpKpJmVKxIGNy0g6Z3ad2XYsh8KowlyVy8IkZ8NMwSrcUIBZG\ > > YXjHpwjzvfGvXH_5KJlnR3_uRUp4Z4Ujk2bCaKegDn11V2vxE41hqaPUnhRZxe0jR\ > > ETddzsE3mu1SK8dTCROjwUl14mUNo8iTrTm4n0qDadz8BkPo-uv4BC0bunS0K3bA_\ > > 3UgVp7zBlQFoFnLTO2uWp_muLEWGl67gBq9MO3brKXfGhi3kOzywzwPTuq-cVQDyE\ > > N7aL0SxCb3Hc4IdqDaMg8qHUyObpPitDQ" > > } > > } > > "display": { > > "name": "My Client Display Name", > > "uri": "https://client.foo/" > > }, > > } > > } > > > > When the verifier receives the Detached-JWS header, it MUST parse and > > validate the JWS object. The signature MUST be validated against the > > expected key of the signer. If the HTTP message request contains > > content, the verifier MUST calculate the hash of the content just as > > the signer does, with no normalization or transformation of the > > request. All required fields MUST be present, and their values MUST > > be valid. All fields MUST match the corresponding portions of the > > HTTP message. For example, the htm field of the JWS header has to be > > the same as the HTTP verb used in the request. > > > > Note that this proofing method depends on a specific cryptographic > > algorithm, SHA-256, in two ways: 1) the ath hash algorithm is > > hardcoded and 2) the payload of the detached/attached signature is > > computed using a hardcoded hash. A future version of this document > > may address crypto-agility for both these uses by replacing ath with > > a new header that upgrades the algorithm and possibly defining a new > > JWS header that indicates the HTTP content's hash method. > > > > 7.3.3.1. Key Rotation Using Detached JWS > > > > When rotating a key using detached JWS, the message, which includes > > the new public key value or reference, is first signed with the old > > key as described above using a JWS object with typ header value > > "gnap-binding-rotation-jwsd". The value of the JWS object is then > > taken as the payload of a new JWS object, to be signed by the new key > > using the parameters above. > > > > The value of the new JWS object is sent in the Detached-JWS header. > > > > > > Corrected Text > > -------------- > > N/A > > > > Notes > > ----- > > This section standardises the use of the Detached-JWS HTTP header. This > header was not registered in the IANA Considerations section and is not a > registered HTTP header. > > > > I am unsure what the best way to correct this ommission is. > > > > 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. > > > > -------------------------------------- > > RFC9635 (draft-ietf-gnap-core-protocol-19) > > -------------------------------------- > > Title : Grant Negotiation and Authorization Protocol (GNAP) > > Publication Date : October 2024 > > Author(s) : J. Richer, Ed., F. Imbault > > Category : PROPOSED STANDARD > > Source : Grant Negotiation and Authorization Protocol > > Stream : IETF > > Verifying Party : IESG > > >
- [GNAP] [Technical Errata Reported] RFC9635 (8198) RFC Errata System
- [GNAP] Re: [Technical Errata Reported] RFC9635 (8… Yaron Sheffer
- [GNAP] Re: [Technical Errata Reported] RFC9635 (8… Justin Richer
- [GNAP] Re: [Technical Errata Reported] RFC9635 (8… Deb Cooley