Commit Graph

24 Commits

Author SHA1 Message Date
Aaron DeRuvo
ac745bbf8f moves validateDocument functions into the common package. (#977)
* moves validateDocument functions into the common package.

* fix build issues and lint

* handle bad connections better in nullifiier

* add an abort controler to nullifer fetcher,  ignore fals positives

* import types separately

* take it as an arg
2025-08-29 17:28:42 +02:00
Justin Hernandez
431f556542 chore: centralize license header checks (#952)
* chore: centralize license header scripts

* chore: run license header checks from root

* add header to other files

* add header to bundle

* add migration script and update check license headers

* convert license to mobile sdk

* migrate license headers

* remove headers from common; convert remaining

* fix headers

* add license header checks
2025-08-25 11:30:23 -07:00
Aaron DeRuvo
d8bf5f9db7 Move Proving attest and cose (#950)
* moved attest and cose utils to common

with cursor converted tests in common to use vitest and converted coseVerify.test to vitest after moving from app to common

what does cryptoLoader do?

* moved away

* get buff

Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>

---------

Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>
2025-08-25 12:26:19 +02:00
Justin Hernandez
5305ef83fc Feat: Improved import export sorting for app and common (#833)
* save import sorting work

* remove dupe headers and fix type errors

* sort imports and exports

* fix errors from export sorting

* fix tests

* codex feedback

* fix exports

* fix exports and tweak test build

* fix export and format

* fix license headers

* fix app building and clean up test errors

* fix android local e2e test

* improve caching

* final fixes

* remove invalid option

* fix sorting and get random values loading

* fix import sorting
2025-08-06 15:18:42 -07: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
turnoffthiscomputer
fafc765af7 generate scope from dns (#495)
* generate scope from dns

* switch between api and staging api according to document type

* add poland passport to mockdatascreen

* yarn nice

* bump sdk version

* bump app version

* Feat/update sdk (#496)

* export castFromScope

* export proof conversion

* publish new package

* update package

* update package

* add hashEndpointWithScope to export member

---------

Co-authored-by: nicoshark <i.am.nicoshark@gmail.com>
2025-03-31 20:20:13 +02: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
motemotech
26ab40339c lint 2025-01-11 04:07:32 +09:00
turnoffthiscomputer
c3ef0245cc add brutforcing for dsc/csca certificate chain 2025-01-07 12:38:22 +01:00
turnoffthiscomputer
ec161c8478 brutForce signatureAlgorithm and hashfunction for passportData 2025-01-06 16:23:59 +01:00
turnoffthiscomputer
cb51b7440c yarn format 2025-01-05 23:46:42 +01:00
turnoffthiscomputer
0c8957081c update dsc/passportData parsing 2025-01-05 18:15:47 +01:00
turnoffthiscomputer
478b3d604e implement multi-hash circuits for passport verification 2025-01-03 14:34:46 +01:00
turnoffthiscomputer
688c12a191 fix genMockPassportData.test.ts 2025-01-02 11:58:49 +01:00
turnoffthiscomputer
dd25996b57 clean certificate parsing library 2025-01-01 16:49:49 +01:00
motemotech
3a43dc372a fix common test 2024-12-03 00:23:35 +09:00
turnoffthiscomputer
c78a541b84 fix genMockPassportData.test.ts 2024-09-19 14:03:25 +02:00
turnoffthiscomputer
4778b20043 use parseCertificate instead of parseDsc 2024-09-14 19:05:11 +02:00
0xturboblitz
6c40783d5d move SignatureAlgorithm to types.ts 2024-09-14 13:38:42 +09:00
0xturboblitz
aa01c8e85c rename getSignatureAlgorithm to parseDSC 2024-09-14 13:25:00 +09:00
0xturboblitz
f99f54e35b factor register tests 2024-09-14 11:55:21 +09:00
0xturboblitz
7e5c337a50 fix ecdsa 2024-09-14 11:37:44 +09:00
0xturboblitz
8522682f2a refactor mockPassportData generation
- Now using only genMockPassportData.ts
- Tests in `/common` verify them
- Mock DSCs for ecdsa
- Factor tests into unique files
- Broke register ecdsa sig verif, will fix
2024-09-14 01:29:04 +09:00