Skip to content

Instantly share code, notes, and snippets.

@jahed
Last active September 13, 2020 16:54
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save jahed/b38174b20f69c0a709203a2df69533ea to your computer and use it in GitHub Desktop.
Save jahed/b38174b20f69c0a709203a2df69533ea to your computer and use it in GitHub Desktop.
Validating SRI Hashes

Validating SRI Hashes

In case the browser starts complaining about invalid SRI hashes.

curl -s <URL> | openssl dgst -sha256 -binary | openssl enc -base64
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment