28 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
Seshanth.S🐺
ec93ad564a [SELF-654] feat: add native modules (#919)
* feat: add ios native modules

* fix: extractMRZ

* Add android OCR native module

* wire native mrz module with adapter

* wire Native modules and fix tests

* fixes

* fix license header logic

* fix tests

* fix types

* fix: ci test

* fix: android build ci

* fix: ios build CI

* add podfile.lock

* add yarn.lock

* update lock files

* add yarn.lock

* add license

* order methods

* update lock

* pipeline fixes

* prettier

* update lock file

* fix native modules on external apps

* bundle @selfxyz/common into mobile-sdk-alpha

* chore: address yarn lock issues (#1004)

* address yarn lock issues

* fix postinstall

* update lock

* fix build issues

* fix pipeline issue

* fix ci

* fix bad merge

* fix android ci

* fix ci errors

* fix mobile sdk ci. stop gap fix for now until we create a package

* tweaks

* retry aapt2 approach

* use ^0.8.4 instead of ^0.8.0 due to the use of custom errors

* workflow fixes

* fix file

* update

* fix ci

* test ci fix

* fix test

---------

Co-authored-by: Justin Hernandez <transphorm@gmail.com>
Co-authored-by: Justin Hernandez <justin.hernandez@self.xyz>
2025-09-06 19:41:13 -07:00
Nesopie
ec732da157 feat: increase sha256 byte size and add new rsa circuits (#986)
* feat: increase sha256 byte size and add new rsa circuits

* feat: modularise the rsa fp pow mod

* chore: comment signature verifier for testing

* fix: sha256_sha256_sha224_ecdsa_secp224r1

* lint
2025-09-02 10:12:53 +05:30
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
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
5cea47e35f add and fix 521 instances 2025-03-08 19:36:03 -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
turboblitz
5dbece7b7f Fix missing sigalg (#185) 2025-02-20 16:53:38 +05:30
turboblitz
d263620dc2 Audit/pubkey prefixes (#147) 2025-02-19 18:10:54 -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
turboblitz
c6db61b2c0 Use secret from keychain (#108) 2025-02-14 14:30:14 +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
11a2bc8356 refactor dsc circuits 2024-09-20 13:43:35 +02:00
turnoffthiscomputer
f3c904e0fb add sigAlg in csca leaf 2024-09-14 12:45:57 +02:00
turnoffthiscomputer
0aa3fb9f40 yarn format 2024-09-13 18:27:33 +02:00
turnoffthiscomputer
cad4f37088 implement new rsapss template 2024-09-13 18:12:22 +02:00
turnoffthiscomputer
7fb391f828 update n_csca and k_csca for 120, 35 2024-09-12 17:41:55 +02:00
0xturboblitz
29bdbc905f minor cleanups 2024-08-20 12:09:59 -07:00
turnoffthiscomputer
ac26f796f5 update circuit inputs 2024-08-05 11:06:22 +02:00
turnoffthiscomputer
3669e7cdbc reformat file according to prettier 2024-07-14 19:21:55 +02:00
turnoffthiscomputer
464f6d21ce refactor circuits repo, clean circuits tests, implement new certificates scripts, fix all tests from circuits repo 2024-07-14 15:44:55 +02:00
turnoffthiscomputer
f99adb356b refactor circuits repo, add sha1 and rsapss dsc verification in circuits 2024-07-14 00:04:53 +02:00