|
|
|
|
|
by diafygi
3924 days ago
|
|
Would love for the next generation of SRI to include signatures as an option (e.g. integrity="ed25519-<public_key>"). Hashes means you have to specify an exact version, so there's not an easy way to add integrity to things like Google's CDN for jQuery that has latest minor version update links for the major API versions of jQuery. Of course, that means also adding a signature to the payload response (maybe an "Integrity: <hash>-<sig>" header?). So it's understandable why signatures weren't in scope for the first release. |
|
If a hypothetical attack breaks TLS or you don't use it, you can just change the public key served.