openid / openid/OpenID4VP

[DCQL] Specify what selecting a selectively disclosable object means

Open
#679 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Shell
Stars
112
Forks
38
Avg merge
12d 19h
Merged PRs (30d)
4

Description

In Section 6.4 it is specified that DCQL allows [...] selecting a minimal dataset to fulfill the Verifier's request in a privacy-friendly manner [...]. Further Wallets MUST NOT send selectively disclosable claims that have not been selected according to the rules below.

The question now arose what happens with the following object

{
   "birth_place" : { <------ as a whole selectively disclosable
       "locality" : "somehting", <--- selectively disclosable
       "street" : "something street", <----- selectively disclosable
       "house_number" : 25 <---- _NOT_ selectively disclosable
   }
  [...]
}

when the following claims pointer is requested:

["birth_place"]

My interpretation of "selecting a minimal dataset to fulfill the verifiers request" would mean that only house_number would be revealed. I have asked this question to a very small non representative set of people, and intuitively all of them would agree with my interpretation.

The specification provides us with an example:

["address"]: The claim address with its sub-claims as the value is selected.

Which naively contradicts my interpretation...

I think it would make sense to clarify that "sub-claims" also includes selectively disclosable sub-claims (to clarify this is indeed the intention). If this was not the intention, then it should definitely be specified that it only includes "NON disclosable sub-claims".

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with Section 6.4 and the Section 7.3 example in the linked OpenID4VP specification, then compare their wording with the rules for selecting claims. Done means the specification explicitly resolves whether selecting an object includes selectively disclosable sub-claims.

Written by the indexing model from the issue text.

Assessment

Domain
security
Issue type
Documentation
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.