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

Upgrade to the new SRI hash format #2

Closed
fmarier opened this issue Feb 18, 2015 · 2 comments
Closed

Upgrade to the new SRI hash format #2

fmarier opened this issue Feb 18, 2015 · 2 comments

Comments

@fmarier
Copy link

fmarier commented Feb 18, 2015

I don't know if this is the right repo to file this against, but the hash format for SRI has just changed to match the one for CSP2:

  • base64 (not base64url) encoding with trailing equal signs
  • hash algorithms are lowercase with no dashes (e.g. sha256, sha384 and sha512)

For example:

<script src="https://code.jquery.com/jquery-1.10.2.min.js"
        integrity="type:application/javascript
                   sha256-C6CB9UYIS9UJeqinPHWTHVqh/E1uhG5Twh+Y5qFQmYg=">
@neftaly
Copy link
Owner

neftaly commented Feb 18, 2015

Yep, this is the right repo. Regarding SemVer, do you think I should do a major or a minor version jump for the update?

@fmarier
Copy link
Author

fmarier commented Feb 18, 2015

Ah good question. I don't know, but it's probably a big enough change to warrant a major version bump.

@neftaly neftaly closed this as completed Feb 19, 2015
neftaly added a commit that referenced this issue Feb 19, 2015
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

No branches or pull requests

2 participants