rules_cuda icon indicating copy to clipboard operation
rules_cuda copied to clipboard

Clarify SRI checksum needed by archive_override()

Open zifeitong opened this issue 1 year ago • 2 comments

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 avatar Aug 14 '24 16:08 zifeitong

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.

jsharpe avatar Aug 14 '24 22:08 jsharpe

Changed the URL to w3.org

zifeitong avatar Aug 15 '24 15:08 zifeitong