Closed jchartrand closed 6 months ago
Potentially related to: https://github.com/digitalcredentials/vc-status-list/issues/6
@dmitrizagidulin - Can you confirm that this can be closed? If so, can you add a comment about what was done to address it for future reference and understanding? Thanks!
Should be addressed by PR #543, on its way to app stores as v2.0.21-build76
.
Implemented and deployed, closing
The verifiable credential below shows as 'revoked' in the LCW, even though it hasn't been.
It seems likely that the problem is that the value of the statusListIndex property in that credential is a string, e.g.,
"statusListIndex": "4",
whereas the LCW verifier might be expecting a number, like so:
"statusListIndex": 4
The credential was generated using an LEF fork of the DCC credential status list manager, forked specifically to make the statusListIndex a string (rather than a number). And this was done because the status list spec actually specifies a string.
We have updated our DCC status list manager to match the spec (and so use a string value), but we may not yet have updated the LCW verification code, and similarly also not the VerifierPlus code (the two might share the same code). VerifierPlus also shows the credential as revoked (see screen shot further below).
So, we likely need to update the verification code in the LCW to handle both a string (to satisfy the spec) and a number value (for backwards compatibility with previously issued credentials) for the statusListIndex.