Commit Graph

129 Commits

Author SHA1 Message Date
0xvikasrushi
adf661f801 feat: Added tests for invaild mrz, signature and econtent. 2024-07-28 21:14:27 +00:00
0xvikasrushi
33fa8c7bf1 feat: register circuits tests 2024-07-28 20:14:23 +00:00
0xvikasrushi
8391df73c1 feat: sha1 with ecdsa verifier 2024-07-28 18:22:43 +00:00
0xvikasrushi
85b4f3a9c5 fix: signature fail in gen inputs 2024-07-28 08:29:21 +00:00
0xvikasrushi
ed1397b923 feat: generate inputs for ecdsa with sha1 2024-07-28 06:21:48 +00:00
0xvikasrushi
d359122984 feat: mock data sha1_ecdsa p256 2024-07-16 23:27:15 +05:30
0xvikasrushi
55ed0fe9a2 feat: added prettierrc 2024-07-16 23:14:49 +05:30
turnoffthiscomputer
464f6d21ce refactor circuits repo, clean circuits tests, implement new certificates scripts, fix all tests from circuits repo 2024-07-14 15:44:55 +02:00
turnoffthiscomputer
f99adb356b refactor circuits repo, add sha1 and rsapss dsc verification in circuits 2024-07-14 00:04:53 +02:00
turnoffthiscomputer
aedbd79491 use randomness to generate throw away dsc secret 2024-06-30 22:43:31 +02:00
turnoffthiscomputer
4661bd21cc clean code 2024-06-30 15:46:04 +02:00
turnoffthiscomputer
99e9969768 change mockCertificate file name 2024-06-30 13:09:49 +02:00
turnoffthiscomputer
f433bf84ce refactor some code, allow dsc verification with mock passport data 2024-06-30 12:58:00 +02:00
turnoffthiscomputer
b7622054c5 delete useless certificates 2024-06-30 12:55:01 +02:00
turnoffthiscomputer
b9eecad03a update rpc url 2024-06-30 00:13:53 +02:00
turnoffthiscomputer
0ac3fa88df merge with dev 2024-06-29 23:17:12 +02:00
turnoffthiscomputer
557fc740be Merge remote-tracking branch 'origin/dev' into csca 2024-06-29 22:55:01 +02:00
turnoffthiscomputer
96ec1a46e8 update deployed contract address 2024-06-25 17:22:38 +02:00
turnoffthiscomputer
fb4a2a6e60 update commitment_tree_tracker url 2024-06-25 17:10:24 +02:00
turnoffthiscomputer
0ceff2c38b update proof casting 2024-06-25 12:00:27 +02:00
turnoffthiscomputer
c6ed2cc6eb update constants.ts with new url 2024-06-25 11:53:31 +02:00
turnoffthiscomputer
97ce1605d4 update app to new circuits 2024-06-24 23:13:03 +02:00
turnoffthiscomputer
f94065ab12 onboard merkle tree serialization 2024-06-24 23:10:32 +02:00
turnoffthiscomputer
13c8a87b02 add csca server proving (commented) and change register zkey (error during proving) 2024-06-23 14:08:25 +02:00
0xturboblitz
1078ad2337 temp comment out new circuits just for app to work 2024-06-22 11:51:44 -07:00
0xturboblitz
09a8b77e82 add solidity tests for sha256WithRSASSAPSS 2024-06-22 11:50:46 -07:00
0xturboblitz
de5901eada rename rsassaPss to sha256WithRSASSAPSS everywhere 2024-06-22 11:49:11 -07:00
turnoffthiscomputer
501020b44c update smart contracts with the new two proofs set-up 2024-06-22 20:21:02 +02:00
turnoffthiscomputer
b99d193085 split the set-up in two proofs 2024-06-22 20:19:33 +02:00
seshanthS
8ae42c63b1 rsassapss: Add test 2024-06-22 18:06:40 +05:30
0xturboblitz
9eb3925399 temp comment sha1WithRSAEncryption too 2024-06-20 16:46:29 -07:00
0xturboblitz
2b7a0ca0dd sheet suggesting contribution if passport not supported 2024-06-20 16:43:56 -07:00
0xturboblitz
02d549bfaf checking if commitment is registered before trying to register it again 2024-06-20 16:01:31 -07:00
0xturboblitz
d8fcb8976f temporarily comment dg1HashOffset so registration works 2024-06-20 15:20:35 -07:00
0xturboblitz
89758dabfd add full dsc to PassportData 2024-06-20 14:36:58 -07:00
turnoffthiscomputer
07e8d1348d implement merkle tree check on csca modulus 2024-06-20 18:30:56 +02:00
turnoffthiscomputer
c9970b4e9d add mock_csca.txt 2024-06-20 18:27:37 +02:00
turnoffthiscomputer
2f547b70cd clean certs 2024-06-20 16:55:08 +02:00
turnoffthiscomputer
5a773a4db3 refactor some code, generate dsc verification inputs in app, update dsc.circom and tests 2024-06-20 13:37:50 +02:00
0xturboblitz
54af42bfd6 make sure that app can work with set of mockPassportDatas previously deployed on chain 2024-06-18 18:56:48 -07:00
0xturboblitz
69f792d4f6 rename dg1HashOffset to dg1_hash_offset 2024-06-18 17:50:34 -07:00
0xturboblitz
8dc5144b97 make DEVELOPMENT_MODE global 2024-06-18 17:40:07 -07:00
0xturboblitz
8a1b1f1076 adapt contract tests to multiple register circuits 2024-06-18 17:39:26 -07:00
0xturboblitz
aac4d07caa rename test files 2024-06-18 17:39:26 -07:00
0xturboblitz
ea36c775f1 fix pkcs#1 padding in rsa for sha1 2024-06-18 17:39:26 -07:00
seshanthS
28fd6f9bcd update test scripts 2024-06-18 17:39:26 -07:00
turnoffthiscomputer
852ecfd617 add README.md, format result 2024-06-18 17:38:58 -07:00
turnoffthiscomputer
438ee8daa7 init repo - add ProofOfPassportWeb2Verifier and test 2024-06-18 17:38:58 -07:00
turnoffthiscomputer
80bc67b162 add passport data contribution 2024-06-18 17:38:58 -07:00
turnoffthiscomputer
4b94f54957 adapt dsc.circom to support different dsc/csca key size 2024-06-17 17:58:27 +02:00