-
Notifications
You must be signed in to change notification settings - Fork 148
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
SRI: specify verification of CSS-loaded subresources #306
Comments
Not sure if this is still on @tabatkins radar. |
It had slipped my mind! I'll put this on my more urgent todo list. |
Oh wait, I actually did do part of this. We don't need a fetch() function, because I was able to switch url() from being a special form to being a normal function, so you can now use arguments inside of it. So |
Is this something we want in v1? /cc @metromoxie @mozfreddyb @devd At this stage, my personal opinion (in the interest of getting to CR) would be to postpone anything that requires implementation changes unless:
I can see an argument for #1, but I would argue that what we have is still better than the status quo and that it allows authors to protect the first level of sub-resources quite well. We can tackle "recursive integrity" in v2. |
I don't think this is needed in v1 |
Leaving url() as it is for now obviously isn't any worse than the status quo (because it is the status quo), so yeah, delaying to v2 is fine. |
Agreed with delaying to v2. |
use time element for the date instead of two spans
Just an idea: enforcement of SRI on transitive dependencies, maybe as a part of CSP. In theory, someone might statically verify that the stylesheet does not fetch any external resources without SRI, so the enforcement is not needed. In practice, it is additional hassle that many developers will not do, so such enforcement could be useful. |
Tab and Anne are poking at adding
fetch()
to some spec somewhere which would allow CSS files to specify various arguments to the fetch algorithm while requesting resources. Detail on the proposal is at https://lists.w3.org/Archives/Public/public-webappsec/2014Jan/0129.html. Once that is specified, we can proceed defining anintegrity
argument that would allow integrity checks in CSS.The text was updated successfully, but these errors were encountered: