Skip to content

storage: change Artifact checksum to SHA256#487

Merged
stefanprodan merged 1 commit intomainfrom
sha256-backport
Nov 12, 2021
Merged

storage: change Artifact checksum to SHA256#487
stefanprodan merged 1 commit intomainfrom
sha256-backport

Conversation

@relu
Copy link
Copy Markdown
Member

@relu relu commented Nov 11, 2021

This changes the format of the Artifact checksum from SHA1 to SHA256 to
mitigate chosen-prefix and length extension attacks, and ensures it can
be used to secure content against malicious modifications.

Source consumers (including our own {kustomize,helm}-controllers)
should ensure the SHA256 of a downloaded artifact matches the
advertised checksum before making use of it.

Cherry-picked from reconcilers-dev.

Fixes #467.

@relu relu requested a review from hiddeco November 11, 2021 21:47
This changes the format of the Artifact checksum from SHA1 to SHA256 to
mitigate chosen-prefix and length extension attacks, and ensures it can
be used to secure content against malicious modifications.

Source consumers (including our own {kustomize,helm}-controllers)
should ensure the SHA256 of a downloaded artifact matches the
advertised checksum before making use of it.

Signed-off-by: Hidde Beydals <hello@hidde.co>
@stefanprodan stefanprodan merged commit e810969 into main Nov 12, 2021
@stefanprodan stefanprodan deleted the sha256-backport branch November 12, 2021 07:12
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.

Deprecated SHA-1 is used for checksums

3 participants