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

Re: [webauthn] Consider requiring canonical CBOR throughout

From: Jeffrey Yasskin via GitHub <sysbot+gh@w3.org>
Date: Wed, 30 Aug 2017 15:22:35 +0000
To: public-webauthn@w3.org
Message-ID: <issue_comment.created-326025338-1504106546-sysbot+gh@w3.org>
If you know the number of elements in a list ahead of time, it's really easy to produce a min-length encoding of the length.

What's the use case for unknown-length byte- and utf8-strings sent from the authenticator?

I don't think we'd specify that authenticators MUST or even SHOULD check that the map is sorted, but rather that they MAY.

GitHub Notification of comment by jyasskin
Please view or discuss this issue at https://github.com/w3c/webauthn/issues/455#issuecomment-326025338 using your GitHub account
Received on Wednesday, 30 August 2017 15:22:31 UTC

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