-
Notifications
You must be signed in to change notification settings - Fork 2
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
Revoke VID #210
Comments
From discussions, it should be noted that the revocation only applies to VID:s and that it only affects future use of the VID as a source for generating a VC. Thus, it will be possible to revoke a VID by opening any VC derived from it and selecting "revoke". |
Updating title and description. |
@kneckinator do we have a design for it? or we could do it like lock/unlock? |
@danicaerediano we can do it like lock/unlock. @walidkhouryNL to confirm. |
Open question: |
@rakhimosip this can be done through the This can be crosschecked through the |
@kyanthony if it is not yet done, can you please raise a ticket in the Cc: @uocnb |
@kneckinator I have summarised the discussion on 10 Aug below. Please review. Post that we can update the content of this ticket. Assumption: Mimoto should have the ability to identify the ID attribute in VC and deduce if it contains a UIN or a VID value. For now, we can hardcode the attribute name in Mimoto. In the next phase when we use templates to map VC attributes this logic will need to be revisited. How will the Mimoto identify if the ID value is UIN or VID? Feature details: The resident can revoke a VID by selecting that option in the UI and providing OTP. Before revoking the user should be prompted about the impact of revoking the VID with a message like "Your wallet contains a credential with VID 123******89. Revoking this will automatically remove the same from the wallet. Are you sure you want to proceed?" On successful revocation, a message will be displayed to the user. "VID 123******89 has been revoked. Any credential containing the same will be removed automatically from the wallet". A log for the same will be available in the Transaction History section of the app. A revoke request failure should display a message indicating the same and not alter the state of the app. A log for the same will be available in the Transaction History section of the app. If a credential contains VID as ID, then an option to revoke it will be provided when the resident view the credential details. Given here are the designs for both options: Impact of revoking a VID:
Is there a need to display revoked VIDs in the app? NOT Required This feature will NOT be supported in 1.1.5 version of platform. |
@danicaerediano The overlay/popup looks fine. But why is it displayed on top of a detail view? |
Tested on build: MOCKMOTO_io.mosip.residentapp-0.4.0-rc2-newlogic_20220921_1801 Observations:
Assigned back to dev. Screenshots |
Tested on: [MOCKMOTO_io.mosip.residentapp-0.4.0-rc2-newlogic_20220921_1801.apk] Observations
Expected Results:
ASSIGNED BACK TO DEV |
Tested on: MOCK_io.mosip.residentapp-0.4.0-rc3-17-5f7c994-develop-temp-dirty-newlogic_20221003_0914.apk Observations
STEPS TO REPLICATE OBSERVATIONS Observation 1
Observation 2
Observation 3
Observation 4
Observation 5
*Expected Results
ASSIGN BACK TO DEV |
@jannahadlaon 3.) Individually Revoking VID still has the same function with Bulk revoke VID |
Thanks for the clarification @danicaerediano! |
@jannahadlaon |
Tested on: MOSIP server: Mock Devices: WORKS AS EXPECTED for both android and iOS Additional notes
RPReplay_Final1665991394.MP4 |
in bulk revoke, VIDs should come from the list of VIDs that can be requested via this API (and is available in QA4) |
When viewing a VC, there should be a button to revoke the VID that was used to generate the VC. It should not be possible to revoke a UIN.
Technically, revoking the VID will perform a call to a MOSIP API endpoint https://docs.mosip.io/1.1.5/apis/resident-service-apis#patch-resident-v1-vid-vid <-- this might no longer be correct. See mosip#50 (comment)
The revocation request requires an OTP, just like to auth factor lock/unlock.
The revocation status is updated asynchronously and there may be a requirement to check for/get notified about revocation status updates.The text was updated successfully, but these errors were encountered: