Commit Graph

419 Commits

Author SHA1 Message Date
turnoffthiscomputer
dcdba58c81 add url to vkey 2024-10-10 15:01:10 -07:00
turnoffthiscomputer
c7b1b31d2b filter '\u0000' from unpacked data 2024-10-10 14:57:32 -07:00
turnoffthiscomputer
070e40b694 add prove_onchain support 2024-10-10 14:53:32 -07:00
turnoffthiscomputer
bab737bf9b add signatureAlgorithm, hash function and mode to openpassportAttestation 2024-10-10 14:37:30 -07:00
turnoffthiscomputer
de0e407dc7 implement AttestationVerifier.ts 2024-10-10 13:39:17 -07:00
motemotech
e63c2caf2c delete unused function in utils.ts 2024-10-10 19:43:49 +09:00
motemotech
2822070005 add integration test for mint function 2024-10-10 18:03:25 +09:00
turnoffthiscomputer
cbfe45cb1a update sdk and app 2024-10-09 20:50:52 -07:00
turnoffthiscomputer
c1e3b7422e add countryNames and new appTypes 2024-10-09 19:47:54 -07:00
motemotech
946d4c591c preparation for OneTimeVerification.ts 2024-10-09 17:16:22 +09:00
motemotech
3a7e1d52aa move into unit test 2024-10-08 23:04:14 +09:00
motemotech
6e8d134a70 add test for mint validations 2024-10-08 20:04:13 +09:00
turnoffthiscomputer
a161a72a28 implement country list verification 2024-10-07 17:26:52 -07: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
c78a541b84 fix genMockPassportData.test.ts 2024-09-19 14:03:25 +02: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