-
Notifications
You must be signed in to change notification settings - Fork 6
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
Test Vectors - Verifiable Credentials #168
Comments
any thoughts on the practicality for validating the vc schema more robustly? here is an example we have:
currently we just have "errors:true" so maybe web5-js throws an error for the correct thing (bad first context) BUT maybe web5-rs throws an unknown other issue like issuanceDate parsing or something. There was an appraoch we were thinking of taking where it was a new element in the vecotr mapping of error messages So you would know it is failing for the correct reason.. Is this overkill? any other suggestions ? |
I like where you're headed...we should catalog the type of errors that could arise and make sure we have test vectors for each of them. Saying "we have an error" is good, but it would be better to produce specific errors given specific faulty inputs. We can have multiple 'positive' and 'negative' test cases, describing what they're specifically testing. |
This issue outlines gaps in testing of Verifiable Credentials and associated specs (JSON Schema, Status List, Verifiable Presentations). Tasks may have partial test coverage today (linked if true). If sufficient test coverage already exists, please close the task and link the relevant test.
Tasks may need discussion on the best way to approach them. The goal is to create a set of language agnostic test vectors that give us sufficient confidence in maintaining interoperability of features between implementations.
https://tbd54566975.github.io/web5-spec/#verifiable-credentials-vcs
https://tbd54566975.github.io/web5-spec/#verifiable-credentials-v11-data-model
https://tbd54566975.github.io/web5-spec/#verifiable-presentation-v11-data-model
W3C Verifiable Credentials v1.1
VCDM v1.1 Verifiable Credentials support the full data model today's tests
VCDM v1.1 Sign and Verify VCs using VC-JWT today's tests
VCDM v1.1 Validate Verifiable Credentials today's tests
W3C Verifiable Presentations v1.1
VCDM v1.1 Verifiable Presentations support the full data model
VCDM v1.1 Sign and Verify VPs using VP-JWT
VCDM v1.1 Validate Verifiable Presentations
The text was updated successfully, but these errors were encountered: