Mdb-ui-kit: Failed to find a valid digest in the 'integrity' attribute for resource

Created on 1 Feb 2018  ·  1Comment  ·  Source: mdbootstrap/mdb-ui-kit

I'm not using codepen for this issue, cause it's not applicable, I need to show you code inside <head>.

So, by copy and pasting from your homepage, I've created this HTML code:

<!DOCTYPE html>
<html lang="en">
<head>
  <meta charset="UTF-8">
  <title>Document</title>
  <link rel="stylesheet" href="https://unpkg.com/[email protected]/dist/css/bootstrap-material-design.min.css" integrity="sha384-R80DC0KVBO4GSTw+wZ5x2zn2pu4POSErBkf8/fSFhPXHxvHJydT0CSgAP2Yo2r4I" crossorigin="anonymous">
</head>
<body>
  Test
</body>
</html>

And on web inspector, on Chrome I get this error:

Failed to find a valid digest in the 'integrity' attribute for resource 'https://unpkg.com/[email protected]/dist/css/bootstrap-material-design.min.css' with computed SHA-256 integrity 'KIbybAbEyYs4X+k2w2dwkCB0lvZaTK5cHnyJPVO7nz8='. The resource has been blocked.

On firefox:

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

I'm using an older version (in other project), I've copy and pasted from your home page, and that one is working:

<link rel="stylesheet" href="https://unpkg.com/[email protected]/dist/css/bootstrap-material-design.min.css" integrity="sha384-R80DC0KVBO4GSTw+wZ5x2zn2pu4POSErBkf8/fSFhPXHxvHJydT0CSgAP2Yo2r4I" crossorigin="anonymous">

And we can see the value for integrity attr is the same for both, it shouldn't be, right?

sha384-R80DC0KVBO4GSTw+wZ5x2zn2pu4POSErBkf8/fSFhPXHxvHJydT0CSgAP2Yo2r4I
docs & examples

Most helpful comment

Yes I probably forgot to update the hash, I'll do it

>All comments

Yes I probably forgot to update the hash, I'll do it

Was this page helpful?
0 / 5 - 0 ratings

Related issues

thangchung picture thangchung  ·  3Comments

hans-d picture hans-d  ·  5Comments

Elisa1202 picture Elisa1202  ·  5Comments

migaber picture migaber  ·  10Comments

HectorLS picture HectorLS  ·  6Comments