Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: filter out invalid credentials on egress #341

Conversation

paullatzelsperger
Copy link
Member

@paullatzelsperger paullatzelsperger commented May 6, 2024

What this PR changes/adds

This PR filters out "invalid" (=expired, revoked, suspended, not-yet-valid) credentials from the result-set of the CredentialQueryResolver

Why it does that

wallets should never present invalid credentials

Further notes

  • the core module identity-hub-credentials was renamed identity-hub-core
  • there currently is no way to force the inclusion of invalid credentials. Doing so would have to be done as part of the PresentationQueryMessage, and would cause a change in the IATP Presentation Flow spec!

Linked Issue(s)

Closes #338

Please be sure to take a look at the contributing guidelines and our etiquette for pull requests.

@paullatzelsperger paullatzelsperger merged commit 05ededa into eclipse-edc:main May 6, 2024
14 checks passed
@paullatzelsperger paullatzelsperger deleted the feat/338_filter_invalid_creds_on_egress branch May 6, 2024 14:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dcp enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Presentation API: Filter expired/revoked credentials on egress
2 participants