Re:LocalCDN – an extension that emulates CDN to improve your...
by im3w1l on Tuesday October 20, 2020 @11:31AM
(#24838514)
Why is it removing integrity?
[ Parent
| on HN ]
Re:LocalCDN – an extension that emulates CDN to improve your...
by jorams on Wednesday October 21, 2020 @08:22AM
(#24847048)
Two reasons:
1. It deliberately replaces some versions of libraries with different versions. That's a feature I could do without.
2. The use of integrity hashes on cross-origin resources breaks Decentraleyes[0], and it's not fixable without browser changes.[1]
[0]: https://git.synz.io/Synzvato/decentraleyes/-/issues/16 [1]: https://bugzilla.mozilla.org/show_bug.cgi?id=1419459
Re:LocalCDN – an extension that emulates CDN to improve your...
by 3np on Wednesday October 21, 2020 @04:46AM
(#24845953)
Indeed - integrity should be dependent on the content, not the URI. It looks like they do it to allow "replacements" (e.g. serve package version x.y.z-1 if it can't find x.y.z).
This sounds like a horrible idea.
Re:LocalCDN – an extension that emulates CDN to improve your...
by URfejk on Tuesday October 20, 2020 @11:41AM
(#24838662)
"... remove crossorigin and integrity attributes of script and stylesheet tags to increase replacements ..."
Re:LocalCDN – an extension that emulates CDN to improve your...
by im3w1l on Tuesday October 20, 2020 @11:53AM
(#24838843)
Yeah but I don't understand why that would be needed. It sounds dangerous.