Re: [OAUTH-WG] draft-ietf-oauth-selective-disclosure-jwt
Hannes Tschofenig <Hannes.Tschofenig@arm.com> Mon, 05 December 2022 10:39 UTC
Return-Path: <Hannes.Tschofenig@arm.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 A7DA8C14F722 for <oauth@ietfa.amsl.com>; Mon, 5 Dec 2022 02:39:57 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -6.896
X-Spam-Level:
X-Spam-Status: No, score=-6.896 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_HI=-5, RCVD_IN_ZEN_BLOCKED_OPENDNS=0.001, SPF_PASS=-0.001, 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 (1024-bit key) header.d=armh.onmicrosoft.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 2aCDeHm4l0sT for <oauth@ietfa.amsl.com>; Mon, 5 Dec 2022 02:39:53 -0800 (PST)
Received: from EUR04-DB3-obe.outbound.protection.outlook.com (mail-db3eur04on061f.outbound.protection.outlook.com [IPv6:2a01:111:f400:fe0c::61f]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 93C94C14F723 for <oauth@ietf.org>; Mon, 5 Dec 2022 02:39:53 -0800 (PST)
ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=aLlxC518MOwi8rsBeF6PAQgxIx8YF69EBG7kiJA8QCvRCu1JGRbcT4cPMD7qkfwAF1XolakybR+fL7gXxjUOo2WawTawH6oZF+eokYmfCAKPie9p28awyrFnnSHjUKdbPoAweUpcao6nvVwhhDvIDUruMOP5pCA+DcjLjjsN2yeiGk9YFSgyO1ujcoymTWkFWQWGBFC6WaP4HPGtMJDXQ0YCuFWCHc59FYJ/c5DjFWMrh1lassCbbwS1F4AWl1TmAYQgzCLYSrjOlIdtI6bzCtCeev/CTaOb+puWX9WZFw2uUzyCkt7xR4aoiJ1FXhJPfeha+uUOB2rSdB3mGDhtFw==
ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; 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=ZxdUxDJGoRWDxga5Sz1szKTFhO2usIxOQBBdPb94NSw=; b=na6XNaG73h2O8JaGgUfQIiY8NtzCdpd4I0PSEBSM8erVKOuxtxJnPoxuuQyyNkYX7KCJHAdvQWKHLrZSAoUjqPhXLEU+zlgNFnynzfeM28Snr7EuLG1vILaaPZNIUd7pSPTMzX15iDt7lTggv23n3V9ASbU/altRSuvq67hiilxkeWUB+CfYqeGAcbARjLBclbFafTkgDHgHmOxbEscKot2chZO3GSOVsoRKBurra2pzKASEgg/KDYqBkT1KBWYO3uGmvr9xrzcOF4B8o2wkOr+0pCsLAQZRXg+Cbv8PUDxQGsMGmIxSRMzaI7qLpZncMRfmCNp8C9K6/QqgAtibMQ==
ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=arm.com; dmarc=pass action=none header.from=arm.com; dkim=pass header.d=arm.com; arc=none
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=armh.onmicrosoft.com; s=selector2-armh-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=ZxdUxDJGoRWDxga5Sz1szKTFhO2usIxOQBBdPb94NSw=; b=z0Vq/ZJaqXX+YylGr38k5RFHPqkwbozkmzRxduWfPWJezQ21hawDiSnAn7BVJcpY3/ZgaLPH470ziFZOf4BP/Y0JKAdbn43ES6Ehp3J0A8LJC1qBmGIRjABER9Rz09aXyox421Ld7LHl/NB1S0PSFk9J44jOUpk7hJIG6BxqnsU=
Received: from DBBPR08MB5915.eurprd08.prod.outlook.com (2603:10a6:10:20d::17) by VE1PR08MB5774.eurprd08.prod.outlook.com (2603:10a6:800:1a1::24) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5880.13; Mon, 5 Dec 2022 10:39:48 +0000
Received: from DBBPR08MB5915.eurprd08.prod.outlook.com ([fe80::cff3:dae5:9fd6:d048]) by DBBPR08MB5915.eurprd08.prod.outlook.com ([fe80::cff3:dae5:9fd6:d048%5]) with mapi id 15.20.5880.014; Mon, 5 Dec 2022 10:39:48 +0000
From: Hannes Tschofenig <Hannes.Tschofenig@arm.com>
To: Brian Campbell <bcampbell@pingidentity.com>
CC: oauth <oauth@ietf.org>
Thread-Topic: [OAUTH-WG] draft-ietf-oauth-selective-disclosure-jwt
Thread-Index: AdkDJmY0E9LMlci5QuWDvYHILeuUzgBGm6oAARUFjWA=
Date: Mon, 05 Dec 2022 10:39:48 +0000
Message-ID: <DBBPR08MB5915AA5636A91A4499F767A9FA189@DBBPR08MB5915.eurprd08.prod.outlook.com>
References: <DBBPR08MB591589A0C3D916B0A609B2F7FA139@DBBPR08MB5915.eurprd08.prod.outlook.com> <CA+k3eCSwOKcoDW2r77JLsA2GkEbRS6233hQ_g_sFw+mUawkL6Q@mail.gmail.com>
In-Reply-To: <CA+k3eCSwOKcoDW2r77JLsA2GkEbRS6233hQ_g_sFw+mUawkL6Q@mail.gmail.com>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
x-ts-tracking-id: 95E0EF8FF88EDA439336FC74E1D70C21.0
x-checkrecipientchecked: true
authentication-results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=arm.com;
x-ms-publictraffictype: Email
x-ms-traffictypediagnostic: DBBPR08MB5915:EE_|VE1PR08MB5774:EE_
x-ms-office365-filtering-correlation-id: fd1116cd-8fa5-4d08-ab29-08dad6ad082a
nodisclaimer: true
x-ms-exchange-senderadcheck: 1
x-ms-exchange-antispam-relay: 0
x-microsoft-antispam: BCL:0;
x-microsoft-antispam-message-info: c7OaHHFA6LUEfaHTYQ86aK7VxIETdmGUyY8g2EfAPYI/zWx6hxYz2PTc7YC+1Pc/bk+U1JhUlVArAX+ixNy/MZTjHp+qjMpVIS6OzdYbAxXHbWO9ft/YifpFDD9SEDLicvmMx5diCpV1AXX3Ji538Urgu1xUz8zwzM7djPhT4F47p3sa8iUzHulzFF1ERzKPz4lyGUG3T9or8bGVrStRprSLHkdkxyR0QCWeJnE9gBSNGYj6s/27aR1Xx1oVxxGP5YLg8boUzA8q8+DamQ5kJIXMVcVxmXBSsnu5ILVRhg8hdX3r7ZrqbvIvevr+1jMToA9ZSDzOiJlKpND3nv8JjCtTIaYaIr6dd8Tqu80jOVi3AJ0lcB7ZCECfEHwKq1bauCuaqqGV+u3B0oN47GfKLI+Iai4ASEL2AAfwzfV5DeWXE9sE7ewoB7v+L/eG1H9n3o1ZBn1XQ/JmMVlpQe4tqVFvotM0KDOQ9+8pUB6/9OR8O2O150BMrKRTAQlcKvJShE3nPO8MA2zRCn1m3rgaMu+y2rRofg50Uls86FdJP3HV8TS+oLwY08oz9hKNRinAdgbSvP8zNacZC/mxA9nPyQ+Q/TIzcOskSD6FWKOefDPr34iZQQQuDBgu0SKGsTkww+ZYWpDSNzg8O//E8nqWobKFozBG+3wAQx5S+QmSaQ2o+kWRJPo1PL11hZJa0oe/Nb8jOQBDY6AwCDhW+txrrbqTpX85I042UA6s+GiG+jTLZWjeqKkzw6fmPxWZdpom0ZsQwJSYSz9D28KIKFMwFw==
x-forefront-antispam-report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:DBBPR08MB5915.eurprd08.prod.outlook.com; PTR:; CAT:NONE; SFS:(13230022)(4636009)(39850400004)(366004)(136003)(396003)(376002)(346002)(451199015)(38100700002)(122000001)(38070700005)(33656002)(166002)(86362001)(76116006)(8676002)(66946007)(66556008)(66446008)(64756008)(66476007)(4326008)(6916009)(8936002)(316002)(5660300002)(52536014)(41300700001)(55016003)(2906002)(186003)(83380400001)(6506007)(7696005)(478600001)(966005)(9686003)(53546011)(26005)(71200400001)(66899015); DIR:OUT; SFP:1101;
x-ms-exchange-antispam-messagedata-chunkcount: 1
x-ms-exchange-antispam-messagedata-0: CwGSygdUnFYtjYxAQRrBi7FF3BkBAq55vC/IxmtXLclgmjykeViaRsOI5FoZ7hZMhs/megRwqoSz/WPUQCxiI5DlPQwAxNk/qyn3tbnWFmrF75tyOS6TZIlwg0ibazAteldVd+vOjvq6HJO3WXnMO6mUTBRCY2MlFIMBAh0R/acPrr0hOELKPxzpHnZn9/nRz99L2g3/Ya7mwsjcKtByURw3yUq2ODPrAVpU4mrQwayuLMDdwin7s3TVi7HK+F05q0D5ovHSMiOSc3+yaFnpfJUPJKtWcojUo37axNX4ZSVbrtFtKvBuVEY2W+3MMCoGW0sy3KW0dru3h0bJJOy/X6IwbagjtYPi1M87Xn9gISmBq5H5jgN5dUSzSaVPrJqi/6XA45MPka8RrUi8X2Fw0uGVrDRIkSgxTfDFteOFj9Gadvg6E137e+07AbamlKglZR3oFC4ys7eh5e6v7o/kWtjr88e33jhz4uwjuHXbQ63fijC/SrpFo8VgpsnV9WXrKFMzLdE+s9fqXM6IFdwF80NayXOq7EwftyapiSR/cvIqIH8p/dBAGerN8c/hhRCGecVI+RVR79uZuMaIJFftOXLmOlvSdP4fmLajJ4+UpReLeshkL0Y6oFVckDS7Biw6JuRJDZq3uiuoyQV803GnyNEUJEx62XeVjy7JZb5vAtSpkp9JwjO+lXYmbYT6GMftLmjpDlZuUOv6KDbk5JaIKB7vgNL2tykFYO4IrRyTzpeWyYXLTZpqfTTff+2Xh7qIeLhhkXpgNZJ+qHfIXzhlOKd8S91Z6q34ChGBqqxaH4A0OlMYSTg9oL45JlSCfH/F96PqBFX5l2HQWmHa+SznNsGPks0LCKzEb5Z6j1+iz9+a6kHSmEDsk24QunzBbITGVDancKf4rm+j9AVxLfabh6lqMNxMJFLNcrtNvxPmztDTQ9fP/NFgoJOTqUiHCJ7AF34DMRDBzI0ccSvApb2+4RvwRNPL3jRUHZRi2D6thqLUr+i2ZP05LSdHzR1cqEBWSnLR0emEO60F2R2jRr4kYIFSD5y3UbHJqf+FIhE90iQ1HWE5/S6FMqHuUMYorzFgWxaWcpWlmRLF7V4peEVkEqrmR4xiet1ZgzdUSq12BHuX73juabY0r9yFBOld/P/k92SkPStWzTeVCAB94LEFbEQj+zwEaLsUYLtZlPQ+63+Yt0hNQZo5DYuJOj/dMthBkORewhwaOa1vHJbGU84jxl38D6iU3N64lybzrTRnGzyqbeYGvLnm5rCyRkVX03fiFxYZP/Xfce7WhTOQe2DxuUK+7r8jZ/Am1xFgQ+CF74Ve2NSPPcWK35lUn9vts4pYO1nEd4Y9eComuslOr3kpt0FC1zyzn5iUA3fXAje4OJUgUXOz71EU/z74/ctaF//h3UMRs9xlBHg48h2Q/Tw5Y+E+CslAaCRClFKwLkBJNRwG6hgkdT/PfRfiJdLsMs/L4TFoHfvGOrHd6LDiUwtDLQCZwSBjRPxgt0ZErv3hctCVIRwvEz16Z0t8FxpdTo5iKMGDLGTVl1YkhMqoPhy/LVI6s4ACDoGKeK8eBQVdZ8uk6HJ1evS7ejCFBMjS3en1KOxds+GJybfMHKaidva/kg==
Content-Type: multipart/alternative; boundary="_000_DBBPR08MB5915AA5636A91A4499F767A9FA189DBBPR08MB5915eurp_"
MIME-Version: 1.0
X-OriginatorOrg: arm.com
X-MS-Exchange-CrossTenant-AuthAs: Internal
X-MS-Exchange-CrossTenant-AuthSource: DBBPR08MB5915.eurprd08.prod.outlook.com
X-MS-Exchange-CrossTenant-Network-Message-Id: fd1116cd-8fa5-4d08-ab29-08dad6ad082a
X-MS-Exchange-CrossTenant-originalarrivaltime: 05 Dec 2022 10:39:48.0734 (UTC)
X-MS-Exchange-CrossTenant-fromentityheader: Hosted
X-MS-Exchange-CrossTenant-id: f34e5979-57d9-4aaa-ad4d-b122a662184d
X-MS-Exchange-CrossTenant-mailboxtype: HOSTED
X-MS-Exchange-CrossTenant-userprincipalname: MT67LrusQARFTcPCxw2UQhXxm9X1AyJzTKJgwnP8JqTZGquSuIRkx09E4wV4Cw8LwOhlU4qS2ZydPuo5YLAIFLTBKpU6S9SA2+xH1ryznAw=
X-MS-Exchange-Transport-CrossTenantHeadersStamped: VE1PR08MB5774
Archived-At: <https://mailarchive.ietf.org/arch/msg/oauth/jV6YPH5Cf8oU6hop_Hg0i6o30DU>
Subject: Re: [OAUTH-WG] draft-ietf-oauth-selective-disclosure-jwt
X-BeenThere: oauth@ietf.org
X-Mailman-Version: 2.1.39
Precedence: list
List-Id: OAUTH WG <oauth.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/oauth>, <mailto:oauth-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/oauth/>
List-Post: <mailto:oauth@ietf.org>
List-Help: <mailto:oauth-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/oauth>, <mailto:oauth-request@ietf.org?subject=subscribe>
X-List-Received-Date: Mon, 05 Dec 2022 10:39:57 -0000
Thanks for the response, Brian. A few remarks below. From: Brian Campbell <bcampbell@pingidentity.com> Sent: Tuesday, November 29, 2022 11:21 PM To: Hannes Tschofenig <Hannes.Tschofenig@arm.com> Cc: oauth <oauth@ietf.org> Subject: Re: [OAUTH-WG] draft-ietf-oauth-selective-disclosure-jwt Hi Hannes, Though I am yet to officially have my name on the document as a co-author, you did mention me directly :) And so I'll attempt to answer or respond to your questions/statements below. On Mon, Nov 28, 2022 at 7:24 AM Hannes Tschofenig <Hannes.Tschofenig@arm.com<mailto:Hannes.Tschofenig@arm.com>> wrote: Hi Daniel, Hi Kristina, Hi Brian, Hi all, Reading through draft-ietf-oauth-selective-disclosure-jwt I was wondering why the document defines new terminology for roles that already exist in OAuth. For example: * Issuer = AS * Holder = Client * Verifier = RS I assume that was done intentionally. What was the rational was. JWT itself<https://datatracker.ietf.org/doc/rfc7519/> is a product of this WG (as I'm sure you remember).. While JWT had important applications in OAuth, it was developed as a more general purpose token format and has seen widespread usage both in OAuth and beyond. Similarly, SD-JWT is meant to be a general purpose selective disclosure mechanism for JWT, which can have applications in OAuth but is certainly not constrained to OAuth. As such, the terminology in the draft aims to be generally applicable/meaningful. This is similar/consistent with JWT/RFC7519, which also does not use terms like AS, RS, or client. [Hannes] I think the draft should provide that background. You write: “ One of the common use cases of a signed JWT is representing a user's identity. “ In classical OAuth this use case should not be common. We bragged about the fact that you could to delegated authorization without having to rely on identity information. I think it would help to expand this statement a bit and explain what the use case is. A signed JWT representing a user's identity is, in fact, exceedingly common. Even in classical OAuth the access tokens almost always convey something about an identity - the resource owner in OAuth parlance. The sub in introspection https://www.rfc-editor.org/rfc/rfc7662#section-2.2 and the JWT AT profile https://datatracker.ietf.org/doc/html/rfc9068#section-2.2 show this in specs, for example. Of course the AT format and content aren't defined by OAuth itself and are left up to the implementation/deployment so those optional specs don't tell the whole story. But every single deployment I've seen has some identity info in the AT for delegation. [Hannes] This paragraph would be a good addition to the draft providing a bit of background. You write: “ As long as the signed JWT is one-time use, it typically only contains those claims the user has consented to disclose to a specific Verifier. However, there is an increasing number of use cases where a signed JWT is created once and then used a number of times by the user (the "Holder" of the JWT). In such cases, the signed JWT needs to contain the superset of all claims the user of the signed JWT might want to disclose to Verifiers at some point. The ability to selectively disclose a subset of these claims depending on the Verifier becomes crucial to ensure minimum disclosure and prevent Verifiers from obtaining claims irrelevant for the transaction at hand. “ Using the same access token with multiple resource servers is not good security practice not only from a privacy point of view but also from a security point of view. From reading the introduction I get the impression that you create your own problem that is subsequently solved in the document. Since I believe you are too clever to do this, I believe the document needs to provide more text to explain how this use case emerged. You mention “verifiable credential” as the “use case” but it is a technology rather than a use case. I've reread the introduction (which, in full disclosure, I did not write) and honestly feel like it does a pretty decent job of describing the emerging problem space and what the draft aims to provide. We certainly don't want to leave you or any reader with the impression that the document invents a not-real problem only to subsequently solve it. But I'm not getting that impression from reading it. And I am honestly not sure how to better avoid giving that impression (other than writing this email, I guess). [Hannes] The obvious solution to only disclose information relevant for a recipient is to provide that information. Now, you introduce a new requirement, namely that you want to obtain the token once and then share it with many recipients. It would be good to motivate this new requirement since the solution comes with a certain cost. Ciao Hannes IMPORTANT NOTICE: The contents of this email and any attachments are confidential and may also be privileged. If you are not the intended recipient, please notify the sender immediately and do not disclose the contents to any other person, use it for any purpose, or store or copy the information in any medium. Thank you.
- [OAUTH-WG] draft-ietf-oauth-selective-disclosure-… Hannes Tschofenig
- Re: [OAUTH-WG] draft-ietf-oauth-selective-disclos… Brian Campbell
- Re: [OAUTH-WG] draft-ietf-oauth-selective-disclos… Brian Campbell
- Re: [OAUTH-WG] draft-ietf-oauth-selective-disclos… Denis
- Re: [OAUTH-WG] draft-ietf-oauth-selective-disclos… Hannes Tschofenig