TBD54566975/ssi-sdk

[Bug] VC JWT 1.1 mapping logic includes blank values

decentralgabe opened this issue · 0 comments

issuer and issuanceDate should not be present in the vc property

{
  "iat": 1685470713,
  "iss": "did:key:z6Mku3VCgduFznB7FcrTdKzJdx5xUBgZADGgSffpoZqpoqr9",
  "jti": "37defacf-8949-4488-820a-9c50981747c6",
  "nbf": 1685470713,
  "nonce": "c62151c6-453b-4bd9-831d-90db3c998b51",
  "sub": "did:key:z6MkpsvUBvKDUUDQDwA9tJ966UvB4k5pkAMscBRzghWNmwGS",
  "vc": {
    "@context": [
      "https://www.w3.org/2018/credentials/v1"
    ],
    "type": [
      "VerifiableCredential"
    ],
    "issuer": "",
    "issuanceDate": "",
    "credentialSubject": {
      "firstName": "Tester",
      "lastName": "McTest",
      "licenseType": "Class D"
    },
    "credentialSchema": {
      "id": "5b824e5f-a6a9-49de-8afd-04d6140352bf",
      "type": "JsonSchema2023"
    }
  }
}