Skip to content

Commit

Permalink
Merge pull request #155 from italia/aal
Browse files Browse the repository at this point in the history
fix!: attested_security_context -> aal
  • Loading branch information
peppelinux authored Nov 5, 2023
2 parents 591e652 + cb1f331 commit 22441d8
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 16 deletions.
12 changes: 4 additions & 8 deletions docs/en/wallet-instance-attestation.rst
Original file line number Diff line number Diff line change
Expand Up @@ -249,9 +249,9 @@ Payload
|| || problems is to have a limited |
|| || duration of the attestation. |
+---------------------------+------------------------------------------------+
|| attested_security_context|| Attested security context: |
|| || Represents the level of "security" |
|| || attested by the Wallet Provider. |
|| aal || JSON String asserting the authentication level|
|| || of the Wallet and the key as asserted in |
|| || the cnf claim. |
+---------------------------+------------------------------------------------+
|| cnf || This parameter contains the ``jwk`` |
|| || parameter |
Expand Down Expand Up @@ -283,10 +283,6 @@ Payload
|| || reference. MUST set to `false`. |
+---------------------------+------------------------------------------------+

.. note::
The claim ``attested_security_context`` (Attested Security Context) is under discussion
and MUST be intended as experimental.

Below is an example of Wallet Instance Attestation:

.. code-block:: javascript
Expand All @@ -305,7 +301,7 @@ Below is an example of Wallet Instance Attestation:
{
"iss": "https://wallet-provider.example.org",
"sub": "vbeXJksM45xphtANnCiG6mCyuU4jfGNzopGuKvogg9c",
"attested_security_context": "https://wallet-provider.example.org/LoA/basic",
"aal": "https://wallet-provider.example.org/LoA/basic",
"cnf":
{
"jwk":
Expand Down
13 changes: 5 additions & 8 deletions docs/en/wallet-solution.rst
Original file line number Diff line number Diff line change
Expand Up @@ -145,14 +145,11 @@ Payload
| token_endpoint | Endpoint for obtaining the Wallet |
| | Instance Attestation. |
+---------------------------------------------+---------------------------------------------------------------------+
| attested_security_context_values_supported | List of supported values for the |
| aal_values_supported | List of supported values for the |
| | certifiable security context. These |
| | values specify the security level |
| | of the app, according to the levels: low, medium, or high. |
| | An attested security context is |
| | defined by the proof that the |
| | Wallet Instance can provide to the |
| | Wallet Provider. |
| | Authenticator Assurance Level values supported. |
+---------------------------------------------+---------------------------------------------------------------------+
| grant_types_supported | The types of grants supported by |
| | the token endpoint. It MUST be set to |
Expand All @@ -163,11 +160,11 @@ Payload
| ted | the token endpoint. |
+---------------------------------------------+---------------------------------------------------------------------+
| token_endpoint_auth_signing_alg_va | Supported signature |
| lues_supported | algorithms for the token endpoint |
| lues_supported | algorithms for the token endpoint. |
+---------------------------------------------+---------------------------------------------------------------------+

.. note::
The `attested_security_context_values_supported` parameter is experimental and under review.
The `aal_values_supported` parameter is experimental and under review.

Payload `federation_entity`
~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Expand Down Expand Up @@ -224,7 +221,7 @@ Below a non-normative example of the Entity Configuration.
]
},
"token_endpoint": "https://wallet-provider.example.org/token",
"attested_security_context_values_supported": [
"aal_values_supported": [
"https://wallet-provider.example.org/LoA/basic",
"https://wallet-provider.example.org/LoA/medium",
"https://wallet-provider.example.org/LoA/high"
Expand Down

0 comments on commit 22441d8

Please sign in to comment.