Filter on data in DCQL
Nobody has claimed this yet.
- Dominant language
- Shell
- Stars
- 112
- Forks
- 38
- Avg merge
- 12d 19h
- Merged PRs (30d)
- 4
Description
@decentralgabe I don't see a way to filter on conditional data, has this been excluded intentionally?
For example, requiring that an
agefield is over21is incredibly useful and prevents unnecessary disclosure.If I have a credential and I'm 20 then I should not need to send the credential (or a subset of its fields) when I could simply determine that I should send nothing.
Without these types of conditionals the query language promotes over-identification.
This is not part of this PR, but there's a plan how to do it — we can use the "transformed claims" syntax from "Advanced Syntax for Claims" from the OpenID eKYC working group.
Originally posted by @danielfett in https://github.com/openid/OpenID4VP/issues/266#issuecomment-2429953684
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reading the issue discussion and the linked OpenID eKYC “Advanced Syntax for Claims” section on transformed claims. Define how conditional data filters should fit into DCQL and what query and disclosure behavior would count as complete; the payload names no repository files or tests.
Written by the indexing model from the issue text.
Assessment
- Domain
- authentication, security
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 30/100