{"repo":"rarimo/passport-zk-circuits","free":true,"listed":false,"github":"https://github.com/rarimo/passport-zk-circuits","clone":"git clone https://github.com/rarimo/passport-zk-circuits.git","description":"Verifying biometric passports with zero knowledge proofs (SNARKs)","language":"Circom","stars":94,"topics":["did","icao","passport","zkp","zkproof","identity","zk-passport","zkpassport","circom"],"license":"MIT","category":"auth-billing-email","readme_excerpt":"Passport ZK Circuits Circuits for a voting system based on biometric passports scanning. Usage This repo provides tools for circuit generation for register identity by passport. To use it, u need a passport in json format. After putting passport into test/inputs/passport folder, run npm i or yarn , then run npm run test or yarn run test . It will generate main circuit and inputs for it in ciruits/generated and inputs/generated . All of this generated circuits refer to RegisterIdentityBuilder, our circuit to manage almost all cases for any passport, so u can put params manually if u don t have passport in json format. We also have query circuit, to reveal some data for already registered passport, description below. Biometric Passport Authentication Data in a passport is separated into data groups. Not all of them are required to be present in the passport. Document Security Object (SOD) has encapsulated content field that contains hashes of all datagroups. During passive authentication verification party hashes data from the datagroups and compare it with hashes stored in the encapsulated content with ASN1 encoding. The hash of the encapsulated content itself is stored in the signed attributes field, which is also ASN1 encoded. To verify signed attributes , verification party uses the passport signature, which is also stored in the SOD . To confirm that the passport is authenticated by a legitimate authority (ensuring the signer's public key is genuinely owned by a passport-i","default_branch":null,"files":null,"tree":[],"storefront":"/r/rarimo","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/rarimo/passport-zk-circuits/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}