w3c / vc-di-ecdsa-test-suite

Interoperability Test Suite for Data Integrity Ecdsa Signatures.
https://w3c.github.io/vc-di-ecdsa-test-suite/
BSD 3-Clause "New" or "Revised" License
5 stars 6 forks source link

Add issuance date to initial vc. #3

Closed JSAssassin closed 1 year ago

JSAssassin commented 1 year ago

API catalog issuer fails to issue if issuance date doesn't exist, so I've included issuance date in the initial vc.

The PR also removes throwing error within createInitialVc() function since the function is mostly called in the before statements of the tests and if it throws, it prevents the execution of tests.

aljones15 commented 1 year ago

just to make sure you're using the VC 1.0 context here? If the VC 2.0 context does not have issuanceDate in it.