Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Clarify SRI checksum needed by archive_override() #268

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

zifeitong
Copy link
Contributor

@zifeitong zifeitong commented Aug 14, 2024

Instead of hexadecimal string of checksum, The SRI value must be in the format like sha256-{base64(checksum)}. mdn.io/sri#tools_for_generating_sri_hashes shows a few ways to generate the SRI values.

@zifeitong zifeitong changed the title Clarify SRI checksum used by archive_override() Clarify SRI checksum needed by archive_override() Aug 14, 2024
@jsharpe
Copy link
Member

jsharpe commented Aug 14, 2024

I actually wonder if https://www.w3.org/TR/SRI/ is the more canonical URL for subresource integrity; the bazel docs don't link anywhere when using this term and assume that you know that it is the same format used for web dev.

@zifeitong
Copy link
Contributor Author

Changed the URL to w3.org

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants