Doesn't seem very secure to include external JS on an encrypted page.
Why not include those things inline?
And why does it need jQuery for a simple 1-input form field that decrypts a string?!
Doesn't seem very secure to include external JS on an encrypted page.
Why not include those things inline?
And why does it need jQuery for a simple 1-input form field that decrypts a string?!
https://developer.mozilla.org/en-US/docs/Web/Security/Subres...
It looks like the developer for this page copied the CDNJS links at some point but didn't do so consistently and later commented out the SRI portion of the jQuery tag:
<!--integrity="sha256-hwg4gsxgFZhOsEEamdOYGBf13FyQuiTwlAQgxVSNgt4="-->I'll probably look into adding Subressource Integrity checks for the other two as well.
Priceless.
But I understand your point, plus it would be nice to have a page working completely offline. Will add the option to embed the needed library in the single file.
It definitely does not need jQuery :) The page was a POC, since it seems it might be useful to some I'll clean it up. Thanks for the feedback !
[Edit: looks like this may already be on the way to addressing your issue https://github.com/robinmoisson/staticrypt/issues/1]
Why do people like to complain so much?
Disregard my comment.