Skip to content

Commit 60c32af

Browse files
ddbeckElchi3
andauthored
Add features for signature-based SRI (#29112)
* Add features for signature-based integrity * Fix key name from @Elchi3 Co-authored-by: Florian Scholz <fs@florianscholz.com> * Update Unencoded-Digest spec URL from @Elchi3 Co-authored-by: Florian Scholz <fs@florianscholz.com> * Per linter: No arrays for single spec_urls * Drop "-03" in URL --------- Co-authored-by: Florian Scholz <fs@florianscholz.com>
1 parent a257c56 commit 60c32af

4 files changed

Lines changed: 152 additions & 0 deletions

File tree

html/elements/script.json

Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -314,6 +314,38 @@
314314
"standard_track": true,
315315
"deprecated": false
316316
}
317+
},
318+
"ed25519_public_key": {
319+
"__compat": {
320+
"description": "Signature-based integrity (Ed25519 public key values)",
321+
"spec_url": "https://wicg.github.io/signature-based-sri/#monkey-patch-csp",
322+
"support": {
323+
"chrome": {
324+
"version_added": "141"
325+
},
326+
"chrome_android": "mirror",
327+
"edge": "mirror",
328+
"firefox": {
329+
"version_added": false
330+
},
331+
"firefox_android": "mirror",
332+
"oculus": "mirror",
333+
"opera": "mirror",
334+
"opera_android": "mirror",
335+
"safari": {
336+
"version_added": false
337+
},
338+
"safari_ios": "mirror",
339+
"samsunginternet_android": "mirror",
340+
"webview_android": "mirror",
341+
"webview_ios": "mirror"
342+
},
343+
"status": {
344+
"experimental": true,
345+
"standard_track": true,
346+
"deprecated": false
347+
}
348+
}
317349
}
318350
},
319351
"nomodule": {

http/headers/Signature-Input.json

Lines changed: 40 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,40 @@
1+
{
2+
"http": {
3+
"headers": {
4+
"Signature-Input": {
5+
"__compat": {
6+
"spec_url": [
7+
"https://datatracker.ietf.org/doc/html/rfc9421#name-the-signature-input-http-fi",
8+
"https://wicg.github.io/signature-based-sri/#signature-enforcement"
9+
],
10+
"support": {
11+
"chrome": {
12+
"version_added": "141"
13+
},
14+
"chrome_android": "mirror",
15+
"edge": "mirror",
16+
"firefox": {
17+
"version_added": false
18+
},
19+
"firefox_android": "mirror",
20+
"oculus": "mirror",
21+
"opera": "mirror",
22+
"opera_android": "mirror",
23+
"safari": {
24+
"version_added": false
25+
},
26+
"safari_ios": "mirror",
27+
"samsunginternet_android": "mirror",
28+
"webview_android": "mirror",
29+
"webview_ios": "mirror"
30+
},
31+
"status": {
32+
"experimental": true,
33+
"standard_track": true,
34+
"deprecated": false
35+
}
36+
}
37+
}
38+
}
39+
}
40+
}

http/headers/Signature.json

Lines changed: 40 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,40 @@
1+
{
2+
"http": {
3+
"headers": {
4+
"Signature": {
5+
"__compat": {
6+
"spec_url": [
7+
"https://datatracker.ietf.org/doc/html/rfc9421#section-4.2",
8+
"https://wicg.github.io/signature-based-sri/#signature-enforcement"
9+
],
10+
"support": {
11+
"chrome": {
12+
"version_added": "141"
13+
},
14+
"chrome_android": "mirror",
15+
"edge": "mirror",
16+
"firefox": {
17+
"version_added": false
18+
},
19+
"firefox_android": "mirror",
20+
"oculus": "mirror",
21+
"opera": "mirror",
22+
"opera_android": "mirror",
23+
"safari": {
24+
"version_added": false
25+
},
26+
"safari_ios": "mirror",
27+
"samsunginternet_android": "mirror",
28+
"webview_android": "mirror",
29+
"webview_ios": "mirror"
30+
},
31+
"status": {
32+
"experimental": true,
33+
"standard_track": true,
34+
"deprecated": false
35+
}
36+
}
37+
}
38+
}
39+
}
40+
}

http/headers/Unencoded-Digest.json

Lines changed: 40 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,40 @@
1+
{
2+
"http": {
3+
"headers": {
4+
"Unencoded-Digest": {
5+
"__compat": {
6+
"spec_url": [
7+
"https://datatracker.ietf.org/doc/html/draft-ietf-httpbis-unencoded-digest#name-the-unencoded-digest-field",
8+
"https://wicg.github.io/signature-based-sri/#unencoded-digest-validation-for-sri"
9+
],
10+
"support": {
11+
"chrome": {
12+
"version_added": "141"
13+
},
14+
"chrome_android": "mirror",
15+
"edge": "mirror",
16+
"firefox": {
17+
"version_added": false
18+
},
19+
"firefox_android": "mirror",
20+
"oculus": "mirror",
21+
"opera": "mirror",
22+
"opera_android": "mirror",
23+
"safari": {
24+
"version_added": false
25+
},
26+
"safari_ios": "mirror",
27+
"samsunginternet_android": "mirror",
28+
"webview_android": "mirror",
29+
"webview_ios": "mirror"
30+
},
31+
"status": {
32+
"experimental": true,
33+
"standard_track": true,
34+
"deprecated": false
35+
}
36+
}
37+
}
38+
}
39+
}
40+
}

0 commit comments

Comments
 (0)