Re: [jose] JWP

Torsten Lodderstedt <torsten@lodderstedt.net> Thu, 28 July 2022 07:30 UTC

Return-Path: <torsten@lodderstedt.net>
X-Original-To: jose@ietfa.amsl.com
Delivered-To: jose@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 9F2C6C13CCDD for <jose@ietfa.amsl.com>; Thu, 28 Jul 2022 00:30:47 -0700 (PDT)
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, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_BLOCKED=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=lodderstedt.net
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 VbCrOMCuRo3d for <jose@ietfa.amsl.com>; Thu, 28 Jul 2022 00:30:43 -0700 (PDT)
Received: from mail-ej1-x634.google.com (mail-ej1-x634.google.com [IPv6:2a00:1450:4864:20::634]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id B19C3C15A723 for <jose@ietf.org>; Thu, 28 Jul 2022 00:30:43 -0700 (PDT)
Received: by mail-ej1-x634.google.com with SMTP id tk8so1667259ejc.7 for <jose@ietf.org>; Thu, 28 Jul 2022 00:30:43 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=lodderstedt.net; s=google; h=from:message-id:mime-version:subject:date:in-reply-to:cc:to :references; bh=UrztbzDbg3O0ME4DoBQzgUhZq90xHRW+z0+EiMN0yGA=; b=01nvkbTdjPklbcep3XQJyjJejNQxWHeA/wRHwalYfLR0FekbFet5Uw7dBYy7t2Qozx Go69e6eyrxmyPDd9dsc2oWlLtCanUX8hNfgIJgumZBYsZN/oZ8FIdMIVoG1uDOt/PPGQ 4ONx34xc/Sb+gpMyBBbkoS6VAezj/PK4LShZlGjMYoIyBjxufmrJTBNgZ5PobbeLaUH0 sAu2tNr+YpG06+ODUBVZiTMPCc2d5po/YLqYsP6tLDgnSOKqKopil21osMperkO6twgE ZVsABfwN76g1yi/STbRRI1zT13GKJJudeoFgKhqH9Ul3vjhkyRr+E5Jrs0b4FOFaaEJM baHQ==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:message-id:mime-version:subject:date :in-reply-to:cc:to:references; bh=UrztbzDbg3O0ME4DoBQzgUhZq90xHRW+z0+EiMN0yGA=; b=GxXjeoLMRZbKP+q8NzuhzlyXRMB0flVGNkrkF+VOLF+cegf+wEgBbyvVlyxjVfYice JJI5lO6syH4TYUrThvkzIeMh8H696fwQDmgs9FEX+jmlm5csq47mimm2WqRavdyKaloj BqPQ3PSecYJ7ED12yH2nRycl8YMJMYGd4GTMxtgv4JnA/sPgcxR+cEd/DSAYSOz59NZ7 DtTM/PjkQRusfoiOhdC2YE+ebh9F61fXw8Xg3uOs34/i+XJE6f6BphbRD8eM4xrXlnI1 6/8NGhOmRsC/Gfi8jixNCazhFom/W2qw7YCScxGc0Jfjf7mhHeSFjNCy8gjmNTNT9Ha4 BKfA==
X-Gm-Message-State: AJIora/FPcliNT04+q2Crm9B68W7thyY0E00iaM7KY++tDREAMsvqK2s CF+sgUNSdSBHeSJNYimTHD5RIA==
X-Google-Smtp-Source: AGRyM1t7jlVOt7BJpsTtdl1GH1jvJoiaf49i42Ok+b4QkXtFcbZv2nbgQ7s6dG5QxQrZlQMOaXOd3w==
X-Received: by 2002:a17:906:84e1:b0:72b:b109:7636 with SMTP id zp1-20020a17090684e100b0072bb1097636mr21804278ejb.10.1658993441652; Thu, 28 Jul 2022 00:30:41 -0700 (PDT)
Received: from smtpclient.apple (p200300eb8f25a4fd498536022b7944cb.dip0.t-ipconnect.de. [2003:eb:8f25:a4fd:4985:3602:2b79:44cb]) by smtp.gmail.com with ESMTPSA id g19-20020a50ec13000000b0043cc7a3ff7fsm187019edr.33.2022.07.28.00.30.40 (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Thu, 28 Jul 2022 00:30:41 -0700 (PDT)
From: Torsten Lodderstedt <torsten@lodderstedt.net>
Message-Id: <124E4FB5-F8E2-4C3B-8413-12CDE31D5621@lodderstedt.net>
Content-Type: multipart/alternative; boundary="Apple-Mail=_C6DD30A9-7F14-4C7F-AA53-48E8250B6315"
Mime-Version: 1.0 (Mac OS X Mail 16.0 \(3696.100.31\))
Date: Thu, 28 Jul 2022 09:30:37 +0200
In-Reply-To: <A6F210BB-1F6F-4235-A213-2E274561D5F6@forgerock.com>
Cc: Tobias Looker <tplooker@gmail.com>, jose@ietf.org
To: Neil Madden <neil.madden@forgerock.com>
References: <CAGum7cFFUg2qzom1Vu8wsNJapeOkWFoqe_aD4FyGcxr6nwcCgQ@mail.gmail.com> <A6F210BB-1F6F-4235-A213-2E274561D5F6@forgerock.com>
X-Mailer: Apple Mail (2.3696.100.31)
Archived-At: <https://mailarchive.ietf.org/arch/msg/jose/ttd3OxAdWVF00suADDok2y_8lus>
Subject: Re: [jose] JWP
X-BeenThere: jose@ietf.org
X-Mailman-Version: 2.1.39
Precedence: list
List-Id: Javascript Object Signing and Encryption <jose.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/jose>, <mailto:jose-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/jose/>
List-Post: <mailto:jose@ietf.org>
List-Help: <mailto:jose-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/jose>, <mailto:jose-request@ietf.org?subject=subscribe>
X-List-Received-Date: Thu, 28 Jul 2022 07:30:47 -0000


> Am 28.07.2022 um 08:57 schrieb Neil Madden <neil.madden@forgerock.com>:
> 
> {
> “iss”: “gov.uk <http://gov.uk/>”,
> “over_18”: true
> }
> 
> If this is signed using a deterministic signature algorithm (eg EdDSA) then the token will be identical for everyone that is over 18 and so naturally unlinkable. 

Such a credential needs to be bound to the legit holder, which is typically achieved by adding a public key (reference) to it (which is missing in your example). The holder must then create a presentation signed with the corresponding private key to proof possession and with that legitimate holdership. That key results in likability.