Skip to content

Commit

Permalink
Return the issuer name on the credential status list insert
Browse files Browse the repository at this point in the history
  • Loading branch information
gkatrakazas committed Jun 26, 2024
1 parent 0290e6a commit c12d157
Show file tree
Hide file tree
Showing 6 changed files with 6 additions and 3 deletions.
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
export = {
codeName: "ehic",
url: "http://wallet-enterprise-ehic-issuer:8004",
port: "8004",
appSecret: "dsfkwfkwfwdfdsfSaSe2e34r4frwr42rAFdsf2lfmfsmklfwmer",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ export class EHICSupportedCredentialSdJwt implements SupportedCredentialProtocol
"id": holderDID,
},
"credentialStatus": {
"id": `${config.crl.url}#${(await CredentialStatusList.insert(claims.personalIdentifier)).id}`,
"id": `${config.crl.url}#${(await CredentialStatusList.insert(claims.personalIdentifier, "ehic")).id}`,
"type": "CertificateRevocationList"
},
"credentialBranding": {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@

export = {
codeName: "pda1",
url: "http://wallet-enterprise-pda1-issuer:8006",
port: "8006",
appSecret: "dsfkwfkwfwdfdsfSaSe2e34r4frwr42rAFdsf2lfmfsmklfwmer",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -171,7 +171,7 @@ export class PDA1SupportedCredentialSdJwt implements SupportedCredentialProtocol
"id": holderDID,
},
"credentialStatus": {
"id": `${config.crl.url}#${(await CredentialStatusList.insert(claims.personalIdentifier)).id}`,
"id": `${config.crl.url}#${(await CredentialStatusList.insert(claims.personalIdentifier, 'pda1')).id}`,
"type": "CertificateRevocationList"
},
"credentialBranding": {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@

export = {
codeName: "pid",
url: "http://wallet-enterprise-vid-issuer:8003",
port: "8003",
appSecret: "dsfkwfkwfwdfdsfSaSe2e34r4frwr42rAFdsf2lfmfsmklfwmer",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@ export class VIDSupportedCredentialSdJwt implements SupportedCredentialProtocol
"id": holderDID,
},
"credentialStatus": {
"id": `${config.crl.url}#${(await CredentialStatusList.insert(claims.personalIdentifier)).id}`,
"id": `${config.crl.url}#${(await CredentialStatusList.insert(claims.personalIdentifier, 'pid')).id}`,
"type": "CertificateRevocationList"
},
"credentialBranding": {
Expand Down

0 comments on commit c12d157

Please sign in to comment.