Commit Graph

1225 Commits

Author SHA1 Message Date
0xturboblitz
127f58b4ef fix app bug, update imports 2024-09-15 17:12:16 +09:00
0xturboblitz
43faea5993 comment out App Clip target 2024-09-15 17:10:50 +09:00
turnoffthiscomputer
a76b5f500b fix leaf usage in register_ecdsa_sha1 2024-09-14 20:03:56 +02:00
turnoffthiscomputer
a18d969afd fix import in register circuits 2024-09-14 19:27:43 +02:00
turnoffthiscomputer
38febb5bab import crypto in prove.test.ts 2024-09-14 19:13:20 +02:00
turnoffthiscomputer
234a94d295 yarn format 2024-09-14 19:05:27 +02:00
turnoffthiscomputer
4778b20043 use parseCertificate instead of parseDsc 2024-09-14 19:05:11 +02:00
turnoffthiscomputer
8db93da2f1 Merge pull request #200 from zk-passport/register-circuits
Register circuits
2024-09-14 13:16:53 +02:00
turnoffthiscomputer
eb863c5d0d fix leafHasherLight_tester.circom 2024-09-14 13:10:24 +02:00
turnoffthiscomputer
64159c898c force leafHasherLight.circom not have no first letter in capital 2 2024-09-14 13:04:26 +02:00
turnoffthiscomputer
b58e911198 force leafHasherLight to have to first letter in capital 2024-09-14 13:03:53 +02:00
turnoffthiscomputer
fd34bc0d29 fix ofac/dislose tests 2024-09-14 12:52:41 +02:00
turnoffthiscomputer
f3c904e0fb add sigAlg in csca leaf 2024-09-14 12:45:57 +02:00
turnoffthiscomputer
e07b221a96 yarn format 2024-09-14 12:13:41 +02:00
turnoffthiscomputer
7383fd0f20 implement new leaf hasher, add special leafhashECDSA in circuits 2024-09-14 12:12:50 +02:00
turnoffthiscomputer
33df4d58e1 fix OpenPassportVerifier 2024-09-14 10:34:05 +02:00
turnoffthiscomputer
f567535ea2 merge branch 'dev' into register-circuits 2024-09-14 10:33:38 +02:00
turboblitz
7e0601acfc Merge pull request #198 from zk-passport/refactor-passportData
refactor mockPassportData generation
2024-09-14 15:19:20 +09:00
0xturboblitz
29929d818a add prettier to common, not running it to avoid bad merge 2024-09-14 15:11:47 +09:00
0xturboblitz
9bbaf7d4ce yarn format 2024-09-14 15:08:47 +09:00
0xturboblitz
12d42800bc fix ofac tests 2024-09-14 15:04:37 +09:00
0xturboblitz
9d33ae84a3 remove static mockPassportData
- can add them back if necessary, have to regenerate them so they have dscs
2024-09-14 14:05:38 +09:00
0xturboblitz
de8cacb48d remove comments 2024-09-14 14:03:27 +09:00
0xturboblitz
cc0a0ea4a2 use n_dsc_ecdsa everywhere when ecdsa 2024-09-14 13:50:23 +09:00
0xturboblitz
544aa78d12 add /common tests to github workflow 2024-09-14 13:44:03 +09:00
0xturboblitz
6c40783d5d move SignatureAlgorithm to types.ts 2024-09-14 13:38:42 +09:00
0xturboblitz
8e2dd94554 get SignatureAlgorithmIndex back in accordance with circuits 2024-09-14 13:33:35 +09:00
0xturboblitz
aa01c8e85c rename getSignatureAlgorithm to parseDSC 2024-09-14 13:25:00 +09:00
0xturboblitz
4bc2afcfa7 remove signatureAlgorithm and pubKey from PassportData 2024-09-14 13:11:58 +09:00
0xturboblitz
82cd1005d8 remove signatureOidToName 2024-09-14 12:59:40 +09:00
0xturboblitz
5a95fa9f51 fix disclose test 2024-09-14 12:52:22 +09:00
0xturboblitz
fb15c9427c update getLeaf to use DSC and SignatureAlgorithmIndex to use new names 2024-09-14 12:39:51 +09:00
0xturboblitz
7288bab526 simplify splitToWords, remove BigintToArray 2024-09-14 12:05:25 +09:00
0xturboblitz
f99f54e35b factor register tests 2024-09-14 11:55:21 +09:00
0xturboblitz
7e5c337a50 fix ecdsa 2024-09-14 11:37:44 +09:00
turnoffthiscomputer
1d80387ae7 update csca merkle tree 2024-09-13 20:32:38 +02:00
0xturboblitz
8522682f2a refactor mockPassportData generation
- Now using only genMockPassportData.ts
- Tests in `/common` verify them
- Mock DSCs for ecdsa
- Factor tests into unique files
- Broke register ecdsa sig verif, will fix
2024-09-14 01:29:04 +09:00
turnoffthiscomputer
0aa3fb9f40 yarn format 2024-09-13 18:27:33 +02:00
turnoffthiscomputer
ad5fa3ecb5 add rsapss to modal server 2024-09-13 18:15:10 +02:00
turnoffthiscomputer
cad4f37088 implement new rsapss template 2024-09-13 18:12:22 +02:00
turnoffthiscomputer
128cab0f70 fix rsapss when n*k != modulus_length 2024-09-13 18:07:20 +02:00
turnoffthiscomputer
66a5884cb3 add SplitSignalsToWordsUnsafe 2024-09-13 18:06:33 +02:00
turnoffthiscomputer
6aa414e323 add rsapss repo 2024-09-13 17:57:23 +02:00
turnoffthiscomputer
a8640a3e2c computeLeafFromPubKey in getCSCAInputs 2024-09-13 17:32:21 +02:00
turnoffthiscomputer
d29726762d add sha2 repo to circuits/utils 2024-09-13 17:29:23 +02:00
turnoffthiscomputer
2a707f159d add sha1 and rsapss to signatureOidToName 2024-09-13 14:32:24 +02:00
turnoffthiscomputer
15f0bfd1a9 change .crt to .pem 2024-09-13 14:31:35 +02:00
0xturboblitz
01a21866c8 remove nested array from ecdsa circuit inputs
- they are not supported by swift bindings
2024-09-13 20:30:34 +09:00
turnoffthiscomputer
48d7729300 allow more RAM in build_dsc_4096_circuits.sh 2024-09-12 18:37:33 +02:00
turnoffthiscomputer
0c0ea4bf52 change from LeafHasher to LeafHasherLight 2024-09-12 18:36:52 +02:00