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

[release/v1.7] use sha256 for checksumming when k8s version >= 1.31.6 #3796

Open
wants to merge 1 commit into
base: release/v1.7
Choose a base branch
from

Conversation

thatmidwesterncoder
Copy link
Contributor

tl:dr; we use md5 for checksumming part of plans, so in order to minimize unnecessary cluster upgrades we decided to just gate the getStringChecksum(string) function to require a kubernetes version and then use a better hashing algorithm over time. This way as time goes on the "insecure" hashing algorithm will not be used.

@thatmidwesterncoder thatmidwesterncoder requested a review from a team as a code owner February 21, 2025 18:43
@jiaqiluo jiaqiluo requested a review from a team February 21, 2025 19:28
@kinarashah
Copy link
Member

@thatmidwesterncoder Could you also forward port this to release/v1.8 for Rancher v2.11?

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.

4 participants