-
Notifications
You must be signed in to change notification settings - Fork 57
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
Credential Schema VcDataModel Impl #491
Conversation
🦋 Changeset detectedLatest commit: b3c0f69 The changes in this PR will be included in the next version bump. This PR includes changesets to release 1 package
Not sure what this means? Click here to learn what changesets are. Click here if you're a maintainer who wants to add another changeset to this PR |
TBDocs Report 🛑 Errors: 0 @web5/api
@web5/crypto
@web5/crypto-aws-kms
@web5/dids
@web5/credentials
TBDocs Report Updated at 2024-04-15T21:46:28Z |
Codecov Report
Additional details and impacted files@@ Coverage Diff @@
## main #491 +/- ##
=======================================
Coverage 90.55% 90.55%
=======================================
Files 112 112
Lines 29085 29096 +11
Branches 2078 2079 +1
=======================================
+ Hits 26338 26349 +11
Misses 2712 2712
Partials 35 35
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
seems simple enough, and no semver binary incompatibilities
do you think we should verify the schema during the signing functionality @nitro-neal ?
looks like security audit is failing @nitro-neal - something about mysql? can you look into this and either bump or remove the dep |
there is a pr for the vuln here - decentralized-identity/dwn-sql-store#25 And yup there will be a future pr about resolving the schema, and failing on verify if the schema does not match. I think this should go in on our modular approach work to verify, some verifiers may not care about the schema so we need Verify Options to have it be optional. tracked here - #425 |
can you explain how fixing the vuln in a different repo would also address it here? is it somehow linked? |
Aye mysql is a transitive dependency coming from dwn-sql-store |
Implement Credential Schema
A credential schema defines the structure and content of the data, enabling verifiers to assess if the data adheres to the established schema.
https://www.w3.org/TR/vc-data-model/#data-schemas