You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 
Vitor Pamplona be75304ce0 Fixing URL for the EU Schema 5 years ago
css Creating a simpler generator for the DCC 5 years ago
docs Updating Readme 5 years ago
img Activating PhotoIDs via QRs 5 years ago
js Fixing SHA256 call 5 years ago
keys Reorganizing the directories 5 years ago
libs Moving code to libs directory 5 years ago
.gitignore Removing launch files git 5 years ago
CNAME Create CNAME 5 years ago
LICENSE Create LICENSE 5 years ago
README.md Rewording the Readme 5 years ago
banknote.html Removing IBM Excelsior from the website. 5 years ago
color.html Adding space 5 years ago
cowin.html bugfix for the new version of DIVOC that requires public keys on the signing method 5 years ago
create_dcc.html Creating a simpler generator for the DCC 5 years ago
debug.html Activating Australian VDS in Debug and Verify pages. 5 years ago
eu.dgc.html Fixing URL for the EU Schema 5 years ago
eu.dgc.v1.html Removing IBM Excelsior from the website. 5 years ago
fhir.html Removing IBM Excelsior from the website. 5 years ago
icao.html Fixing ICAO's test record 5 years ago
index.html Removing Liberty page from index 5 years ago
index.v-1.html Improving QR Comparison page 5 years ago
index.v0.html event of generate and verify to GA. 5 years ago
index.v1.html event of generate and verify to GA. 5 years ago
index.v2.html event of generate and verify to GA. 5 years ago
index.v3.html event of generate and verify to GA. 5 years ago
index.v4.html event of generate and verify to GA. 5 years ago
index.v5.html Optimizing the Profile Pic. 5 years ago
liberty.html Removing IBM Excelsior from the website. 5 years ago
opencerta.html Removing IBM Excelsior from the website. 5 years ago
run-demos.sh Creating one script to run all demos. 5 years ago
us.ma.id.html Removing IBM Excelsior from the website. 5 years ago
verify.html Activating Australian VDS in Debug and Verify pages. 5 years ago
verify.java Refactoring to make the code slightly simpler. 5 years ago
verify.py Fix syntax 5 years ago
verify.rb Reorganizing the directories 5 years ago
verify.sh Reorganizing the directories 5 years ago
vial.html Removing IBM Excelsior from the website. 5 years ago

README.md

URI-based Verifiable Credentials Demos

This repository hosts a set of demos to sign and verify QR-based credentials created with the PathCheck's URI specification in multiple languages. Demos are available for in HTML+JavaScript, Ruby, Java, Python and Shell Script, computing locally.

Try it out!

Run locally:

The following scripts cryptographically sign and verify hardcoded payload you will find in the code. They were designed to look similar among each other and facilitate developer training as opposed to the best version they could be in each language.

Python

See it here.

Clone this Repository

git clone https://github.com/Path-Check/paper-cred-demo

Install the dependencies:

pip3 install ecdsa
pip3 install dnspython

and run with

python verify.py

Ruby

See it here.

Clone this Repository

git clone https://github.com/Path-Check/paper-cred-demo

Install the dependencies:

gem install base32

and run with

ruby verify.rb

Shell Script

See it here.

Clone this Repository

git clone https://github.com/Path-Check/paper-cred-demo

Give permissions:

chmod 777 verify.sh

and run with

./verify.sh

Java

See it here.

Clone this Repository

git clone https://github.com/Path-Check/paper-cred-demo

and run with

javac -classpath libs/commons-codec-1.15.jar verify.java 
java -classpath libs/commons-codec-1.15.jar:. verify