Forkbomb BV [Andrea]
EUDIW PID Verifier dc+sd-jwt v2 conformance checks
Use case verification
Description:
EUDIW PID Verifier:
eu.europa.ec.eudi.pid.1 in mdoc, using haip-vp://
QR code:
Processing YAML configuration...
Workflow YAML:
version: "1.0"
name: Eudiw web verifier
env:
host: https://verifier-backend.eudiw.dev
tests:
get-deeplink:
steps:
- name: Get intended use
http:
method: GET
url: ${{ env.host }}/ui/intended-uses
check:
status: /^20/
captures:
intended_use_id:
jsonpath: $.intended_uses[0].intended_use_id
- name: Presentations
http:
method: POST
url: ${{ env.host }}/ui/presentations/v2
headers:
Content-Type: application/json
json:
# the certifiacte below correspond to the secret key used by the openid4vp c=conformance checks for the verifier, that is
# kty: EC,
# crv: P-256,
# alg: ES256,
# use: sig,
# kid: XVIckZiUv5WtFOgTEdoHJ808b_trpusvnnMRCHA1BV0,
# x: IYcIGgUsM07bHRkZ1IZkaARQYwNu45QtlCgF80LRhEw,
# "y": 9WO-IKvzmx5wxiQY5QTvROq3q9ukKTpiTALlyOeGgiU,
# d: PtM7fTq7dz8VUx3OiJnzJ1DYokXsTE_L5uU9jSqDX-Q,
# x5c:
# - MIIBhzCCAS2gAwIBAgIUZfsUSLsqPf3N0J3rawm/7GXV5iEwCgYIKoZIzj0EAwIwGTEXMBUGA1UEAwwOZXhhbXBsZS13YWxsZXQwHhcNMjYwNDE2MDcyNTI4WhcNMjcwNDE2MDcyNTI4WjAZMRcwFQYDVQQDDA5leGFtcGxlLXdhbGxldDBZMBMGByqGSM49AgEGCCqGSM49AwEHA0IABCGHCBoFLDNO2x0ZGdSGZGgEUGMDbuOULZQoBfNC0YRM9WO+IKvzmx5wxiQY5QTvROq3q9ukKTpiTALlyOeGgiWjUzBRMB0GA1UdDgQWBBQv+OLuUvpRDRgbs3l4CTbSkhM2CDAfBgNVHSMEGDAWgBQv+OLuUvpRDRgbs3l4CTbSkhM2CDAPBgNVHRMBAf8EBTADAQH/MAoGCCqGSM49BAMCA0gAMEUCIQD3Qd2rAH86RD6QH9y21+66y0jYP+fM24NOL+asBPz9DwIgbyfKgqz88RZwESjo8Xlkb4910V9ojgocwyjJjfWasRw=
issuer_chain: "-----BEGIN CERTIFICATE-----\nMIIBhzCCAS2gAwIBAgIUZfsUSLsqPf3N0J3rawm/7GXV5iEwCgYIKoZIzj0EAwIw\nGTEXMBUGA1UEAwwOZXhhbXBsZS13YWxsZXQwHhcNMjYwNDE2MDcyNTI4WhcNMjcw\nNDE2MDcyNTI4WjAZMRcwFQYDVQQDDA5leGFtcGxlLXdhbGxldDBZMBMGByqGSM49\nAgEGCCqGSM49AwEHA0IABCGHCBoFLDNO2x0ZGdSGZGgEUGMDbuOULZQoBfNC0YRM\n9WO+IKvzmx5wxiQY5QTvROq3q9ukKTpiTALlyOeGgiWjUzBRMB0GA1UdDgQWBBQv\n+OLuUvpRDRgbs3l4CTbSkhM2CDAfBgNVHSMEGDAWgBQv+OLuUvpRDRgbs3l4CTbS\nkhM2CDAPBgNVHRMBAf8EBTADAQH/MAoGCCqGSM49BAMCA0gAMEUCIQD3Qd2rAH86\nRD6QH9y21+66y0jYP+fM24NOL+asBPz9DwIgbyfKgqz88RZwESjo8Xlkb4910V9o\njgocwyjJjfWasRw=\n-----END CERTIFICATE-----"
authorization_request_uri: haip-vp://
dcql_query:
credentials:
- id: query_0
format: dc+sd-jwt
meta:
vct_values:
- urn:eudi:pid:1
claims:
- path:
- family_name
- path:
- given_name
- path:
- birthdate
- path:
- birth_family_name
- path:
- birth_given_name
- path:
- place_of_birth
- locality
- path:
- address
- formatted
- path:
- address
- country
- path:
- address
- region
- path:
- address
- locality
- path:
- address
- postal_code
- path:
- address
- street_address
- path:
- address
- house_number
- path:
- sex
- path:
- nationalities
- null
- path:
- date_of_issuance
- path:
- date_of_expiry
- path:
- issuing_authority
- path:
- document_number
- path:
- personal_administrative_number
- path:
- issuing_country
- path:
- issuing_jurisdiction
- path:
- picture
- path:
- email
- path:
- phone_number
- path:
- trust_anchor
nonce: ${{ string.uuid | fake }}
profile: haip
request_uri_method: get
jar_mode: by_reference
intended_use_id: ${{ captures.intended_use_id }}
check:
status: /^20/
captures:
deeplink:
jsonpath: $.authorization_request_uri
DCQL Query:
{
"dcql_query": {
"credentials": [
{
"id": "query_0",
"format": "mso_mdoc",
"meta": {
"doctype_value": "eu.europa.ec.eudi.pid.1"
},
"claims": [
{
"path": [
"eu.europa.ec.eudi.pid.1",
"family_name"
],
"intent_to_retain": false
},
{
"path": [
"eu.europa.ec.eudi.pid.1",
"given_name"
],
"intent_to_retain": false
},
{
"path": [
"eu.europa.ec.eudi.pid.1",
"birth_date"
],
"intent_to_retain": false
},
{
"path": [
"eu.europa.ec.eudi.pid.1",
"family_name_birth"
],
"intent_to_retain": false
},
{
"path": [
"eu.europa.ec.eudi.pid.1",
"given_name_birth"
],
"intent_to_retain": false
},
{
"path": [
"eu.europa.ec.eudi.pid.1",
"place_of_birth"
],
"intent_to_retain": false
},
{
"path": [
"eu.europa.ec.eudi.pid.1",
"resident_address"
],
"intent_to_retain": false
},
{
"path": [
"eu.europa.ec.eudi.pid.1",
"resident_country"
],
"intent_to_retain": false
},
{
"path": [
"eu.europa.ec.eudi.pid.1",
"resident_state"
],
"intent_to_retain": false
},
{
"path": [
"eu.europa.ec.eudi.pid.1",
"resident_city"
],
"intent_to_retain": false
},
{
"path": [
"eu.europa.ec.eudi.pid.1",
"resident_postal_code"
],
"intent_to_retain": false
},
{
"path": [
"eu.europa.ec.eudi.pid.1",
"resident_street"
],
"intent_to_retain": false
},
{
"path": [
"eu.europa.ec.eudi.pid.1",
"resident_house_number"
],
"intent_to_retain": false
},
{
"path": [
"eu.europa.ec.eudi.pid.1",
"sex"
],
"intent_to_retain": false
},
{
"path": [
"eu.europa.ec.eudi.pid.1",
"nationality"
],
"intent_to_retain": false
},
{
"path": [
"eu.europa.ec.eudi.pid.1",
"issuance_date"
],
"intent_to_retain": false
},
{
"path": [
"eu.europa.ec.eudi.pid.1",
"expiry_date"
],
"intent_to_retain": false
},
{
"path": [
"eu.europa.ec.eudi.pid.1",
"issuing_authority"
],
"intent_to_retain": false
},
{
"path": [
"eu.europa.ec.eudi.pid.1",
"document_number"
],
"intent_to_retain": false
},
{
"path": [
"eu.europa.ec.eudi.pid.1",
"personal_administrative_number"
],
"intent_to_retain": false
},
{
"path": [
"eu.europa.ec.eudi.pid.1",
"issuing_country"
],
"intent_to_retain": false
},
{
"path": [
"eu.europa.ec.eudi.pid.1",
"issuing_jurisdiction"
],
"intent_to_retain": false
},
{
"path": [
"eu.europa.ec.eudi.pid.1",
"portrait"
],
"intent_to_retain": false
},
{
"path": [
"eu.europa.ec.eudi.pid.1",
"email_address"
],
"intent_to_retain": false
},
{
"path": [
"eu.europa.ec.eudi.pid.1",
"mobile_phone_number"
],
"intent_to_retain": false
},
{
"path": [
"eu.europa.ec.eudi.pid.1",
"trust_anchor"
],
"intent_to_retain": false
}
]
}
]
}
}