I need to add integrity hashes for script and link tag in my iparams.html. i generated integrity hashes for script tags but i trying to generate integrity hashes in SRI Hash Generator
for <link rel="stylesheet" type="text/css" href="https://static.freshdev.io/fdk/2.0/assets/freshdesk.css" />
for this url i’m getting error in SRI Hash Generator which is shown below in screen shot.
Why do you want to add an integrity hash for this resource?
This script is loaded by the platform automatically when the app is rendered, and it’s secure since the platform is holding the value for this resource and providing it to the app dynamically.
@Santhosh, could you please add more on the possibility of SRI hash, if any?
Our app is rejected by freshworks testing team because of ‘integrity’ attribute is missing for an externally hosted files in our iparams.html and index.html which is shown in below snap shoot.
We are in the same case, our app has ben rejected because sha integrity for the default CSS that all Freshdesk fdk manuals comments to add in projects (https://static.freshdev.io/fdk/2.0/assets/freshdesk.css) is missing.
with we solve the problem for JS FDK client file, but what’s happen with css? It’s necessary download a copy of css and incluyed locally in our projects or we can generate the sha-384 of this file and use it?
I am facing the same error. While submitting our application because of ‘integrity’ attribute is missing from <script src="{{{appclient}}}"></script>. Should I skip it or how can I generate an integrity hashes for it?
The problem is that this file is managed and hosted by Freshworks. If Freshworks modifiy it, then my sha-384 will be invalid and browsers doesn’t load it.
Also, after modify our code with for client script, validator process still mark an error because integrity attribute is missing.