[OAUTH-WG] Re: SD-JWT linkability

Pierce Gorman <Pierce.Gorman@numeracle.com> Fri, 20 December 2024 20:57 UTC

Return-Path: <Pierce.Gorman@numeracle.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 D1060C1D6FAA for <oauth@ietfa.amsl.com>; Fri, 20 Dec 2024 12:57:47 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.105
X-Spam-Level:
X-Spam-Status: No, score=-2.105 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, RCVD_IN_DNSWL_BLOCKED=0.001, RCVD_IN_MSPIKE_H2=-0.001, RCVD_IN_VALIDITY_RPBL_BLOCKED=0.001, RCVD_IN_VALIDITY_SAFE_BLOCKED=0.001, RCVD_IN_ZEN_BLOCKED_OPENDNS=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=numeracle.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 vHPk8vI7XZAA for <oauth@ietfa.amsl.com>; Fri, 20 Dec 2024 12:57:43 -0800 (PST)
Received: from NAM11-DM6-obe.outbound.protection.outlook.com (mail-dm6nam11on2101.outbound.protection.outlook.com [40.107.223.101]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (P-384) server-signature ECDSA (P-256) server-digest SHA256) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 915B0C1DFD42 for <oauth@ietf.org>; Fri, 20 Dec 2024 12:57:40 -0800 (PST)
ARC-Seal: i=1; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=none; b=u5sJNqNzRRuaocPFQf1MMXXG0RFR5FocHt2f8haeBXisQ9Sh6p+I9FZIOxLxoJ5CWn0ONXjw5iJK4kYH9zp4aolfl07kcyzMU961ck7EAxYbncfLWuGJgiG9RJwodQwNy0sB2pZIKLFxsxI3zEmKAQhFI2ZUWHaE4pIiI7zhtmIkFdThm6zCc8T0NMyUjAXzTBgZkhShU2W6JGuGF4ZFkFC7+ODfKASAOJ05tNjZYvF+aEzEhrl7k3ts3gYjPyYlyC7AU1cVLTeZ7Fgphx/cARTlkcU41AJ9k99fKWei5UZ1p0Yj3AshjSRmPhpa/abzjLWGj5Mly5nY3LlLl7XbXg==
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=Ut86xVfFDuR3B0qlbfvIKeLNE/olu4HF+OeNqG1nGtA=; b=MILBTTmB6F4c5n00j724zadwEKWzl2Rnm5HjE0ERzwfed1cX367K0X2p68Hl0JQcRVYHD48qhz8ChAwJRKGgbOd4yiYMzN8Qsx1vCnB+1KTpUvlPFBSnZBrhWoFbqNFXuisncHO2zN32elTmug128YJPFCjHFaLiqALixvxcuM0NuT5nAYP4mcVJT25IUP+m5NFhyq3H6qTVR+TGQh3khzi1vcAxK7bmz4fKENUsEtDqI6z01Yrf7V/42DpBbxzIB54QhBC/nORTsIMQiUAjrD1mv6m0351RMI6kh2tnZrCBZRrEBRjiNOJRcRBaqJ1vA6nKBxTn1eBfyDTGNXCyxA==
ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=numeracle.com; dmarc=pass action=none header.from=numeracle.com; dkim=pass header.d=numeracle.com; arc=none
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=numeracle.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=Ut86xVfFDuR3B0qlbfvIKeLNE/olu4HF+OeNqG1nGtA=; b=JypOqcvKCoeUuy+Gy1weX/2ck0cVRs/CbgMHeRNN2XgGMHgJ029v+NzkrR+vl+DlNWs/6b7UqsUWcYsESlkZ6z0fuZAWnVWSdNqeI0fDbZo4gC8HWvA99nOKQ1uKAnpvFwhEfGQbiqRvOTxi+DvnmZftHlWcBEAf+OPK4UMyE42C1Ofw6pZgvAum4igwOPweo9aItDT+G+7d3v7i8xzCNJhg3QGqqnwDm5IqCHlFhE96xbrl7feACBTIQ0OcP/HYPZUw1SSBJRr2SxME6DNY2R7/ygPSCwpUCGMhR5yac9cmeX74vU+OZTmCLagv+UCfRqNfZ0YVyzQ1VY6f7wuzJg==
Received: from CH3PR13MB6747.namprd13.prod.outlook.com (2603:10b6:610:1e4::5) by DM4PR13MB5953.namprd13.prod.outlook.com (2603:10b6:8:50::14) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.8272.13; Fri, 20 Dec 2024 20:57:38 +0000
Received: from CH3PR13MB6747.namprd13.prod.outlook.com ([fe80::2f39:dcae:9ef7:d518]) by CH3PR13MB6747.namprd13.prod.outlook.com ([fe80::2f39:dcae:9ef7:d518%3]) with mapi id 15.20.8272.005; Fri, 20 Dec 2024 20:57:37 +0000
From: Pierce Gorman <Pierce.Gorman@numeracle.com>
To: Watson Ladd <watsonbladd@gmail.com>, Joseph Heenan <joseph@authlete.com>
Thread-Topic: [OAUTH-WG] Re: SD-JWT linkability
Thread-Index: AQHbUM803VLLa/fMRUWV0mG9rDajqrLuH3GAgAFNBwCAAAXfgIAALa1Q
Date: Fri, 20 Dec 2024 20:57:37 +0000
Message-ID: <CH3PR13MB67473768ADB036D89A65FCDDE1072@CH3PR13MB6747.namprd13.prod.outlook.com>
References: <CACsn0ckGp4AocD1fQbMCs45P_Z5vjveggzDJw=-Vk5kxinM28Q@mail.gmail.com> <D8C86F2E-E288-4799-98BD-108F553C8CFE@authlete.com> <CACsn0cnKLr0Z-uJRM0TySCXCBbcO8wkDhRFLbsh8K8LBJepTbA@mail.gmail.com> <50282CFE-6DE4-48B7-9080-E2D4E81F9569@authlete.com> <CACsn0ckGOpLR617mFTjVH94kiV3Xi4U6PZT-w=YW9g1_+tZ9Jg@mail.gmail.com>
In-Reply-To: <CACsn0ckGOpLR617mFTjVH94kiV3Xi4U6PZT-w=YW9g1_+tZ9Jg@mail.gmail.com>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
msip_labels: MSIP_Label_15e9b572-a956-451d-b5da-feb99663c3d1_ActionId=e8421ad4-e0ef-4632-993c-3f5e0cc0293e;MSIP_Label_15e9b572-a956-451d-b5da-feb99663c3d1_ContentBits=0;MSIP_Label_15e9b572-a956-451d-b5da-feb99663c3d1_Enabled=true;MSIP_Label_15e9b572-a956-451d-b5da-feb99663c3d1_Method=Standard;MSIP_Label_15e9b572-a956-451d-b5da-feb99663c3d1_Name=Confidential;MSIP_Label_15e9b572-a956-451d-b5da-feb99663c3d1_SetDate=2024-12-20T20:50:35Z;MSIP_Label_15e9b572-a956-451d-b5da-feb99663c3d1_SiteId=b807d15e-47b0-447f-a656-f397dba6285c;
x-codetwoprocessed: true
x-codetwo-clientsignature-inserted: true
authentication-results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=numeracle.com;
x-ms-publictraffictype: Email
x-ms-traffictypediagnostic: CH3PR13MB6747:EE_|DM4PR13MB5953:EE_
x-ms-office365-filtering-correlation-id: 7128afa0-0b3c-468a-eef4-08dd2138ef7b
x-ms-exchange-atpmessageproperties: SA
x-ms-exchange-senderadcheck: 1
x-ms-exchange-antispam-relay: 0
x-microsoft-antispam: BCL:0;ARA:13230040|376014|10070799003|1800799024|4022899009|366016|38070700018;
x-microsoft-antispam-message-info: sfV9owUb30/6YYSSlbInginhEWa3nvS+Toi3ja4fG+0To0GAmToRCCnr3A+ZLPI3J4Q0hRo2VqrYmJ1M9DFCrtnIzWEhfQyXLcYywrPu76dHWRE2aT7eAkKkMltPyMRmrZhrkotVoYUV48Z2pslCf2ZXV5jJPwQD/prAWvH8022YIzB1uf2B/X+/JgEfXsgIEFpTIyl50u1re8pcW7amkFWeXsKe6NXo7HmpPV20q+IH/WQkS4p3xeYKAirhP41eSGVEPb1T31BKrcJoMEA4Ddma8RAwPfmLgWWDG+eYhLN78ui1rWXeYBRijZ2QqimiFuE6XHH9EuAY8ypNEYFEQX/+AmUR0PpBUwJA2li8Xxi+XJDk3TXXHB7Dd9vrBL00Tb6NAztCwLT8UMzXdZiFoJmPCVjKwGMAPVrdKuurctZi/wkf7HwgjqEX18c2ekdzTPV8RQPfNDqsS0KLMFG14UZL9p7vV/UchuX/U7CSpt88BSrERzd+XW5u+0EeJAG/G5u2zuIXUu5lpKogL8FboEywQqcCqefLgEzCChequzZB37/i5IkhHu31MZaAFyrMAwQKs8jJ+CYIL/7ZChB5HUl1IIl6UKvQemP+GJoPJFR9YfJSdw6qcEIj6d8H4U8OEln7/+NrDxN4FICv5ItBEfyhCu0wM5Z0l+l3m80YwPzUicjXJi0/NTtNDdnmBMK4Ejj3JMkU+QrxLEXRdofLpnJQns19knWwReZIWb39gA5xc1v4nxG+WUFk/o9pfOdpCeNDDfrm7J+b9yOKKbO4DGq2lDpi2cip+Rr91wq4VdXw+/+attIW9/cLBjIBSG0SAvcI4g9SrEJoRTHCxPNXBu8SueU6wYRmoEQaT/BSgpTjOLVPhSvujH9WTQhkRpIhsdWVrLdNfa9PsixAa+kGGemaRQQ58sXSxeoL0Fn+yal4xZbaLu65PfEOvSWn654Ueum3s0RBhJqNUPHoqsCvuw6EG+1sYh1sMLT11uIx6G99ERayNv4oCDYoXz6Bdb5q29/SGIzMtdsmNcXqS0luO3CDwZWSx+S4vaqmknf11GeZsh4loyx9zy4UFG9CIAbchEo9Ib70p3HhGCHTJlRbQ/fz/wQNZC7pPNnRa5nzNjyrnLhq17V0B/Nf/qcGmCiN2hEAITuvxs43oGE2Fnef5zmwJDZFMCt6rpn+iWtrVUF/dhu3hGilnDI3I90npQTOnzMv1Y+xfnbORK29LKmg1m01IXD4pcO/HxarqfHIEF+UeX9aOYQUGdPFY+4Cylfjkzd3tmBYbnUyFpcGEC6f//k93lOco/4A+52/IApO7mhVupMtXL6ADs6HRANI4JqYtMKrHaRea3Y5zQSq5q8nl5/r1isLQiP3aNo2wR5cnq5xnHVoDHofbValotg/WxZwkw8bCJinXEnTvb5xBEoAckZYs80lZ5L+/sSN0pTZeWdcHfxHP+t2gn4UfW16HVPe
x-forefront-antispam-report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:CH3PR13MB6747.namprd13.prod.outlook.com;PTR:;CAT:NONE;SFS:(13230040)(376014)(10070799003)(1800799024)(4022899009)(366016)(38070700018);DIR:OUT;SFP:1102;
x-ms-exchange-antispam-messagedata-chunkcount: 1
x-ms-exchange-antispam-messagedata-0: VQaTOgKFAlWZsSasCdkOdy+Eov2WF4MWE12h8TMEehlpb5uDtYyK9cUw8lAWL6vFDxmg2va7lMCgcS0YleVHFxBGFrMlF1LPYWKlg57RUC8jph9Cf3aRX7oRfZ8QA3nkOG/qR47QqMZmXbsr4UK/TeCq6WFFSnmvI44SaWY1WjhaK5xGjdpZmBPXFp9wcr76NYv9vuZAPfTHCvthL16pZBpiVWIpOn3zyow0HHWBTufpBKAvmrojNhPNK6A/O/524PXcD6EVOjWFGqXZNPvoFIk5ImHFe1uOWkiUItXjzAVcAkAtb8JxjwKwMsFFNq8MEZdXF/uJoyU+3t4A0j/2JqcY1JdumUBiojd1s11oMz9Jeuv6lxp4TcoYWgdnxKo9Mf3olUWUkdj/w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eJXpAjB6gH5n6Zn+mm1bA4b26b8vB/NZwlcXK9wWo/YrpMjHh2McdddTje/qjZb/VLQjLiF9RjCuw+TFRf3J8ao0VGOBcQxoxkCUpzdi4ONeUFfBuTIqgiLcMKffkpHC1dGrDICRQXoHwSQH6Cp81jQh0OqAgtotgHmcBgw/ejltN1Zs8boqagWV0u4gl67Z0xZEbVHBm99kbUvcqw==
Content-Type: text/plain; charset="utf-7"
Content-Transfer-Encoding: quoted-printable
MIME-Version: 1.0
X-OriginatorOrg: numeracle.com
X-MS-Exchange-CrossTenant-AuthAs: Internal
X-MS-Exchange-CrossTenant-AuthSource: CH3PR13MB6747.namprd13.prod.outlook.com
X-MS-Exchange-CrossTenant-Network-Message-Id: 7128afa0-0b3c-468a-eef4-08dd2138ef7b
X-MS-Exchange-CrossTenant-originalarrivaltime: 20 Dec 2024 20:57:37.5696 (UTC)
X-MS-Exchange-CrossTenant-fromentityheader: Hosted
X-MS-Exchange-CrossTenant-id: b807d15e-47b0-447f-a656-f397dba6285c
X-MS-Exchange-CrossTenant-mailboxtype: HOSTED
X-MS-Exchange-CrossTenant-userprincipalname: qGXG4+NE5WYLgbjb1rvmMugWt2M9QIhOIP09xQ9FeB9eZsQvzsfw08fq+eI2ZznlqO35aFxLQuJoQ1Xf7d//hVtkeMHWiQ50Dj7FKDYy5OI=
X-MS-Exchange-Transport-CrossTenantHeadersStamped: DM4PR13MB5953
Message-ID-Hash: STE2HL4T5FMNZBPEYOA7HF3YQRCRF4CA
X-Message-ID-Hash: STE2HL4T5FMNZBPEYOA7HF3YQRCRF4CA
X-MailFrom: Pierce.Gorman@numeracle.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: IETF oauth WG <oauth@ietf.org>
X-Mailman-Version: 3.3.9rc6
Precedence: list
Subject: [OAUTH-WG] Re: SD-JWT linkability
List-Id: OAUTH WG <oauth.ietf.org>
Archived-At: <https://mailarchive.ietf.org/arch/msg/oauth/qotoFk-nsHnwvFUwvkoxD3f8T84>
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>

Is there an alternative method you have in mind that avoids the linkability concerns you've outlined?  Would a short paragraph in the Security Considerations which warns about specific use case vulnerabilities, and/or perhaps points to a/the suitable alternative be a way forward?

Pierce

CONFIDENTIAL
-----Original Message-----
From: Watson Ladd <watsonbladd@gmail.com>
Sent: Friday, December 20, 2024 12:07 PM
To: Joseph Heenan <joseph@authlete.com>
Cc: IETF oauth WG <oauth@ietf.org>
Subject: [OAUTH-WG] Re: SD-JWT linkability

EXTERNAL EMAIL

On Fri, Dec 20, 2024 at 9:47 AM Joseph Heenan <joseph@authlete.com> wrote:
>
>
>
> On 19 Dec 2024, at 21:54, Watson Ladd <watsonbladd@gmail.com> wrote:
>
> On Tue, Dec 17, 2024, 1:59 PM Joseph Heenan <joseph@authlete.com> wrote:
>
>
> Hi Watson
>
> Just to respond to the suggested text:
>
>
> "When disclosures include information easily understood to be
> identifying, users intuitive view of what they are revealing largely
> matches the underlying technical reality. In cases where the
> information being disclosed is not identifying, SD-JWT MUST NOT be
> used as this confusion leads to users making the wrong choices.
>
>
> This sentence is really hard to make sense of and I don’t think implementors will understand it. I’m not convinced I understand it even with the extra context from the threads. I think a MUST NOT is far too strong too, and saying ’SD-JWT’ in particular must not be used it too strong as an SD-JWT where everything is disclosed (or no selective disclosures are present in the issued credential in the first place) is no different to other credentials formats that don’t have selective disclosure.

I think this is subsumed by the first sentence. When users are disclosing information that wasn't identifying, but the mechanism involves transmitting a unique identifier there is a problem.

>
>
>
> Would adding "When users disclose information that is not identifying,
> e.g. age, the fact that the mechanism in this draft exposes the unique
> signature of their credential is not obvious. Users could have made
> different decisions if they understood this. Therefore," in the middle
> help?
>
>
> I think that makes it easier to understand, but I disagree with the premise - I believe there are likely ways to describe this to users and this needs to be properly researched & tested with real people. As I said, the MUST NOT is too strong regardless - there are likely cases where the user recognises that tracking like this is possible/inevitable, and regardless it seems to imply that SD-JWT has worse properties than (for example) JWT based credentials, which is something we definitely shouldn’t do.

Then when people have demonstrated that they can mitigate the risk, we can write a bis. The point is some mitigation needs to be demonstrated. I want to put text in that someone can show their boss to say "we shouldn't implement this because we don't have a demonstrated, working mitigation for the privacy risks that aren't apparent". Do you have alternate ways to document this issue that will do that?

>
>
>
> Applications cannot assume Verifiers behave properly (RFC
> 3514) and MUST analyze the consequences for such linkage with each
> credential that could be used."
>
>
> This ‘MUST’ is practically impossible for some implementors - for example, it is impractical for a wallet to make this kind of judgement for each issued credential.
>
>
>
> Bingo! Wallets that use SD-JWT can't give users the control over their
> data that we would expect them to have.
>
>
> I don’t think you have shown this very generalised statement is true, nor that if it was true that it only applies to wallets using SD-JWT.
>
> The wallet needs to be aware
> of how the requests impact user privacy.
>
>
> The wallet doesn’t need to be aware if it is clear to the user from the context (and perhaps there are other cases too where the wallet doesn’t need to be aware). The MUST NOT is too strong, and I’m not sure even a SHOULD NOT would be appropriate.

Somebody has to look out for the user here. In the web its why we call it a User Agent. If the Wallet isn't going to be capable of doing that, what will? What is "clear to the user from the context"? In the case of age verification it really isn't clear what exactly is being revealed.

>
> Joseph
>
>
> _______________________________________________
> OAuth mailing list -- oauth@ietf.org
> To unsubscribe send an email to oauth-leave@ietf.org



--
Astra mortemque praestare gradatim

_______________________________________________
OAuth mailing list -- oauth@ietf.org
To unsubscribe send an email to oauth-leave@ietf.org