Closed
Bug 1382893
Opened 8 years ago
Closed 7 years ago
WebAuthn RP-IDs should enforce HTTPS and be permissive for alternative TCP ports
Categories
(Core :: DOM: Device Interfaces, defect, P1)
Core
DOM: Device Interfaces
Tracking
()
RESOLVED
WONTFIX
Future
Tracking | Status | |
---|---|---|
firefox57 | --- | disabled |
firefox58 | --- | fix-optional |
People
(Reporter: jcj, Assigned: jcj)
References
(Blocks 1 open bug)
Details
(Whiteboard: [webauthn][webauthn-wd07])
Attachments
(1 file)
59 bytes,
text/x-review-board-request
|
Details |
The WebAuthn Relying Party domain strings are defined as being restricted to https (enforced by [SecureContext]), meeting the "Is Registrable Domain Suffix Of Or Equal To" algorithm (already implemented), and being generic to all TCP ports on a host.
The last should be enforced by the nsIURI parsing code in use, but is not covered by tests. Add tests and make sure that's working properly.
[1] https://w3c.github.io/webauthn/#relying-party-identifier
Assignee | ||
Updated•7 years ago
|
Assignee: nobody → jjones
Status: NEW → ASSIGNED
Keywords: stale-bug
Assignee | ||
Comment 2•7 years ago
|
||
No. Updating to 'Future' as it's still undetermined what the schedule will be.
Flags: needinfo?(jjones)
Target Milestone: mozilla57 → Future
Version: 55 Branch → Trunk
Comment 3•7 years ago
|
||
Thanks. I've made a few other flag changes here to clarify the situation.
status-firefox57:
--- → disabled
status-firefox58:
--- → fix-optional
Assignee | ||
Comment 4•7 years ago
|
||
I've made a website to test this:
https://webauthn.bin.coffee:8443/
And, as expected, manual tests pass.
I've also produced a patch that adds an automated test, but it doesn't work as our mochitest webserver needs to support ports other than 443 for HTTPS.
I'll attach the patch for posterity, but I think we can leave this without an automated test. The code path for this functionality runs through nsURI, and that is unlikely to change substantially enough to cause a regression.
Keywords: stale-bug
Whiteboard: [webauthn] → [webauthn][webauthn-wd07]
Comment hidden (mozreview-request) |
Assignee | ||
Comment 6•7 years ago
|
||
Marking this wontfix for now, pending further discussions.
Status: ASSIGNED → RESOLVED
Closed: 7 years ago
Resolution: --- → WONTFIX
You need to log in
before you can comment on or make changes to this bug.
Description
•