Fido: Fix relying party validation#3460
Conversation
The RP ID must be equal to the origin's effective domain, or a registrable domain suffix of the origin's effective domain
|
The registrable-suffix check reads more spec-correct than the old Small robustness note: |
|
Thanks @peterhel for the suggestion, it's definitely better to catch the exception 👍 |
|
I've pushed a new commit to catch the exception. I think we need to catch the exception in some other functions in this file |
|
Thanks for the quick turnaround! Pulled 560440e — builds clean here, and On catching it elsewhere in the file — agreed; happy to take a pass through the other parse/validation spots and flag any worth the same guard. |
|
Did the pass through the rest of
So as far as I can see, the line you just fixed was the only RP-reachable crash path — nothing else exposed today. One forward-looking note rather than an ask: If you had a specific other function in mind, point me at it and I'll take a closer look. 🙂 |
The RP ID must be equal to the origin's effective domain, or a registrable domain suffix of the origin's effective domain
cf. comment for details