- From: Manu Sporny <msporny@digitalbazaar.com>
- Date: Mon, 22 Jan 2024 10:56:51 -0500
- To: Julien Fraichot <Julien.Fraichot@hyland.com>
- Cc: "W3C Credentials CG (Public List)" <public-credentials@w3.org>
On Mon, Jan 22, 2024 at 9:50 AM Julien Fraichot
<Julien.Fraichot@hyland.com> wrote:
> Thanks Manu for the detailed answer, I’ve also been having a conversation with Dave Longley on the github repo so everything is clearer now.
Good, glad it is starting to make sense.
>> Simple predicates can be done with static values. That is: "over age
>> 15", "over age 18", "over age 21".
>
> Can you elaborate on this? Is that a built-in feature of the spec/implementation – or is it by returning a piece of data such as the Date of Birth, the verifier has to implement a computational check?
Since we're talking about data structures that can be selectively
disclosed, one can imagine a verifiable credential with the following
selectively disclosable fields:
"credentialSubject": {
...
"birthday": "1992-04-18",
"ageOver15": true,
"ageOver18": true,
"ageOver21": true,
"ageOver25": true,
"ageOver65": false,
...
}
Using ecdsa-sd, the holder can choose to just disclose "ageOver18"
(arguably, a "predicate proof") instead of "birthday" (which would
reveal more identifying information about the subject).
-- manu
--
Manu Sporny - https://www.linkedin.com/in/manusporny/
Founder/CEO - Digital Bazaar, Inc.
https://www.digitalbazaar.com/
Received on Monday, 22 January 2024 15:57:34 UTC