I have some webpages I am trying to load in my browser from file:///
and I have integrity hashes on the JS and CSS.
The JS and CSS don't load with the integrity hash present in the <link>
and <script>
tags but they load with it removed.
$ openssl dgst -sha384 -binary assets/css/bootstrap.min.css | openssl base64 -A
MCw98/SFnGE8fJT3GXwEOngsV7Zt27NXFoaoApmYm81iuXoPkFOJwJ8ERdknLPMO
and I have the following <script>
tag:
<link rel="stylesheet" href="assets/css/bootstrap.min.css" integrity="sha384-MCw98/SFnGE8fJT3GXwEOngsV7Zt27NXFoaoApmYm81iuXoPkFOJwJ8ERdknLPMO">