[OAUTH-WG] Re: Secdir last call review of draft-ietf-oauth-resource-metadata-08

Michael Jones <michael_b_jones@hotmail.com> Wed, 11 September 2024 23:06 UTC

Return-Path: <michael_b_jones@hotmail.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 9D607C18DB93; Wed, 11 Sep 2024 16:06:50 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.236
X-Spam-Level:
X-Spam-Status: No, score=-1.236 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, FORGED_HOTMAIL_RCVD2=0.874, FREEMAIL_FROM=0.001, RCVD_IN_MSPIKE_H2=-0.001, RCVD_IN_ZEN_BLOCKED_OPENDNS=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01] autolearn=no autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=hotmail.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 sqwrJGQV2kQj; Wed, 11 Sep 2024 16:06:50 -0700 (PDT)
Received: from NAM10-MW2-obe.outbound.protection.outlook.com (mail-mw2nam10olkn2100.outbound.protection.outlook.com [40.92.42.100]) (using TLSv1.2 with cipher ECDHE-ECDSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id F3D8FC1840E3; Wed, 11 Sep 2024 16:06:49 -0700 (PDT)
ARC-Seal: i=1; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=none; b=MkdI7PfEB7zWRA7Fqkp4vr0D7u1Dv5MRKOlAc1nuMwDhcw8V+lj46RghsKB5WSaSHJajtZySxxkLQeJwAjoau31oRxJ0KMeXHT+r1LnInReIkTQBtiGWAOalbbtapF26puYXwTs//C/aZ5x6V73z6DGQVAx777vh57psDx2SR5N+6/EwWZINwnyuyj9KwTCh5ET2AGNEweS4c5m85mtYDsDc5A6JVto0m9lB0mxpdxLVJlud1l590h885yZt5wQqUTBQobvJTLylZc3pVNY4FabCsuOpeHljWP3YF877sZei8yQzJd0KGhUcPgYj6lARcpyoIN10wAEfgTVpTanGeA==
ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector10001; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=u/wb4/RL8xL4rnWbgzx7iGJnomZOsQnjhYH1iDzan9k=; b=pI4UzIxwClA7Txhqd5SbhxMwOeXEygErBVwrsX2CQ7uNoNP3Ig7E377itDFILisJkDBp6nkQM/+whUFUh84tbI31u7Iq9Jxtm2ChZ7okx+GwDekA+DO45GB26uOeEYCIMEWWoJfXjNpFY+VjGZeAqTsbiM/XPN0Dd40GvPXQ6KO5a2dbXk4otW7v+y/nA4HhUgM2xzzSbPR+FN+IfYlmm61+ILeCfF8ovms/vfkDHdFcZUo4bev8slRlfHbbI7x6XgrLJXPnYHMUsIFvIHrLhLvEHbjzVzJyVIz+xJ3VZGGUCTFvXonY0bisUQmtBhEV5qZ+/GPrXdT9aZyRLxTrlw==
ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=none; dmarc=none; dkim=none; arc=none
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=hotmail.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=u/wb4/RL8xL4rnWbgzx7iGJnomZOsQnjhYH1iDzan9k=; b=F5ruHRWN2ld2FkE0SCF5Ly9udqRDEgytQ2rBCh7mfZvEEFn4oC6Vor4Idsw0QWbITs/TYYSLmsVtZSwRvZaM3ZKMgF7HSedJ4UKBWTjnbzuS8OEI63PQXxKjqBuSABNEjQ7xfRVEt2dZ26wjyr5FO3FZqBJxx//xCyREs7RioVIrFgWeu3dIqkwvJQ/nycn1Ci34SwNO2NLKQxFnH0uJfJWuHGOmE46PG6SOSLKPoJq4mXJCGjS17AIanBFtCARjtfyf3kWNL0oeRsiwtYXA2c03BAVmoUkLbUDMYG16uspmtch30vyEfS5ZsnR4r2Mk8evUpwkzmkzRneBqbdgaOQ==
Received: from SJ0PR02MB7439.namprd02.prod.outlook.com (2603:10b6:a03:295::14) by CY4PEPF0000EDF9.namprd02.prod.outlook.com (2603:10b6:92f::1:0:5) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7918.20; Wed, 11 Sep 2024 23:06:48 +0000
Received: from SJ0PR02MB7439.namprd02.prod.outlook.com ([fe80::6394:e79c:c32a:4c6a]) by SJ0PR02MB7439.namprd02.prod.outlook.com ([fe80::6394:e79c:c32a:4c6a%3]) with mapi id 15.20.7939.022; Wed, 11 Sep 2024 23:06:47 +0000
From: Michael Jones <michael_b_jones@hotmail.com>
To: David Mandelberg <david@mandelberg.org>, "secdir@ietf.org" <secdir@ietf.org>
Thread-Topic: Secdir last call review of draft-ietf-oauth-resource-metadata-08
Thread-Index: AQHa8C1zG7hDKr/w9kG++2NKyZyqxLJR7l1ggAFusEA=
Date: Wed, 11 Sep 2024 23:06:47 +0000
Message-ID: <SJ0PR02MB7439462F1A3A89A2857B81B6B79B2@SJ0PR02MB7439.namprd02.prod.outlook.com>
References: <172384809277.1449681.408544072139184106@dt-datatracker-6df4c9dcf5-t2x2k> <SJ0PR02MB743925A6D204478BE2A21C6CB79B2@SJ0PR02MB7439.namprd02.prod.outlook.com>
In-Reply-To: <SJ0PR02MB743925A6D204478BE2A21C6CB79B2@SJ0PR02MB7439.namprd02.prod.outlook.com>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
x-tmn: [KTOXQI63QXrB3/XfB3HC7pmvWzkO3ddh]
x-ms-publictraffictype: Email
x-ms-traffictypediagnostic: SJ0PR02MB7439:EE_|CY4PEPF0000EDF9:EE_
x-ms-office365-filtering-correlation-id: 5e40222f-0bfb-43db-22e4-08dcd2b669ae
x-microsoft-antispam: BCL:0;ARA:14566002|15080799006|7092599003|19110799003|461199028|8060799006|1602099012|3412199025|4302099013|102099032|440099028;
x-microsoft-antispam-message-info: S8kfxgem/K5sTNjjoDz51WupM1qK4RcccJjbHklBiP3oXzRPCWg8v/p5PEa1u7STcyrtEgByCQO0gQ6rS9lu8Jpgst8bvzN9T3Asi1YOX/2eRwWHlX47XG4BU+FxW/tG6s+0onYvlXweBCvh0qMYnxki6sSO9NFMMDp/MSb3COodBhFn6M34y9aB/5otoLyg4I0e6tnIfwWaymSNh+2xLrATi4sbjgPK8XPrqBcNakCm+92mO1ZYoSVmf5Q0rCxJEAKAamNAD9sU4B7JNuU8Hux2LTyX1DOEsw4BEjmqEaBpMMofJpD1cUAuHESQxNOJnzTVVlwSqe3xCHCCVPMPedCImxN801PjwYVq6kMAmDWEfp941QGcQNmMZ4dPrlkl7ubYRsHesqZF6MM0z1ke1PxXAr+MSWUEn3jX6Y1f06/5GKdVoJ4JTjPU+SO6o3qlkZ3yezmlYdy/rCnxxPr5uCzZ1ZHclWACeiIHL9U3/cNLxs2XtkwnK2FUneKEk1WgD30txLqHkxoRaxesZxCY7suF4bYt/z/p683VvKeQXtCuljyPhfUFQm4q41Ar2ixKRA5O7qg6io0gh8BsYb0M6bwTVZuNeb2I4TPt7YSI1cb+KcT8DTM3/k+1Y89apnKbnB/y1G9gMnviO0gMZoQz8sc4WMEXpj3P04mbCjkevLhKhZytGB1LBNTtTX6QaSouTZ4rMt8egYyWWlplV6ZwF7BqPIDxOx+j3MX+tH4C3qL1ZtVe9cWtrcCstxcvntoHc0u7aljNS23+s60GE9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DLWTwyQ4zIWF7wr9/qqL4kPlYIZy9Qgmzm+DNvUK3h0ktKMTbLs9pY74YaDt0xXIgf4v8/bkXHC9dZ6d7EeLOV8DQtj8b9waKPfGf0HIGyp0aLzQZf7mYRb/PDh5yj6iq1qvJVU0O4Tod6Q9KvC1n3jyYGb2p4zYDuTgnYHL7kKLAqa7Ck8FVSAUD30d5siiIDn+68KSyf8DnffvWhuGKoDJqm+Uc7/U3tchKgEqZ5sUQcsoBJYPTyYhehbnGROZVZ+HVDfmozmjXTdqxXPPGIHnhlxnBq3FuNJQ9yYlDBT9rOI=
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: base64
MIME-Version: 1.0
X-OriginatorOrg: sct-15-20-7719-20-msonline-outlook-0f88b.templateTenant
X-MS-Exchange-CrossTenant-AuthAs: Internal
X-MS-Exchange-CrossTenant-AuthSource: SJ0PR02MB7439.namprd02.prod.outlook.com
X-MS-Exchange-CrossTenant-RMS-PersistedConsumerOrg: 00000000-0000-0000-0000-000000000000
X-MS-Exchange-CrossTenant-Network-Message-Id: 5e40222f-0bfb-43db-22e4-08dcd2b669ae
X-MS-Exchange-CrossTenant-rms-persistedconsumerorg: 00000000-0000-0000-0000-000000000000
X-MS-Exchange-CrossTenant-originalarrivaltime: 11 Sep 2024 23:06:47.8651 (UTC)
X-MS-Exchange-CrossTenant-fromentityheader: Hosted
X-MS-Exchange-CrossTenant-id: 84df9e7f-e9f6-40af-b435-aaaaaaaaaaaa
X-MS-Exchange-Transport-CrossTenantHeadersStamped: CY4PEPF0000EDF9
Message-ID-Hash: 7MJB5DRRUGPRIAYVLQVMEZ5ENECSMRXD
X-Message-ID-Hash: 7MJB5DRRUGPRIAYVLQVMEZ5ENECSMRXD
X-MailFrom: michael_b_jones@hotmail.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: "draft-ietf-oauth-resource-metadata.all@ietf.org" <draft-ietf-oauth-resource-metadata.all@ietf.org>, "last-call@ietf.org" <last-call@ietf.org>, "oauth@ietf.org" <oauth@ietf.org>, Arnt Gulbrandsen <arnt@gulbrandsen.priv.no>
X-Mailman-Version: 3.3.9rc4
Precedence: list
Subject: [OAUTH-WG] Re: Secdir last call review of draft-ietf-oauth-resource-metadata-08
List-Id: OAUTH WG <oauth.ietf.org>
Archived-At: <https://mailarchive.ietf.org/arch/msg/oauth/tj1Rc0eqEHjhJia8ICeOjBV--mA>
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>

David, your review comments are addressed in https://github.com/oauth-wg/draft-ietf-oauth-resource-metadata/pull/51/commits/5677b2477853df607e61a2ff9ab6bdc663f7048a, which is part of https://github.com/oauth-wg/draft-ietf-oauth-resource-metadata/pull/51.

				Thanks again!
				-- Mike

-----Original Message-----
From: Michael Jones <michael_b_jones@hotmail.com> 
Sent: Tuesday, September 10, 2024 7:23 PM
To: David Mandelberg <david@mandelberg.org>; secdir@ietf.org
Cc: draft-ietf-oauth-resource-metadata.all@ietf.org; last-call@ietf.org; oauth@ietf.org; Arnt Gulbrandsen <arnt@gulbrandsen.priv.no>; Deb Cooley <debcooley1@gmail.com>
Subject: RE: Secdir last call review of draft-ietf-oauth-resource-metadata-08

Thanks David.  My replies are inline below, prefixed by "Mike>".

-----Original Message-----
From: David Mandelberg via Datatracker <noreply@ietf.org> 
Sent: Friday, August 16, 2024 3:42 PM
To: secdir@ietf.org
Cc: draft-ietf-oauth-resource-metadata.all@ietf.org; last-call@ietf.org; oauth@ietf.org
Subject: Secdir last call review of draft-ietf-oauth-resource-metadata-08

Reviewer: David Mandelberg
Review result: Has Nits

Overall, looks good. I just have a couple of questions that might not need any changes to the doc.

Section 5.2 says "SHOULD retrieve the updated protected resource metadata and use the new metadata values obtained" which makes sense for the values included directly in the metadata.

Mike> How about if we make this change to 5.2?  Change "and use the new metadata values obtained" to "and use the new metadata values obtained after validating them as described in Section 3.3"

For the URLs like jwks_uri though, is the client expected to retrieve those again even if the URL itself didn't change? Or does that not need to be specified?

Mike> URLs such as jwks_uri are governed by HTTP caching rules, as is the primary metadata itself.  I'd already told Arnt Gulbrandsen in my reply to his ART review that I'd add something about caching lifetimes in the Security Considerations.

What do you think about adding something to section 5.2 about redoing all validation (like checking the resource field and validating the signature in
signed_metadata) before using new values? I'd hope that any implementations would do that without it being specified, but I could see some bugs if the code path for fetching initial values is different than the code path for updating values.

Mike> Your comment about signature validation made me realize that we don't say anything about validating the signature of signed metadata!  I propose to add something like this:  "The recipient MUST validate the signature of the signed metadata using a key belonging to the issuer.  If the signature does not validate or the issuer is not trusted, the recipient SHOULD consider this an error condition."

Thanks for your useful review!

				-- Mike