Commit Graph

2314 Commits

Author SHA1 Message Date
turnoffthiscomputer
af44cd8750 Fix/proving machine endpoint type (#538)
* store endpoint type in proving machine

* yarn nice
2025-04-28 17:57:37 +02:00
turboblitz
bb1540e007 fix italy (#530) 2025-04-27 19:44:07 +02:00
James Niken
f0d2f6d94e ci: bump actions/checkout to v4 (#529)
* make contract sdk simpler (#514)

* 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

* Revert "make contract sdk simpler (#514)" (#518)

This reverts commit 847b88d5ec.

* ci: bump actions/checkout to v4

---------

Co-authored-by: nicoshark <i.am.nicoshark@gmail.com>
Co-authored-by: turnoffthiscomputer <98749896+remicolin@users.noreply.github.com>
2025-04-26 13:00:53 -07:00
turnoffthiscomputer
f5e45af0cf display error animation on failure on loading screen (#532)
* display error animation on failure on loading screen

* remove log

---------

Co-authored-by: Justin Hernandez <transphorm@gmail.com>
2025-04-25 06:25:44 -07:00
Justin Hernandez
fdfc0534fb Bump build versions for 2.5.1 (#531)
* release new builds

* fix app and build versions

* fix env check
2025-04-25 05:48:38 -07:00
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
Justin Hernandez
0d7d1170f3 SEL-187: Make bottom layout scrollable on smaller screens (#525)
* fix design check

* add an option to disable local sending of sentry events

* better sentry enable / disable

* fix scan passport height

* make bottom layout scrollable so it doesn't squish top screen

* simpler logic check. don't create new env var

* fix internet connection issues

* readd comment

* use isConnected instead of internet reachable

* use a dynamic bottom panel height

* add missing recovery screens

* move aesop below

* remove dupe export

* fix rebase

* fix android package download issue
2025-04-23 18:28:02 -07:00
turnoffthiscomputer
57cb54a936 remove artefacts 2025-04-21 23:40:32 +02:00
Justin Hernandez
3c51feafdf DX: Auto format on save (#526)
* save wip

* use elint instead of prettier to sort imports

* set imports to warn

* sync prettier settigns

* update prettier settings

* save working version

* fix export and disable mobile pipeline for now

* limit auto formatting to the app folder
2025-04-21 22:10:56 +02: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
91d86b6fdb [SEL-46] FE: Add minimum bottom padding (#510)
* fix bottom padding for smaller screens

* fix podfile post install hook permissions check

* update pod lock and disable git commit action step for now

* update lock

* fix flaky android downloads that causes pipeline to crash
2025-04-18 14:36:43 +02: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
Justin Hernandez
7297659a30 Bump version to 2.5.1 (#522)
* bump version

* update fastlane

* fix bump version

* bump build and add todo

* disable commit for now
2025-04-17 21:09:40 +02:00
nicoshark
b2a5ef0346 forgot to include package update (#521) 2025-04-18 00:17:58 +09: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
Seshanth.S🐺
8fe32d8200 Feat: Show error code in SDK (#500)
* feat: emit `error_code` and `reason` in app

* feat: add `onError` in sdk

* feat: Display reason in app

* lint & fmt

* feat: add scrollview in ProofRequestStatusScreen for long reasons
2025-04-15 08:53:57 +02:00
Justin Hernandez
a3dc3bcfd1 feat: automated mobile deployments rd2 (#498)
* migrate build logic from previous branch

* fix command

* move .actrc file

* clean up

* use env vars

* setup provisioning profile path within action

* fix flow

* fix fastfile flow and update react native

* disable play store uploading

* hard code xcode version

* fixes

* more provisioning debugging

* fix keychain path

* set keychain to what was created by the github action

* attempt to build again

* test fix

* print xcode build settings

* debug ios build

* fix xcargs path

* use manual code signing

* save wip

* fix building locally

* fix variable

* save wip

* clean up long comand

* clean up

* install bundle and gems

* install pods

* fix pod installation

* sort

* better naming

* fix android issues

* update lock

* clean up artifacts

* format

* save wip slack upload logic

* prettier

* fix indent

* save wip

* save wip

* save wip

* save wip

* save wip

* clean up

* simplify slack calls

* revert slack logic

* save working slack upload example

* make title nicer

* clean up slack upload

* upload paths

* enable github commit

* fix path

* fix commit step

* fix git committing

* update markdown

* fix git commit rule

* better commit message

* chore: incrementing ios build number for version 2.4.9 [skip ci]

* better name

---------

Co-authored-by: Self GitHub Actions <action@github.com>
2025-04-11 19:51:02 +02:00
turnoffthiscomputer
5c450285c4 bump qrcode version (#508) 2025-04-05 09:23:58 +02:00
turnoffthiscomputer
cb036e8502 Fix rendering issue (#507)
* fix sdk import

* fix core react sdk version issue

* bump version

* bump version and fix rendering issue in the qrcode
2025-04-05 09:21:15 +02:00
turnoffthiscomputer
eb6af37ae0 Fix sdk react version (#506)
* fix sdk import

* fix core react sdk version issue

* bump version
2025-04-05 07:07:04 +02:00
turnoffthiscomputer
64ffa7aefa fix sdk import (#505) 2025-04-04 16:37:25 +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
c00827dafc increment the package version (#503) 2025-04-03 07:35:44 +02:00
nicoshark
83db48508f Add fixed url for the backed sdk (#502)
* add testnet url

* hardcode rpc url
2025-04-03 07:22:59 +02:00
turnoffthiscomputer
1f4cc63324 add self app builder to core sdk (#501) 2025-04-03 03:59:33 +02:00
turnoffthiscomputer
da1ac576e1 update map_csca.json (#499) 2025-04-02 07:46:25 +02:00
nicoshark
03c1b0f453 fix backend sdk with scope (#497) 2025-03-31 20:53:38 +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
turnoffthiscomputer
effafe9ab0 Fix android deeplinks (#485)
* update AndroidManifest.xml to remove unnecessary pathPrefix from deeplink configuration

* bump android version

* prettier

---------

Co-authored-by: Justin Hernandez <transphorm@gmail.com>
2025-03-30 11:23:43 -07:00
nicoshark
d266cf2ced Feat/add new verifiers (#488)
* update verifiers

* update and deploy new verifiers
2025-03-30 19:22:15 +02:00
turboblitz
730f812181 Fix proof messaging (#487)
* rename handleProofVerified to handleProofResult

* from the app, call proof_verified or proof_generation_failed instead of always proof_verified

* messaging for when proof fails

* bump sdk version

* yarn nice
2025-03-28 11:40:38 -07:00
nicoshark
acd3329f31 Feat/proof conversion (#491)
* export castFromScope

* export proof conversion
2025-03-28 17:13:45 +01:00
nicoshark
a357636e39 export castFromScope (#490) 2025-03-28 11:30:37 +01:00
turnoffthiscomputer
62d73f64d6 Fix qrcode (#486)
* update AndroidManifest.xml to remove unnecessary pathPrefix from deeplink configuration

* bump android version

* fix self qrcode
2025-03-27 16:21:44 -07:00
turnoffthiscomputer
a0672cc574 bump version to 2.5.0 (#476)
* bump versions

* bump version

* bump android version

* fix deeplinking on android

* don't open the android app when the phone is nearby an RFID chip

* add build apk command

* add intent filter

* bump version

---------

Co-authored-by: Justin Hernandez <transphorm@gmail.com>
2025-03-27 18:42:49 +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
5a3ac1e091 add local sdk testing web app (#478)
* add local sdk testing web app

* uncomment window.location

* bump package version
2025-03-24 23:30:26 +01:00
turboblitz
aded6198de Remove biometrics.create keys() (#474)
* remove biometrics.createKeys()

* yarn nice
2025-03-21 19:01:07 -07:00
turnoffthiscomputer
84ebc0fc21 fix deeplink implementation (#472)
* fix deeplink implementation

* check biometrics when pressing button on prove screen

* Revert "check biometrics when pressing button on prove screen"

This reverts commit 88b1e891a7.

---------

Co-authored-by: 0xturboblitz <florent.tavernier@gmail.com>
2025-03-21 18:25:09 -07:00
0xturboblitz
e36d621f4d Revert "fix: refactor secret and passport-data management (#459)"
This reverts commit 34b2af5cb5.
2025-03-21 18:07:13 -07: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
turboblitz
f501bf47a4 removed next dependency on sdk (#447) 2025-03-21 21:53:39 +01:00
Justin Hernandez
d03c9556a8 Create release build 2.4.9, lower deployment target to iOS 15.0 (#393)
* bump version

* lower target iOS version to 11

* bump version

* lower ios deployment target to 15.0

* increment build

* bump build

* increment build

* bump build

* update podlock
2025-03-21 13:50:11 -07:00
ehsunahmadi
34b2af5cb5 fix: refactor secret and passport-data management (#459)
* fix: refactor secret and passport-data management

* clean things up

* hadle biometric availablity state

* added unsafe_secret_privateKey & unsafe_clearSecrets in usePassport for devSettingsScreen

* remove setting of secret in loadingScreen as it's handled in usePassport internally
2025-03-21 21:45:03 +01:00
turnoffthiscomputer
e1186977d5 Implement advanced mode toggle with two-finger triple tap gesture in MockDataScreen (#469) 2025-03-21 21:42:31 +01: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
nicoshark
9d8c475de0 Docs/contracts (#467)
* add new columns in contracts readme

* update contracts readme
2025-03-18 13:08:43 +01:00
turboblitz
bdcf9537b0 Update README.md 2025-03-17 15:55:53 -07:00