question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

None of the “sha384” hashes in the integrity attribute match the content of the subresource.

See original GitHub issue

Screenshots

img

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

  1. Add WebChat CDN 4.9.1 to the host application.
  2. Run the application.
  3. 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:closed
  • Created 3 years ago
  • Reactions:1
  • Comments:5 (3 by maintainers)

github_iconTop GitHub Comments

1reaction
arman-gcommented, Jun 11, 2020

@compulim sure, here is the issue #287

1reaction
compulimcommented, Jun 11, 2020

Will update them, thanks for reporting.

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found