Commit Graph

525 Commits

Author SHA1 Message Date
turnoffthiscomputer
0bf324e639 Feat/extend id support (#517)
* refactor proving impleting xstate, speedup proving

* add disclosure proof support

* keep refactoring provingMachine, clean old implementation

* call init method when switching from dsc to register

* rebase with dev to display why the proof verification failed

* refactor ws connexion between front-end and mobile to retrieve self-app

* update the webclient at proofVerification and use selfAppStore in provingMachine

* fix provintStore.init in ProveScreen

* yarn nice

* fetch data correctly in splash screen
2025-04-24 05:55:47 -07:00
crStiv
28ec407e49 fix: improve error handling for forbidden countries list mismatch (#494)
* Update SelfBackendVerifier.ts

* Update constants.ts

* Update formatInputs.ts

* Update formatCallData.ts
2025-04-18 22:18:06 +09:00
Justin Hernandez
35221386da [SEL-154] Step 1: Scan your passport (#511)
* simplify navigation logic

* use aesop design hook

* save wip

* add new aesop redesign screens

* save wip design

* refactor nav bar logic

* fix paths

* save wip

* stub progress navbar and save wip

* save wip progress bar animation

* save wip progress bar, almost done with design

* fix progress bar design

* fix bottom padding

* disable git commit for now

* fix flaky android downloads that causes pipeline to crash

* update lock for ci
2025-04-18 14:35:52 +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
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
nicoshark
d266cf2ced Feat/add new verifiers (#488)
* update verifiers

* update and deploy new verifiers
2025-03-30 19:22:15 +02:00
nicoshark
acd3329f31 Feat/proof conversion (#491)
* export castFromScope

* export proof conversion
2025-03-28 17:13:45 +01:00
turnoffthiscomputer
2c46d34e48 add country mapping (#480)
* add country mapping

* update backend verifier

* delete unused setting

* add orgs

* update country codes

* fix nationality

* bump sdk versions

---------

Co-authored-by: motemotech <i.am.nicoshark@gmail.com>
2025-03-25 16:00:51 +01:00
turnoffthiscomputer
36a29c9a21 chore: add redirect.self.xyz to app link domains (#415)
* chore: add redirect.self.xyz to app link domains

* chore: add redirect.self.xyz to android manifest

* add self in the universal link path

* set gestureEnabled false on Launch screen

* improve ProveScreen UX

* improve ProveScreen UX

* implement deeplinking in mobile app and sdk

* start app listener in ViewFinder

* support WS connexion with complex qrcodes

* remove /self path from android deeplink support

---------

Co-authored-by: turboblitz <florent.tavernier@gmail.com>
2025-03-21 13:55:11 -07:00
turnoffthiscomputer
f6d81f2ce4 feat: add staging API URL and update circuit DNS mapping fetching logic (#468) 2025-03-21 21:39:45 +01:00
Seshanth.S🐺
b6fc6bd9eb Add new ECDSA verifier for brainpoolP512r1 (#455) 2025-03-19 13:09:53 +01:00
turnoffthiscomputer
d8701b5fd2 Merge pull request #396 from selfxyz/new-instances
New instances
2025-03-16 08:49:24 -04:00
motemotech
c253877d91 Merge branch 'main' into feat/download-n-update-verifiers 2025-03-12 11:39:41 +09:00
turnoffthiscomputer
5c785a856c Merge branch 'main' into add-mock-passport-support-in-sdk 2025-03-11 20:01:01 -04:00
turnoffthiscomputer
21b38626ca feat: improve tree and registration 2025-03-11 20:48:21 +01:00
turnoffthiscomputer
6026c76c5c add mock passport support in sdk 2025-03-11 16:18:01 +01:00
ayman
38b184518e chore: remove force flag 2025-03-11 14:18:20 +05:30
ayman
c91bcc832b chroe: add extensions while generating mock certificates 2025-03-11 14:17:03 +05:30
turnoffthiscomputer
ac80cb29d2 Merge pull request #397 from selfxyz/feat/mock-passport
add staging commitment tree url
2025-03-09 17:49:43 -04:00
turnoffthiscomputer
2271176160 add staging commitment tree url 2025-03-09 22:46:34 +01:00
turnoffthiscomputer
fbac62d758 Merge pull request #395 from selfxyz/feat/mock-passport
add staging proving flow
2025-03-09 14:24:17 -04:00
0xturboblitz
1720d5a0fa add back missing cert 2025-03-08 23:58:40 -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
turnoffthiscomputer
ceca6c53f7 add staging proving flow 2025-03-09 01:31:11 +01:00
turnoffthiscomputer
66a97e4d23 fix UKR certificates parsing 2025-03-05 14:48:05 -05:00
nicoshark
f63ee37118 Perf/contract test (#224) 2025-03-04 16:03:03 -08:00
turnoffthiscomputer
4d3439df67 Update DSC circuit input generation to use dscCertificateMetaData (#240) 2025-03-04 15:54:20 -08:00
turnoffthiscomputer
5316927277 get circuit DNS mapping from api (#244) 2025-03-04 15:54:02 -08:00
motemotech
fd0ea1bc8c add production verifiers 2025-02-26 03:16:20 -07:00
turnoffthiscomputer
4a4909e653 migrate supported circuits to api (#236) 2025-02-26 00:05:32 -07: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
turboblitz
8e05820b2c only use passportMetadata to determine circuit name. (#225) 2025-02-25 05:26:56 +01:00
motemotech
03019eee49 download and update verifiers 2025-02-24 15:10:32 -08:00
turnoffthiscomputer
1fce20c573 Sentry (#204) 2025-02-23 06:42:19 +01:00
turnoffthiscomputer
1726a6798d update events tracking (#209) 2025-02-22 21:41:40 -08:00
nicoshark
c2d90fb5ad upgrade sdk stability (#196) 2025-02-21 12:23:59 -08:00
turnoffthiscomputer
c220d58d9d Update verifiers (#184) 2025-02-21 00:09:00 +01: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
e40779e91a update constants (#180) 2025-02-19 20:40:58 -08:00
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
nicoshark
7d0e83a727 Feat/clean sdk code (#155)
Co-authored-by: turnoffthiscomputer <98749896+remicolin@users.noreply.github.com>
2025-02-19 05:51:37 +01:00
nicoshark
e13c64ba10 Add verifier ids (#139) 2025-02-19 05:48:07 +01:00
turnoffthiscomputer
3f889c1c9a add PCR0 contract management (#134)
Co-authored-by: 0xturboblitz <florent.tavernier@gmail.com>
2025-02-18 23:07:12 +01:00