Skip to content

Latest commit

 

History

History
48 lines (36 loc) · 1.32 KB

README.md

File metadata and controls

48 lines (36 loc) · 1.32 KB

GitHub Demo

This SCITT demo shows an issuer using a did:web identifier hosted on GitHub, submitting a claim, receiving a receipt, and validating it.

Prerequisites

This demo requires a GitHub Pages user/organization site. To create a site, follow the GitHub Pages user/organization documentation. If you don't have a GitHub account or you don't want to use the GitHub Pages site associated with your account, you can create a new user on GitHub.

Instructions

Acting as the SCITT Operator run:

./build.sh
./start.sh

Alternatively, set the SCITT_URL variable if you are targeting a remote instance:

export SCITT_URL=<address>

In a new terminal run:

./demo/github/0-install-cli.sh
source venv/bin/activate
./demo/github/1-scitt-setup.sh

Acting as the claim producer run:

Note: Replace <username> with the GitHub username associated with the GitHub Pages site being used for this demo.

export GITHUB_USER=<username>  
./demo/github/2-create-did.sh
curl https://${GITHUB_USER}.github.io/.well-known/did.json
./demo/github/3-sign.sh
./demo/github/4-submit.sh
./demo/github/5-view-receipt.sh

Acting as the claim consumer run:

jq . tmp/trust_store/scitt.json
./demo/github/6-validate.sh