[webauthn] Pull Request: Issue 2210 compound att stmt template

emlun has just submitted a new pull request for https://github.com/w3c/webauthn:

== Issue 2210 compound att stmt template ==
Closes #2210. Also fixes a couple of other issues I noticed while working on this:

- [ยง6.5.2. Attestation Statement Formats](https://w3c.github.io/webauthn/#sctn-attestation-formats) refers to a CDDL extension point `$attStmtFormat` that (no longer?) exists, it should be `$$attStmtType`.
- The `.within { fmt: text .ne "compound" }` control on `nonCompoundAttStmt` inadvertently makes `nonCompoundAttStmt` unable to match anything, because maps are matched exhaustively (see [CDDL](https://datatracker.ietf.org/doc/html/rfc8610#section-2.1), so the right-hand-side of `.within` forbids additional fields beyond `fmt`.

See https://github.com/w3c/webauthn/pull/2216


-- 
Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config

Received on Wednesday, 27 November 2024 11:49:30 UTC