mirror of
https://github.com/mosip/inji-wallet.git
synced 2026-01-10 22:18:03 -05:00
master
18 Commits
| Author | SHA1 | Message | Date | |
|---|---|---|---|---|
|
|
d8036c871d |
[INJIMOB-3626] refactor: sync OVP lib changes - modify sendAuthorizationResponseToVerifier, sendErrorResponseToVerifier signature (#2129)
* [INJIMOB-3626] refactor: update OVP module as per renaming and output changes Signed-off-by: KiruthikaJeyashankar <kiruthikavjshankar@gmail.com> * [INJIMOB-3626] refactor: update OVP module as per renaming and output changes Signed-off-by: KiruthikaJeyashankar <kiruthikavjshankar@gmail.com> * [INJIMOB-3626] chore: update inji-openid4vp-ios-swift lib version Signed-off-by: KiruthikaJeyashankar <kiruthikavjshankar@gmail.com> --------- Signed-off-by: KiruthikaJeyashankar <kiruthikavjshankar@gmail.com> |
||
|
|
dad7417fdb |
[INJIMOB-3550] | [INJIMOB-3551] : refactor: replace OVP shareVerifiablePresentation with sendAuthorizationResponseToVerifier (#2104)
* [INJIMOB-3550] refactor: update ovp java module to use sendAuthorizationResponse instead of shareVerifiablePresentation Signed-off-by: KiruthikaJeyashankar <kiruthikavjshankar@gmail.com> * [INJIMOB-3551] refactor: modify ovp swift native module Signed-off-by: KiruthikaJeyashankar <kiruthikavjshankar@gmail.com> * [INJIMOB-3550] refactor: modify sendError to verifier as fire and forget call Signed-off-by: KiruthikaJeyashankar <kiruthikavjshankar@gmail.com> * [INJIMOB-3550] refactor: modify error's verifier response param from native module Signed-off-by: KiruthikaJeyashankar <kiruthikavjshankar@gmail.com> * [INJIMOB-3550] refactor: modiy error message for verifier returning non 200 response Signed-off-by: KiruthikaJeyashankar <kiruthikavjshankar@gmail.com> * [INJIMOB-3550] fix: app stuck on loading - trusted verifiers api failure Signed-off-by: KiruthikaJeyashankar <kiruthikavjshankar@gmail.com> * [INJIMOB-3550] refactor: modify verifier response parsing Signed-off-by: KiruthikaJeyashankar <kiruthikavjshankar@gmail.com> * [INJIMOB-3551] chore: update inji-openid4vp-ios-swift lib version Signed-off-by: KiruthikaJeyashankar <kiruthikavjshankar@gmail.com> * [INJIMOB-3534] chore: update inji-openid4vp-ios-swift version Signed-off-by: KiruthikaJeyashankar <kiruthikavjshankar@gmail.com> --------- Signed-off-by: KiruthikaJeyashankar <kiruthikavjshankar@gmail.com> |
||
|
|
066833d3c7 |
[INJIMOB-3550] | [INJIMOB-3551] Handle Verifier's Response for response_uri (#2089)
* [INJIMOB-3550] refactor: replace deprecated method sendErrorToVerifier Signed-off-by: KiruthikaJeyashankar <kiruthikavjshankar@gmail.com> * [INJIMOB-3550] refactor: log error details on auth failure - OVP Signed-off-by: KiruthikaJeyashankar <kiruthikavjshankar@gmail.com> * [INJIMOB-3551] refactor: change sendErrorToVerifier to sendErrorResponseToVerifier Signed-off-by: KiruthikaJeyashankar <kiruthikavjshankar@gmail.com> * [INJIMOB-3550] chore: update ovp kotlin lib version to 0.6.0-snapshot Signed-off-by: KiruthikaJeyashankar <kiruthikavjshankar@gmail.com> * [INJIMOB-3551] add: send userInfo from native module for ovp error Signed-off-by: KiruthikaJeyashankar <kiruthikavjshankar@gmail.com> * [INJIMOB-3551] chore: update ovp swift lib version Signed-off-by: KiruthikaJeyashankar <kiruthikavjshankar@gmail.com> --------- Signed-off-by: KiruthikaJeyashankar <kiruthikavjshankar@gmail.com> |
||
|
|
8f17535a25 |
[INJIMOB-3571] | [INJIMOB-3572] refactor: Modify trusted verifiers construction (#2094)
* [INJIMOB-3571] add: modify trusted verifiers Signed-off-by: KiruthikaJeyashankar <kiruthikavjshankar@gmail.com> * [INJIMOB-3571] add: modify trusted verifiers in swift Signed-off-by: KiruthikaJeyashankar <kiruthikavjshankar@gmail.com> * [INJIMOB-3571] refactor: remove unused logs and code Signed-off-by: KiruthikaJeyashankar <kiruthikavjshankar@gmail.com> * [INJIMOB-3572] add: support for unsigned request in pre-registered verifiers Signed-off-by: KiruthikaJeyashankar <kiruthikavjshankar@gmail.com> * [INJIMOB-3572] chore: update openid4vp swift package version Signed-off-by: KiruthikaJeyashankar <kiruthikavjshankar@gmail.com> * [INJIMOB-3571] refactor: revert changes trustedVerifiers cachePreference Signed-off-by: KiruthikaJeyashankar <kiruthikavjshankar@gmail.com> * [INJIMOB-3558] refactor: update vc renderer renderVc to generateCredentualDisplayCOntent Signed-off-by: KiruthikaJeyashankar <kiruthikavjshankar@gmail.com> * [INJIMOB-3559] fix: bridging issue of generateCredentialContent method Signed-off-by: KiruthikaJeyashankar <kiruthikavjshankar@gmail.com> * [INJIMOB-3559] refactor: modify vc renderer native module Signed-off-by: KiruthikaJeyashankar <kiruthikavjshankar@gmail.com> * [INJIMOB-3559] refactor: modify vc renderer native module Signed-off-by: KiruthikaJeyashankar <kiruthikavjshankar@gmail.com> * [INJIMOB-3559] chore: update vc renderer swift package Signed-off-by: KiruthikaJeyashankar <kiruthikavjshankar@gmail.com> --------- Signed-off-by: KiruthikaJeyashankar <kiruthikavjshankar@gmail.com> |
||
|
|
0713bbb5c4 |
[INJIMOB-3532] add sd jwt vp support (#2082)
* [INJIMOB-3513] add sd jwt vp support Signed-off-by: Abhishek Paul <paul.apaul.abhishek.ap@gmail.com> * [INJIMOB-3513] add bridge logic and sd-jwt signing for ovp Signed-off-by: Abhishek Paul <paul.apaul.abhishek.ap@gmail.com> * [INJIMOB-3532] add: support of OVP share in iOS Signed-off-by: KiruthikaJeyashankar <kiruthikavjshankar@gmail.com> * [INJIMOB-3532] add sd-jwt ovp ui Signed-off-by: Abhishek Paul <paul.apaul.abhishek.ap@gmail.com> * [INJIMOB-3532] refactor: optimize wallet_metadata creation logic Signed-off-by: KiruthikaJeyashankar <kiruthikavjshankar@gmail.com> * [INJIMOB-3532] refactor: fixed alignement issues and crash bug Signed-off-by: Abhishek Paul <paul.apaul.abhishek.ap@gmail.com> --------- Signed-off-by: Abhishek Paul <paul.apaul.abhishek.ap@gmail.com> Signed-off-by: KiruthikaJeyashankar <kiruthikavjshankar@gmail.com> Co-authored-by: KiruthikaJeyashankar <kiruthikavjshankar@gmail.com> |
||
|
|
0cb769803d |
[INJIMOB-3502] add: send Client Metadata to Verifer for OVP authenticateVerifier (#2062)
* [INJIMOB-3455] add clientmetadata support in trusted verifier json Signed-off-by: Abhishek Paul <paul.apaul.abhishek.ap@gmail.com> * [INJIMOB-3455] add clientmetadata support in trusted verifier json - kotlin integration Signed-off-by: Abhishek Paul <paul.apaul.abhishek.ap@gmail.com> * [INJIMOB-3502] fix: import issues in OpenId4VPModule Signed-off-by: KiruthikaJeyashankar <kiruthikavjshankar@gmail.com> * [INJIMOB-3502] refactor: accept Verifier with or w/o clientMetadata (OVP) Signed-off-by: KiruthikaJeyashankar <kiruthikavjshankar@gmail.com> * [INJIMOB-3502] refactor: make clientMetadata as optional in VerifierType Signed-off-by: KiruthikaJeyashankar <kiruthikavjshankar@gmail.com> * [INJIMOB-3502] refactor: change var to let Signed-off-by: KiruthikaJeyashankar <kiruthikavjshankar@gmail.com> * [INJIMOB-3502] chore: update ovp lib swft version Signed-off-by: KiruthikaJeyashankar <kiruthikavjshankar@gmail.com> --------- Signed-off-by: Abhishek Paul <paul.apaul.abhishek.ap@gmail.com> Signed-off-by: KiruthikaJeyashankar <kiruthikavjshankar@gmail.com> Co-authored-by: Abhishek Paul <paul.apaul.abhishek.ap@gmail.com> |
||
|
|
798bf1944f |
[INJIMOB-3390] refactor: update OVP wrapper as per library contract change (#2022)
* [INJIMOB-3390] refactor: update WalletMetadat's vpFormatsSupported - [VPFormatType: VPFormatSupported] Signed-off-by: KiruthikaJeyashankar <kiruthikavjshankar@gmail.com> * [INJIMOB-3390] fix: fallback metadata to support presentation_definition_uri Signed-off-by: KiruthikaJeyashankar <kiruthikavjshankar@gmail.com> * [INJIMOB-3390] refactor: rename fallbackWalletMetadata -> walletMetadata Signed-off-by: KiruthikaJeyashankar <kiruthikavjshankar@gmail.com> * [INJIMOB-3390] add: pass responseTYpesSupported to OVP walletMetadata Signed-off-by: KiruthikaJeyashankar <kiruthikavjshankar@gmail.com> * [INJIMOB-3388]: update the bridge code to add new parameters for walletmetadata Signed-off-by: Alka <prasadalka1998@gmail.com> * [INJIMOB-3390]: Resolve latest develop from swift library Signed-off-by: balachandarg-tw <balachandar.g@thoughtworks.com> * [INJIMOB-3388]: remove logging Signed-off-by: Alka <prasadalka1998@gmail.com> * [INJIMOB-3418]:content update in the TrustScreen of Credential Offer Signed-off-by: Alka <prasadalka1998@gmail.com> * [INJIMOB-3390]: Update issuerHost in VcMetadata Signed-off-by: balachandarg-tw <balachandar.g@thoughtworks.com> * [INJIMOB-3390]: Update condition in VCMetadata Signed-off-by: balachandarg-tw <balachandar.g@thoughtworks.com> * [INJIMOB-3390]: Update OVP library swift to point release-0.4.x Signed-off-by: balachandarg-tw <balachandar.g@thoughtworks.com> --------- Signed-off-by: KiruthikaJeyashankar <kiruthikavjshankar@gmail.com> Signed-off-by: Alka <prasadalka1998@gmail.com> Signed-off-by: balachandarg-tw <balachandar.g@thoughtworks.com> Co-authored-by: Alka <prasadalka1998@gmail.com> Co-authored-by: balachandarg-tw <balachandar.g@thoughtworks.com> |
||
|
|
0fe6915bb8 |
[INJIMO-3192]: Integrate swift error response enhancement (#2001)
* [INJIMOB-3192]: Native module integration for OVP error handling Signed-off-by: balachandarg-tw <balachandar.g@thoughtworks.com> * [INJIMOB-3192]: Fixing iOS build failure Signed-off-by: balachandarg-tw <balachandar.g@thoughtworks.com> * [INJIMOB-3192]: Refactoring code to move useEffect from SendVPScreenController to UI component Signed-off-by: balachandarg-tw <balachandar.g@thoughtworks.com> * [INJIMOB-3192]: Updating useOvpErrorModal while resolving merge conflicts Signed-off-by: balachandarg-tw <balachandar.g@thoughtworks.com> * [INJIMOB-3192]: Update iOs package dependencies to develop for OVP library Signed-off-by: balachandarg-tw <balachandar.g@thoughtworks.com> * [INJIMOB-3192]: Update history error messages Signed-off-by: balachandarg-tw <balachandar.g@thoughtworks.com> * [INJIMOB-3192]: Update the user declined history message Signed-off-by: balachandarg-tw <balachandar.g@thoughtworks.com> * [INJIMOB-3192]: Remove moduleClassName and use existing method Signed-off-by: balachandarg-tw <balachandar.g@thoughtworks.com> * [INJIMOB-3192]: Fix for retry scenario error messages Signed-off-by: balachandarg-tw <balachandar.g@thoughtworks.com> * [INJIMOB-3192]: Fix for sendErrorToVerifier crash Signed-off-by: balachandarg-tw <balachandar.g@thoughtworks.com> * [INJIMOB-3192]: Add Log for decline scenario Signed-off-by: balachandarg-tw <balachandar.g@thoughtworks.com> * [INJIMOB-3192]: Fix for decline crash issue Signed-off-by: balachandarg-tw <balachandar.g@thoughtworks.com> * [INJIMOB-3192]: Common method for reject Exceptions Signed-off-by: balachandarg-tw <balachandar.g@thoughtworks.com> * [INJIMOB-3192]: Modify general exception for retry scenario Signed-off-by: balachandarg-tw <balachandar.g@thoughtworks.com> * [INJIMOB-3192]: Remove comments Signed-off-by: balachandarg-tw <balachandar.g@thoughtworks.com> * [INJIMOB-3192]: Update package resolved Signed-off-by: balachandarg-tw <balachandar.g@thoughtworks.com> --------- Signed-off-by: balachandarg-tw <balachandar.g@thoughtworks.com> |
||
|
|
3beca4e7f8 |
[INJIMOB-3390] update OVP integration (#2015)
* [INJIMOB-3390] update OpenID4VP.ts to accomodate new library changes Changes include - moving walletMetadat to oVP class instantiation rather than authenticateVerifier - use walletMetadata with enums rather than strings Signed-off-by: KiruthikaJeyashankar <kiruthikavjshankar@gmail.com> * [INJIMOB-3388]: update ovp bridge layer with the library contract change Signed-off-by: Alka <prasadalka1998@gmail.com> * [INJIMOB-3390] refactor: OVP instance with configured walletMetadata To maintain singleton pattern and accommodate async pattern to get walletMetadata from config, getInstance in OpenID4VP.ts is modified to private method which will be called by any flow's method like authenticateVerifier, etc Other changes: - rename walletMetadata to fallbackWalletMetadata.ts Signed-off-by: KiruthikaJeyashankar <kiruthikavjshankar@gmail.com> * [INJIMOB-3390] fix: send walletMetadata vpFormats with mdoc for ios Signed-off-by: KiruthikaJeyashankar <kiruthikavjshankar@gmail.com> * [INJIMOB-3390] refactor: use fromValue from lib exposed enums Signed-off-by: KiruthikaJeyashankar <kiruthikavjshankar@gmail.com> * [INJIMOB-3390] chore: upgrade inji-openid4vp-ios-swift to latest develop Signed-off-by: KiruthikaJeyashankar <kiruthikavjshankar@gmail.com> * [INJIMOB-3390] fix: openid4vp lib update in pbxproj Signed-off-by: KiruthikaJeyashankar <kiruthikavjshankar@gmail.com> --------- Signed-off-by: KiruthikaJeyashankar <kiruthikavjshankar@gmail.com> Signed-off-by: Alka <prasadalka1998@gmail.com> Co-authored-by: Alka <prasadalka1998@gmail.com> |
||
|
|
180910d2b1 |
[INJIMOB-3191]: Ovp Error Handling (#1982)
* [INJIMOB-3191]:Wallet changes for OVP error Handling Signed-off-by: sairam-g9162 <sairamgirirao@gmail.com> * [INJIMOB-3191]: updated Locales Signed-off-by: sairam-g9162 <sairamgirirao@gmail.com> * [INJIMOB-3191]:Handled wallet error scenarios Signed-off-by: sairam-g9162 <sairamgirirao@gmail.com> * [INJIMOB-3191]: Updating the error scenarios Signed-off-by: balachandarg-tw <balachandar.g@thoughtworks.com> * [INJIMOB-3191]: Locales updated for generic error Signed-off-by: balachandarg-tw <balachandar.g@thoughtworks.com> * [INJIMOB-3191]: Updating the error code constants Signed-off-by: balachandarg-tw <balachandar.g@thoughtworks.com> --------- Signed-off-by: sairam-g9162 <sairamgirirao@gmail.com> Signed-off-by: balachandarg-tw <balachandar.g@thoughtworks.com> Co-authored-by: sairam-g9162 <sairamgirirao@gmail.com> |
||
|
|
f6bd61c3b4 |
[INJIMOB-3242]: Release 0.17.x sync to develop (#1960)
* [INJIMOB-3242]: update logic to create detached JWS for OVP flow Signed-off-by: Alka Prasad <prasadalka1998@gmail.com> * [INJIMOB-3242]: update authenticateVerifier parameters to match the lbrary parameters Signed-off-by: Alka Prasad <prasadalka1998@gmail.com> * [INJIMOB-3242]: Release 0.17.x sync to develop Signed-off-by: Abhishek Paul <paul.apaul.abhishek.ap@gmail.com> --------- Signed-off-by: Alka Prasad <prasadalka1998@gmail.com> Signed-off-by: Abhishek Paul <paul.apaul.abhishek.ap@gmail.com> Co-authored-by: Alka Prasad <prasadalka1998@gmail.com> |
||
|
|
d413ecdf34 |
Injimob 3153 mdoc vc sharing (#1926)
* [INJIMOB-3153]: add support for online sharing of mdoc VC Signed-off-by: Alka Prasad <prasadalka1998@gmail.com> * [INJIMOB-3153]: avoid stringifying the mdoc VC before sending to ovp library Signed-off-by: Alka Prasad <prasadalka1998@gmail.com> * [INJIMOB-3153]: send mdoc signature in device authentication class instead of map Signed-off-by: Alka Prasad <prasadalka1998@gmail.com> * [INJIMOB-3153]: update the openid4vp java bridge to accomodate the library structure changes Signed-off-by: Alka Prasad <prasadalka1998@gmail.com> * [INJIMOB-3153]: handle error display for duplicate mdoc sharing Signed-off-by: Alka Prasad <prasadalka1998@gmail.com> * [INJIMOB-3153]: rename authenticationContainer to VpTokenSigningResult Signed-off-by: Alka Prasad <prasadalka1998@gmail.com> * [INJIMOB-3015] support for mdoc in ios native maodule Signed-off-by: KiruthikaJeyashankar <kiruthikavjshankar@gmail.com> * [INJIMOB-3015] update wallet metadata initial config Signed-off-by: KiruthikaJeyashankar <kiruthikavjshankar@gmail.com> * [INJIMOB-3015] update wallet_metadat key for mdoc Signed-off-by: KiruthikaJeyashankar <kiruthikavjshankar@gmail.com> * [INJIMOB-3015] update share vp api call label as per lib Signed-off-by: KiruthikaJeyashankar <kiruthikavjshankar@gmail.com> * [INJIMOB-3015] update share vp api call label as per lib Signed-off-by: KiruthikaJeyashankar <kiruthikavjshankar@gmail.com> * [INJIMOB-3153]: rename Vp to VP for consistency Signed-off-by: Alka Prasad <prasadalka1998@gmail.com> * [INJIMOB-3153]: correct the ovp version Signed-off-by: Alka Prasad <prasadalka1998@gmail.com> * [INJIMOB-3153]: remove mavenLocal from code Signed-off-by: Alka Prasad <prasadalka1998@gmail.com> * [INJIMOB-3015] rename deviceAuthenticationBytesSigned to docTypeToDeviceAuthentication in MdocVPTokenSigningResult Signed-off-by: KiruthikaJeyashankar <kiruthikavjshankar@gmail.com> * [INJIMOB-3015] update pixelpass and openid4vp sswift libraries Signed-off-by: KiruthikaJeyashankar <kiruthikavjshankar@gmail.com> --------- Signed-off-by: Alka Prasad <prasadalka1998@gmail.com> Signed-off-by: KiruthikaJeyashankar <kiruthikavjshankar@gmail.com> Co-authored-by: KiruthikaJeyashankar <kiruthikavjshankar@gmail.com> |
||
|
|
affeb5cff8 |
[INJIMOB-2799]: add support for sending wallet metadata to verifier (#1875)
* [INJIMOB-2799]: add support for sending wallet metadata to verifier Signed-off-by: Alka Prasad <prasadalka1998@gmail.com> * [INJIMOB-3157]: [iOS]add support to send wallet metadata to verifier Signed-off-by: adityankannan-tw <adityan.kannan@thoughtworks.com> * [INJIMOB-3157]: [iOS] pass client id schemes only if it is present and not empty Signed-off-by: adityankannan-tw <adityan.kannan@thoughtworks.com> * [INJIMOB-2491]: should read walletMetadata from config if present else from the local Signed-off-by: Alka Prasad <prasadalka1998@gmail.com> * [INJIMOB-3157]:[iOS]update validations on wallet metadata Signed-off-by: adityankannan-tw <adityan.kannan@thoughtworks.com> * [INJIMOB-3157]: update openid4vp swift package Signed-off-by: adityankannan-tw <adityan.kannan@thoughtworks.com> * [INJIMOB-3157]: fix native module issue Signed-off-by: adityankannan-tw <adityan.kannan@thoughtworks.com> * [INJIMOB-3157]: refactor wallet metadata to pass optional values Signed-off-by: adityankannan-tw <adityan.kannan@thoughtworks.com> * [INJIMOB-3157]: refactor wallet metadata to pass optional values Signed-off-by: adityankannan-tw <adityan.kannan@thoughtworks.com> * [INJIMOB-3157]: update openid4vp swift package Signed-off-by: adityankannan-tw <adityan.kannan@thoughtworks.com> --------- Signed-off-by: Alka Prasad <prasadalka1998@gmail.com> Signed-off-by: adityankannan-tw <adityan.kannan@thoughtworks.com> Co-authored-by: adityankannan-tw <adityan.kannan@thoughtworks.com> |
||
|
|
0b8777cdd6 |
[INJIMOB-2810] openID4VP draft 23 support (#1859)
* [INJIMOB-2180] send selectedVcs along with credential format Signed-off-by: KiruthikaJeyashankar <kiruthikavjshankar@gmail.com> * [INJIMOB-2180] update OVP library version Signed-off-by: KiruthikaJeyashankar <kiruthikavjshankar@gmail.com> * [INJIMOB-2180] fix syntax error in credentials map creation Signed-off-by: KiruthikaJeyashankar <kiruthikavjshankar@gmail.com> * [INJIMOB-2810] modify OVP library communication method params input type Changes include - Modify selectedCredentials to hold a credential format of VCs - Modify VPResponseMetadata creation and passing to OVP library to include credential format Signed-off-by: KiruthikaJeyashankar <kiruthikavjshankar@gmail.com> * [INJIMON-2810] modify shareVP method signature as per library Signed-off-by: KiruthikaJeyashankar <kiruthikavjshankar@gmail.com> * [INJIMOB-2810] handle conversion of json string - vpTokensForSigning in native module Signed-off-by: KiruthikaJeyashankar <kiruthikavjshankar@gmail.com> * [INJIMOB-2810] modify iOS native module to adapt OVP library changes Signed-off-by: KiruthikaJeyashankar <kiruthikavjshankar@gmail.com> * [INJIMOB-2810] modify inji-opeind4vp library version to 0.3.0 Signed-off-by: KiruthikaJeyashankar <kiruthikavjshankar@gmail.com> * [INJIMOB-2810] modify inji-opeind4vp to adapt rename of VPTokenForSigning to UnsignedVPToken Signed-off-by: KiruthikaJeyashankar <kiruthikavjshankar@gmail.com> * [INJIMOB-2810] update OpenID4VP swift library version to develop Signed-off-by: KiruthikaJeyashankar <kiruthikavjshankar@gmail.com> --------- Signed-off-by: KiruthikaJeyashankar <kiruthikavjshankar@gmail.com> |
||
|
|
5c01a00679 |
[INJIMOB-2258] sync changes from release-0.15.0 & release-0.16.0 (#1826)
* [INJIMOB-2258] sync docs from release-0.15.0 Signed-off-by: KiruthikaJeyashankar <kiruthikavjshankar@gmail.com> * [INJIMOB-2091] update OpenID4VP swift library version (#1815) * [INJIMOB-2091] update OpenID4VP swift library version Other changes: - Modify authenticateVerifier method call's labels as per library Signed-off-by: KiruthikaJeyashankar <kiruthikavjshankar@gmail.com> * [INJIMOB-2901] rename encodedAuthorizationRequest to urlEncodedAuthorizationRequest Signed-off-by: KiruthikaJeyashankar <kiruthikavjshankar@gmail.com> --------- Signed-off-by: KiruthikaJeyashankar <kiruthikavjshankar@gmail.com> * [INJIMOB-2978] update module dependencies (#1821) * [INJIMOB-2258]: bump up vc-verifier verion and update ovp library Signed-off-by: Alka Prasad <prasadalka1998@gmail.com> * [INJIMOB-2978] update module dependencies Other changes - update openid4vp swift library version Co-Authored by: Abhishek Paul <paul.apaul.abhishek.ap@gmail.com> Signed-off-by: KiruthikaJeyashankar <kiruthikavjshankar@gmail.com> * [INJIMOB-2258] update swift openid4vp package Signed-off-by: KiruthikaJeyashankar <kiruthikavjshankar@gmail.com> --------- Signed-off-by: Alka Prasad <prasadalka1998@gmail.com> Signed-off-by: KiruthikaJeyashankar <kiruthikavjshankar@gmail.com> Co-authored-by: Alka Prasad <prasadalka1998@gmail.com> * [INJIMOB-2091] update OpenID4VP swift library version to develop 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> |
||
|
|
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> |
||
|
|
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
|
||
|
|
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> |