jonathanKingston / ember-cli-sri

Generation of SRI hashes for ember
MIT License
48 stars 15 forks source link

Integrity check fails in iOS 11.3 #33

Open selvaa89 opened 6 years ago

selvaa89 commented 6 years ago

CSS files are not loading in iOS 11.3 since integrity check fails.

BorigTheDwarf commented 6 years ago

I am also having this issue.

kbullaughey commented 6 years ago

The only workaround I have found is to disabled SRI:

SRI: { enabled: false }

In my ember-cli-build.js file.

I checked the sha256 and sha512 hashes in index.html and they seemed correct:

cat corber/cordova/platforms/ios/www/assets/my-app.js \
  | openssl dgst -sha512 -binary | openssl enc -base64 -A 
Duder-onomy commented 6 years ago

We are also seeing this. This breaks both our code-push deploys and our regular app-store releases. Disabling SRI as outlined above solves both issues. Passed app store review and able to code-push deploys again.