- Add missing dependency
@digitalbazaar/ed25519-verification-key-2020
.
- No longer depend on
@bedrock/vc-verifier
and bedrock related libs.
- BREAKING: Verify test suites generate data locally.
- BREAKING:
issuerName
no longer used in test suites. - BREAKING: Env variables related to
issuerName
no longer used.
- BREAKING: interop tests are now skipped by default;
DISABLE_INTEROP_TESTS
environment variable set tofalse
reenables them. - Support for issuing test data locally using VC 2.0 context.
- Support for running issuer-specific tests against an in-process verifier.
- RDFC verify tests now assert against required
keyType
s rather than only testing what is marked bysupportedEcdsaKeyTypes
as supported by integration. - Support for a new
localConfig.cjs
feature.- Adds options for test suite config and local implementation endpoint configuration.
- Test suites test against both VC
1.1
and2.0
test vectors.
- A new
credentials
section inrunner.json
that allows configuring static test vectors. - A new script that clones the
vc-di-ecdsa
repo andTestVectors
into the project. - A new
mocks
dir that contains static test vectors and respective pointers. - A new
issuerName
config property for configuring the issuer used to create test data. - A new
holderName
config property for configuring the holder used to create sd test data.
- The env variables for specifying the issuer for the RDFC & SD tests are now separate.
- The env variable for specifying the holder for the SD tests is now
SD_HOLDER_NAME
. - Data Integrity tests are now in their own file and can be run separately.
- Interop tests throw if the issuer fails to issue a VC.
- Get VC issuer and holder from test config for use in test data generation.
This will allow testers to specify the VC issuer and/or holder for
generating the test data. The default values have been set to
Digital Bazaar
.
- Adds tests for
ecdsa-sd-2023
cryptosuite.
- Adds test to check whether
proof.proofPurpose
field matches the verification relationship expressed by the verification method controller.
- BREAKING: The tests require the cryptosuite type value to be either
ecdsa-rdfc-2019
,ecdsa-jcs-2019
, orecdsa-sd-2023
. - BREAKING: The tags required for the test suite have been updated, shifting
from
ecdsa-2019
toecdsa-rdfc-2019
,ecdsa-jcs-2019
, and/orecdsa-sd-2023
.
- Removed unnecessary
verificationMethod.controller
test. The normative statement for that no longer exists in the spec.
- Add a new reporter option that generates the JSON used to create the report.
- Use
@digitalbazaar/[email protected]
.
- See git history for changes.