[OAUTH-WG] SD-JWT + Unlinkability: A TEE-based Approach for Private Attribute Disclosure

Wayne Chang <wayne@spruceid.com> Fri, 11 October 2024 23:20 UTC

Return-Path: <wayne@spruceid.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 CFC4CC1CAE7B for <oauth@ietfa.amsl.com>; Fri, 11 Oct 2024 16:20:58 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.104
X-Spam-Level:
X-Spam-Status: No, score=-2.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_BLOCKED=0.001, RCVD_IN_ZEN_BLOCKED_OPENDNS=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=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=spruceid.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 T7uTuhQd8pQ9 for <oauth@ietfa.amsl.com>; Fri, 11 Oct 2024 16:20:54 -0700 (PDT)
Received: from mail-lf1-x142.google.com (mail-lf1-x142.google.com [IPv6:2a00:1450:4864:20::142]) (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 DACCFC1C6340 for <oauth@ietf.org>; Fri, 11 Oct 2024 16:20:54 -0700 (PDT)
Received: by mail-lf1-x142.google.com with SMTP id 2adb3069b0e04-5399041167cso3998062e87.0 for <oauth@ietf.org>; Fri, 11 Oct 2024 16:20:54 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=spruceid.com; s=google; t=1728688853; x=1729293653; darn=ietf.org; h=to:subject:message-id:date:from:mime-version:from:to:cc:subject :date:message-id:reply-to; bh=tgY9FKp0seY6hc4z6BgBIIMTgYWdLNdZwRelfLEEKg0=; b=g40eZS3GGIUe2EAE0tpa9q18E3LyyR2BiOcCTuxBBlkD92N1Yr9gTNEe0+qTHexQUT U4FpfaD3J/t68o9SSDJUfcQ/n6/eCiLYaVuMClTNe+fPb+hE9GRZVcUoZvQET16OHMha vZPS2nt0wRbuW9yivn5PnpEvQ26Q/ED8MXPOffnG+dkcb2StubT6x+yD62PHTCzyt/Wj vQIlyleuKoJxiGa8Ai/2dkQ+GvD5VjHDIJCharprLmTt/W7rGEiX1ANtjnkaz2qBF27a rzhzh7+D5PLDU8/9Kl/nhOpnMDNfNkhelSNNjUvFtVH+57xXI64dEiZLlBRHIFBd//1n 1Y/w==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1728688853; x=1729293653; h=to:subject:message-id:date:from:mime-version:x-gm-message-state :from:to:cc:subject:date:message-id:reply-to; bh=tgY9FKp0seY6hc4z6BgBIIMTgYWdLNdZwRelfLEEKg0=; b=oIILOcqPuShJeR5K6u1t49zx8/rve1bjz9jNkmpJzFEOwhrd5VQKGhqtfT6KJz8Gwr w2/FeKbZ858iXZr1J6SZeuv/uz+sp4o0jS0fZA2VCv0rmnROu0jG/niEUwOJxHMWA+QO aAjj5VtY7SIJ/OzFVhoRQtQJG9ZzUNBfE2FqTQHPQ5FsfHYy63Mr0NPSXxj0cKv5j0FM Sm0NR6+bRAk9ngsdVY8C/YLP5ZlRAUuelH27SPJA5xvxcdIgG/qGlI/cOsQEfx6qLHDU 72U/zTeWQrPbLrVVtd/NbZJI1m9/cgngF9CJN3mcovUeq4GvyoiouVKKyUmNgKqysdvB sRmQ==
X-Gm-Message-State: AOJu0YxazS8SglCMgb2T40ZhqKvVqspcYWtR4QH2OH72LvNXEn3m7380 UnrWMJ43NpeIkHtCcZmY4mkV8m5y/k/c6CtcGj0dmGSkaHqzO1no/WwW8bmuOP19UzI889dTyCn mpPgVOrjtsOd62Kja+Jy18Ey8QlKR+qcgixWfG2mTOx7IAS9AJA0VmdXD
X-Google-Smtp-Source: AGHT+IE10ZKX0uyuYJmp+7BVg+D74KFF4QyetSZgS/2AeErrARzcRDieqYKf1XwgUvHLSw3LoCtxLKZ+kQd37ekav+o=
X-Received: by 2002:a05:6512:6d0:b0:539:8f68:e036 with SMTP id 2adb3069b0e04-539e552184bmr807603e87.34.1728688852646; Fri, 11 Oct 2024 16:20:52 -0700 (PDT)
MIME-Version: 1.0
From: Wayne Chang <wayne@spruceid.com>
Date: Fri, 11 Oct 2024 19:20:36 -0400
Message-ID: <CAFTzAXibnc+QtLQA+SeRJgdX00nH7imjcPioJQ=DH2qY=ccECA@mail.gmail.com>
To: oauth <oauth@ietf.org>
Content-Type: multipart/alternative; boundary="000000000000fd5ead06243bbc67"
Message-ID-Hash: KM5JDOLTOUFASX6BRYO53GGLAT6LHTMI
X-Message-ID-Hash: KM5JDOLTOUFASX6BRYO53GGLAT6LHTMI
X-MailFrom: wayne@spruceid.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
X-Mailman-Version: 3.3.9rc5
Precedence: list
Subject: [OAUTH-WG] SD-JWT + Unlinkability: A TEE-based Approach for Private Attribute Disclosure
List-Id: OAUTH WG <oauth.ietf.org>
Archived-At: <https://mailarchive.ietf.org/arch/msg/oauth/rPyeOcLebpCG2KbzhGGFLbMFYMI>
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>

Hi all,

I think it's important that a workable approach to privacy is made
available to all active implementers of verifiable digital credential
systems, while meeting standards-based hardware assurance requirements for
issuers like FIPS and CMVP.

I have recently presented this TEE-based approach that could add
unlinkability to SD-JWT, ISO mDL/mdoc, etc. for attribute disclosure with a
straightforward upgrade path to existing installations (11+ mDL programs
live in the US). This approach would be compatible with FIPS 140-2/3
requirements and also PQC. It could be used alongside ZKP-in-the-wallet
approaches as well.

I thought that people on this list might be interested given the recent
discussion around the various verifier-verifier and issuer-verifier
collusions. You can find the slides in the first link below. For those
preparing their stones to cast at TEE approaches, please take a look at the
slides first, which describe defense-in-depth as a requirement to implement
this safely.

NIST Workshop on Privacy-Enhancing Cryptography 2024 Page:
https://csrc.nist.gov/Presentations/2024/wpec2024-3b4

Original blog post:
https://blog.spruceid.com/provably-forgotten-signatures-adding-privacy-to-digital-identity/

I'm currently working on formalizing some assumptions for specific
hardware, environments, and protocols--please let me know if you'd like to
get involved and/or collaborate on this.

Best,
- Wayne