Skip to content

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