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

fix: verify status list and fixes #1872

Conversation

TimoGlastra
Copy link
Contributor

This adds verification of status in an SD-JWT. Issuance will be added in a follow up PR.

I also discovered that a lot of validations required by SD-JWT VC were not done since we moved to the OWF SD-JWT implementation. that library doesn't validate the payload really, whether it's expired, etc... I opened openwallet-foundation-labs/sd-jwt-js#236 in Sd-JWT library. It seems they mainly focus on SD-JWT (not SD-JWT VC).

We also didn't have any negative tests that covered this -- so also added a bunch of new tests to handle these cases.

@berendsliedrecht Maybe you can do a pass at SD-JWT VC library soon (maybe in combination with openwallet-foundation-labs/sd-jwt-js#83 and openwallet-foundation-labs/sd-jwt-js#227) to make the validation in SD-JWT a bit more robust?

@TimoGlastra TimoGlastra changed the title feat: verify status list and fixes fix: verify status list and fixes May 19, 2024
Signed-off-by: Timo Glastra <[email protected]>
Signed-off-by: Timo Glastra <[email protected]>
Copy link
Contributor

@berendsliedrecht berendsliedrecht left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Couple of minor points, but nothing blocking.

Signed-off-by: Timo Glastra <[email protected]>
@TimoGlastra TimoGlastra enabled auto-merge (squash) June 4, 2024 12:58
Signed-off-by: Timo Glastra <[email protected]>
@TimoGlastra TimoGlastra force-pushed the feat/sd-jwt-revocation-verification branch from a2e36e7 to 9c0f46b Compare June 4, 2024 15:13
@TimoGlastra TimoGlastra disabled auto-merge June 6, 2024 06:56
@TimoGlastra TimoGlastra merged commit a8d80a4 into openwallet-foundation:main Jun 7, 2024
12 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants