Skip to content

mesur-io/vc-jwt-test-suite

 
 

Repository files navigation

VC JWT 2.0 Test Suite

Report

Test Report Generation

graph LR
  Sample["Sample Implementation"]
  NewImp["+ New Implementation"]
  Pages["GitHub Pages"]
  Sample --> Main
  NewImp  --> Main
  Main --> Pages
Loading

Usage

npm i
npm run report:output:generate
npm run report:output:summarize

Docker Basics

docker-compose build

Sample CLI

Generate Key

docker-compose run sample key generate --private --alg ES384 \
--output /data/inputs/keys/private.key.ES384.json \
--debug

Issue Credential

docker-compose run sample credential create \
--key /data/inputs/keys/private.key.ES384.json \
--input /data/inputs/claimsets/_minimal-credential.json \
--output /data/outputs/sample/_minimal-credential.proof.json \
--debug

Verify Credential

docker-compose run sample credential verify \
--key /data/inputs/keys/private.key.ES384.json \
--input /data/outputs/sample/_minimal-credential.proof.json \
--output /data/outputs/sample/_minimal-credential.proof.verified.json \
--debug

Issue Presentation

docker-compose run sample presentation create \
--key /data/inputs/keys/private.key.ES384.json \
--input /data/inputs/claimsets/_minimal-presentation.json \
--output /data/outputs/sample/_minimal-presentation.proof.json \
--debug

Verify Presentation

docker-compose run sample presentation verify \
--key /data/inputs/keys/private.key.ES384.json \
--input /data/outputs/sample/_minimal-presentation.proof.json \
--output /data/outputs/sample/_minimal-presentation.proof.verified.json \
--debug

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 65.3%
  • Shell 19.1%
  • HTML 12.3%
  • Dockerfile 3.3%