Skip to content

Commit

Permalink
Merge pull request #1017 from w3c/jeffh-fix-#712-json-serialized-clie…
Browse files Browse the repository at this point in the history
…nt-data

fix #712 JSON-serialized client data is wrong
  • Loading branch information
agl authored Aug 1, 2018
2 parents 243e72f + acb0f6a commit bdc64c4
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion index.bs
Original file line number Diff line number Diff line change
Expand Up @@ -153,6 +153,10 @@ spec: WHATWG HTML; urlPrefix: https://html.spec.whatwg.org/
text: focus
text: username; url: attr-fe-autocomplete-username

spec: WHATWG Infra; urlPrefix: https://infra.spec.whatwg.org/
type: dfn
text: JSON stringify and UTF-8 encode to bytes

spec: FIDO-CTAP; urlPrefix: https://fidoalliance.org/specs/fido-v2.0-id-20180227/fido-client-to-authenticator-protocol-v2.0-id-20180227.html
type: dfn
text: CTAP2 canonical CBOR encoding form; url: ctap2-canonical-cbor-encoding-form
Expand Down Expand Up @@ -2185,7 +2189,7 @@ Note: The {{CollectedClientData}} may be extended in the future. Therefore it's
The {{CollectedClientData}} structure is used by the client to compute the following quantities:

: <dfn dfn>JSON-serialized client data</dfn>
:: This is the [=UTF-8 encoding=] of the result of calling the initial value of {{JSON/stringify|JSON.stringify}} on a
:: This is the result of [=JSON stringify and UTF-8 encode to bytes|JSON stringifying and UTF-8 encoding to bytes=] a
{{CollectedClientData}} dictionary.

: <dfn dfn>Hash of the serialized client data</dfn>
Expand Down

0 comments on commit bdc64c4

Please sign in to comment.