openwallet-foundation-labs / sd-jwt-js

A JavaScript implementation of the Selective Disclosure JWT (SD-JWT) spec.
https://sdjwt.js.org/
Apache License 2.0
36 stars 12 forks source link

Validate schema when issuing #248

Open cre8 opened 1 month ago

cre8 commented 1 month ago

Right now the schema behind vct is only validated when the credential is verified. To make sure only valid credentials are created, we also should validate the schema during issuance when there is a schema