Commit Graph

106 Commits

Author SHA1 Message Date
ashpect
3ea05325bd Merge branch 'dev' of github.com:zk-passport/proof-of-passport into dev 2024-06-27 08:33:12 +05:30
ashpect
334df4ceff Generate ofac circuit inputs 2024-06-27 08:31:05 +05:30
ashpect
ef62088e6e Parse ofac 2024-06-27 08:30:15 +05:30
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
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
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
turboblitz
acc5ed53ea Merge pull request #121 from seshanthS/feat/sha1WithRSAEncryption
Feat: sha1 with rsa encryption
2024-06-18 17:28:51 -07:00
0xturboblitz
aa3fc65370 temporarily commenting sha1 leaf for app to work 2024-06-18 17:26:05 -07:00
0xturboblitz
139151c337 make DEVELOPMENT_MODE global 2024-06-18 17:23:37 -07:00
0xturboblitz
b3a2b210a8 call validateProof with the sig alg index from the app 2024-06-18 17:14:28 -07:00
0xturboblitz
41ec15d8aa adapt contract tests to multiple register circuits 2024-06-18 16:55:57 -07:00
0xturboblitz
ab4980769c rename test files 2024-06-18 13:41:42 -07:00
turnoffthiscomputer
9252366004 add README.md, format result 2024-06-13 09:22:24 +02:00
0xturboblitz
ce0f2ef820 fix pkcs#1 padding in rsa for sha1 2024-06-11 23:14:00 +02:00
turnoffthiscomputer
52e89121fb init repo - add ProofOfPassportWeb2Verifier and test 2024-06-11 11:02:19 +02:00
seshanthS
40be3fe40b update test scripts 2024-06-10 22:12:03 +05:30
0xturboblitz
e7427a0245 new register verifier contract
- still need to update zkey urls, witness generators and deploy verifier contract
2024-06-10 12:20:16 +02:00
0xturboblitz
e48a6373bc update static mockPassportData with realistic dg1HashOffset 2024-06-10 12:00:36 +02:00
0xturboblitz
2222b638f6 add index selection for dg1Hash position in dataHashes 2024-06-10 12:00:00 +02:00
turnoffthiscomputer
24a59088e8 add passport data contribution 2024-06-09 19:12:40 +02:00
0xturboblitz
144fc87968 SHA384withECDSA mock passport data 2024-06-08 18:21:57 +02:00
0xturboblitz
9101f6a05d delete prev file, add tutorial 2024-06-02 18:54:24 +02:00
0xturboblitz
959836cac6 add rsassaPss mock data, refactor mock generation, add tutorial 2024-06-02 18:52:31 +02:00
0xturboblitz
9ecdc4bfa4 delete previous input generation file 2024-05-31 19:58:40 +02:00
0xturboblitz
4eb39188f8 fix IMT depth passed to circuit and contract 2024-05-22 01:22:52 +09:00
0xturboblitz
93eaf83f87 getting tree from server 2024-05-21 19:51:29 +09:00
0xturboblitz
4facd39e63 make sbt proof work (still "Invalid Proof" on Android) 2024-05-21 15:53:34 +09:00
0xturboblitz
0f92f33885 fixing LeanIMT import to @zk-kit/lean-imt (except in app.tsx) 2024-05-21 15:51:32 +09:00
0xturboblitz
b1355f7db7 commenting nullifiers, pushing new deployments 2024-05-17 15:30:07 +09:00
0xturboblitz
e3031aa378 fixed mock passport data in generateCircuitInputsRegister 2024-05-16 17:28:00 +09:00
0xturboblitz
a6a724db84 new name formatting 2024-05-16 17:27:29 +09:00
0xturboblitz
7b213f71f3 Integrate new two-step process and proving in mobile app
- still need to solve https call to merkle tree server
- not tested on android
2024-05-16 17:26:36 +09:00
turnoffthiscomputer
4795cdaa37 Update to LeanIMT, add Ignition deployment 2024-05-14 17:31:53 +09:00
turnoffthiscomputer
19904038b6 Refactor contracts, create RegisterAndDisclose.ts 2024-05-14 17:31:45 +09:00