{"repo":"rarimo/passport-zk-circuits-noir","free":true,"listed":false,"github":"https://github.com/rarimo/passport-zk-circuits-noir","clone":"git clone https://github.com/rarimo/passport-zk-circuits-noir.git","description":"Noir implementation of passport verification circuits","language":"JavaScript","stars":16,"topics":["noir","noir-lang","passport","registration","zkp","zk-passport","zkpassport"],"license":"MIT","category":"auth-billing-email","readme_excerpt":"Implementation of Zero-Knowledge verification for biometric passports using Noir Requirements - nargo version = 1.0.0-beta.1 - bb verion = 0.66.0 Tests To run tests for a specific passport provide json file with the passport details (see) and use To run the noir tests use Run To build circuit use For proving the Barretenberg backend is recommended To generate a proof use Support Hash functions: - SHA-1 - SHA-224 - SHA-256 - SHA-384 - SHA-512 Signature algorithm - RSA 2048 bits - RSA 3072 bits - RSA 4096 bits - RSA-PSS 2048 bits (MGF1) - RSA-PSS 3072 bits (MGF1) - RSA-PSS 4096 bits (MGF1) - ECDSA over secp256r1 - ECDSA over brainpoolP256r1 - ECDSA over brainpoolP384r1 - ECDSA over brainpoolP512r1 - ECDSA over secp521r1 Naming conventions This proposal includes the mechanism for selecting the register identity circuit based on the passport parameters. Passport parameters (generic parameters): - Signature type (see the corresponding table); - Passport hash type (see the corresponding table); - Document type (see the corresponding table); - EC chunk number (number of hash blocks used by the encapsulated content, for SHA1, SHA256 block size = 512 bits, for SHA384, SHA512 block size = 1024 bits); - EC digest position (position of encapsulated content hash in the signed attributes); - DG1 digest position shift (position of the DG1 hash in the encapsulated content); - AA Signature type / NA - No Active auth (see the corresponding table); - DG15 digest position shift (position of the ","default_branch":null,"files":null,"tree":[],"storefront":"/r/rarimo","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/rarimo/passport-zk-circuits-noir/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."}