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

Calculate integrity in JS and CSS links of index.html on ember build #30 #31

Open
bu3tt1 opened this issue Feb 1, 2022 · 0 comments
Open
Assignees
Labels
be enhancement New feature or request priority-low

Comments

@bu3tt1
Copy link
Contributor

bu3tt1 commented Feb 1, 2022

ember build -p
without
SRI: { enabled: false, },

in ember-cli-build.js calculates an integrity check for js and css files that are linked in index.html.
This doesn't allow you to change the js and css code after the build, so you can't change the host in the container.

To put back the functionality find the way to calculate and add the integrity with the entrypoint

This was done to create the image in docker.

Specifications: https://developer.mozilla.org/en-US/docs/Web/Security/Subresource_Integrity

@bu3tt1 bu3tt1 added the enhancement New feature or request label Feb 1, 2022
@bu3tt1 bu3tt1 self-assigned this Feb 1, 2022
@bu3tt1 bu3tt1 added the be label Feb 1, 2022
@bu3tt1 bu3tt1 added this to the Version begin 2022 milestone Mar 8, 2022
@bu3tt1 bu3tt1 removed this from the Version begin 2022 milestone Mar 29, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
be enhancement New feature or request priority-low
Projects
None yet
Development

No branches or pull requests

1 participant