Skip to content

Demonstration for the Paper Creds Repository and Universal Verifier SDK

License

Notifications You must be signed in to change notification settings

supaeasy/paper-cred-demo

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

Demonstration for the Paper Creds Repository and Universal Verifier SDK

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • HTML 76.3%
  • JavaScript 20.0%
  • CSS 1.9%
  • Java 0.7%
  • Shell 0.4%
  • Python 0.4%
  • Ruby 0.3%