[w3c/webauthn] 8fa10d: Fix AuthenticationExtensionsAuthenticatorInputs/Ou...

  Branch: refs/heads/pr-2219-tidoust
  Home:   https://github.com/w3c/webauthn
  Commit: 8fa10df31c3c2eadbcb797164890563eb8ab6c5a
      https://github.com/w3c/webauthn/commit/8fa10df31c3c2eadbcb797164890563eb8ab6c5a
  Author: Francois Daoust <fd@tidoust.net>
  Date:   2024-12-03 (Tue, 03 Dec 2024)

  Changed paths:
    M index.bs

  Log Message:
  -----------
  Fix AuthenticationExtensionsAuthenticatorInputs/Outputs CDDL

According to the CDDL grammar, after a control operator (called `ctlop` in the
ABNF grammar), there can only be a `type2` production:
https://datatracker.ietf.org/doc/html/rfc8610#appendix-B

In a `type2` production, wrapping parentheses can only be used to wrap a `type`
production. `tstr => any` is a `group` production, and needs to be wrapped in
curly braces or brackets.

In other words, from a CDDL grammar perspective, this is an invalid type:
  `foo .within ( tstr => any )`

This is valid:
  `foo .within { tstr => any }`

This update fixes the CDDL type definitions that used the `.within` operator
with an invalid type2.


  Commit: 5d855e79c4242c330c737f00a1f6b15c85c1fd1a
      https://github.com/w3c/webauthn/commit/5d855e79c4242c330c737f00a1f6b15c85c1fd1a
  Author: Emil Lundberg <emil@yubico.com>
  Date:   2024-12-11 (Wed, 11 Dec 2024)

  Changed paths:
    M index.bs

  Log Message:
  -----------
  Move .within control to correct position in extension input/outputs CDDL


Compare: https://github.com/w3c/webauthn/compare/8fa10df31c3c%5E...5d855e79c424

To unsubscribe from these emails, change your notification settings at https://github.com/w3c/webauthn/settings/notifications

Received on Wednesday, 11 December 2024 20:00:23 UTC