From 49a3dbbb7e9ee6383b4b31ab69ee1ec7a237dd6e Mon Sep 17 00:00:00 2001 From: Timo Glastra Date: Tue, 27 Aug 2024 16:38:11 +0200 Subject: [PATCH] fix agent build Signed-off-by: Timo Glastra --- agent/src/agent.ts | 1 + agent/src/issuerMetadata.ts | 2 ++ 2 files changed, 3 insertions(+) diff --git a/agent/src/agent.ts b/agent/src/agent.ts index 2f10e2d..dfc2313 100644 --- a/agent/src/agent.ts +++ b/agent/src/agent.ts @@ -50,6 +50,7 @@ export const agent = new Agent({ router: openId4VpRouter, endpoints: { authorization: { + // @ts-ignore verifyHs256Callback, }, }, diff --git a/agent/src/issuerMetadata.ts b/agent/src/issuerMetadata.ts index 880169c..df2899b 100644 --- a/agent/src/issuerMetadata.ts +++ b/agent/src/issuerMetadata.ts @@ -26,6 +26,8 @@ export const mockPidOpenId4VcPlaygroundCredentialSdJwtVcJwk = { format: OpenId4VciCredentialFormatProfile.SdJwtVc, vct: 'https://example.bmi.bund.de/credential/pid/1.0', cryptographic_binding_methods_supported: ['jwk'], + cryptographic_suites_supported: [JwaSignatureAlgorithm.ES256], + // @ts-ignore credential_signing_alg_values_supported: [JwaSignatureAlgorithm.ES256], display: [ {