italia / eudi-wallet-it-docs

Italian EUDI Wallet Technical Specifications
Creative Commons Zero v1.0 Universal
56 stars 20 forks source link

[Credential Issuer] Additional details on the released status assertion #401

Closed grausof closed 1 week ago

grausof commented 2 months ago

Currently the status assertions issued by the credential issuer contains only a boolean information about the validity or otherwise of the document.

Since some credentials and especially the driving license have additional states in addition to revoked such as suspended, withdrawn etc. it is necessary to enrich the documentation to support these additional details in the status attestation.

The idea could be to use the additional field credential_status_detail provided within PR 61.

Since credential_status_detail is defined by the issuer it is therefore necessary to define what the content of this chapter will be.

This might be an idea of ​​how it might look inside the entity configuration:

"credential_status_detail": {
        "revoked": {
            "display": [
                {
                    "name": "Revocata",
                    "description": "La patente non è più utilizzabile in quanto è stata revocata e potrà essere utilizzata solo al termine del periodo di revoca"
                    "locale": "it-IT"
                },
                {
                    "name": "Revoked",
                    "description": "The driving licence is no longer usable as it has been revoked and can only be used at the end of the revocation period",
                    "locale": "en-US"
                }
            ]
        }
   }
grausof commented 1 week ago

Solved by https://github.com/italia/eudi-wallet-it-docs/pull/432