0.0.5 • Published 9 months ago

pcd-country-identity v0.0.5

Weekly downloads
-
License
MIT
Repository
github
Last release
9 months ago

anon-aadhaar

About project

Requirements

Install rust and nodejs v18, openssl(Usually installed in macOS and Linux).

Install and test

Install nodejs dependencies.

yarn

Install circom and download powers of tau file.

./script/setup-dev.sh install

Generate verification key and proving key.

NOTE:This action use for development only. Don't use it in product, please!

./script/setup-dev.sh setup  

Run test

yarn test

Generate pdf file with pkcs#1 schema. This action will create pdf file name signed.pdf signed by certificate.cer in build folder.

./script/setup-dev.sh pdf_setup