Wrong serialization of error messages. #620
Labels
bug
Something isn't working
conformance-test
Issues related to passing the FIDO Aliance conformance tests
jira
protocol
Anything to do with the T0/T1/T2 protocols
spec-nonconformity
Bits where we aren't following the exact specification
Milestone
It looks like the error messages are not being serialized correctly.
From the conformance server I can see the following error message as the response for a bad formatted request (in hex format):
The conformance server fails parsing the above data with:
Using the playground site (http://cbor.me ) to decode the content by pasting it in the Bytes text box (on the right side) and clicking on the green arrow above that text box (convert to diagnostic notation), the following is shown:
According to the FIDO specification the error message definition seems to be an array of elements:
Therefore, the conformance server error would make sense as we are formatting the Error as a CBOR map instead of an CBOR array.
The text was updated successfully, but these errors were encountered: