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

docs: replace integrity signature algorithm with SHA-512 in README #499

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

isudzumi
Copy link

After #432, looks the hash algorithm for integrity check have switched to SHA-512.
I want to reflect it to README.

@aduh95
Copy link
Contributor

aduh95 commented Jun 25, 2024

Not sure I agree with this change, SHA-224 is still a valid algorithm, and before #432 Corepack were using SHA-256 anyway. Corepack now defaults to SHA-512 because that's what npm signs, and since we have to calculate the SHA-512 to verify the signature, it's also what we put in the package.json – but if the user is providing the SHA, SHA-224 is still a perfectly valid choice.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants