asmcrypto / asmcrypto.js

JavaScript Cryptographic Library with performance in mind.
MIT License
660 stars 182 forks source link

Consider submitting this to CDNJS? #73

Closed jvsteiner closed 6 years ago

jvsteiner commented 9 years ago

Love the library - but I noticed it doesn't seem to be available via CDN anywhere...

vibornoff commented 9 years ago

There is one major issue. Library must be available only from https-origin. Though it would be cool to submit this to CDNJS. I'll investigate deeply this issue in near future. Thanks a lot for your feedback.

mozfreddyb commented 7 years ago

Your secure origin check seems to check the location of the document but not the location of the script, so I wonder if that makes your argument moot. On a side note, if you want to ensure that the file loads from a CDN without manipulation, you could use Subresource Integrity