Re: [webauthn] JSON-serialized client data is wrong

Hm... [%JSON%.stringify][stringify] returns a UTF-16 encoded string, but the [JSON-serialized client data ][cd] is supposed to be UTF-8 encoded. Is this an issue? I suppose that "This is the UTF-8 encoding of the result of calling %JSON%.stringify on a CollectedClientData dictionary" can be understood as instructing to recode the result from UTF-16 to UTF-8, but is that sufficiently clear?

[cd]: https://w3c.github.io/webauthn/#collectedclientdata-json-serialized-client-data
[stringify]: https://tc39.github.io/ecma262/#sec-json.stringify

-- 
GitHub Notification of comment by emlun
Please view or discuss this issue at https://github.com/w3c/webauthn/issues/712#issuecomment-367320491 using your GitHub account

Received on Wednesday, 21 February 2018 13:09:14 UTC