FIDO: allow valid maximum domainId 65535 in extensions#3548
Conversation
|
For the details:
The domain name by hashing is implemented, but it doesn't work because of the assertion. @GN998: If I can give an advise, maybe you can rename the PR to start with |
|
Thanks for the suggestion. |
Indeed, that's what it should be |
|
Thanks for raising the ceiling here — I confirmed the field really is 16-bit ( One catch though: Built it locally on top of current |
|
2..255 indexes are reserved for potential new static domains: https://fidoalliance.org/specs/fido-v2.3-rd-20251023/fido-client-to-authenticator-protocol-v2.3-rd-20251023.html#hybrid-websocket-channel |
|
Ah — you're right, thanks for the spec link. I'd assumed 2..255 were valid because the old code hash-derived them, but per the CTAP 2.3 hybrid spec those indices are reserved for future static domains, so rejecting them (rather than hashing) is correct, and the hash path rightly starts at 256. My mistake — the change is good as-is. 🙏 |
feat: add support for 256-65535 domain index range