Re: [webauthn] Adding CDDL to txAuthSimple

@gmandyam @equalsJeffH 

Sorry for being late to the party, but I had read [ยง9.5][extproc] to mean that the _whole_ of the extensions authenticator input - i.e., the inputs for _all_ extensions - is a CBOR map, but the individual extension inputs are not necessarily CBOR maps. The structure of this CBOR map is then analogous to [`AuthenticationExtensionsClientInputs`][aeci], which seems more correct to me and also saves some bandwidth as @equalsJeffH [points out][comment]. [CTAP][ctap] also refers to [a previous WebAuthn draft][prev] with an example with such a structure. I think @equalsJeffH's previously suggested CDDL `txAuthSimpleRetVal = ( tstr )` is better in that case.

[extproc]: https://w3c.github.io/webauthn/#sctn-authenticator-extension-processing
[aeci]: https://w3c.github.io/webauthn/#dictdef-authenticationextensionsclientinputs
[comment]: https://github.com/w3c/webauthn/pull/724#issuecomment-362669638
[prev]: https://www.w3.org/TR/webauthn/#authenticator-extension-input
[ctap]: https://fidoalliance.org/specs/fido-v2.0-rd-20170927/fido-client-to-authenticator-protocol-v2.0-rd-20170927.html#authenticatorMakeCredential

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

Received on Monday, 5 February 2018 14:46:33 UTC