-
Notifications
You must be signed in to change notification settings - Fork 86
Open
Labels
needs concrete proposalMoving the issue forward requires someone to figure out a detailed planMoving the issue forward requires someone to figure out a detailed plan
Description
From w3c/webtransport#59 (comment): WebTransport acts like fetch wrt connect-src: https://A.com for normal use like:
const wta = new WebTransport("https://A.com");But the API also allows websites to connect using custom hashes:
const wtb = new WebTransport("https://B.com", {serverCertificateHashes: [{algorithm: "sha-256", value}]});For this we think we need of a new CSP keyword directive, something like connect-certificate-hash: https://B.com/ e.g.
Content-Security-Policy: connect-src https://A.com/;
connect-certificate-hash: https://B.com/The idea is:
- if
connect-srcis absent, then custom certs are allowed - if
connect-srcis present,connect-certificate-hashis needed to allow custom certs
Does this make sense? Can someone help us with this?
Metadata
Metadata
Assignees
Labels
needs concrete proposalMoving the issue forward requires someone to figure out a detailed planMoving the issue forward requires someone to figure out a detailed plan