Commit Graph

286 Commits

Author SHA1 Message Date
motemotech
6e8d134a70 add test for mint validations 2024-10-08 20:04:13 +09:00
turnoffthiscomputer
d46b11a61f fix app imports 2024-10-06 16:58:04 -07:00
turnoffthiscomputer
700e100e64 solve vkey merge issue 2024-10-03 15:08:08 -07:00
turnoffthiscomputer
312b74ad57 merge dev into merge-175 2024-10-03 15:07:59 -07:00
turnoffthiscomputer
1f08d6cb71 add brainpool to genMockPassportData.ts and mockCertificates.ts 2024-10-03 13:01:47 -07:00
turnoffthiscomputer
754d02e34a add brainpool certificates 2024-10-03 13:01:02 -07:00
turnoffthiscomputer
0ba2430226 update vkey.ts 2024-10-03 13:00:26 -07:00
turnoffthiscomputer
a85c75ac94 improve selector management and update proveCountryIsNotInList 2024-10-03 11:01:34 -07:00
0xturboblitz
b696bbc2cc fix typos 2024-10-03 10:26:40 -07:00
0xturboblitz
032eb02912 add remaining attributes to attestation 2024-10-03 10:23:42 -07:00
turnoffthiscomputer
81f7b0bf79 add new proveCountryIsNotInlist circuit and add it to prove 2024-10-03 07:14:48 -07:00
turnoffthiscomputer
36028da35c add ofac name check to prove circuit 2024-10-02 16:37:50 -07:00
turnoffthiscomputer
421372ee88 add variable first and lastname size 2024-10-02 16:19:53 -07:00
turnoffthiscomputer
3a6c68a212 refactor ofac and sanctionCountry circuits 2024-10-02 06:54:22 -07:00
turnoffthiscomputer
e84466f0ad merge 'ashpect/latest' into merge-175 2024-09-27 19:07:01 +02:00
turnoffthiscomputer
17a0a5e037 add empty vkey to attestation standard 2024-09-27 17:41:26 +02:00
turnoffthiscomputer
b68d510c48 update sdk 2024-09-27 17:01:57 +02:00
turnoffthiscomputer
b9e5da219b implement new dsc circuits and tests 2024-09-27 16:56:47 +02:00
turnoffthiscomputer
0a78f58222 add new attestation format 2024-09-25 20:13:25 +02:00
turnoffthiscomputer
ddd7e723d7 update witness gen 2024-09-25 20:12:05 +02:00
turnoffthiscomputer
35a697bfc6 add curve to ecdsa circuits name 2024-09-23 15:04:15 +02:00
turnoffthiscomputer
27645f785d implement new proof generation in app 2024-09-21 16:25:16 +02:00
turnoffthiscomputer
c6aaa1beca update sha1 constants size 2024-09-20 19:00:22 +02:00
turnoffthiscomputer
33acc291ea update eContent/signedAttributes maxLenght 2024-09-20 18:47:20 +02:00
turnoffthiscomputer
69e44bde10 add 7 bytes of padding before each DG hash 2024-09-20 18:40:50 +02:00
turnoffthiscomputer
752ec37092 Merge pull request #203 from zk-passport/refactor-circuits
Refactor circuits
2024-09-20 15:49:08 +02:00
turnoffthiscomputer
a79a46d9ff implement formatInput() in generateInputs 2024-09-20 14:49:09 +02:00
turnoffthiscomputer
a26e80649a delete register circuits 2024-09-20 13:48:28 +02:00
turnoffthiscomputer
715eee4f05 update prove into register and/or disclose circuit 2024-09-20 13:47:11 +02:00
turnoffthiscomputer
18764e94f7 adapt common scipts to new dsc circuits 2024-09-20 13:45:25 +02:00
turnoffthiscomputer
a239169f80 split bitmap into selector_dg1 and selector_older_than, fix nullifier generation in prove circuits 2024-09-19 19:03:39 +02:00
0xturboblitz
11a7c409f9 polyfill buffer in handleCertificate for mobile app 2024-09-19 09:45:46 -07:00
turnoffthiscomputer
e39925ca5d switch econtent for eContent 2024-09-19 13:13:00 +02:00
turnoffthiscomputer
4521b3bd57 move n and k out of generate inputs functions 2024-09-19 10:59:25 +02:00
turnoffthiscomputer
67f124b6fb fix ofac tests 2024-09-18 20:25:30 +02:00
turnoffthiscomputer
eb465057a4 pad dg2_hash to length 64, fix commitment generation 2024-09-18 20:16:29 +02:00
turnoffthiscomputer
4deab7103b adapt disclose to new circuits 2024-09-18 19:08:52 +02:00
turnoffthiscomputer
f992143069 add dg2 hash verification 2024-09-18 17:30:31 +02:00
turnoffthiscomputer
22e0390f52 adapt generate inputs for prove circuits 2024-09-18 16:55:32 +02:00
turnoffthiscomputer
896eda92d2 implement custom MAX_PADDED_ECONTENT_LEN and MAX_PADDED_SIGNED_ATTR_LEN for each sigalg 2024-09-18 15:37:16 +02:00
turnoffthiscomputer
081bc04689 update MAX_PADDED_SIGNED_ATTR_LEN 2024-09-17 16:29:14 +02:00
turnoffthiscomputer
8eb1115e9a hash data in generateInputs correctly 2024-09-16 17:00:05 +02:00
turnoffthiscomputer
448732b08c hardcode bits key length for ecdsa certificates 2024-09-16 16:59:37 +02:00
turnoffthiscomputer
4702d3cde3 rename LeafHashing functions 2024-09-16 16:57:15 +02:00
turnoffthiscomputer
f443a146d4 fix typo in utils.ts 2024-09-16 16:49:12 +02:00
turnoffthiscomputer
ce48d1d96a refactor openpassport register circuits templates, correction of variable names eContent and signAttr 2024-09-16 13:03:09 +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
7383fd0f20 implement new leaf hasher, add special leafhashECDSA in circuits 2024-09-14 12:12:50 +02:00