Commit Graph

281 Commits

Author SHA1 Message Date
turnoffthiscomputer
0468719f9f App/eu id updates (#638)
* fix build issues

* generate disclosure proof with euids

* generate disclosure proof with euids

* Eu id updates 2 (#648)

* update vc_and_disclose_id test (dev branch) (#641)

* fix: vc_and_disclose_id test

* chore: yarn prettier

* Show modal on NFC scan error (#642)

* Add help button and error modal actions

* fix the screen management

* yarn nice

* Bump build v2.5.4: ios 132; android 71 (#631)

* bump version and build numbers

* remove tamagui/toast

* fix marketing version

* fix: update TD1 and TD3 checks (#643)

* bum yarn.lock

* add version and user defined data

---------

Co-authored-by: Vishalkulkarni45 <109329073+Vishalkulkarni45@users.noreply.github.com>
Co-authored-by: Justin Hernandez <justin.hernandez@self.xyz>
Co-authored-by: Seshanth.S🐺 <35675963+seshanthS@users.noreply.github.com>

* remove the mock user define data

* get the useridentifier as a hash from the user defined data

* chore: add version and userDefinedData

* feat: use the version in register / dsc proofs as well

* update calculateUserIdentifierHash

* yarn nice

* refactor: consolidate user context data handling and update payload structure

* fix typing issues on sha1

* remove console.log(sha1)

* fix sha1 import

* refactor: streamline userDefinedData handling and adjust payload type for circuit

* refactor: update sha1 usage and enhance logging in calculateUserIdentifierHash

* yarn nice

* yarn lint common

* use ts-ignore for sha1 import

* fix app ci tests

* fix typing issue

* remove unused ts-ignore

* cast uuid before calling generateinputs

* bump qrcode version

* add tsup on the qrcode sdk

* fix: exports on selfxyz/qrcode

* update how we define config.version

* fix yarn imports

* yarn format

---------

Co-authored-by: Vishalkulkarni45 <109329073+Vishalkulkarni45@users.noreply.github.com>
Co-authored-by: Justin Hernandez <justin.hernandez@self.xyz>
Co-authored-by: Seshanth.S🐺 <35675963+seshanthS@users.noreply.github.com>
Co-authored-by: Ayman <aymanshaik1015@gmail.com>
2025-06-23 13:01:23 +02:00
Vishalkulkarni45
27990f0201 update vc_and_disclose_id test (dev branch) (#641)
* fix: vc_and_disclose_id test

* chore: yarn prettier
2025-06-18 13:03:23 +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
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
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
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
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
turboblitz
c6db61b2c0 Use secret from keychain (#108) 2025-02-14 14:30:14 +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
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
ayman
1d3252a566 add tests for rest of the curves 2025-01-20 22:15:24 +05:30
turnoffthiscomputer
73fd833137 yarn format 2025-01-17 16:55:45 +01:00
turnoffthiscomputer
cf064a9137 uncomment test_cases 2025-01-17 16:55:27 +01:00
turnoffthiscomputer
8cc2d04b1a merge dev 2025-01-17 16:53:39 +01:00
turnoffthiscomputer
d7b1b66d90 Merge branch 'dev' of https://github.com/zk-passport/openpassport into feat/register-disclose 2025-01-17 16:53:24 +01:00
turnoffthiscomputer
e5d44aeaf2 Merge pull request #310 from zk-passport/fix/change-lower-dependency
Fix/change lower dependency
2025-01-16 22:43:01 +01:00
motemotech
2527b12989 delete unused import 2025-01-17 04:00:19 +09:00
motemotech
9f41228e5a added sha224 rsa 2025-01-17 03:11:13 +09:00
motemotech
dd51c49b72 lint 2025-01-16 21:41:46 +09:00
motemotech
fe25fe2e5a fix test and added sha224 support 2025-01-16 21:39:40 +09:00
seshanthS
251ee36542 refactor - RSA-PSS test suite using orthogonal array testing 2025-01-16 17:12:55 +05:30
seshanthS
6aa2c55678 add tests for rsapss sha256 with 64 byte salt 2025-01-16 16:05:12 +05:30
turnoffthiscomputer
82f1eb9aee yarn format 2025-01-16 01:55:51 +01:00
turnoffthiscomputer
3cec7f8672 Merge branch 'dev' of https://github.com/zk-passport/openpassport into feat/docs-smt 2025-01-16 00:39:42 +01:00
turnoffthiscomputer
dbe69f66cd Merge branch 'dev' of https://github.com/zk-passport/openpassport into feat/docs-smt 2025-01-15 19:17:30 +01:00
seshanthS
f7cdc2b994 Merge branch 'dev' of github.com:openpassport-org/openpassport into feat/rsapss-docs 2025-01-15 23:40:05 +05:30
ayman
b008e18169 uncomment tests 2025-01-15 20:21:09 +05:30
ayman
c256521786 add tests and nat spec 2025-01-15 20:19:50 +05:30