-
Notifications
You must be signed in to change notification settings - Fork 1.5k
Closed
Labels
backlogissue has been triaged but has not been earmarked for any upcoming releaseissue has been triaged but has not been earmarked for any upcoming releasetype: featureNew feature or requestNew feature or request
Description
Given the security implications of pyscript, it makes sense to recommend SRI when hotlinking pyscript.js:
<script
defer
src="https://pyscript.net/alpha/pyscript.js"
integrity="sha384-IwRwL1M346tP5zp9BKvjinCQC8x78+d+KCeRonZ6gO4XgSBop4cJegZ+SV++AhMR"
crossorigin="anonymous"
></script>
Integrity check was calculated successfully as follows:
$ curl https://pyscript.net/alpha/pyscript.js | openssl dgst -sha384 -binary | openssl base64 -A
IwRwL1M346tP5zp9BKvjinCQC8x78+d+KCeRonZ6gO4XgSBop4cJegZ+SV++AhMR
Of course this will create issues when updating pyscript.js, so these links really should be version-pinned (I assume that's what /alpha/ means in this context).
ckavidas, josephrocca and metaperl
Metadata
Metadata
Assignees
Labels
backlogissue has been triaged but has not been earmarked for any upcoming releaseissue has been triaged but has not been earmarked for any upcoming releasetype: featureNew feature or requestNew feature or request