From 90e18aeb689a1a08b1e80643cabac4049b41d3b9 Mon Sep 17 00:00:00 2001 From: Timo Glastra Date: Tue, 17 Dec 2024 14:14:13 +0100 Subject: [PATCH] chore: add new vct type Signed-off-by: Timo Glastra --- agent/src/verifiers/util.ts | 12 ++++++++++-- app/components/X509Tab.tsx | 2 +- 2 files changed, 11 insertions(+), 3 deletions(-) diff --git a/agent/src/verifiers/util.ts b/agent/src/verifiers/util.ts index 36667d6..e4cc1a0 100644 --- a/agent/src/verifiers/util.ts +++ b/agent/src/verifiers/util.ts @@ -158,7 +158,11 @@ export function pidSdJwtDcqlCredential({ fields, id }: { fields: [string, ...str return sdJwtDcqlCredential({ id, fields, - vcts: ['https://example.bmi.bund.de/credential/pid/1.0', 'urn:eu.europa.ec.eudi:pid:1'], + vcts: [ + 'https://demo.pid-issuer.bundesdruckerei.de/credentials/pid/1.0', + 'https://example.bmi.bund.de/credential/pid/1.0', + 'urn:eu.europa.ec.eudi:pid:1', + ], issuers: [ 'https://demo.pid-issuer.bundesdruckerei.de/c', 'https://demo.pid-issuer.bundesdruckerei.de/c1', @@ -176,7 +180,11 @@ export function pidSdJwtInputDescriptor({ id, group, fields, - vcts: ['https://example.bmi.bund.de/credential/pid/1.0', 'urn:eu.europa.ec.eudi:pid:1'], + vcts: [ + 'https://demo.pid-issuer.bundesdruckerei.de/credentials/pid/1.0', + 'https://example.bmi.bund.de/credential/pid/1.0', + 'urn:eu.europa.ec.eudi:pid:1', + ], issuers: [ 'https://demo.pid-issuer.bundesdruckerei.de/c', 'https://demo.pid-issuer.bundesdruckerei.de/c1', diff --git a/app/components/X509Tab.tsx b/app/components/X509Tab.tsx index 4fb3e16..9fcf2bc 100644 --- a/app/components/X509Tab.tsx +++ b/app/components/X509Tab.tsx @@ -4,8 +4,8 @@ import { Label } from '@/components/ui/label' import { CheckboxIcon, ExclamationTriangleIcon, InfoCircledIcon } from '@radix-ui/react-icons' import { type FormEvent, useState } from 'react' import { addX509Certificate } from '../lib/api' -import { Alert, AlertDescription, AlertTitle } from './ui/alert' import { HighLight } from './highLight' +import { Alert, AlertDescription, AlertTitle } from './ui/alert' export function X509Tab() { const [x509Certificate, setX509Certificate] = useState()