-
Notifications
You must be signed in to change notification settings - Fork 114
feat(IT-Wallet): [SIW-3045] Add L2+ PID issuance flow with MRTD PoP #7647
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
+1,827
−1,534
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
…thentication flow - Deleted unused files related to the CIE machine context and selectors. - Refactored the CIE card reader screen to utilize the new authentication flow. - Introduced a new CIE authentication screen to handle the authentication process. - Updated the internal authentication and MRTD screen to integrate with the new CIE manager. - Enhanced the CIE manager to handle reading progress and errors more effectively. - Added utility functions for progress visualization during CIE reading. - Updated navigation parameters and actions to align with the new flow. - Improved type safety and error handling across the CIE authentication process.
Contributor
PR Title Validation for conventional commit type✅ All good! PR title follows the conventional commit type. |
Contributor
Jira Pull Request LinkThis Pull Request refers to Jira issues: |
…e-flow' into SIW-3045-add-l2-plus-pid-issuance-flow
ale-mazz
approved these changes
Dec 4, 2025
gispada
approved these changes
Dec 4, 2025
Collaborator
gispada
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Short description
This PR introduces the L2+ flow for IT-Wallet. L2+ adds an extra step after the primary SPID or CieID identification, requiring the user to complete an MRTD (ID card) proof-of-possession check.
The verification is performed through an NFC scan of the ID card.
This PR also includes a major refactoring of the CIE scan logic, making it reusable and shareable across both the CIE+PIN and MRTD flows.
List of changes proposed in this pull request
Credential Issuance Flow & Proof Handling
mrtd-popornone) during credential issuance, controlled by the newwithMRTDPoPparameter instartAuthFlow, and updated related function signatures and logic initwIssuanceUtils.ts. [1] [2] [3]getCredentialIdentifierFromAccessTokento throw an error for unsupported authorization detail types, increasing robustness.MRTD PoP Challenge Utilities
mrtd.tsutility with functions for initializing and validating MRTD PoP challenges, encapsulating cryptographic context management and challenge handling.NFC Feature Detection & L3 Flow
level === "l3"directly instead of using a helper, and updated related tests and screens to reflect this logic. [1] [2]Localization & Dependency Updates
@pagopa/io-react-native-walletdependency to version 2.4.0 for access to new features and bug fixes.Error Handling & Analytics
How to test
Demo
ScreenRecording_11-26-2025.16-37-24_1.MP4
ScreenRecording_11-26-2025.16-38-33_1.MP4