w3c / vc-data-model-2.0-test-suite

W3C Verifiable Credentials v2.0 test suite
https://w3c.github.io/vc-data-model-2.0-test-suite/
Other
12 stars 15 forks source link

Find a way to get credentials with `validFrom` and/or `validTo` set by someone/something else. #107

Open BigBlueHat opened 3 months ago

BigBlueHat commented 3 months ago

This test needs writing: https://github.com/w3c/vc-data-model-2.0-test-suite/blob/a9f216070c2ee34d0264094e034ed4a0af1fd860/tests/4-9-validity-period.js#L116-L126

It's blocked by the fact that we send fixtures out to either (or both) issue or verify...so the test suite is only currently handling whether the receiving end can receive and process valid inputs (or chokes on invalid ones). It doesn't currently test received data it hasn't previously known about. Which makes this test particularly problematic.