webauthn icon indicating copy to clipboard operation
webauthn copied to clipboard

§6.1. Steps to generate authenticator data should include BE and BS flags

Open emlun opened this issue 1 year ago • 3 comments

Proposed Change

§6.1. Authenticator Data defines a procedure "Authenticators perform the following steps to generate an authenticator data structure", which includes the step:

This step, or perhaps a new subsequent step, should also reference setting the BE and BS flags.

emlun avatar Apr 30 '24 13:04 emlun

Related: #2063

emlun avatar Apr 30 '24 13:04 emlun

Just want to make sure that SHOULD is used instead of SHALL if it's not required for RPs to enforce that BE and BS are not 0 and 1 respectively. As the linked issue explains, the RFU bits are not supposed to be enforced to be 0; however Authenticators perform the following steps to generate an authenticator data structure mistakenly states they SHALL (i.e., MUST) be 0.

zacknewman avatar May 15 '24 21:05 zacknewman

It is correct that authenticators SHALL set the RFU bits to zero, but as discussed in https://github.com/w3c/webauthn/issues/2063#issuecomment-2085263218, RPs should not enforce this as that would break those RPs if these bits are allocated in the future (unless the RP wants that breakage to happen, of course).

emlun avatar May 27 '24 16:05 emlun