Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

gh-84461: Tool/wasm/python.html: Add subresource integrity hashes #93953

Merged
merged 1 commit into from
Jul 1, 2022

Conversation

encukou
Copy link
Member

@encukou encukou commented Jun 17, 2022

Subresource integrity hashes are best practice when using pinned versions of packages, since we don't need to trust the CDN.

(I don't mean to imply anything about unpkg in particular; in fact it currently seems quite trustworthy.)

Subresource integrity hashes are is best practice when using
pinned versions of packages, since we don't need to trust the CDN.

(I don't mean to imply anything about unpkg in particular;
in fact it currently seems quite trustworthy.)
Copy link
Member

@tiran tiran left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

I was not aware that modern browsers have this feature. https://developer.mozilla.org/en-US/docs/Web/Security/Subresource_Integrity

@tiran tiran merged commit 1df9449 into python:main Jul 1, 2022
@miss-islington
Copy link
Contributor

Thanks @encukou for the PR, and @tiran for merging it 🌮🎉.. I'm working now to backport this PR to: 3.11.
🐍🍒⛏🤖

miss-islington pushed a commit to miss-islington/cpython that referenced this pull request Jul 1, 2022
@bedevere-bot bedevere-bot removed the needs backport to 3.11 only security fixes label Jul 1, 2022
@bedevere-bot
Copy link

GH-94481 is a backport of this pull request to the 3.11 branch.

miss-islington added a commit that referenced this pull request Jul 1, 2022
@encukou encukou deleted the resource-integrity branch July 1, 2022 12:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants