EWC-consortium / eudi-wallet-rfcs

EU Digital Identity Wallet RFCs in EWC to align towards the Large Scale Pilot (LSP) usecases. The project is co-funded by the European Union.
https://eudiwalletconsortium.org/
Apache License 2.0
28 stars 18 forks source link

Credential Issuer Metadata credentials_supported field must be an object #9

Closed ntsbs closed 9 months ago

ntsbs commented 9 months ago

The credential issuer metadata field credentials_supported received in RFC001 3.4 Discover response must not be an array, but an object according to OID4VCI draft 12 Section 10.2.3

Current:

"credentials_supported": [
    {
      "format": "jwt_vc",
      "types": [
        "VerifiableCredential",
        "VerifiableAttestation",
        "VerifiablePortableDocumentA1"
      ],
      "trust_framework": {
        "name": "ebsi",
        "type": "Accreditation",
        "uri": "TIR link towards accreditation"
      },
      "display": [
        {
          "name": "Portable Document A1",
          "locale": "en-GB"
        }
      ]
    }
  ]

Expected:

"credentials_supported": {
        "VerifiablePortableDocumentA1": {
            "format": "vc+sd-jwt",
           ...
        },
       "VerifiablePortableDocumentA2": {
            "format": "vc+sd-jwt",
           ...
        }
}
lalc commented 9 months ago

This change is accepted. The supported credential formats are documented here: https://github.com/EWC-consortium/eudi-wallet-rfcs/blob/main/ewc-supported-formats.csv