Avatar
Forkbomb BV [Andrea]

EUDIW PID Verifier mDoc 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/ui/presentations/v2
  doctype_value: eu.europa.ec.eudi.pid.1
tests:
  get-deeplink:
    steps:
      - name: Presentations
        http:
          method: POST
          url: ${{ env.host }}
          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: mso_mdoc
                  meta:
                    doctype_value: ${{ env.doctype_value }}
                  claims:
                    - path:
                        - ${{ env.doctype_value }}
                        - family_name
                      intent_to_retain: false
                    - path:
                        - ${{ env.doctype_value }}
                        - given_name
                      intent_to_retain: false
                    - path:
                        - ${{ env.doctype_value }}
                        - birth_date
                      intent_to_retain: false
                    - path:
                        - ${{ env.doctype_value }}
                        - family_name_birth
                      intent_to_retain: false
                    - path:
                        - ${{ env.doctype_value }}
                        - given_name_birth
                      intent_to_retain: false
                    - path:
                        - ${{ env.doctype_value }}
                        - place_of_birth
                      intent_to_retain: false
                    - path:
                        - ${{ env.doctype_value }}
                        - resident_address
                      intent_to_retain: false
                    - path:
                        - ${{ env.doctype_value }}
                        - resident_country
                      intent_to_retain: false
                    - path:
                        - ${{ env.doctype_value }}
                        - resident_state
                      intent_to_retain: false
                    - path:
                        - ${{ env.doctype_value }}
                        - resident_city
                      intent_to_retain: false
                    - path:
                        - ${{ env.doctype_value }}
                        - resident_postal_code
                      intent_to_retain: false
                    - path:
                        - ${{ env.doctype_value }}
                        - resident_street
                      intent_to_retain: false
                    - path:
                        - ${{ env.doctype_value }}
                        - resident_house_number
                      intent_to_retain: false
                    - path:
                        - ${{ env.doctype_value }}
                        - sex
                      intent_to_retain: false
                    - path:
                        - ${{ env.doctype_value }}
                        - nationality
                      intent_to_retain: false
                    - path:
                        - ${{ env.doctype_value }}
                        - issuance_date
                      intent_to_retain: false
                    - path:
                        - ${{ env.doctype_value }}
                        - expiry_date
                      intent_to_retain: false
                    - path:
                        - ${{ env.doctype_value }}
                        - issuing_authority
                      intent_to_retain: false
                    - path:
                        - ${{ env.doctype_value }}
                        - document_number
                      intent_to_retain: false
                    - path:
                        - ${{ env.doctype_value }}
                        - personal_administrative_number
                      intent_to_retain: false
                    - path:
                        - ${{ env.doctype_value }}
                        - issuing_country
                      intent_to_retain: false
                    - path:
                        - ${{ env.doctype_value }}
                        - issuing_jurisdiction
                      intent_to_retain: false
                    - path:
                        - ${{ env.doctype_value }}
                        - portrait
                      intent_to_retain: false
                    - path:
                        - ${{ env.doctype_value }}
                        - email_address
                      intent_to_retain: false
                    - path:
                        - ${{ env.doctype_value }}
                        - mobile_phone_number
                      intent_to_retain: false
                    - path:
                        - ${{ env.doctype_value }}
                        - trust_anchor
                      intent_to_retain: false
            nonce: ${{ string.uuid | fake }}
            profile: haip
            request_uri_method: get
            intended_use_id: "TEST-01"
          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
                    }
                ]
            }
        ]
    }
}
		
enites-esdedapt-brfr