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

[Task] Create and publish Sub Resource Integrity (SRI) hashes for the generated scripts #1621

Closed
MSNev opened this issue Aug 2, 2021 · 2 comments

Comments

@MSNev
Copy link
Collaborator

MSNev commented Aug 2, 2021

Start generating and publishing the SRI hashes for the generated resources

  • sha256
  • sha384
  • sha512

This task is only about generating and publishing, future tasks will update the snippet and other mechanism (TBD) for adding actually using them during loading.

Part of the issue is that as we currently update the ai.2.min.js script with the updated version for each release the SRI hashes of this file change with every deployment, so it's not currently possible to apply any integrity (SRI) attribute to the script tag loaded by the snippet (today). We will be investigating options and techniques to both enable better SRI and browser cache support as part of using these generated hashes.

@MSNev MSNev self-assigned this Aug 2, 2021
@MSNev MSNev added this to the 2.6.5 milestone Aug 2, 2021
MSNev added a commit that referenced this issue Aug 2, 2021
MSNev added a commit that referenced this issue Aug 2, 2021
MSNev added a commit that referenced this issue Aug 3, 2021
@MSNev MSNev added fixed - waiting release PR Committed and waiting deployment released - NPM waiting - CDN deployment and removed fixed - waiting release PR Committed and waiting deployment waiting - CDN deployment labels Aug 3, 2021
@MSNev
Copy link
Collaborator Author

MSNev commented Aug 9, 2021

v2.6.5 is now fully deployed

@MSNev MSNev closed this as completed Aug 9, 2021
@github-actions
Copy link

This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Aug 10, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

1 participant