See dif-grant-1-jws-test-suite.
The purpose of this test suite is to enable interoperability testing across implementations of https://w3id.org/security/suites/jws-2020.
This suite is used to create verifiable credentials and presentations that conform to the VC Data Model.
This test suite does not currently support VC-JWT, even though some implementations may also support it.
npm i
npm run build
npm run report:clean
npm run report:generate
npm run report:evaluate
docker-compose build transmute
IMPLEMENTATION=transmute
INPUT=/data/credentials/credential-0.json
KEY=/data/keys/key-0-ed25519.json
OUTPUT=/data/implementations/$IMPLEMENTATION/credential-0--key-0-ed25519.json
docker-compose run $IMPLEMENTATION \
credential create \
--input $INPUT \
--output $OUTPUT \
--key $KEY
IMPLEMENTATION=transmute
INPUT=/data/presentations/presentation-0.json
KEY=/data/keys/key-0-ed25519.json
OUTPUT=/data/implementations/$IMPLEMENTATION/presentation-0--key-0-ed25519.json
docker-compose run $IMPLEMENTATION \
presentation create \
--input $INPUT \
--output $OUTPUT \
--key $KEY
IMPLEMENTATION=transmute
INPUT=/data/implementations/$IMPLEMENTATION/credential-0--key-0-ed25519.json
OUTPUT=/data/implementations/$IMPLEMENTATION/credential-0--key-0-ed25519.test.verification.json
docker-compose run $IMPLEMENTATION \
credential verify \
--input $INPUT \
--output $OUTPUT
IMPLEMENTATION=transmute
INPUT=/data/implementations/$IMPLEMENTATION/presentation-0--key-0-ed25519.json
OUTPUT=/data/implementations/$IMPLEMENTATION/presentation-0--key-0-ed25519.test.verification.json
docker-compose run $IMPLEMENTATION \
presentation verify \
--input $INPUT \
--output $OUTPUT