Support ExportKeyingMaterial for WebTransport
Categories
(Core :: Networking, enhancement, P2)
Tracking
()
| Tracking | Status | |
|---|---|---|
| firefox155 | --- | fixed |
People
(Reporter: jesup, Assigned: jesup)
References
(Blocks 2 open bugs)
Details
(Keywords: dev-doc-complete, Whiteboard: [necko-triaged], [wptsync upstream])
Attachments
(6 files, 3 obsolete files)
|
48 bytes,
text/x-phabricator-request
|
Details | Review | |
|
48 bytes,
text/x-phabricator-request
|
Details | Review | |
|
48 bytes,
text/x-phabricator-request
|
Details | Review | |
|
48 bytes,
text/x-phabricator-request
|
Details | Review | |
|
48 bytes,
text/x-phabricator-request
|
Details | Review | |
|
48 bytes,
text/x-phabricator-request
|
Details | Review |
| Assignee | ||
Comment 1•8 months ago
|
||
Updated•8 months ago
|
| Assignee | ||
Comment 2•7 months ago
|
||
Updated•7 months ago
|
Updated•6 months ago
|
| Assignee | ||
Comment 3•6 months ago
|
||
| Assignee | ||
Comment 4•6 months ago
|
||
Updated•6 months ago
|
Updated•6 months ago
|
| Assignee | ||
Comment 5•2 months ago
|
||
Per w3c/webtransport#774, exportKeyingMaterial(label, context, outputLength)
takes all three arguments as required (context is no longer optional and the
prose no longer says "if context is given"). Implement outputLength end to end:
the DOM validates it (RangeError if 0 or > 4096) and plumbs it through IPC, the
necko nsIWebTransport interface, the Http3/Http2 sessions, and the neqo glue,
which now sizes the exporter output to outputLength instead of a hardcoded 32.
Rewrite the WPTs to the 3-argument form (asserting the output is outputLength
bytes, plus outputLength RangeError coverage) and drop the now-passing
idlharness exportKeyingMaterial expected-FAIL.
| Assignee | ||
Comment 6•1 month ago
|
||
Per w3c/webtransport#774, exportKeyingMaterial(label, context, outputLength)
takes all three arguments as required (context is no longer optional and the
prose no longer says "if context is given"). Implement outputLength end to end:
the DOM validates it (RangeError if 0 or > 4096) and plumbs it through IPC, the
necko nsIWebTransport interface, the Http3/Http2 sessions, and the neqo glue,
which now sizes the exporter output to outputLength instead of a hardcoded 32.
Rewrite the WPTs to the 3-argument form (asserting the output is outputLength
bytes, plus outputLength RangeError coverage) and drop the now-passing
idlharness exportKeyingMaterial expected-FAIL.
Comment 9•1 month ago
|
||
Backed out for causing wpt lint failures & build bustages @ TestHttp3ConnectUDPStream.cpp
Backout link: https://hg.mozilla.org/integration/autoland/rev/daa7a7b4892e814fb53d8651a5e807db5d76d528
Created web-platform-tests PR https://github.com/web-platform-tests/wpt/pull/61501 for changes under testing/web-platform/tests
Upstream PR was closed without merging
| Assignee | ||
Comment 12•1 month ago
|
||
Updated•1 month ago
|
Comment 13•1 month ago
|
||
Comment 14•1 month ago
|
||
| bugherder | ||
https://hg.mozilla.org/mozilla-central/rev/5e79b4fb08dd
https://hg.mozilla.org/mozilla-central/rev/58159f5f6108
https://hg.mozilla.org/mozilla-central/rev/9f67d252dfde
https://hg.mozilla.org/mozilla-central/rev/4b9f7380d121
https://hg.mozilla.org/mozilla-central/rev/4e2fc36feba8
Upstream PR merged by moz-wptsync-bot
Upstream PR merged
Updated•1 month ago
|
| Assignee | ||
Comment 17•26 days ago
|
||
| Assignee | ||
Comment 18•26 days ago
|
||
Updated•26 days ago
|
Updated•26 days ago
|
Comment 19•24 days ago
|
||
A patch has been attached on this bug, which was already closed. Filing a separate bug will ensure better tracking. If this was not by mistake and further action is needed, please alert the appropriate party. (Or: if the patch doesn't change behavior -- e.g. landing a test case, or fixing a typo -- then feel free to disregard this message)
Updated•24 days ago
|
Comment 20•24 days ago
|
||
Comment on attachment 9626051 [details]
Bug 2007200: reject ExportKeyingMaterial's promise on failure instead of resolving with an empty array r=#dom-core!
Revision D318354 was moved to bug 2063706. Setting attachment 9626051 [details] to obsolete.
Updated•21 days ago
|
Comment 21•7 days ago
|
||
FF155 MDN work for this can be tracked in https://github.com/mdn/content/issues/45216
Can I get a tehncial review of the doc part please: https://github.com/mdn/content/pull/45411
Specifically, I understand from https://github.com/w3c/webtransport/issues/411 that the mechanism allows an application level handshake to verify that two peers are on the same TLS connection. This stops replay attacks in the case where an MITM opens a connection to each peer and forwards between them, since the ends won't calculate the same exported material.
I think it doesn't prevent the MITM spoofing both endpoints, unless they have some other shared secret.
However with no "real world experience" would be good to get some independent technical eyes on this.
| Assignee | ||
Updated•6 days ago
|
Comment 22•4 days ago
|
||
I can only assume I am right ^^^^. If I'm not let me know and we can fix up the docs as a post-process
Description
•