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

Use local verifier in create tests to further reduce calls on external servers #55

Closed aljones15 closed 5 months ago

aljones15 commented 5 months ago

The test suite can be problematic to run as in some cases it can depend on external servers

Currently this test: https://github.com/w3c/vc-di-ecdsa-test-suite/blob/8934bca7ba1a3c615c4d058eb12690c99c785949/tests/10-rdfc-create.js#L77-L85

Calls on an external server for verification of an issued VC. This can be changed to a call on an internal verifier.

The vc-generator here: https://github.com/w3c/vc-di-ecdsa-test-suite/blob/main/tests/vc-generator/index.js

Currently uses an internal issuer for test data. It could be expanded to export a verifier that could be used to replace the external call on a verifier in the create tests.

aljones15 commented 5 months ago
aljones15 commented 5 months ago

closing as this has been addressed.