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

Initial support for SD-JWT VC. #595

Merged
merged 1 commit into from
May 8, 2024
Merged

Initial support for SD-JWT VC. #595

merged 1 commit into from
May 8, 2024

Conversation

davidz25
Copy link
Contributor

@davidz25 davidz25 commented May 6, 2024

This adds a new identity-sdjwt library which includes support for working with the core data structures in IETF SD-JWT and SD-JWT VCs. Future commits will add support for provisioning and presentation in the 'wallet' module.

Test: New unit and all unit tests pass.

@davidz25 davidz25 requested a review from sorotokin May 6, 2024 20:00
throw AttributeNotDisclosedException("attribute $attribute not included in disclosures")
}

val disclosure = matchingDisclosures[0]
Copy link
Contributor

Choose a reason for hiding this comment

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

Would multiple matches also be bad? if so singleOrNull is an elegant way to handle this

Copy link
Contributor Author

Choose a reason for hiding this comment

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

@davidz25
Copy link
Contributor Author

davidz25 commented May 8, 2024

Thanks for the review, force-pushed some of the nit fixes! Will land this.

This adds a new identity-sdjwt library which includes support for
working with the core data structures in IETF SD-JWT and SD-JWT
VCs. Future commits will add support for provisioning and presentation
in the 'wallet' module.

Test: New unit and all unit tests pass.

Co-authored-by: David Zeuthen <[email protected]>
Signed-off-by: David Zeuthen <[email protected]>
@davidz25 davidz25 merged commit d3b328f into main May 8, 2024
5 checks passed
@davidz25 davidz25 deleted the sdjwt branch May 8, 2024 15:11
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.

4 participants