eclipse-tractusx / ssi-credential-issuer

SSI Credential Issuer
Apache License 2.0
3 stars 9 forks source link

24.08. conformity: supported credential types #190

Closed jjeroch closed 2 weeks ago

jjeroch commented 4 months ago

Description: We need to update the seeding release data to align with the new 24.08 standard. The current implementation supports the 24.05 standard, which includes an enhanced set of credentials within the release image file. The new requirement is to move these credentials to the test data file. Going forward, the release image will only contain the "Framework" credential, specifically the "Framework Exchange Governance Credential".

Tasks:

  1. Remove the enhanced set of credentials from the release image file which are available under "Framework" Credential.
  2. Move the credentials to the test data file, ensuring proper security and access controls are in place.
  3. Update the release image to only include the "Framework Exchange Governance Credential" as per the 24.08 standard.
  4. Ensure that the credential is linked to all useCases; start date 16th of Oct. 2024 (for the release image file) ++ add additionally the same type inside the testDate file with the start date 16th of June 2024. Please be aware that no expiry date is defined currently
  5. Ensure that the new credential schema is strictly followed, as defined below:
{
    "id": "uuid",
    "@context": [
        "https://www.w3.org/2018/credentials/v1",
        "https://w3id.org/catenax/credentials/v1.0.0"
        ],
    "type": ["VerifiableCredential", "{DataExchangeGovernanceCredential}"],
    "issuanceDate": "{issuance date - format: 2024-10-16T00:00:00Z}",
    "expirationDate": "{expiration date - format: 2025-10-15T00:00:00Z}",
    "issuer": "{did issuer}",
    "credentialSubject": {
        "id": "{did holder}",
        "holderIdentifier": "{bpn}",
        "group": "UseCaseFramework",
        "useCase": "DataExchangeGovernance",
        "contractTemplate": "{URL OF AGREEMENT/CONTRACT TEMPLATE}",
        "contractVersion": "{VERSION OF THE AGREEMENT TEMPLATE; format: x.x}"
    }
} 

**contractTemplateURL: https://catena-x.net/fileadmin/user_upload/04_Einfuehren_und_umsetzen/How_To_Conclude_Data_Exchange_Contracts.pdf

To be updated seeding files:

jjeroch commented 3 months ago

The current issuer component supports the following framework agreement credentials:

Those need to get set to inactive by setting the "expiry date" to 16th of October 2024. Beside that, a new credential is needed:

When creating the credential, it must look like defined below:

{
    "id": "{uuid}",
    "@context": [
        "https://www.w3.org/2018/credentials/v1",
        "https://w3id.org/catenax/credentials/v1.0.0"
        ],
    "type": ["VerifiableCredential", "DataExchangeGovernanceCredential"],
    "issuanceDate": "{issuance date - format: 2024-10-16T00:00:00Z}",
    "expirationDate": "{expiration date - format: 2025-10-15T00:00:00Z}",
    "issuer": "{did issuer}",
    "credentialSubject": {
        "id": "{did holder}",
        "holderIdentifier": "{bpn}",
        "group": "UseCaseFramework",
        "useCase": "DataExchangeGovernance",
        "contractTemplate": "https://catena-x.net/fileadmin/user_upload/04_Einfuehren_und_umsetzen/How_To_Conclude_Data_Exchange_Contracts.pdf",
        "contractVersion": "1.0"
    }
} 
Sebastian-Wurm commented 2 months ago

@jjeroch: is this already done?

evegufy commented 2 weeks ago

@Sebastian-Wurm yes, it was part of the 24.08 release