Commit Graph

652 Commits

Author SHA1 Message Date
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
turnoffthiscomputer
5904234d2e Feat/simpler contract sdk (#519)
* make contract sdk simpler

* reduce root inputs

* delete convert function

* summarize our library

* update npm package

* update package version

* update attestation id

* add util function to get revealed data

---------

Co-authored-by: motemotech <i.am.nicoshark@gmail.com>
2025-04-17 16:06:49 +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
nicoshark
624d0e568d Feat/forbidden countries utils (#504)
* add forbidden countries util function

* remove casting
2025-04-04 18:58:30 +05:30
nicoshark
d266cf2ced Feat/add new verifiers (#488)
* update verifiers

* update and deploy new verifiers
2025-03-30 19:22:15 +02:00
nicoshark
9d8c475de0 Docs/contracts (#467)
* add new columns in contracts readme

* update contracts readme
2025-03-18 13:08:43 +01:00
ayman
71651f78ce chore: limit the number of parallel circuits being built to 5 2025-03-16 20:21:54 +05:30
ayman
7844fdeaa0 chore: build circuits 2025-03-16 19:19:05 +05:30
turnoffthiscomputer
d8701b5fd2 Merge pull request #396 from selfxyz/new-instances
New instances
2025-03-16 08:49:24 -04:00
0xturboblitz
6ed35b542f temporarily remove mock passport whose DSC is signed by a CSCA sig alg that is not used 2025-03-12 20:12:52 -07:00
motemotech
c253877d91 Merge branch 'main' into feat/download-n-update-verifiers 2025-03-12 11:39:41 +09:00
0xturboblitz
05066f3576 yarn format 2025-03-08 22:49:10 -08:00
0xturboblitz
f51c77681f push new test cases 2025-03-08 19:40:55 -08:00
0xturboblitz
5cea47e35f add and fix 521 instances 2025-03-08 19:36:03 -08:00
0xturboblitz
9d403a5355 fix typing 2025-03-08 18:21:22 -08:00
0xturboblitz
b10667f5fc add missing rsapss instance with unusual salt length for Denmark
- add new mock certs
- did a terrible things in the SignatureAlgorithm type, might want to refactor later
2025-03-08 18:20:07 -08:00
0xturboblitz
8fb6265955 adding first 4 missing instances 2025-03-08 18:15:13 -08:00
turboblitz
51e2fc15fa Self sdk and playground (#210)
Co-authored-by: nicoshark <i.am.nicoshark@gmail.com>
2025-02-25 13:08:01 -07:00
motemotech
03019eee49 download and update verifiers 2025-02-24 15:10:32 -08:00
Justin Hernandez
65d1f74c10 bump build to new release candidate (#163)
Co-authored-by: Aaron DeRuvo <aaron.deruvo@clabs.co>
2025-02-20 07:36:26 -08:00
turboblitz
5dbece7b7f Fix missing sigalg (#185) 2025-02-20 16:53:38 +05:30
turnoffthiscomputer
a7dbd5c788 Increase forbidden country list size (#175)
Co-authored-by: nicoshark <i.am.nicoshark@gmail.com>
2025-02-20 05:34:43 +01:00
turnoffthiscomputer
81b870cc8a Instances (#179)
Co-authored-by: 0xturboblitz <florent.tavernier@gmail.com>
2025-02-20 05:34:26 +01:00
turboblitz
d263620dc2 Audit/pubkey prefixes (#147) 2025-02-19 18:10:54 -08:00
Nesopie
8004f6ebd5 feat: update bigintiszero implementation (#150) 2025-02-19 17:39:22 -08:00
Seshanth.S🐺
a19f515fe5 Hotfix/audit rsapss (#144) 2025-02-19 17:37:46 -08:00
turboblitz
5e83716273 hotfix off-by-one issues (#145) 2025-02-19 17:36:43 -08:00
turnoffthiscomputer
5534b7a91a refactor AssertBytes (#143)
Co-authored-by: 0xturboblitz <florent.tavernier@gmail.com>
2025-02-19 10:46:06 -08:00
Nesopie
99168a45fe chore: use num2bits instead of isNBits (#148) 2025-02-19 10:32:32 -08:00
nicoshark
94de78d1d4 Feat/verifier update scripts (#157) 2025-02-19 05:51:20 +01:00
nicoshark
e13c64ba10 Add verifier ids (#139) 2025-02-19 05:48:07 +01:00
turboblitz
fd74ffa156 New backend verification sdk (#131)
Co-authored-by: motemotech <i.am.nicoshark@gmail.com>
2025-02-16 18:33:54 -08:00
turboblitz
7f23412a64 Circuit safety checks (#121) 2025-02-15 11:42:30 +01:00
turboblitz
c6db61b2c0 Use secret from keychain (#108) 2025-02-14 14:30:14 +01:00
Nesopie
dac7c1d50c chore: add rsa circuit (#113) 2025-02-14 13:45:40 +01:00
Nesopie
66a257c53d audit: ecdsa (#64) 2025-02-13 14:23:33 +01:00
Seshanth.S🐺
efbe84e599 update rsapss tests (#70) 2025-02-13 14:23:15 +01:00
turnoffthiscomputer
153414c82b Add AssertBytes template to validate byte inputs in CustomHasher circuit (#51) 2025-02-13 13:59:18 +01:00
turboblitz
6d4c211c51 New OFAC updates (#47)
Co-authored-by: nicoshark <i.am.nicoshark@gmail.com>
2025-02-12 22:21:01 +01:00
Justin Hernandez
73421f6a9a Improve UX and DX (#66)
Co-authored-by: Nicolas Brugneaux <nicolas.brugneaux@gmail.com>
2025-02-11 10:08:07 +01:00
Nesopie
56126be376 feat: add cpp circuit artifacts (#50) 2025-02-10 13:41:03 +01:00
turnoffthiscomputer
451b99496f Tee (#46)
Co-authored-by: Aaron DeRuvo <aaron.deruvo@clabs.co>
2025-02-10 11:54:02 +01:00
turnoffthiscomputer
62588cb4cb fix index in country is not in list (#30) 2025-02-09 01:01:30 +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
622edd7db9 Merge pull request #319 from zk-passport/refactor/circom-bigint
imports circom-bigint from node_modules
2025-01-21 20:40:15 +01:00
turnoffthiscomputer
59c16d6e92 yarn format 2025-01-21 18:26:44 +01:00
turnoffthiscomputer
b3af4dabf2 add back splitBytesToWords circuit 2025-01-21 18:17:03 +01:00
turnoffthiscomputer
d4765c6b9c imports circom-bigint from node_modules 2025-01-21 18:02:24 +01:00
turnoffthiscomputer
34541e0422 Merge pull request #316 from zk-passport/feat/passport-circuits
remove sha artefacts
2025-01-21 16:59:15 +01:00
ayman
1d3252a566 add tests for rest of the curves 2025-01-20 22:15:24 +05:30