EWC-consortium / ewc-wallet-conformance-backend

This is the EWC Interoperability Test Bed (ITB) and implements the conformance towards EWC RFCs; build towards the Large Scale Pilot (LSP) usecases. The project is co-funded by the European Union.
5 stars 3 forks source link

Test case 3 in ITB: Claims missing in the issued credential #27

Closed georgepadayatti closed 1 month ago

georgepadayatti commented 1 month ago

As per the issuer metadata VerifiablePIDSDJWT credential configuration looks like below:

https://github.com/EWC-consortium/ewc-wallet-conformance-backend/blob/7313dffee74d3a04363da42ff7755c347d4bf191/data/issuer-config.json#L112-L201

But the credential issued does not contain issuance_date, expiry_date, issuing_authority and issuing_country.

The following code is responsible for preparing the SD-JWT credential in question and it doesn't contain any of these claims:

https://github.com/EWC-consortium/ewc-wallet-conformance-backend/blob/db2346f517f73ed032a7e7873829ad86e3452ff5/utils/credPayloadUtil.js#L307-L321

endimion commented 1 month ago

fixed many thanks!