Skip to content

Commit

Permalink
Fix client_data (#295)
Browse files Browse the repository at this point in the history
  • Loading branch information
grausof authored May 29, 2024
1 parent 2076b4d commit 63b4d96
Showing 1 changed file with 2 additions and 8 deletions.
10 changes: 2 additions & 8 deletions docs/en/wallet-attestation.rst
Original file line number Diff line number Diff line change
Expand Up @@ -200,7 +200,7 @@ This section describes the Wallet Attestation format and how the Wallet Provider
**Step 7**: The Wallet Instance performs the following actions:

* Creates a ``client_data``, a JSON structure that includes the challenge and the ephemeral public ``jwk``.
* Creates a ``client_data``, a JSON structure that includes the challenge and the thumbprint of ephemeral public ``jwk``.
* Computes a ``client_data_hash`` by applying the SHA256 algorithm to the ``client_data``.

Below a non-normative example of the ``client_data``.
Expand All @@ -209,13 +209,7 @@ Below a non-normative example of the ``client_data``.
{
"challenge": "0fe3cbe0-646d-44b5-8808-917dd5391bd9",
"jwk": {
"crv": "P-256",
"kty": "EC",
"x": "4HNptI-xr2pjyRJKGMnz4WmdnQD_uJSq4R95Nj98b44",
"y": "LIZnSB39vFJhYgS3k7jXE4r3-CoGFQwZtPBIRqpNlrg",
"kid": "vbeXJksM45xphtANnCiG6mCyuU4jfGNzopGuKvogg9c"
}
"jwk_thumbprint": "vbeXJksM45xphtANnCiG6mCyuU4jfGNzopGuKvogg9c"
}
**Steps 8-10**: The Wallet Instance takes the following steps:
Expand Down

0 comments on commit 63b4d96

Please sign in to comment.