Skip to content

Commit

Permalink
feat: modification 'verification' parameter
Browse files Browse the repository at this point in the history
  • Loading branch information
m-basili committed Dec 18, 2024
1 parent 94e48fe commit 3fd8d1a
Show file tree
Hide file tree
Showing 5 changed files with 118 additions and 102 deletions.
171 changes: 100 additions & 71 deletions docs/en/pid-eaa-data-model.rst
Original file line number Diff line number Diff line change
Expand Up @@ -122,11 +122,17 @@ The following claims MUST be in the JWT payload. Some of these claims can be dis
- [NSD].The value MUST be an "integrity metadata" string as defined in Section 3 of [`W3C-SRI`_]. *SHA-256*, *SHA-384* and *SHA-512* MUST be supported as cryptographic hash functions. *MD5* and *SHA-1* MUST NOT be used. This claim MUST be verified according to Section 3.3.5 of [`W3C-SRI`_].
- Section 6.1 `SD-JWT-VC`_, [`W3C-SRI`_]
* - **verification**
- [NSD].Object containing user authentication information. It MUST contain the following sub-value:

* ``trust_framework``: String identifying the trust framework used for user digital authetication.
* ``assurance_level``: String identifying the level of identity assurance guarateed during the authentication process.
* ``evidence``: It MUST contain ``method`` claim identifying the digital identity system used for the authentication.
- [SD]. Object containing user authentication and user data verification information. It is REQUIRED only if the Credential type is PersonIdentificationData, and it MUST not be included in other Credential types. It MUST include the following sub-value:

* ``assurance_level``: String identifying the level of identity assurance guaranteed during the User authentication process.
* ``evidence``: Each entry of the array MUST contain the following sub-values:
- ``type``: It represents evidence type. IT MUST be set to ``vouch``.
- ``time``: UNIX Timestamps with the time of the authentication or verification.
- ``attestation``: It MUST contain the following claims:
- ``type``: It MUST be set to ``digital_attestation``.
- ``reference_number``: identifier of the authentication or verification response.
- ``date_of_issuance``: date of issuance of the attestation.
- ``voucher``: It MUST contains ``organization`` claim.
- `OIDC-IDA`_.

.. note::
Expand Down Expand Up @@ -273,37 +279,57 @@ In the following the disclosure list is given
``WyIyR0xDNDJzS1F2ZUNmR2ZyeU5STjl3IiwgImlhdCIsIDE2ODMwMDAwMDBd``
- Contents: ``["2GLC42sKQveCfGfryNRN9w", "iat", 1683000000]``

**Claim** ``verification``:

- SHA-256 Hash: ``egljN30TYCjSEtzVszDFWbryYskAOEmM3TKT2X2fdpA``
- Disclosure:
``WyJlbHVWNU9nM2dTTklJOEVZbnN4QV9BIiwgInZlcmlmaWNhdGlvbiIsIHsi``
``YXNzdXJhbmNlX2xldmVsIjogImhpZ2giLCAiZXZpZGVuY2UiOiB7InR5cGUi``
``OiAidm91Y2giLCAidGltZSI6ICIyMDIwLTAzLTE5VDEyOjQyWiIsICJhdHRl``
``c3RhdGlvbiI6IHsidHlwZSI6ICJkaWdpdGFsX2F0dGVzdGF0aW9uIiwgInJl``
``ZmVyZW5jZV9udW1iZXIiOiAiNjQ4NS0xNjE5LTM5NzYtNjY3MSIsICJkYXRl``
``X29mX2lzc3VhbmNlIjogIjIwMjAtMDMtMTlUMTI6NDNaIiwgInZvdWNoZXIi``
``OiB7Im9yZ2FuaXphdGlvbiI6ICJNaW5pc3Rlcm8gZGVsbCdpbnRlcm5vIn19``
``fX1d``
- Contents: ``["eluV5Og3gSNII8EYnsxA_A", "verification",``
``{"assurance_level": "high", "evidence": {"type": "vouch",``
``"time": "2020-03-19T12:42Z", "attestation": {"type":``
``"digital_attestation", "reference_number":``
``"6485-1619-3976-6671", "date_of_issuance":``
``"2020-03-19T12:43Z", "voucher": {"organization": "Ministero``
``dell'interno"}}}}]``

**Claim** ``given_name``:

- SHA-256 Hash: ``gHYi19frbD_i4BoaWENOjc3lCnMj4pbGNQcsBj_QM4Q``
- SHA-256 Hash: ``zVdghcmClMVWlUgGsGpSkCPkEHZ4u9oWj1SlIBlCc1o``
- Disclosure:
``WyJlbHVWNU9nM2dTTklJOEVZbnN4QV9BIiwgImdpdmVuX25hbWUiLCAiTWFy``
``WyI2SWo3dE0tYTVpVlBHYm9TNXRtdlZBIiwgImdpdmVuX25hbWUiLCAiTWFy``
``aW8iXQ``
- Contents: ``["eluV5Og3gSNII8EYnsxA_A", "given_name", "Mario"]``
- Contents: ``["6Ij7tM-a5iVPGboS5tmvVA", "given_name", "Mario"]``

**Claim** ``family_name``:

- SHA-256 Hash: ``dZWjq7mJSSX-XTI_HWuE8B2x6IdM5lE-doD_yBpKJao``
- SHA-256 Hash: ``VQI-S1mT1Kxfq2o8J9io7xMMX2MIxaG9M9PeJVqrMcA``
- Disclosure:
``WyI2SWo3dE0tYTVpVlBHYm9TNXRtdlZBIiwgImZhbWlseV9uYW1lIiwgIlJv``
``WyJlSThaV205UW5LUHBOUGVOZW5IZGhRIiwgImZhbWlseV9uYW1lIiwgIlJv``
``c3NpIl0``
- Contents: ``["6Ij7tM-a5iVPGboS5tmvVA", "family_name", "Rossi"]``
- Contents: ``["eI8ZWm9QnKPpNPeNenHdhQ", "family_name", "Rossi"]``

**Claim** ``birth_date``:

- SHA-256 Hash: ``LER7wi8bDpmtSyU9jsDY7pqr6mDFfwBOBzZtJHg--EQ``
- SHA-256 Hash: ``s1XK5f2pM3-aFTauXhmvd9pyQTJ6FMUhc-JXfHrxhLk``
- Disclosure:
``WyJlSThaV205UW5LUHBOUGVOZW5IZGhRIiwgImJpcnRoX2RhdGUiLCAiMTk4``
``WyJRZ19PNjR6cUF4ZTQxMmExMDhpcm9BIiwgImJpcnRoX2RhdGUiLCAiMTk4``
``MC0wMS0xMCJd``
- Contents: ``["eI8ZWm9QnKPpNPeNenHdhQ", "birth_date", "1980-01-10"]``
- Contents: ``["Qg_O64zqAxe412a108iroA", "birth_date", "1980-01-10"]``

**Claim** ``personal_administrative_number``:

- SHA-256 Hash: ``2ec_CnFUd8Lf_7dsZDZBUsT1z8MRjBiEREM1hdVZuWQ``
- SHA-256 Hash: ``4KfNcVziiuiktw8UMBaZQBRlLorpAhFz2ii37niYF2Q``
- Disclosure:
``WyJRZ19PNjR6cUF4ZTQxMmExMDhpcm9BIiwgInBlcnNvbmFsX2FkbWluaXN0``
``WyJBSngtMDk1VlBycFR0TjRRTU9xUk9BIiwgInBlcnNvbmFsX2FkbWluaXN0``
``cmF0aXZlX251bWJlciIsICJUSU5JVC1YWFhYWFhYWFhYWFhYWFhYIl0``
- Contents: ``["Qg_O64zqAxe412a108iroA", "personal_administrative_number",``
- Contents: ``["AJx-095VPrpTtN4QMOqROA", "personal_administrative_number",``
``"TINIT-XXXXXXXXXXXXXXXX"]``


Expand All @@ -312,32 +338,37 @@ The combined format for the PID issuance is given by

.. code-block::
eyJhbGciOiAiRVMyNTYiLCAidHlwIjogImV4YW1wbGUrc2Qtand0IiwgImtpZCI6ICJk
MTI2YTZhODU2Zjc3MjQ1NjA0ODRmYTlkYzU5ZDE5NSJ9.eyJfc2QiOiBbIjJlY19DbkZ
VZDhMZl83ZHNaRFpCVXNUMXo4TVJqQmlFUkVNMWhkVlp1V1EiLCAiTEVSN3dpOGJEcG1
0U3lVOWpzRFk3cHFyNm1ERmZ3Qk9Celp0SkhnLS1FUSIsICJZcmMtcy1XU3I0ZXhFWXR
xREVzbVJsN3Nwb1ZmbUJ4aXhQMTJlNHN5cU5FIiwgImRaV2pxN21KU1NYLVhUSV9IV3V
FOEIyeDZJZE01bEUtZG9EX3lCcEtKYW8iLCAiZ0hZaTE5ZnJiRF9pNEJvYVdFTk9qYzN
sQ25NajRwYkdOUWNzQmpfUU00USJdLCAiZXhwIjogMTg4MzAwMDAwMCwgImlzcyI6ICJ
odHRwczovL3BpZHByb3ZpZGVyLmV4YW1wbGUub3JnIiwgInN1YiI6ICJOemJMc1hoOHV
EQ2NkN25vV1hGWkFmSGt4WnNSR0M5WHMiLCAic3RhdHVzIjogeyJzdGF0dXNfYXNzZXJ
0aW9uIjogeyJjcmVkZW50aWFsX2hhc2hfYWxnIjogInNoYS0yNTYifX0sICJ2Y3QiOiA
iaHR0cHM6Ly9waWRwcm92aWRlci5leGFtcGxlLm9yZy92MS4wL3BlcnNvbmlkZW50aWZ
pY2F0aW9uZGF0YSIsICJ2Y3QjaW50ZWdyaXR5IjogImM1ZjczZTI1MGZlODY5ZjI0ZDE
1MTE4YWNjZTI4NmM5YmI1NmI2M2E0NDNkYzg1YWY2NTNjZDczZjYwNzhiMWY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lwZSI6ICJkaWdpdGFsX2F0dGVzdGF0aW9uIiw
gInJlZmVyZW5jZV9udW1iZXIiOiAiNjQ4NS0xNjE5LTM5NzYtNjY3MSIsICJkYXRlX29
mX2lzc3VhbmNlIjogIjIwMjAtMDMtMTlUMTI6NDNaIiwgInZvdWNoZXIiOiB7Im9yZ2F
uaXphdGlvbiI6ICJNaW5pc3Rlcm8gZGVsbCdpbnRlcm5vIn19fX1d~WyI2SWo3dE0tYT
VpVlBHYm9TNXRtdlZBIiwgImdpdmVuX25hbWUiLCAiTWFyaW8iXQ~WyJlSThaV205UW5
LUHBOUGVOZW5IZGhRIiwgImZhbWlseV9uYW1lIiwgIlJvc3NpIl0~WyJRZ19PNjR6cUF
4ZTQxMmExMDhpcm9BIiwgImJpcnRoX2RhdGUiLCAiMTk4MC0wMS0xMCJd~WyJBSngtMD
k1VlBycFR0TjRRTU9xUk9BIiwgInBlcnNvbmFsX2FkbWluaXN0cmF0aXZlX251bWJlci
IsICJUSU5JVC1YWFhYWFhYWFhYWFhYWFhYIl0~
(Q)EAA non-normative examples
-----------------------------
Expand Down Expand Up @@ -429,38 +460,36 @@ The combined format for the (Q)EAA issuance is represented below:

.. code-block::
eyJhbGciOiAiRVMyNTYiLCAidHlwIjogImV4YW1wbGUrc2Qtand0IiwgImtpZCI6ICJk
MTI2YTZhODU2Zjc3MjQ1NjA0ODRmYTlkYzU5ZDE5NSJ9.eyJfc2QiOiBbIkR4LTZoanZ
yY3hOekYwc2xVNnVrTm16SG9MLVl2Qk4tdEZhMFQ4WC1iWTAiLCAiR0UzU2p5X3pBVDM
0Zjh3YTVEVWtWQjBGc2xhU0pSQUFjOEkzbE4xMUZmYyIsICJWUUktUzFtVDFLeGZxMm8
4Sjlpbzd4TU1YMk1JeGFHOU05UGVKVnFyTWNBIiwgIllyYy1zLVdTcjRleEVZdHFERXN
tUmw3c3BvVmZtQnhpeFAxMmU0c3lxTkUiLCAiYUJWZGZjbnhUMFo1UnJ3ZHhaU1VodVV
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DAwMDBd~WyJlbHVWNU9nM2
dTTklJOEVZbnN4QV9BIiwgImRvY3VtZW50X251bWJlciIsICJYWFhYWFhYWFhYIl0~Wy
I2SWo3dE0tYTVpVlBHYm9TNXRtdlZBIiwgImdpdmVuX25hbWUiLCAiTWFyaW8iXQ~WyJ
lSThaV205UW5LUHBOUGVOZW5IZGhRIiwgImZhbWlseV9uYW1lIiwgIlJvc3NpIl0~WyJ
RZ19PNjR6cUF4ZTQxMmExMDhpcm9BIiwgImJpcnRoX2RhdGUiLCAiMTk4MC0wMS0xMCJ
d~WyJBSngtMDk1VlBycFR0TjRRTU9xUk9BIiwgImV4cGlyeV9kYXRlIiwgIjIwMjQtMD
EtMDEiXQ~WyJQYzMzSk0yTGNoY1VfbEhnZ3ZfdWZRIiwgInBlcnNvbmFsX2FkbWluaXN
0cmF0aXZlX251bWJlciIsICJUSU5JVC1YWFhYWFhYWFhYWFhYWFhYIl0~WyJHMDJOU3J
RZmpGWFE3SW8wOXN5YWpBIiwgImNvbnN0YW50X2F0dGVuZGFuY2VfYWxsb3dhbmNlIiw
gdHJ1ZV0~
MDOC-CBOR
=========
Expand Down
19 changes: 13 additions & 6 deletions examples/pid-json-example-payload.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,13 +10,20 @@
},
"vct": "https://pidprovider.example.org/v1.0/personidentificationdata",
"vct#integrity": "c5f73e250fe869f24d15118acce286c9bb56b63a443dc85af653cd73f6078b1f",
"verification": {
"trust_framework": "eidas",
"assurance_level": "high",
"evidence": {
"method": "cie"
"verification": [
{
"type": "vouch",
"time": "2020-03-19T12:42Z",
"attestation": {
"type": "digital_attestation",
"reference_number": "6485-1619-3976-6671",
"date_of_issuance": "2020-03-19T12:43Z",
"voucher": {
"organization": "Ministero dell'interno"
}
}
}
},
],
"given_name": "Mario",
"family_name": "Rossi",
"birth_date": "1980-01-10",
Expand Down
16 changes: 5 additions & 11 deletions examples/pid-sd-jwt-example-payload.json
Original file line number Diff line number Diff line change
@@ -1,10 +1,11 @@
{
"_sd": [
"2ec_CnFUd8Lf_7dsZDZBUsT1z8MRjBiEREM1hdVZuWQ",
"LER7wi8bDpmtSyU9jsDY7pqr6mDFfwBOBzZtJHg--EQ",
"4KfNcVziiuiktw8UMBaZQBRlLorpAhFz2ii37niYF2Q",
"VQI-S1mT1Kxfq2o8J9io7xMMX2MIxaG9M9PeJVqrMcA",
"Yrc-s-WSr4exEYtqDEsmRl7spoVfmBxixP12e4syqNE",
"dZWjq7mJSSX-XTI_HWuE8B2x6IdM5lE-doD_yBpKJao",
"gHYi19frbD_i4BoaWENOjc3lCnMj4pbGNQcsBj_QM4Q"
"egljN30TYCjSEtzVszDFWbryYskAOEmM3TKT2X2fdpA",
"s1XK5f2pM3-aFTauXhmvd9pyQTJ6FMUhc-JXfHrxhLk",
"zVdghcmClMVWlUgGsGpSkCPkEHZ4u9oWj1SlIBlCc1o"
],
"iss": "https://pidprovider.example.org",
"exp": 1883000000,
Expand All @@ -16,13 +17,6 @@
},
"vct": "https://pidprovider.example.org/v1.0/personidentificationdata",
"vct#integrity": "c5f73e250fe869f24d15118acce286c9bb56b63a443dc85af653cd73f6078b1f",
"verification": {
"trust_framework": "eidas",
"assurance_level": "high",
"evidence": {
"method": "cie"
}
},
"_sd_alg": "sha-256",
"cnf": {
"jwk": {
Expand Down
7 changes: 0 additions & 7 deletions examples/qeaa-json-example-payload.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,13 +10,6 @@
},
"vct": "https://issuer.example.org/v1.0/disabilitycard",
"vct#integrity": "2e40bcd6799008085ffb1a1f3517efee335298fd976b3e655bfb3f4eaa11d171",
"verification": {
"trust_framework": "eidas",
"assurance_level": "high",
"evidence": {
"method": "cie"
}
},
"document_number": "XXXXXXXXXX",
"given_name": "Mario",
"family_name": "Rossi",
Expand Down
7 changes: 0 additions & 7 deletions examples/qeaa-sd-jwt-example-payload.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,13 +19,6 @@
},
"vct": "https://issuer.example.org/v1.0/disabilitycard",
"vct#integrity": "2e40bcd6799008085ffb1a1f3517efee335298fd976b3e655bfb3f4eaa11d171",
"verification": {
"trust_framework": "eidas",
"assurance_level": "high",
"evidence": {
"method": "cie"
}
},
"_sd_alg": "sha-256",
"cnf": {
"jwk": {
Expand Down

0 comments on commit 3fd8d1a

Please sign in to comment.