openid / openid/OpenID4VP

Selecting any array value with DCQL

Open
#643 8 comments 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

Suppose we have a DCQL query with claims and without claim_sets. If a claims path pointer in that query contains null, then that selects all elements of an array. Combined with this sentence in Section 6.4.1:

If claims is present, but claim_sets is absent, the Verifier requests all claims listed in claims.

That seems to say that the wallet must send all array elements - if I interpret the word "listed" there correctly. (The word "selected" would be clearer in this case.)

I have two questions:

  1. Is that correct? Or is the wallet also allowed to disclose a subset of the array?
  2. If that is correct, does that mean there is no way for the verifier to say "I want any of the elements of the array"? For example, in this example supposing that the verifier wants any degree, doesn't care which one, and doesn't need all of them.

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.1 and the claims path pointer example linked in the issue, then compare the meanings of “listed” and “selected” when a path contains null. Done means the specification clearly answers whether wallets may disclose a subset and how a verifier requests any array element.

Written by the indexing model from the issue text.

Assessment

Domain
documentation
Issue type
Documentation
Difficulty
4/5
Estimated time
3-5 days
Activity status
Quiet
Clarity
Mostly clear
Newbie friendliness
48/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.