Skip to content

Add support for SD-JWT-VC presentations#10

Merged
MasterKale merged 42 commits intomainfrom
feat/doc-format-sd-jwt-vc
Apr 18, 2025
Merged

Add support for SD-JWT-VC presentations#10
MasterKale merged 42 commits intomainfrom
feat/doc-format-sd-jwt-vc

Conversation

@MasterKale
Copy link
Copy Markdown
Owner

@MasterKale MasterKale commented Apr 18, 2025

This PR adds support for presentation of SD-JWT-VC credentials. Output from verifyPresentationResponse() now also includes an issuerMeta property that includes the following times as Date values when available in the information provided by the Issuer:

  • validFrom: The time after which the document can be considered for use
  • expiresOn: The time after which the document should be considered unusable
  • issuedAt: When the issuer generated the document

A good amount of code cleanup is also included as adding support for this new doc format helped me crystalize some abstractions that were hard to pin down when writing mdoc support.

Presentation using this library was tested against the latest CMWallet. I plan on following this up with tests using OWF's Multipaz next.

@MasterKale MasterKale merged commit 8b07d13 into main Apr 18, 2025
2 checks passed
@MasterKale MasterKale deleted the feat/doc-format-sd-jwt-vc branch April 18, 2025 05:50
@MasterKale MasterKale mentioned this pull request Apr 18, 2025
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.

1 participant