Commit Graph

47 Commits

Author SHA1 Message Date
Vishalkulkarni45
b3f93afb68 feat: add dsc_sha384_rsapss_65537_48_3072 (#1197)
* feat: add dsc_sha384_rsapss_65537_48_3072

* fix: aadhaar tests

* chore: fix import
2025-10-03 19:39:19 +05:30
turnoffthiscomputer
874b426ebe Feat/retrieve OFAC trees from api (#769)
* retrieve the ofac trees from the api

* remove the ofac trees from the common repo

* fix ofac test

* yarn nice

* yarn nice

* yarn nice

* refactor ofac fetching
2025-07-21 11:07:04 +02:00
Nesopie
f4f5903b40 fix: circuit tests and tsconfigs (#621)
* fix: circuit tests and tsconfigs

* fix-ci: downgrade typescript version

* fix: yarn.lock

* fix: linting in common
2025-06-13 14:16:23 +02:00
Aaron DeRuvo
0e9c59c0fb SEL-56: Setup Yarn Workspaces (#584) 2025-06-04 11:37:32 +02:00
nicoshark
668732a57b Chore/refactor contracts (#582)
* add eu id support

* add ofac and disclosure euid support

* add contract support for euid cards

* update contracts

* add comment out to remember the interface what we need to implement

* prettier

* get combine verifyVcAndDisclose function and get bytes data

* unified library and clean constant V2

* fix verifyVcAndDisclose interface

* add prettier and run prettier except .sol files

* prettier

* circuit compilation for local environment

* add register id circuit in the contracts dir

* clean up ignition deploy scritps

* refactor deploy scripts

* prettier

* update serialized dsc tree

* fix ofac check

* fix passport attestation id

---------

Co-authored-by: turnoffthiscomputer <colin.remi07@gmail.com>
2025-06-03 14:58:41 +09:00
turnoffthiscomputer
5d01e29bf4 add eu id support (#527)
* add eu id support

* add ofac and disclosure euid support

* add contract support for euid cards

---------

Co-authored-by: motemotech <i.am.nicoshark@gmail.com>
2025-05-30 18:24:11 +02:00
turnoffthiscomputer
cc169061bd add common sdk (#537)
* add common sdk

* remove sdk backend api

* remove registry

* regenerate sha256 rsa dsc each time

* download ski-pem dynamically on staging, refactor initpassportDataParsing

* add state machine for button on prove screen, improve ux on splash screen

* fetch ski-pem in production

* fix linter issues

* fix prove screen button bugs

* update podfile.lock and yarn.lock

* run linter in circuits repo

* bump build

* bump version for sentry debugging

* bump ios to version 118

---------

Co-authored-by: Justin Hernandez <transphorm@gmail.com>
2025-05-07 11:45:21 +02:00
turboblitz
dc5529b507 Fix input generation for 521bit curves (#481)
* fix EC point padding for 521 bit curves

* rename modulus to point in findStartIndexEC as it is a point

* simplify matching logic

* simplify padding logic

* remove comment

* remove log

removing .only so the CI/CD runs circuit tests

fix disclosure test

fix scope in test

fix scope error in circuit tests

remove .only

fix test

* run ci/cd
2025-04-17 09:59:13 +02:00
turboblitz
6d4c211c51 New OFAC updates (#47)
Co-authored-by: nicoshark <i.am.nicoshark@gmail.com>
2025-02-12 22:21:01 +01:00
turboblitz
629dfdad1a Bringing openpassport/main (#19)
Co-authored-by: seshanthS <seshanth@protonmail.com>
Co-authored-by: turnoffthiscomputer <colin.remi07@gmail.com>
Co-authored-by: thomas-senechal <thomas.senechal@pm.me>
Co-authored-by: motemotech <i.am.nicoshark@gmail.com>
Co-authored-by: turnoffthiscomputer <98749896+remicolin@users.noreply.github.com>
Co-authored-by: ayman <aymanshaik1015@gmail.com>
2025-02-05 11:13:52 +01:00
turnoffthiscomputer
e1ea30bb07 rename smt_leaf_value for smt_leaf_key 2025-01-15 13:13:13 +01:00
turnoffthiscomputer
f1097c5b5e use new genMockPassportData function 2025-01-05 23:53:55 +01:00
motemotech
d0090d078c modify other files for new signature data types 2024-11-29 21:24:12 +09:00
turnoffthiscomputer
75dd587456 import @openpassport/zk-kit in other repos 2024-10-27 14:17:35 +01:00
turnoffthiscomputer
d0d5d64bfc yarn format 2024-10-03 07:15:32 -07:00
turnoffthiscomputer
43eb86a12a update function names 2024-10-02 16:37:18 -07:00
turnoffthiscomputer
421372ee88 add variable first and lastname size 2024-10-02 16:19:53 -07:00
turnoffthiscomputer
38983ca2e2 update ofacVerification for ofacCheckResult 2024-10-02 15:06:39 -07:00
turnoffthiscomputer
ba4e99461f update smt check to return 0 instead of creating a constraint 2024-10-02 15:03:27 -07:00
turnoffthiscomputer
3a6c68a212 refactor ofac and sanctionCountry circuits 2024-10-02 06:54:22 -07:00
turnoffthiscomputer
f8c6dc9e40 yarn format 2024-09-19 19:05:47 +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
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
fd34bc0d29 fix ofac/dislose tests 2024-09-14 12:52:41 +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
4bc2afcfa7 remove signatureAlgorithm and pubKey from PassportData 2024-09-14 13:11:58 +09:00
0xturboblitz
fb15c9427c update getLeaf to use DSC and SignatureAlgorithmIndex to use new names 2024-09-14 12:39:51 +09: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
0xturboblitz
2303a20ce0 small cleanups ofac 2024-08-20 13:27:29 -07:00
0xturboblitz
29bdbc905f minor cleanups 2024-08-20 12:09:59 -07: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
ashpect
384c53556b Merge branch 'dev' of github.com:zk-passport/proof-of-passport into dev 2024-08-08 03:25:30 +05:30
ashpect
760b34d585 remove common components 2024-08-08 03:14:46 +05:30
ashpect
04a52e6766 fix lint 2024-08-05 20:59:06 +05:30
ashpect
80897a8e09 update ofac circuits tests 2024-08-05 20:48:16 +05:30
ashpect
affece9f0b linting 2024-07-28 12:38:20 +05:30
ashpect
48c45ef9e0 add tests for edge cases 2024-07-28 12:25:29 +05:30
ashpect
2d40b64e41 add more edge cases tests 2024-07-26 03:00:10 +05:30
ashpect
0f63c97858 fix linting to pass tests 2024-07-23 04:50:07 +05:30
ashpect
d76f38e07e unnecessary imports 2024-07-23 04:47:12 +05:30
ashpect
3056b01594 update paths for mock data 2024-07-23 04:31:16 +05:30
ashpect
d6ec67fd49 merge dev fork with dev origin 2024-07-23 04:09:40 +05:30