W3C home > Mailing lists > Public > public-webauthn@w3.org > December 2017

Re: [webauthn] txAuthSimple does not conform to extension requirements

From: gmandyam via GitHub <sysbot+gh@w3.org>
Date: Tue, 12 Dec 2017 21:13:33 +0000
To: public-webauthn@w3.org
Message-ID: <issue_comment.created-351196314-1513113212-sysbot+gh@w3.org>
>>Another option is to make the description of txAuthSimple more like txAuthGeneric (https://w3c.github.io/webauthn/#sctn-generic-txauth-extension), where the client extension input is provided as a CBOR Map, with the corresponding key/value pairs.

>What would be the benefit of this?

Avoiding an unnecessary casting between JSON and CBOR (which is not a huge concern), and consistency between txAuthSimple and txAuthGeneric.

>What do you mean? Doesn't the quoted passage say that the client extension input does have to be a JSON (-encodable) value?

No it does not.  The quoted passage says "can be encoded in JSON", which is not the same as "have to be JSON-encodable".  

-- 
GitHub Notification of comment by gmandyam
Please view or discuss this issue at https://github.com/w3c/webauthn/issues/725#issuecomment-351196314 using your GitHub account
Received on Tuesday, 12 December 2017 21:14:10 UTC

This archive was generated by hypermail 2.4.0 : Tuesday, 5 July 2022 07:26:30 UTC