290 Commits

Author SHA1 Message Date
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
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
f567535ea2 merge branch 'dev' into register-circuits 2024-09-14 10:33:38 +02: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
cc0a0ea4a2 use n_dsc_ecdsa everywhere when ecdsa 2024-09-14 13:50:23 +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
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
f99f54e35b factor register tests 2024-09-14 11:55:21 +09: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
cad4f37088 implement new rsapss template 2024-09-13 18:12:22 +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
0c0ea4bf52 change from LeafHasher to LeafHasherLight 2024-09-12 18:36:52 +02:00
turnoffthiscomputer
6b8182d68b add leafHasherLight and improve leafHasher 2024-09-12 17:47:58 +02:00
turnoffthiscomputer
7fb391f828 update n_csca and k_csca for 120, 35 2024-09-12 17:41:55 +02:00
turnoffthiscomputer
ff73cf7bb8 clean imports 2024-09-09 19:46:13 +02:00
turnoffthiscomputer
9477557fa8 import n_dsc and k_dsc from constants 2024-09-09 19:45:14 +02:00
turnoffthiscomputer
3fdf30dd21 import crypto module explicitly 2024-08-30 09:19:08 +02:00
0xturboblitz
0629a33a80 yarn format 2024-08-30 14:33:52 +09:00
turnoffthiscomputer
291f700a0b allow better scope/user_identifier type handling 2024-08-29 18:52:18 +02:00
turnoffthiscomputer
c3fc800c30 refactor revealBitmap and change genMockPassportData path 2024-08-27 13:57:08 +02:00
0xturboblitz
2303a20ce0 small cleanups ofac 2024-08-20 13:27:29 -07:00
0xturboblitz
bacdfabd50 fix ecdsa test 2024-08-20 13:10:59 -07:00
0xturboblitz
e98937cfd3 clean register ecdsa tests 2024-08-20 12:37:57 -07:00
0xturboblitz
29bdbc905f minor cleanups 2024-08-20 12:09:59 -07:00
turnoffthiscomputer
d0d95e5b31 add rsapss 2024-08-20 19:31:36 +01:00
turnoffthiscomputer
e31a9589a4 update n and k 2024-08-20 19:31:27 +01:00
turnoffthiscomputer
1556401214 clean prove circuits and add rsa sha1 2024-08-20 17:32:46 +01:00
0xturboblitz
12c7a85817 fix rsapss test I broke 2024-08-20 00:52:55 -07:00
turnoffthiscomputer
38d3acf828 yarn format 2024-08-19 16:51:51 +01:00
turnoffthiscomputer
95f1fba784 implement prove new circuit 2024-08-19 16:51:17 +01:00
turnoffthiscomputer
85cb552194 update disclose tests 2024-08-19 16:50:57 +01:00
turnoffthiscomputer
5da4f78e20 refactor verifier repo and rename econtent var 2024-08-19 16:49:59 +01:00
turnoffthiscomputer
77e3766914 yarn format 2024-08-18 18:25:18 +02:00
turnoffthiscomputer
9fa4196641 rename ofac circuits 2024-08-18 17:59:51 +02:00
turnoffthiscomputer
03fed2c13f rename circuits 2024-08-17 18:42:33 +02:00
turnoffthiscomputer
7cedeb82fb Merge branch 'dev' of https://github.com/zk-passport/openpassport into new-ux-refactor-circuits 2024-08-17 17:36:26 +02:00
ashpect
86f85f6d5f fix naming 2024-08-14 19:00:01 +05:30
ashpect
954fea910f fix lint 2024-08-14 18:55:38 +05:30
ashpect
839d297aaf tests passed 2024-08-14 18:36:55 +05:30
ashpect
ea23b33232 country zk-verification feature in pop 2024-08-11 18:50:44 +05:30