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.)
tiran
tiran approved these changes Jul 1, 2022
Copy link
Member

@tiran tiran left a comment

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
12 of 14 checks passed
@miss-islington
Copy link
Contributor

@miss-islington miss-islington commented Jul 1, 2022

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 issue Jul 1, 2022
…es (pythonGH-93953)

(cherry picked from commit 1df9449)

Co-authored-by: Petr Viktorin <encukou@gmail.com>
@bedevere-bot
Copy link

@bedevere-bot bedevere-bot commented Jul 1, 2022

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

miss-islington added a commit that referenced this issue Jul 1, 2022
…-93953)

(cherry picked from commit 1df9449)

Co-authored-by: Petr Viktorin <encukou@gmail.com>
@encukou encukou deleted the resource-integrity branch Jul 1, 2022
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.

None yet

4 participants