Skip to content

Commit

Permalink
chore: add new vct type
Browse files Browse the repository at this point in the history
Signed-off-by: Timo Glastra <[email protected]>
  • Loading branch information
TimoGlastra committed Dec 17, 2024
1 parent 475b1da commit 90e18ae
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 3 deletions.
12 changes: 10 additions & 2 deletions agent/src/verifiers/util.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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',
Expand All @@ -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',
Expand Down
2 changes: 1 addition & 1 deletion app/components/X509Tab.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -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<string>()
Expand Down

0 comments on commit 90e18ae

Please sign in to comment.