From 53d3c9bb1a8e6906e13a1ae7adb831b32fde53dd Mon Sep 17 00:00:00 2001 From: Timo Glastra Date: Tue, 26 Nov 2024 15:29:48 +0100 Subject: [PATCH 1/2] feat: optional batch issuance Signed-off-by: Timo Glastra --- agent/src/issuers/infrastruktur.ts | 3 +++ agent/src/issuers/koln.ts | 3 +++ agent/src/issuers/steuern.ts | 3 +++ agent/src/issuers/techniker.ts | 3 +++ 4 files changed, 12 insertions(+) diff --git a/agent/src/issuers/infrastruktur.ts b/agent/src/issuers/infrastruktur.ts index 100d8cb..db95cc8 100644 --- a/agent/src/issuers/infrastruktur.ts +++ b/agent/src/issuers/infrastruktur.ts @@ -176,6 +176,9 @@ export const infrastrukturIssuer = { [mobileDriversLicenseSdJwt.id]: mobileDriversLicenseSdJwt, [mobileDriversLicenseMdoc.id]: mobileDriversLicenseMdoc, }, + batchCredentialIssuance: { + batchSize: 10, + }, display: [ { name: 'Bundesministerium fur Verkehr und digitale Infrastruktur', diff --git a/agent/src/issuers/koln.ts b/agent/src/issuers/koln.ts index 92cc4ed..9814130 100644 --- a/agent/src/issuers/koln.ts +++ b/agent/src/issuers/koln.ts @@ -125,6 +125,9 @@ export const kolnIssuer = { [certificateOfResidenceSdJwt.id]: certificateOfResidenceSdJwt, [certificateOfResidenceMdoc.id]: certificateOfResidenceMdoc, }, + batchCredentialIssuance: { + batchSize: 10, + }, display: [ { name: 'Bürgeramt Köln', diff --git a/agent/src/issuers/steuern.ts b/agent/src/issuers/steuern.ts index 78dd20d..10df7ec 100644 --- a/agent/src/issuers/steuern.ts +++ b/agent/src/issuers/steuern.ts @@ -123,6 +123,9 @@ export const steuerIdSdJwtData = { export const steuernIssuer = { issuerId: '197625a0-b797-4559-80cc-bf5463b90dc3', credentialConfigurationsSupported: { [steuerIdSdJwt.id]: steuerIdSdJwt, [steuerIdMdoc.id]: steuerIdMdoc }, + batchCredentialIssuance: { + batchSize: 10, + }, display: [ { name: 'Bundeszentralamt fur Steuern', diff --git a/agent/src/issuers/techniker.ts b/agent/src/issuers/techniker.ts index 8ee3c84..0f7564c 100644 --- a/agent/src/issuers/techniker.ts +++ b/agent/src/issuers/techniker.ts @@ -119,6 +119,9 @@ export const healthIdSdJwtData = { export const technikerIssuer = { issuerId: 'a27a9f50-2b4d-4fac-99b6-9fd306641f9d', credentialConfigurationsSupported: { [healthIdSdJwt.id]: healthIdSdJwt, [healthIdMdoc.id]: healthIdMdoc }, + batchCredentialIssuance: { + batchSize: 10, + }, display: [ { name: 'Die Techniker', From d948f34c6a33b020684c86dcafcffcd8719a3549 Mon Sep 17 00:00:00 2001 From: Timo Glastra Date: Tue, 26 Nov 2024 15:43:19 +0100 Subject: [PATCH 2/2] fix: remove driving priviliges for now Signed-off-by: Timo Glastra --- agent/src/verifiers/sixt.ts | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/agent/src/verifiers/sixt.ts b/agent/src/verifiers/sixt.ts index d51edb7..1e08761 100644 --- a/agent/src/verifiers/sixt.ts +++ b/agent/src/verifiers/sixt.ts @@ -55,7 +55,8 @@ export const turboKeysVerifier = { 'expiry_date', 'issuing_country', 'issuing_authority', - 'driving_priviliges', + // Sphereon library can't parse our maps + // 'driving_priviliges', ], }), pidSdJwtInputDescriptor({ @@ -99,7 +100,8 @@ export const turboKeysVerifier = { 'expiry_date', 'issuing_country', 'issuing_authority', - 'driving_priviliges', + // Sphereon library can't parse our maps + // 'driving_priviliges', ], }), pidSdJwtDcqlCredential({