Commit Graph

3153 Commits

Author SHA1 Message Date
KiruthikaJeyashankar
a6ed9031f5 [INJIMOB-2160] use pixelpass for processing mmdoc data for rendering (#1660)
* [INJIMOB-2160] use pixelpass for processing mmdoc data for rendering

Signed-off-by: KiruthikaJeyashankar <kiruthikavjshankar@gmail.com>

* [INJIMOB-2160] fix history not showing properly post download

Signed-off-by: KiruthikaJeyashankar <kiruthikavjshankar@gmail.com>

* [INJIMOB-2160] add processing VC logic for iOS

Signed-off-by: KiruthikaJeyashankar <kiruthikavjshankar@gmail.com>

* [INJIMOB-2160] modify selectCredential in VCItemSelectors to return selectCredential

Signed-off-by: KiruthikaJeyashankar <kiruthikavjshankar@gmail.com>

* [INJIMOB-2160] refactor - remove debug logs

Signed-off-by: KiruthikaJeyashankar <kiruthikavjshankar@gmail.com>

* [INJIMOB-2160] refactor - mark prop credentialWrapper as mandatory

Signed-off-by: KiruthikaJeyashankar <kiruthikavjshankar@gmail.com>

* [INJIMOB-2160] refactor - optimize imports

Signed-off-by: KiruthikaJeyashankar <kiruthikavjshankar@gmail.com>

* [INJIMOB-2160] refactor - remove unused functions / code block

Signed-off-by: KiruthikaJeyashankar <kiruthikavjshankar@gmail.com>

* [INJIMOB-2160] refactor - format code

Signed-off-by: KiruthikaJeyashankar <kiruthikavjshankar@gmail.com>

* [INJIMOB-2160] modify pixelpass module to get toJSON api from pixelpass class

Signed-off-by: KiruthikaJeyashankar <kiruthikavjshankar@gmail.com>

* [INJIMOB-2160] refactor - optimize imports

Signed-off-by: KiruthikaJeyashankar <kiruthikavjshankar@gmail.com>

* [INJIMOB-2160] show keytype for mso_mdoc format VCs

Signed-off-by: KiruthikaJeyashankar <kiruthikavjshankar@gmail.com>

* [INJIMOB-2160] use id in mso_mdoc VC as unique VC ID

Signed-off-by: KiruthikaJeyashankar <kiruthikavjshankar@gmail.com>

* [INJIMOB-2160] refactor getDisplayId method

Signed-off-by: KiruthikaJeyashankar <kiruthikavjshankar@gmail.com>

* [INJIMOB-2160] update ci-client & pixelpass version

Signed-off-by: KiruthikaJeyashankar <kiruthikavjshankar@gmail.com>

* [INJIMOB-2160] add runtime asset to gitignore

Signed-off-by: KiruthikaJeyashankar <kiruthikavjshankar@gmail.com>

* [INJIMOB-2160] remove unused var

Signed-off-by: KiruthikaJeyashankar <kiruthikavjshankar@gmail.com>

* [INJIMOB-2160] bypass verification for mock VCs

This is done since mock VCs are not verifiable as of now.

Co-Authored by: BalachandarG <balachandar.g@thoughtworks.com>
Signed-off-by: KiruthikaJeyashankar <kiruthikavjshankar@gmail.com>

---------

Signed-off-by: KiruthikaJeyashankar <kiruthikavjshankar@gmail.com>
2024-11-06 18:55:27 +05:30
abhip2565
1207ae81ec [INJIMOB-1578] fix ed key signature format for VC download (#1668)
Signed-off-by: Abhishek Paul <paul.apaul.abhishek.ap@gmail.com>
2024-11-06 16:53:07 +05:30
balachandarg-tw
6aa6f8ad0a [INJIMOB-2242]: Vc Verifier integration with Inji (#1661)
* [INJIMOB-2242]: Integrating VcVerifier with Vc Validation and support for mutliple format into Inji for Android.

Signed-off-by: BalachandarG <balachandar.g@thoughtworks.com>

* [INJIMOM-2242]: Handling Error codes for Verification failures.

Signed-off-by: BalachandarG <balachandar.g@thoughtworks.com>

* [INJIMOB-2242]: Passing credential format to VcVerifier.

Signed-off-by: BalachandarG <balachandar.g@thoughtworks.com>

* [INJIMOB-2242]: Refactoring the code and updating the locales

Signed-off-by: BalachandarG <balachandar.g@thoughtworks.com>

* [INJIMOB-2242]: Updating the locales for verification error codes

Signed-off-by: BalachandarG <balachandar.g@thoughtworks.com>

* [INJIMOB-2242]: Updating talisman file.

Signed-off-by: BalachandarG <balachandar.g@thoughtworks.com>

* [INJIMOB-2242]:Updating package-lock.json and adding comment in verifyCredential.

Signed-off-by: BalachandarG <balachandar.g@thoughtworks.com>

* [INJIMOB-2242]: Reverting package-lock.json to align with develop

Signed-off-by: BalachandarG <balachandar.g@thoughtworks.com>

* [INJIMOB-2242]: Revert package-lock.json

Signed-off-by: BalachandarG <balachandar.g@thoughtworks.com>

* [INJIMOB-2242]: Update talismanrc

Signed-off-by: BalachandarG <balachandar.g@thoughtworks.com>

---------

Signed-off-by: BalachandarG <balachandar.g@thoughtworks.com>
2024-11-06 12:37:58 +05:30
abhip2565
4d87b8bacd [INJIMOB-2232] change default theme to gradient (#1667)
* [INJIMOB-2232] change default theme to gradient

Signed-off-by: Abhishek Paul <paul.apaul.abhishek.ap@gmail.com>

* [INJIMOB-2191] change asset name (#1653)

Signed-off-by: Abhishek Paul <paul.apaul.abhishek.ap@gmail.com>

* [INJIMOB-2232] fix gradient buttons and add gradient backdrop

Signed-off-by: Abhishek Paul <paul.apaul.abhishek.ap@gmail.com>

---------

Signed-off-by: Abhishek Paul <paul.apaul.abhishek.ap@gmail.com>
2024-11-06 11:20:30 +05:30
PuBHARGAVI
d103bb5da4 [Injimob 2135] ovp enhancements UI (#1658)
* [INJIMOB-2135] get the authentication response as instance of Authorization request rather than as map and make necessary changes for the same in js layer

Signed-off-by: PuBHARGAVI <46226958+PuBHARGAVI@users.noreply.github.com>

* [INJIMOB-2135] in vp sharing flow use json path library to extract the path value from the VC json data

Signed-off-by: PuBHARGAVI <46226958+PuBHARGAVI@users.noreply.github.com>

* [INJIMOB-2135] add logic in openid4vp actions to filter the credentials based on the format and proof types and if input descriptor doesn't have format but presentation definition has use it for filtering

Signed-off-by: PuBHARGAVI <46226958+PuBHARGAVI@users.noreply.github.com>

* [INJIMOB-2135] change the postion of checkbox in VC to the right side during the VP sharing flow

Signed-off-by: PuBHARGAVI <46226958+PuBHARGAVI@users.noreply.github.com>

* [INJIMOB-2135] show verifier name in vp sharing screen header

Signed-off-by: PuBHARGAVI <46226958+PuBHARGAVI@users.noreply.github.com>

* [INJIMOB-2135] add log event types for different flows in vp sharing and add translations for log messages in all languages

Signed-off-by: PuBHARGAVI <46226958+PuBHARGAVI@users.noreply.github.com>

* [INJIMOB-2135] create an interface and use it as a blueprint for vc and vp share activity log classes and override necessary methods

Signed-off-by: PuBHARGAVI <46226958+PuBHARGAVI@users.noreply.github.com>

* [INJIMOB-2135] show all the VCs available in the wallet if none of the input descriptors have format or constraints

Signed-off-by: PuBHARGAVI <46226958+PuBHARGAVI@users.noreply.github.com>

* [INJIMOB-2135] notify verifier when user declined the consent for sharing VP by calling sendErrorToVerifier method

Signed-off-by: PuBHARGAVI <46226958+PuBHARGAVI@users.noreply.github.com>

* [INJIMOB-2135] add logs for different flows of VP sharing

Signed-off-by: PuBHARGAVI <46226958+PuBHARGAVI@users.noreply.github.com>

* [INJIMOB-2135] add translations for some of the vp sharing flows

Signed-off-by: PuBHARGAVI <46226958+PuBHARGAVI@users.noreply.github.com>

* [INJIMOB-2135] in vp sharing fix the logic of filtering the VCs matching request and add actions to show the logs properly for normal and retry attempts

Signed-off-by: PuBHARGAVI <46226958+PuBHARGAVI@users.noreply.github.com>

* [INJIMOB-2135] rename vp sharing activity logs header text into camel case

Signed-off-by: PuBHARGAVI <46226958+PuBHARGAVI@users.noreply.github.com>

* [INJIMOB-2135] add translations for retry attempt failure and technical error scenarios in vp sharing flow

Signed-off-by: PuBHARGAVI <46226958+PuBHARGAVI@users.noreply.github.com>

* [INJIMOB-2135] update no credential and credential mismatch error & log messages to show the list of claims requested by verifier

Signed-off-by: PuBHARGAVI <46226958+PuBHARGAVI@users.noreply.github.com>

* [INJIMOB-2215]: expose api in openid4vp module to send error to verifier

Signed-off-by: adityankannan-tw <adityan410pm@gmail.com>

* [INJIMOB-2215]: expose api in openid4vp module to send error to verifier

Signed-off-by: adityankannan-tw <adityan410pm@gmail.com>

* [INJIMOB-2215]: expose api in openid4vp module to send error to verifier

Signed-off-by: adityankannan-tw <adityan410pm@gmail.com>

* [INJIMOB-2215]: refactor native modules and styles for header in send vp screen

Signed-off-by: adityankannan-tw <adityan410pm@gmail.com>

* [INJIMOB-2215]: refactor native modules and styles for header in send vp screen

Signed-off-by: adityankannan-tw <adityan410pm@gmail.com>

* [INJIMOB-2135] show normal failure message in history screen if sharing is failed because of technical error and before retry attempt

Signed-off-by: PuBHARGAVI <46226958+PuBHARGAVI@users.noreply.github.com>

* [INJIMOB-2135] exclude bcpkix-jdk15on module to avoid transitive dependency issues occuring while building the app

Signed-off-by: PuBHARGAVI <46226958+PuBHARGAVI@users.noreply.github.com>

* Revert "[INJIMOB-2135] exclude bcpkix-jdk15on module to avoid transitive dependency issues occuring while building the app"

This reverts commit 8c7e4572c1.

Signed-off-by: PuBHARGAVI <46226958+PuBHARGAVI@users.noreply.github.com>

* [INJIMOB-2135]: update openid4vp swift package

Signed-off-by: adityankannan-tw <adityan410pm@gmail.com>

* [INJIMOB-2135] specify the type of t in getActionText method of vc and vp Activity log events file

Signed-off-by: PuBHARGAVI <46226958+PuBHARGAVI@users.noreply.github.com>

---------

Signed-off-by: PuBHARGAVI <46226958+PuBHARGAVI@users.noreply.github.com>
Signed-off-by: adityankannan-tw <adityan410pm@gmail.com>
Co-authored-by: adityankannan-tw <adityan410pm@gmail.com>
2024-11-05 17:51:04 +05:30
snyk-bot
cf837d370c fix: injitest/pom.xml to reduce vulnerabilities
The following vulnerabilities are fixed with an upgrade:
- https://snyk.io/vuln/SNYK-JAVA-COMMONSCOLLECTIONS-30078
- https://snyk.io/vuln/SNYK-JAVA-COMMONSCOLLECTIONS-6056408
- https://snyk.io/vuln/SNYK-JAVA-LOG4J-572732
- https://snyk.io/vuln/SNYK-JAVA-ORGJSON-5488379
- https://snyk.io/vuln/SNYK-JAVA-ORGJSON-5962464
- https://snyk.io/vuln/SNYK-JAVA-ORGSELENIUMHQSELENIUM-6062318
- https://snyk.io/vuln/SNYK-JAVA-LOG4J-2316893
- https://snyk.io/vuln/SNYK-JAVA-LOG4J-2342645
- https://snyk.io/vuln/SNYK-JAVA-LOG4J-2342646
- https://snyk.io/vuln/SNYK-JAVA-LOG4J-2342647
- https://snyk.io/vuln/SNYK-JAVA-COMMONSCOLLECTIONS-472711
- https://snyk.io/vuln/SNYK-JAVA-ORGKEYCLOAK-8186433
- https://snyk.io/vuln/SNYK-JAVA-SOFTWAREAMAZONION-6153869
- https://snyk.io/vuln/SNYK-JAVA-IONETTY-6483812
- https://snyk.io/vuln/SNYK-JAVA-ORGKEYCLOAK-7926864
- https://snyk.io/vuln/SNYK-JAVA-COMMONSBEANUTILS-460111
- https://snyk.io/vuln/SNYK-JAVA-LOG4J-3358774
- https://snyk.io/vuln/SNYK-JAVA-ORGKEYCLOAK-3016866
- https://snyk.io/vuln/SNYK-JAVA-ORGJBOSSRESTEASY-1009963
- https://snyk.io/vuln/SNYK-JAVA-ORGJBOSSRESTEASY-3338628
- https://snyk.io/vuln/SNYK-JAVA-ORGKEYCLOAK-7268350
- https://snyk.io/vuln/SNYK-JAVA-ORGKEYCLOAK-5291542
- https://snyk.io/vuln/SNYK-JAVA-ORGKEYCLOAK-6230634
- https://snyk.io/vuln/SNYK-JAVA-LOG4J-1300176

Signed-off-by: rajapandi.m <rajapandi.m@technoforte.co.in>
2024-11-05 15:43:22 +05:30
abhip2565
1dd0ac8003 INJIMOB-1578]add ed25519 and es256k support and add logs (#1659)
* [INJIMOB-1578]add ecck1 and ed25519 support for signing jwt

Signed-off-by: Abhishek Paul <paul.apaul.abhishek.ap@gmail.com>

* [INJIMOB-1578]add logs and refactor

Signed-off-by: Abhishek Paul <paul.apaul.abhishek.ap@gmail.com>

---------

Signed-off-by: Abhishek Paul <paul.apaul.abhishek.ap@gmail.com>
2024-11-05 09:53:55 +05:30
KiruthikaJeyashankar
9f34490d6f [INJIMOB-2260] exclude org.bouncycastle:bcpkix-jdk15on from vcverifier (#1663)
Signed-off-by: KiruthikaJeyashankar <kiruthikavjshankar@gmail.com>
2024-11-04 15:18:22 +05:30
abhip2565
f361b7b4d4 [INJIMOB-2098] modify android version to use static versioning to maintain consistency with ios (#1647)
Signed-off-by: Abhishek Paul <paul.apaul.abhishek.ap@gmail.com>
2024-10-22 14:14:52 +05:30
abhip2565
6102a196a2 [INJIMOB-1852] fix caching logic, to use cache if the device is offline (#1645)
Signed-off-by: Abhishek Paul <paul.apaul.abhishek.ap@gmail.com>
2024-10-21 11:04:12 +05:30
abhip2565
6e5c14b1fe [INJIMOB-2018] add vc download success banner (#1646)
[INJIMOB-1852] fix caching logic, to use cache if the device is offline

Signed-off-by: Abhishek Paul <paul.apaul.abhishek.ap@gmail.com>
2024-10-21 11:03:31 +05:30
adityankannan-tw
aff5c169b2 [INJIMOB-2125]: Bundle face model as asset of the app (#1651)
* [INJIMOB-2125]: bundle face model as asset to the app

Signed-off-by: adityankannan-tw <adityan410pm@gmail.com>

* [INJIMOB-2125]: bundle face model as asset to the app

Signed-off-by: adityankannan-tw <adityan410pm@gmail.com>

* [INJIMOB-2125]: bundle face model as asset to the app

Signed-off-by: adityankannan-tw <adityan410pm@gmail.com>

---------

Signed-off-by: adityankannan-tw <adityan410pm@gmail.com>
Co-authored-by: adityankannan-tw <adityan410pm@gmail.com>
2024-10-18 15:11:55 +05:30
KiruthikaJeyashankar
3b6e3c047e [DSD-6453] update readme (#1650)
* [DSD-6453] update readme

- update tools version & env data in PreRequisites section
- link Inji Wallet docs for build and deployment section

Signed-off-by: KiruthikaJeyashankar <kiruthikavjshankar@gmail.com>

* [DSD-6453] update readme with node version 16

Signed-off-by: KiruthikaJeyashankar <kiruthikavjshankar@gmail.com>

---------

Signed-off-by: KiruthikaJeyashankar <kiruthikavjshankar@gmail.com>
2024-10-17 19:04:54 +05:30
adityankannan-tw
c77f0d4a03 Injimob-1603- Expo camera, react native screens and SDK version updates (#1640) (#1642)
* [INJIMOB-1603]: update expo camera library and add icloud container



* [INJIMOB-1603]: update react native screens and min and compile sdk versions



* [INJIMOB-1603]: update react native screens and compile sdk version and enable minify



---------

Signed-off-by: adityankannan-tw <adityan410pm@gmail.com>
Co-authored-by: adityankannan-tw <adityan410pm@gmail.com>
2024-10-08 23:55:44 +05:30
adityankannan-tw
375044c82a Injimob-1603- Expo camera, react native screens and SDK version updates (#1640)
* [INJIMOB-1603]: update expo camera library and add icloud container

Signed-off-by: adityankannan-tw <adityan410pm@gmail.com>

* [INJIMOB-1603]: update react native screens and min and compile sdk versions

Signed-off-by: adityankannan-tw <adityan410pm@gmail.com>

* [INJIMOB-1603]: update react native screens and compile sdk version and enable minify

Signed-off-by: adityankannan-tw <adityan410pm@gmail.com>

---------

Signed-off-by: adityankannan-tw <adityan410pm@gmail.com>
Co-authored-by: adityankannan-tw <adityan410pm@gmail.com>
2024-10-08 15:30:25 +05:30
Alka Prasad
459e47df3e INJIMOB-2099 : redirection to browser from INJI application (#1638)
* [INJIMOB-2099]: add logic to redirect from inji application to browser after qr login

Signed-off-by: Alka Prasad <prasadalka1998@gmail.com>

* [INJIMOB-2099]- handle screen switch in case of any error scenario

Signed-off-by: Alka Prasad <prasadalka1998@gmail.com>

---------

Signed-off-by: Alka Prasad <prasadalka1998@gmail.com>
2024-10-07 11:41:54 +05:30
PuBHARGAVI
0abe02a46c [Injimob 2096] add missing flows in ovp flow & fix issues found in issuer screen, ovp & wallet binding flows (#1639)
* [INJIMOB-812] fix the qr login flow issues by returning response in credential and verifiableCredentialData selector methods as array

Signed-off-by: PuBHARGAVI <46226958+PuBHARGAVI@users.noreply.github.com>

* [INJIMOB-812] show error issuers screen irrespective of whether error is generic or not and check if keys are available or not beforing fetching them

Signed-off-by: PuBHARGAVI <46226958+PuBHARGAVI@users.noreply.github.com>

* [INJIMOB-812] reset openid4vp machine to initial state in all edge cases and handle confirmation popups backdrop press

Signed-off-by: PuBHARGAVI <46226958+PuBHARGAVI@users.noreply.github.com>

* [INJIMOB-812] show success banner status if face verification is successful in vp sharing with selfie flow

Signed-off-by: PuBHARGAVI <46226958+PuBHARGAVI@users.noreply.github.com>

* [INJIMOB-812] remove reset event and add reset error event back in openid4vp machine

Signed-off-by: PuBHARGAVI <46226958+PuBHARGAVI@users.noreply.github.com>

* [INJIMOB-812] remove unused import in scan actions

Signed-off-by: PuBHARGAVI <46226958+PuBHARGAVI@users.noreply.github.com>

* [INJIMOB-2096] set link transaction response properly in all the flows

Signed-off-by: PuBHARGAVI <46226958+PuBHARGAVI@users.noreply.github.com>

---------

Signed-off-by: PuBHARGAVI <46226958+PuBHARGAVI@users.noreply.github.com>
2024-10-07 10:23:04 +05:30
abhip2565
01edcdb188 [INJIMOB-2093] modify fetchkeypair to haskeypair to reduce keychain key retrieval (#1635)
[INJIMOB-2093]  refactor

Signed-off-by: Abhishek Paul <paul.apaul.abhishek.ap@gmail.com>
2024-10-04 13:06:00 +05:30
PuBHARGAVI
fe59309e88 [Injimob 812] openID4VP sharing flow UI implementation (#1628)
* [INJIMOB-1629] add an api to fetch the trusted verifiers list for vp sharing flow

Signed-off-by: PuBHARGAVI <46226958+PuBHARGAVI@users.noreply.github.com>

* [INJIMOB-1629] add screens for showing vcs matching openId4vp authorization request and selecting VCs

Signed-off-by: PuBHARGAVI <46226958+PuBHARGAVI@users.noreply.github.com>

* [INJIMOB-1629] add states in scan machine to show loader screen when vp sharing is started

Signed-off-by: PuBHARGAVI <46226958+PuBHARGAVI@users.noreply.github.com>

* [INJIMOB-1629] send events to parent machine from openId4vp machine to update UI when performing vp sharing

Signed-off-by: PuBHARGAVI <46226958+PuBHARGAVI@users.noreply.github.com>

* [INJIMOB-1629] change the position of check box in vc container in vp sharing flow

Signed-off-by: PuBHARGAVI <46226958+PuBHARGAVI@users.noreply.github.com>

* [INJIMOB-1629] add styles to send vp screen elements to match wireframe and add context variable to store vp sharing purpose

Signed-off-by: PuBHARGAVI <46226958+PuBHARGAVI@users.noreply.github.com>

* [INJIMOB-1629] show error screen if no credential in wallet matches with authorization request

Signed-off-by: PuBHARGAVI <46226958+PuBHARGAVI@users.noreply.github.com>

* [INJIMOB-1629] show confirmation pop up when user decline the consent for sharing vp

Signed-off-by: PuBHARGAVI <46226958+PuBHARGAVI@users.noreply.github.com>

* [INJIMOB-1629] show error screen if the verifier authentication is failed after scanning vp sharing qr code

Signed-off-by: PuBHARGAVI <46226958+PuBHARGAVI@users.noreply.github.com>

* [INJIMOB-1629] move error and overlay details assigning logic to send vp screen controller

Signed-off-by: PuBHARGAVI <46226958+PuBHARGAVI@users.noreply.github.com>

* [INJIMOB-1629] add translations for vp sharing flow texts in all languages

Signed-off-by: PuBHARGAVI <46226958+PuBHARGAVI@users.noreply.github.com>

* [INJIMOB-1629] make changes in card skeleton component to show vc card loader in vp sharing flow

Signed-off-by: PuBHARGAVI <46226958+PuBHARGAVI@users.noreply.github.com>

* [INJIMOB-1629] fix issues with reject button in sharing vp screen

Signed-off-by: PuBHARGAVI <46226958+PuBHARGAVI@users.noreply.github.com>

* [INJIMOB-1629] add support for sharing vp with out selfie from kebab menu

Signed-off-by: PuBHARGAVI <46226958+PuBHARGAVI@users.noreply.github.com>

* [INJIMOB-1629] add support for sharing vp with selfie from kebab menu

Signed-off-by: PuBHARGAVI <46226958+PuBHARGAVI@users.noreply.github.com>

* [INJIMOB-1629] add missing translations for error and overlay screen texts of vp sharing flow

Signed-off-by: PuBHARGAVI <46226958+PuBHARGAVI@users.noreply.github.com>

* [INJIMOB-1629] add logic in scan screen to show error screens in vp sharing from kebab menu flow

Signed-off-by: PuBHARGAVI <46226958+PuBHARGAVI@users.noreply.github.com>

* [INJIMOB-1629] add logic to filter the VCs based on the type of the VC in vp sharing flow

Signed-off-by: PuBHARGAVI <46226958+PuBHARGAVI@users.noreply.github.com>

* [INJIMOB-812]: generate proof for vp token and send vp

Signed-off-by: adityankannan-tw <adityan410pm@gmail.com>

* [INJIMOB-1629] show generic error message if any error occured while validating vp qr code

Signed-off-by: PuBHARGAVI <46226958+PuBHARGAVI@users.noreply.github.com>

* [INJIMOB-1629] add logic to allow user retry vp sharing 3 times if any technical error occurred

Signed-off-by: PuBHARGAVI <46226958+PuBHARGAVI@users.noreply.github.com>

* [INJIMOB-1629] add react method in native module to send the generated vp response metadata and make changes to show any errors occured after sharing vp

Signed-off-by: PuBHARGAVI <46226958+PuBHARGAVI@users.noreply.github.com>

* [INJIMOB-1629] show success screen if vp is shared successfully to the verifier

Signed-off-by: PuBHARGAVI <46226958+PuBHARGAVI@users.noreply.github.com>

* [INJIMOB-812]: refactor proof generation and integrate remote openid4vp package

Signed-off-by: adityankannan-tw <adityan410pm@gmail.com>

* [INJIMOB-812]: refactor proof generation and integrate remote openid4vp package

Signed-off-by: adityankannan-tw <adityan410pm@gmail.com>

* [INJIMOB-812] make changes in the code to fetch the VCs properly if scope is present in the authorization code

Signed-off-by: PuBHARGAVI <46226958+PuBHARGAVI@users.noreply.github.com>

* [INJIMOB-812] fix the logic of checking if order field value in issuer wellknown is null and empty or not

Signed-off-by: PuBHARGAVI <46226958+PuBHARGAVI@users.noreply.github.com>

* [INJIMOB-812] move qr login and openid4vp red id's to scan actions

Signed-off-by: PuBHARGAVI <46226958+PuBHARGAVI@users.noreply.github.com>

* [INJIMOB-812] remove unnecessary logs

Signed-off-by: PuBHARGAVI <46226958+PuBHARGAVI@users.noreply.github.com>

* [INJIMOB-812] rename openid4vp actions to make them more meaningful and remove unnecessary events in send vp screen controller

Signed-off-by: PuBHARGAVI <46226958+PuBHARGAVI@users.noreply.github.com>

* [INJIMOB-812] show error screen if none of the selected VC has image but user chosen share with selfie option

Signed-off-by: PuBHARGAVI <46226958+PuBHARGAVI@users.noreply.github.com>

* [INJIMOB-812] add guard logic for checking if any of the selected VC has image or not

Signed-off-by: PuBHARGAVI <46226958+PuBHARGAVI@users.noreply.github.com>

* [INJIMOB-812]: update package resolved with openid4vp library

Signed-off-by: adityankannan-tw <adityan410pm@gmail.com>

* [INJIMOB-812] fix the logic of retry button in technical error screen and perform the vp sharing again when user click on retry button

Signed-off-by: PuBHARGAVI <46226958+PuBHARGAVI@users.noreply.github.com>

* [INJIMOB-812] show specific error screen if required info is missing in qr code

Signed-off-by: PuBHARGAVI <46226958+PuBHARGAVI@users.noreply.github.com>

* [INJIMOB-812]: refactor native module and wrapper with updated library name

Signed-off-by: adityankannan-tw <adityan410pm@gmail.com>

* [INJIMOB-1709]: Integrate VC verifier aar for Vc verification of Mosip VC (#1624)

* [INJIMOB-1709]: integrate VC verifier aar for Vc verification of Mosip VC

Signed-off-by: Alka Prasad <prasadalka1998@gmail.com>

* [INJIMOB-1709]: Handling Response from Vc Verifier Library

Signed-off-by: BalachandarG <balachandar.g@thoughtworks.com>

* [INJIMOB-1709]: Removed mavenLocal from build.gradle

Signed-off-by: BalachandarG <balachandar.g@thoughtworks.com>

* [INJIMOB-1709]: Updated build.gradle

Signed-off-by: BalachandarG <balachandar.g@thoughtworks.com>

* [INJIMOB-1709]: Removed Certify from isMosipVC Condition.

Signed-off-by: BalachandarG <balachandar.g@thoughtworks.com>

* [INJIMOB-1709]: Adding isAndroid check and verifying using digital bazaar for iOs.

Signed-off-by: BalachandarG <balachandar.g@thoughtworks.com>

---------

Signed-off-by: Alka Prasad <prasadalka1998@gmail.com>
Signed-off-by: BalachandarG <balachandar.g@thoughtworks.com>
Co-authored-by: Alka Prasad <prasadalka1998@gmail.com>

* [INJIMOB-1629] rename openId4VP to openID4VP in all files and address pr comments

Signed-off-by: PuBHARGAVI <46226958+PuBHARGAVI@users.noreply.github.com>

* [INJIMOB-812] fetch trusted verifiers list from mimoto end point

Signed-off-by: PuBHARGAVI <46226958+PuBHARGAVI@users.noreply.github.com>

* [INJIMOB-812] rename openId4VP to openID4VP in all files

Signed-off-by: PuBHARGAVI <46226958+PuBHARGAVI@users.noreply.github.com>

* [INJIMOB-812] make trusted verifier api call cache preferred

Signed-off-by: PuBHARGAVI <46226958+PuBHARGAVI@users.noreply.github.com>

* [INJIMOB-812] rename openId4VP to openID4VP in all places

Signed-off-by: PuBHARGAVI <46226958+PuBHARGAVI@users.noreply.github.com>

* [INJIMOB-812]: refactor and update openid4vp swift library

Signed-off-by: adityankannan-tw <adityan410pm@gmail.com>

* [INJIMOB-812] remove code related to scope in openid4vp flow

Signed-off-by: PuBHARGAVI <46226958+PuBHARGAVI@users.noreply.github.com>

* [INJIMOB-812] remove code related to type in openid4vp actions

Signed-off-by: PuBHARGAVI <46226958+PuBHARGAVI@users.noreply.github.com>

* [INJIMOB-812] rename response_uri to response_uris in openid4vp native wrappers

Signed-off-by: PuBHARGAVI <46226958+PuBHARGAVI@users.noreply.github.com>

* [INJIMOB-812] rename typegen file in openid4vp machine

Signed-off-by: PuBHARGAVI <46226958+PuBHARGAVI@users.noreply.github.com>

* [INJIMOB-812] change target state of checkFaceAuthConsent to getTrustedVerifiersList

Signed-off-by: PuBHARGAVI <46226958+PuBHARGAVI@users.noreply.github.com>

* [INJIMOB-812]: update openid4vp swift package

Signed-off-by: adityankannan-tw <adityan410pm@gmail.com>

* [INJIMOB-2097]: bump up app version to 0.15.0 (#1631)

Signed-off-by: adityankannan-tw <adityan410pm@gmail.com>
Co-authored-by: adityankannan-tw <adityan410pm@gmail.com>

* [INJIMOB-1884] remove SetupKeySelectionScreen (#1632)

Signed-off-by: Abhishek Paul <paul.apaul.abhishek.ap@gmail.com>

* [INJIMOB-812] change the conditional logic for checking if downloading error is generic or not in issuer guards and selectors

Signed-off-by: PuBHARGAVI <46226958+PuBHARGAVI@users.noreply.github.com>

* [INJIMOB-812] fetch the trusted verifiers list properly from api response

Signed-off-by: PuBHARGAVI <46226958+PuBHARGAVI@users.noreply.github.com>

* [INJIMOB-812] send the list of selected vcs images to face scanner machine only if face is available

Signed-off-by: PuBHARGAVI <46226958+PuBHARGAVI@users.noreply.github.com>

* [INJIMOB-812] fix home button navigation issue in error screen of vp sharing flow

Signed-off-by: PuBHARGAVI <46226958+PuBHARGAVI@users.noreply.github.com>

* [INJIMOB-812] move openid4vp machine to showError state if there is any occurred in vp sharing flow and reset error when user navigates to home screen

Signed-off-by: PuBHARGAVI <46226958+PuBHARGAVI@users.noreply.github.com>

* [INJIMOB-812] fix some flows in vp sharing flow

Signed-off-by: PuBHARGAVI <46226958+PuBHARGAVI@users.noreply.github.com>

* [INJIMOB-812] fix the logic for showing the error screen as part of scan screen in vp sharing flow

Signed-off-by: PuBHARGAVI <46226958+PuBHARGAVI@users.noreply.github.com>

---------

Signed-off-by: PuBHARGAVI <46226958+PuBHARGAVI@users.noreply.github.com>
Signed-off-by: adityankannan-tw <adityan410pm@gmail.com>
Signed-off-by: Alka Prasad <prasadalka1998@gmail.com>
Signed-off-by: BalachandarG <balachandar.g@thoughtworks.com>
Signed-off-by: Abhishek Paul <paul.apaul.abhishek.ap@gmail.com>
Co-authored-by: adityankannan-tw <adityan410pm@gmail.com>
Co-authored-by: balachandarg-tw <115633327+balachandarg-tw@users.noreply.github.com>
Co-authored-by: Alka Prasad <prasadalka1998@gmail.com>
Co-authored-by: adityankannan-tw <109274996+adityankannan-tw@users.noreply.github.com>
Co-authored-by: abhip2565 <74866247+abhip2565@users.noreply.github.com>
2024-10-04 11:21:16 +05:30
abhip2565
2521a93991 [INJIMOB-2096] fix missing text in key management help section (#1633)
Signed-off-by: Abhishek Paul <paul.apaul.abhishek.ap@gmail.com>
2024-10-01 17:51:05 +05:30
Alka Prasad
16cb1de80d [INJIMOB-1911]: fix redirection issue while on share screen (#1634)
Signed-off-by: Alka Prasad <prasadalka1998@gmail.com>
2024-10-01 17:50:48 +05:30
abhip2565
13c3941bfc [INJIMOB-1884] remove SetupKeySelectionScreen (#1632)
Signed-off-by: Abhishek Paul <paul.apaul.abhishek.ap@gmail.com>
2024-09-30 17:06:11 +05:30
adityankannan-tw
fed858eb04 [INJIMOB-2097]: bump up app version to 0.15.0 (#1631)
Signed-off-by: adityankannan-tw <adityan410pm@gmail.com>
Co-authored-by: adityankannan-tw <adityan410pm@gmail.com>
2024-09-30 12:49:21 +05:30
abhip2565
fa8ae10933 [INJIMOB-2073] change wellknown api from /.well-known to /well-known-proxy (#1629)
Signed-off-by: Abhishek Paul <paul.apaul.abhishek.ap@gmail.com>
2024-09-26 23:29:08 +05:30
balachandarg-tw
72726215e2 [INJIMOB-1709]: Integrate VC verifier aar for Vc verification of Mosip VC (#1624)
* [INJIMOB-1709]: integrate VC verifier aar for Vc verification of Mosip VC

Signed-off-by: Alka Prasad <prasadalka1998@gmail.com>

* [INJIMOB-1709]: Handling Response from Vc Verifier Library

Signed-off-by: BalachandarG <balachandar.g@thoughtworks.com>

* [INJIMOB-1709]: Removed mavenLocal from build.gradle

Signed-off-by: BalachandarG <balachandar.g@thoughtworks.com>

* [INJIMOB-1709]: Updated build.gradle

Signed-off-by: BalachandarG <balachandar.g@thoughtworks.com>

* [INJIMOB-1709]: Removed Certify from isMosipVC Condition.

Signed-off-by: BalachandarG <balachandar.g@thoughtworks.com>

* [INJIMOB-1709]: Adding isAndroid check and verifying using digital bazaar for iOs.

Signed-off-by: BalachandarG <balachandar.g@thoughtworks.com>

---------

Signed-off-by: Alka Prasad <prasadalka1998@gmail.com>
Signed-off-by: BalachandarG <balachandar.g@thoughtworks.com>
Co-authored-by: Alka Prasad <prasadalka1998@gmail.com>
2024-09-25 19:13:31 +05:30
abhip2565
d0fd1e3853 [INJIMOB-1884] Add UI for Key Managent (#1622)
* [INJIMOB-1884] add ui for key managent feature

Signed-off-by: Abhishek Paul <paul.apaul.abhishek.ap@gmail.com>

* [INJIMOB-1884] replace modal with screen for ios co pilot support

Signed-off-by: Abhishek Paul <paul.apaul.abhishek.ap@gmail.com>

---------

Signed-off-by: Abhishek Paul <paul.apaul.abhishek.ap@gmail.com>
2024-09-25 16:08:30 +05:30
KiruthikaJeyashankar
90fd3b8a85 [INJIMOB-2051] fix Vc background not getting rendered (#1627)
Signed-off-by: KiruthikaJeyashankar <81218987+KiruthikaJeyashankar@users.noreply.github.com>
2024-09-25 13:03:27 +05:30
Chandra Keshav Mishra
4e5a46f1ff Merge pull request #1623 from tw-mosip/injimob-2048
[INJIMOB-2048] fix toogle biometric not working after inji tour guide and update workflow to use java17
2024-09-24 18:38:29 +05:30
Abhishek Paul
f21051cd0e [INJIMOB-2048] change workflow to use java 17
Signed-off-by: Abhishek Paul <paul.apaul.abhishek.ap@gmail.com>
2024-09-24 16:54:45 +05:30
Abhishek Paul
58ef2cdb2e [INJIMOB-2048] fix toogle biometric not working after inji tour guide
Signed-off-by: Abhishek Paul <paul.apaul.abhishek.ap@gmail.com>
2024-09-24 10:52:13 +05:30
Sreenadh S
9e0b0a4dd5 Merge pull request #1618 from anup-nehe/develop
INJIMOB-2023 fixed inji-wallet ui automation for Ios and android
2024-09-20 10:39:48 +05:30
Sreenadh S
6e6753c88a Merge pull request #1615 from tw-mosip/injimob-1861-mso-mdoc-vc-support
[INJIMOB-1861] add support for mso_mdoc VC
2024-09-18 16:57:35 +05:30
KiruthikaJeyashankar
c60fae2ead [INJIMOB-1861] remove hardcoded credential formats in android vciClient wrapper
Signed-off-by: KiruthikaJeyashankar <81218987+KiruthikaJeyashankar@users.noreply.github.com>
2024-09-18 16:32:31 +05:30
Anup Nehe
57a4967a53 resolve conflicts
Signed-off-by: Anup Nehe <anup.nehe@technoforte.co.in>
2024-09-18 11:47:15 +05:30
Anup Nehe
27f3c8001b resolve conflicts
Signed-off-by: Anup Nehe <anup.nehe@technoforte.co.in>
2024-09-18 10:35:26 +05:30
Anup Nehe
57a990d31e Merge remote-tracking branch 'upstream/develop' into develop 2024-09-18 09:29:35 +05:30
Anup Nehe
59bde0856a INJIMOB-2023
Signed-off-by: Anup Nehe <anup.nehe@technoforte.co.in>
2024-09-18 09:29:13 +05:30
KiruthikaJeyashankar
24d253e121 [INJIMOB-1078] remove unnecessary annotation fix
Signed-off-by: KiruthikaJeyashankar <81218987+KiruthikaJeyashankar@users.noreply.github.com>
2024-09-16 18:17:22 +05:30
KiruthikaJeyashankar
277fffdbef [INJIMOB-1078] remove mavenLocal repository
Signed-off-by: KiruthikaJeyashankar <81218987+KiruthikaJeyashankar@users.noreply.github.com>
2024-09-16 17:57:26 +05:30
KiruthikaJeyashankar
4bf21c5a93 [INJIMOB-1078] rename variable
Signed-off-by: KiruthikaJeyashankar <81218987+KiruthikaJeyashankar@users.noreply.github.com>
2024-09-16 17:57:04 +05:30
KiruthikaJeyashankar
04c50b8efb [INJIMOB-1078] remove unused function and comment
Signed-off-by: KiruthikaJeyashankar <81218987+KiruthikaJeyashankar@users.noreply.github.com>
2024-09-16 17:15:15 +05:30
KiruthikaJeyashankar
d74b2f90e9 [INJIMOB-1078] update swift and kotlin lib version of vci client
Signed-off-by: KiruthikaJeyashankar <81218987+KiruthikaJeyashankar@users.noreply.github.com>
2024-09-16 17:01:41 +05:30
KiruthikaJeyashankar
0e7dedf629 [INJIMOB-1078] remove debug logs and comments
Signed-off-by: KiruthikaJeyashankar <81218987+KiruthikaJeyashankar@users.noreply.github.com>
2024-09-16 16:57:06 +05:30
KiruthikaJeyashankar
4514134209 [INJIMOB-1078] use constants for hardcoded vc formats
Signed-off-by: KiruthikaJeyashankar <81218987+KiruthikaJeyashankar@users.noreply.github.com>
2024-09-16 16:29:22 +05:30
KiruthikaJeyashankar
48f43cdc02 [INJIMOB-1078] extract available fields of mso_mdoc VC
Signed-off-by: KiruthikaJeyashankar <81218987+KiruthikaJeyashankar@users.noreply.github.com>
2024-09-16 16:25:43 +05:30
KiruthikaJeyashankar
4264d3de15 [INJIMOB-1078] remove credentialTypes from Vc types
Signed-off-by: KiruthikaJeyashankar <81218987+KiruthikaJeyashankar@users.noreply.github.com>
2024-09-16 16:24:40 +05:30
KiruthikaJeyashankar
5dd498fe4a [INJIMOB-1078] fix vc receive log's idType not showing
Signed-off-by: KiruthikaJeyashankar <81218987+KiruthikaJeyashankar@users.noreply.github.com>
2024-09-16 16:23:45 +05:30
KiruthikaJeyashankar
e532fb0d58 [INJIMOB-2041] fix Same issuer's different credential types download / received logs are not proper issue
Signed-off-by: KiruthikaJeyashankar <81218987+KiruthikaJeyashankar@users.noreply.github.com>
2024-09-16 16:20:27 +05:30
KiruthikaJeyashankar
7e0d180b05 [INJIMOB-1078] use credentialConfigurationId instead of credentialDefinition's type
To identify matching issuer metadata details exposed by wellknown of the VC, previously credentialDefinition's type was used now it is getting replaced by credentialConfigurationId (this holds the keyValues of credential_configrations_supported object)

Signed-off-by: KiruthikaJeyashankar <81218987+KiruthikaJeyashankar@users.noreply.github.com>
2024-09-13 15:30:27 +05:30
adityankannan-tw
aba38d7d6c INJIMOB-2020 - Fix QR login issue in iOS (#1613)
* [INJIMOB-2020]: fix error screen in issuers screen when download fails

Signed-off-by: adityankannan-tw <adityan410pm@gmail.com>

* [INJIMOB-2020]: fix ES256 key type vc download failure issue in android and refactor

Signed-off-by: adityankannan-tw <adityan410pm@gmail.com>

* [INJIMOB-2020]: update secure keystore swift package and refactor

Signed-off-by: adityankannan-tw <adityan410pm@gmail.com>

* [INJIMOB-2020]: fix qr login issue in ios

Signed-off-by: adityankannan-tw <adityan410pm@gmail.com>
Co-Authored by: Abhishek Paul <paul.apaul.abhishek.ap@gmail.com>

---------

Signed-off-by: adityankannan-tw <adityan410pm@gmail.com>
Co-authored-by: adityankannan-tw <adityan410pm@gmail.com>
2024-09-12 15:44:31 +05:30