Commit Graph

3153 Commits

Author SHA1 Message Date
KiruthikaJeyashankar
82740bcc36 [INJIMOB-2471] set UUID as vc identifier (#1745)
* [INJIMOB-2471] make identifier of Vc as random UUID

Previously, we were relying on the id feild of the Vc to construct the unique identifier for VC component and file name for storing VC, this identifier in now replaced with random generated UUID. This was made since id property of VC is optional field as per w3c data-model 1.1.

We are using UUID version 4 to ensure randomness and collision-resistance.

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

* [INJIMOB-2471] maintain consistency in setting VCMetadata ID

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

* [INJICERT-2471] use VC metadata id as VC key

This VC key will be used for storing file name, component key & other identifier for VCs

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

* [INJIMOB-2471] remove setting identifier field in credential wrapper

The identitifier in credentialWrapper having the value "$issuer:$protocol:$UUID" was used to construct VC metadata id, issuer and protocol field which is already available in context param. This is now replaced with constructing VC metadata with the required fields available in machine context.

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

* [INJIMOB-2471] use context VCMetadata instead of calling function for accessing in issuersMachine

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

* [INJIMOB-2471] optimize import

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

---------

Signed-off-by: KiruthikaJeyashankar <kiruthikavjshankar@gmail.com>
2024-12-24 10:00:27 +05:30
PuBHARGAVI
b30cd6b809 [INJIMOB-2550] use ed25519 key type for signing the vp token in VP sharing flow (#1741)
* [INJIMOB-2550] set default key type to ed25519 for signing the vp token in VP sharing flow

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

* [INJIMOB-2550]: encode ed25519 public key and pass to library

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

* [INJIMOB-2550] rename ovp signing algorithm and suite name variables to make them more meaningful

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-12-23 12:23:32 +05:30
Alka Prasad
e0579048b1 [INJIMOB-2571]: refactor storage class (#1746)
* [INJIMOB-2571]: refactor backed up data restoration method

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

* [INJIMOB-2571]: refactor the storage class to make it more readable and for seperation of concerns

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

* [INJIMOB-2571]: rename a few methods and throw the caught error along with logging it

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

* [INJIMOB-2571]: refactor verifyCredential method and its usages

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

* [INJIMOB-2571]: move verifyCredentialData method under OpenIdVCI

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

---------

Signed-off-by: Alka Prasad <prasadalka1998@gmail.com>
2024-12-20 10:34:29 +05:30
Chandra Keshav Mishra
53da105be2 Merge pull request #1742 from Prafulrakhade/develop
[MOSIP-38397] Upgraded actions/cache version
2024-12-19 19:39:27 +05:30
balachandarg-tw
8fc26b963e [INJIMOB-2452] : Well known discovery with attribute name change (#1744)
* [INJIMOB-2452]: Well known discovery from wallet side with credential_issuer attribute name change.

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

* [INJIMOB-2452]: Add issuer_id for cache key for wellknown call.

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

* [INJIMOB-2452]: Removing fetchIssuerConfig method

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

* [INJIMOB-2452]: Add issuerHost in VcMetadata.

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

* [INJIMOB-2452]: Update params to pass only issuerHost of vcMetadata

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

* [INJIMOb-2452]: Update credential_issuer attribute to credential_issuer_host

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

* [INJIMOB-2452]: add temporary fix for react-native-zip-archive error on github action

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

---------

Signed-off-by: BalachandarG <balachandar.g@thoughtworks.com>
Signed-off-by: Alka Prasad <prasadalka1998@gmail.com>
Co-authored-by: Alka Prasad <prasadalka1998@gmail.com>
2024-12-19 18:59:30 +05:30
Alka Prasad
bcad36994d [INJIMOB-2571]: remove unsed code related to new label for backup and restore (#1747)
Signed-off-by: Alka Prasad <prasadalka1998@gmail.com>
2024-12-19 06:32:20 +05:30
Alka Prasad
944967d031 [INJIMOB-2571]: refactor all the state machine related to backup and restore (#1748)
Signed-off-by: Alka Prasad <prasadalka1998@gmail.com>
2024-12-18 12:24:17 +05:30
abhip2565
f6055a4389 [INJIMOB-2526] update logic for vc search in homescreen & fix backup restore duplicate key in vc screen (#1737)
* [INJIMOB-2526] update logic for vc search in homescreen

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

* [INJIMOB-2522] fix backup restore duplicate key in vc screen

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

---------

Signed-off-by: Abhishek Paul <paul.apaul.abhishek.ap@gmail.com>
2024-12-17 16:08:27 +05:30
techno-467
075057f47c [MOSIP-38397] Upgraded actions/cache version
Signed-off-by: techno-467 <prafulrakhade02@gmail.com>
2024-12-17 12:51:23 +05:30
PuBHARGAVI
e572faf30b [INJIMOB-2538] fetch the openid4vp sharing flow client validation property from inji default properties file and pass it to library (#1739)
* [INJIMOB-2538] fetch whether we should do client validation or not in VP sharing flow based on the value assigned in inji config default properties file

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

* [INJIMOB-2538] convert clientValidation property from string to boolean before passing it to library

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

* [INJIMOB-2538] change the logic of checking the value of clientValidation property

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

* [INJIMOB-2538] rename clientValidation variable to shouldValiateClient and call verifiers api only if validation is required

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

* [INJIMOB-2538] check if client validation is needed or not as part of service instead of action

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

* [INJIMOB-2538] update Package.resolved

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

---------

Signed-off-by: PuBHARGAVI <46226958+PuBHARGAVI@users.noreply.github.com>
Signed-off-by: Abhishek Paul <paul.apaul.abhishek.ap@gmail.com>
Co-authored-by: Abhishek Paul <paul.apaul.abhishek.ap@gmail.com>
2024-12-13 11:30:44 +05:30
abhip2565
9c851dbb88 [INJIMOB-2241] fix error text overlap on host selection overlay screen (#1723)
Signed-off-by: Abhishek Paul <paul.apaul.abhishek.ap@gmail.com>
2024-12-09 13:08:55 +05:30
Alka Prasad
1c0cc471b3 [INJIMOB-2415] store the wellknown data as object in activity log file (#1733)
Signed-off-by: PuBHARGAVI <46226958+PuBHARGAVI@users.noreply.github.com>
Co-authored-by: PuBHARGAVI <46226958+PuBHARGAVI@users.noreply.github.com>
2024-12-09 12:09:16 +05:30
Sreenadh S
3090399e3c Merge pull request #1729 from tw-mosip/injimob-2265-swift
[INJIMOB-2265]: Update Openid4vp swift package
2024-12-06 16:14:53 +05:30
adityankannan-tw
7adc907204 [INJIMOB-2265]: update openid4vp swift package
Signed-off-by: adityankannan-tw <adityan410pm@gmail.com>
2024-12-06 15:42:02 +05:30
Sreenadh S
816a5f0829 Merge pull request #1709 from tw-mosip/injimob-2265-ovp-enhancement
[Injimob 2265] show verifier name in VP sharing screen and consent screen and add translations for same
2024-12-05 12:00:43 +05:30
Sreenadh S
5dbe58bfea Merge pull request #1727 from tw-mosip/injimob-2277-handle-expired-vc-develop
[INJIMOB-2277]: add expired status in the info list of status
2024-12-05 11:51:25 +05:30
PuBHARGAVI
47efaa7a97 [INJIMOB-2265] update openid4vp swift package commit
Signed-off-by: PuBHARGAVI <46226958+PuBHARGAVI@users.noreply.github.com>
2024-12-05 11:24:02 +05:30
Alka Prasad
c0be71cec1 [INJIMOB-2277]: add expired status in the info list of status
Signed-off-by: Alka Prasad <prasadalka1998@gmail.com>
2024-12-05 11:18:40 +05:30
Sreenadh S
415595b833 Merge pull request #1666 from rajapandi1234/develop
[MOSIP-37071] fix: injitest/pom.xml to reduce vulnerabilities
2024-12-04 16:53:16 +05:30
PuBHARGAVI
e971da243c [INJIMOB-2265] fix the encoding issue occured while generating the jwt token in vp sharing flow
Signed-off-by: PuBHARGAVI <46226958+PuBHARGAVI@users.noreply.github.com>
2024-12-04 15:14:14 +05:30
Sreenadh S
997e700826 Merge pull request #1722 from tw-mosip/injimob-2462-fix-error-cta-not-working-dev
[INJIMOB-2462] fix error screen CTAs not working in VC download flow
2024-12-02 17:33:39 +05:30
KiruthikaJeyashankar
381a34b789 [INJIMOB-2462] modify error message for download flow tech difficulty
Signed-off-by: KiruthikaJeyashankar <kiruthikavjshankar@gmail.com>
2024-12-02 11:21:13 +05:30
KiruthikaJeyashankar
0f8a3d668b [INJIMOB-2462] fix error screen CTAs not working in VC download flow
Signed-off-by: KiruthikaJeyashankar <kiruthikavjshankar@gmail.com>
2024-12-02 11:21:01 +05:30
PuBHARGAVI
b89bec7309 [INJIMOB-2265] show client_id in VP sharing screen if client_name is not available in client_metadata as per the spec
Signed-off-by: PuBHARGAVI <46226958+PuBHARGAVI@users.noreply.github.com>
2024-12-02 00:13:50 +05:30
PuBHARGAVI
9af4c7e049 Merge remote-tracking branch 'upstream/develop' into injimob-2265-ovp-enhancement 2024-12-01 23:43:17 +05:30
KiruthikaJeyashankar
324349b9c1 [INJIMOB-2415] show credential type in mini view instead of fullName (#1705)
* [INJIMOB-2415] show credential type in mini view

Previously, it was showing hardcoded fullName in mini view

Other changes include
- Handling of display property
  -> unavailable in wellknown
  -> empty array in wellknown
  -> expected credential type (name) is not available in display property of wellknown

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

* [INJIMOB-2415] rename getIDType to getCredentialType

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

* [INJIMOB-2415]: update logic to get credential type

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

* [INJIMOB-2415]: update the translation for mso mdoc fallback for credential type

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

* [INJIMOB-2415] update getCredentialType method comments

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

* [INJIMOB-2369] remove commented code

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

* [INJIMOB-2415] get backgroundColor of VC from curr lang's display property

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

* [INJIMOB-2415] get background image of VC from curr lang's display property

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

* [INJIMOB-2415] get text color of VC from curr lang's display property

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

* [INJIMOB-2415] add prop types for VCVerification component

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

* [INJIMOB-2415] introduce fieldColor prop in VCItemField for VC mini & detail view

As of now, for each and every field that is getting rendered we are calling getTextColor with wellknown param, if we start bringing in logic of getDisplayObjectForCurrentLanguage and then get the text_color from it, we will end up in running a filter for each and every field. For reducing this complexity, VCItemField component is accepting fieldColor prop from the caller.

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

* [INJIMOB-2415] move fallback miniview kebab popup color to const

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

* [INJIMOB-2415] move fallback detailview border color to const

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

* [INJIMOB-2415] move fallback verification text color to const

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

* [INJIMOB-2415] remove unnecessary sending of props

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

* [INJIMOB-2415] refactor type error

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

* [INJIMOB-2415] refactor type error

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

* [INJIMOB-2415] refactor - remove unused prop

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

* [INJIMOB-2415] refactor getBackgroundColor to accept display element as per app languange

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

* [INJIMOB-2415] refactor getBackgroundImage to accept display element as per app languange

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

* [INJIMOB-2415] refactor getTextColor to accept display element as per app languange

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

* [INJIMOB-2415] fix credential type to be shown based on app lang

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

* [INJIMOB-2415] extract card's display related functions to class

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

* [INJIMOB-2415] fix build fail for accessing Theme in static block

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

---------

Signed-off-by: KiruthikaJeyashankar <kiruthikavjshankar@gmail.com>
Signed-off-by: Alka Prasad <prasadalka1998@gmail.com>
Co-authored-by: Alka Prasad <prasadalka1998@gmail.com>
2024-11-29 17:30:42 +05:30
anup-nehe
42af99bfc0 MOSIP-37848 MOSIP-37765 esignet testcases are separated (#1711)
* MOSIP-37454 MOSIP-37452

Signed-off-by: Anup Nehe <anup.nehe@technoforte.co.in>

* resolve conflicts

Signed-off-by: Anup Nehe <anup.nehe@technoforte.co.in>

* resolve conflicts

Signed-off-by: Anup Nehe <anup.nehe@technoforte.co.in>

* updated the readme

Signed-off-by: Anup Nehe <anup.nehe@technoforte.co.in>

* updated readme

Signed-off-by: Anup Nehe <anup.nehe@technoforte.co.in>

* update readme

Signed-off-by: Anup Nehe <anup.nehe@technoforte.co.in>

* MOSIP-37765 MOSIP-37848

Signed-off-by: Anup Nehe <anup.nehe@technoforte.co.in>

* resolve conflict

Signed-off-by: Anup Nehe <anup.nehe@technoforte.co.in>

---------

Signed-off-by: Anup Nehe <anup.nehe@technoforte.co.in>
2024-11-29 16:53:11 +05:30
KiruthikaJeyashankar
b68c69151d [INJIMOB-2369] authorization endpoint discovery through auth server wellknown (#1706)
* [INJIMOB-2369] get authorization endpoint from auth server wellknown

Replace hardcoded authorization endpoint (authorization_servers[0] + '/authorize') to fetching from oauth-authorization-server well-known

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

* [INJIMOB-2369] handle error scenarios for authz url discovery

For getting the authorization_endpoint as per Wallet's support, as of now we are getting the first entry of authorization_server and fetching the authorization server metadata. In this metadata if grant type is not authorization_code, its considered as error scenario

In case of error while fetching authorization endpoint from Authorization server,
- Network error -> No internet error screen
- oauth-authorization-server well-known's supported grant types is not supported by Wallet -> Grant type not supported error
- Others -> Generic error screen

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

* [INJIMOB-2369] add locales support for grantTypeNotSupperted error

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

* [INJIMOB-2369]: remove unused url

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

* [INJIMOB-2369] modify cache key of issuer authorization server metadata

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

---------

Signed-off-by: KiruthikaJeyashankar <kiruthikavjshankar@gmail.com>
Signed-off-by: Alka Prasad <prasadalka1998@gmail.com>
Co-authored-by: Alka Prasad <prasadalka1998@gmail.com>
2024-11-29 15:42:04 +05:30
abhip2565
d58f167fad [INJIMOB-2449] fix multiple ios signin issue (#1714)
Signed-off-by: Abhishek Paul <paul.apaul.abhishek.ap@gmail.com>
2024-11-29 15:40:46 +05:30
abhip2565
8b6d4b0bb7 [INJIMOB-2260] change theme to gradient from workflows (#1717)
Signed-off-by: Abhishek Paul <paul.apaul.abhishek.ap@gmail.com>
2024-11-29 12:31:03 +05:30
adityankannan-tw
de6bab94f4 [INJIMOB-2394]: Update about Inji screen (#1701)
* [INJIMOB-2393]: update about inji screen

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

* [INJIMOB-2394]: update about inji screen

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

* [INJIMOB-2394]: update about inji screen

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-11-28 14:48:54 +05:30
PuBHARGAVI
73b728bab7 [INJIMOB-2265] use optional chaining while fetching the proof type from the downloaded VC to avoid runtime issues for other VC types
Signed-off-by: PuBHARGAVI <46226958+PuBHARGAVI@users.noreply.github.com>
2024-11-26 16:32:04 +05:30
abhip2565
c07e6bc90b [INJIMOB-2405] remove displayid and refactor code (#1703)
Signed-off-by: Abhishek Paul <paul.apaul.abhishek.ap@gmail.com>
2024-11-26 14:11:49 +05:30
adityankannan-tw
5e8378e19f Injimob 2310 - Handle iOS biometric negative scenarios (#1698)
* [INJIMOB-2310]: handle biometric cancellation during app launch

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

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

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-11-25 12:07:20 +05:30
anup-nehe
729f914d9a updated readme (#1697)
* MOSIP-37454 MOSIP-37452

Signed-off-by: Anup Nehe <anup.nehe@technoforte.co.in>

* resolve conflicts

Signed-off-by: Anup Nehe <anup.nehe@technoforte.co.in>

* resolve conflicts

Signed-off-by: Anup Nehe <anup.nehe@technoforte.co.in>

* updated the readme

Signed-off-by: Anup Nehe <anup.nehe@technoforte.co.in>

* updated readme

Signed-off-by: Anup Nehe <anup.nehe@technoforte.co.in>

* update readme

Signed-off-by: Anup Nehe <anup.nehe@technoforte.co.in>

---------

Signed-off-by: Anup Nehe <anup.nehe@technoforte.co.in>
2024-11-25 12:06:47 +05:30
anup-nehe
c98d440c2e updated the readme (#1696)
* MOSIP-37454 MOSIP-37452

Signed-off-by: Anup Nehe <anup.nehe@technoforte.co.in>

* resolve conflicts

Signed-off-by: Anup Nehe <anup.nehe@technoforte.co.in>

* resolve conflicts

Signed-off-by: Anup Nehe <anup.nehe@technoforte.co.in>

* updated the readme

Signed-off-by: Anup Nehe <anup.nehe@technoforte.co.in>

* updated readme

Signed-off-by: Anup Nehe <anup.nehe@technoforte.co.in>

---------

Signed-off-by: Anup Nehe <anup.nehe@technoforte.co.in>
2024-11-25 10:39:54 +05:30
anup-nehe
7c02ba5f2b MOSIP-37547 INJIMOB-1861 added new testcases (#1694)
* MOSIP-37454 MOSIP-37452

Signed-off-by: Anup Nehe <anup.nehe@technoforte.co.in>

* resolve conflicts

Signed-off-by: Anup Nehe <anup.nehe@technoforte.co.in>

* resolve conflicts

Signed-off-by: Anup Nehe <anup.nehe@technoforte.co.in>

---------

Signed-off-by: Anup Nehe <anup.nehe@technoforte.co.in>
2024-11-20 16:54:01 +05:30
abhip2565
db28108155 [INJIMOB-2260] remove new label from backupRestore and KeyManagement feature (#1678)
Signed-off-by: Abhishek Paul <paul.apaul.abhishek.ap@gmail.com>
2024-11-19 14:51:36 +05:30
balachandarg-tw
bd3517ce10 Injimob 2277 handle expired vc (#1679)
* [INJIMOB-2272]: Expired Vc UI changes based on error code

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

* [INJIMOB-2272]: Hide activation from Kebab Popup and activation icons for Expired Vcs.

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

* [INJIMOB-2277]: Combine the actions for verified and expired flag.Update kebabmenu options condition.

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

* [INJIMOB-2277]: Update VcVerification props to accept vcMetadata.

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

---------

Signed-off-by: BalachandarG <balachandar.g@thoughtworks.com>
2024-11-19 14:51:18 +05:30
PuBHARGAVI
068924e602 [INJIMOB-2265] show verifier name in consent screen message of VP sharing flow
Signed-off-by: PuBHARGAVI <46226958+PuBHARGAVI@users.noreply.github.com>
2024-11-18 19:18:27 +05:30
PuBHARGAVI
7cc67a66f7 [INJIMOB-2265] rename VP sharing screen requester header to Verification Entity
Signed-off-by: PuBHARGAVI <46226958+PuBHARGAVI@users.noreply.github.com>
2024-11-18 18:58:42 +05:30
Alka Prasad
4b0dd725c3 [INJIMOB-2324] add UIN/VID only to telemetry log in case of verification failure (#1685)
Signed-off-by: KiruthikaJeyashankar <kiruthikavjshankar@gmail.com>
Co-authored-by: KiruthikaJeyashankar <kiruthikavjshankar@gmail.com>
2024-11-18 14:47:20 +05:30
adityankannan-tw
b6a1167043 [INJIMOB-2265]: update openID4VP swift package (#1682)
Signed-off-by: adityankannan-tw <adityan410pm@gmail.com>
Co-authored-by: adityankannan-tw <adityan410pm@gmail.com>
2024-11-14 16:01:13 +05:30
KiruthikaJeyashankar
5149e1820d [INJIMOB-2260] fix send VP screen showing blank screen (#1675)
Signed-off-by: KiruthikaJeyashankar <kiruthikavjshankar@gmail.com>
Co-authored-by: BalachandarG <balachandar.g@thoughtworks.com>
Co-authored-by: adityankannan-tw <adityan410pm@gmail.com>
Co-authored-by: PuBHARGAVI <46226958+PuBHARGAVI@users.noreply.github.com>
Co-authored-by: Abhishek Paul <paul.apaul.abhishek.ap@gmail.com>
2024-11-07 23:57:29 +05:30
abhip2565
1ad39cc2ec [INJIMOB-2250] fix default theme home logo margin (#1673)
* [INJIMOB-2250] fix default theme home logo margin

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

* [INJIMOB-2250] fix gradient button in qr login flow

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

* [INJIMOB-2250] fix activation banner

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

---------

Signed-off-by: Abhishek Paul <paul.apaul.abhishek.ap@gmail.com>
2024-11-07 21:50:29 +05:30
KiruthikaJeyashankar
e96ab1e5e7 [INJIMOB-2260] Translations and help screen redirection fix (#1674)
* [INJIMOB-2260] revert bypassing VC verification fro mock mso_mdoc format VC

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

* [INJIMOB-2260] fix backup helpscreen redirect to backup faq questions

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

* [INJIMOB-2260] add missing translations for downloadingVcSuccess

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

* [INJIMOB-2260]: Bypass mock verification in restore flow.

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

---------

Signed-off-by: KiruthikaJeyashankar <kiruthikavjshankar@gmail.com>
Signed-off-by: BalachandarG <balachandar.g@thoughtworks.com>
Co-authored-by: BalachandarG <balachandar.g@thoughtworks.com>
2024-11-07 16:37:00 +05:30
adityankannan-tw
1706e88e22 [INJIMOB-2252]: Throw biometric cancelled error when user cancels it (#1671)
* [INJIMOB-2252]: throw biometric cancelled error when user cancels it

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

* [INJIMOB-2252]: throw biometric cancelled error when user cancels it

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

* [INJIMOB-2252]: throw biometric cancelled error when user cancels it and update ios secure keystore

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-11-07 16:21:42 +05:30
PuBHARGAVI
acd512727b [INJIMOB-2170] rename openid4vp artifact name to use all small case letters (#1672)
Signed-off-by: PuBHARGAVI <46226958+PuBHARGAVI@users.noreply.github.com>
2024-11-07 15:29:26 +05:30
PuBHARGAVI
1f2846b405 [Injimob 2170] Show loading screen before rendering the VP sharing screen and render the buttons based on the user-selected and matched VCs (#1669)
* [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.

* [INJIMOB-2170] show loading screen in vp sharing flow after scanning the qr code and till fetchig the matching VCs

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

* [INJIMOB-2170] add translations for loading screen messages in all languages

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

* [INJIMOB-2170] show share and share with selfie buttons in sharing screen based on whether the matching VCs and selected VCs has image or not

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

* [INJIMOB-2170] align sharing vp screen header title to center to show it properly in all languages

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

* [INJIMOB-2170] add vpVerifierName as dependency in useLayoutEffect to reload the screen if verifier name is received from scanned QR code

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-07 08:58:45 +05:30
abhip2565
f63302d4cc [INJIMOB-2260] update inji docs url after docs restructure (#1670)
Signed-off-by: Abhishek Paul <paul.apaul.abhishek.ap@gmail.com>
2024-11-07 08:56:39 +05:30