2 ms·
You mean like the signed/sealed/delivered csp policies that browsers have supported for years? https://developers.google.com/web/fundamentals/security/csp/ htt
by horsawlarway 8y ago
You mean like the signed/sealed/delivered csp policies that browsers have supported for years?
https://developers.google.com/web/fundamentals/security/csp/ https://developers.google.com/web/fundamentals/security/csp/
To quote the signature section:
'<hash-algorithm>-<base64-value>'
A sha256, sha384 or sha512 hash of scripts or styles. The use of this source consists of two portions separated by a dash: the encryption algorithm used to create the hash and the base64-encoded hash of the script or style. When generating the hash, don't include the <script> or <style> tags and note that capitalization and whitespace matter, including leading or trailing whitespace. See unsafe inline script for an example. In CSP 2.0 this applied only to inline scripts. CSP 3.0 allows it in the case of script-src for external scripts.