None of the “sha384” hashes in the integrity attribute match the content of the subresource.
See original GitHub issueScreenshots
Version
CDN 4.9.1
Describe the bug
Under error console it shows error with message “Failed to find a valid digest in the ‘integrity’ attribute for resource ‘https://cdn.botframework.com/botframework-webchat/4.9.1/webchat.js’ with computed SHA-256 integrity ‘/uKEj+TXU//TeP3tqa81MmH9ap2xVN1bogUjrvCTr/M=’. The resource has been blocked”.
Steps to reproduce
- Add WebChat CDN 4.9.1 to the host application.
- Run the application.
- Observe the error under browser console.
Additional context
CDN 4.9.0 does not have this error.
Source Code
<script crossorigin="anonymous"
integrity="sha384-MCSAp6/JY4zv0hrJhg231zdTCnIjyefitzXr46hE8XDzGGZSiEn7ClIOAEhQj6tP"
src="https://cdn.botframework.com/botframework-webchat/4.9.1/webchat.js"></script>
<script crossorigin="anonymous"
integrity="sha384-7GOIvwVvb++zeyLdIJlXOit8VaYsDJFo0VWa1hgXnVsUnidOjkGlNYOZfuBaepS5"
src="https://cdn.botframework.com/botframework-webchat/4.9.1/webchat-es5.js"></script>
[Bug]
Issue Analytics
- State:
- Created 3 years ago
- Reactions:1
- Comments:5 (3 by maintainers)
Top Results From Across the Web
FireFox - None of the "sha256" hashes in the integrity attribute ...
... src="https://code.jquery.com/jquery-3.1.1.min.js" integrity="sha384-q8i/X+965DzO0rT7abK41JStQIAqVgRVzpbzo5smXKp4YfRvH+8abtTE1Pi6jizo" ...
Read more >None of the "sha256" hashes in the integrity attribute match ...
None of the "sha256" hashes in the integrity attribute match the content of the ... integrity="sha384-wvfXpqpZZVQGK6TAh5PVlGOfQNHSoD2xbE+ ...
Read more >FireFox – None of the “sha256” hashes in the integrity attribute ...
None of the "sha256" hashes in the integrity attribute match the content of the subresource. ... integrity="sha384-wvfXpqpZZVQGK6TAh5PVlGOfQNHSoD2xbE+ ...
Read more >Securing Your Website With Subresource Integrity - CSS-Tricks
When we using longer hashes, such as sha384/512, base64 saves a ... Why is the “crossorigin” attribute required with subresource integrity?
Read more >Integrity attribute, None of the sha384'' hashes in the integrity ...
Integrity attribute · None of the sha384'' hashes in the integrity attribute match the content of the subresource · Crossorigin is not a...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
@compulim sure, here is the issue #287
Will update them, thanks for reporting.