Skip to content

Fix node bootstrap challenge response hashing#18043

Merged
k8s-ci-robot merged 1 commit intokubernetes:masterfrom
rifelpet:challenge-hash
Mar 9, 2026
Merged

Fix node bootstrap challenge response hashing#18043
k8s-ci-robot merged 1 commit intokubernetes:masterfrom
rifelpet:challenge-hash

Conversation

@rifelpet
Copy link
Copy Markdown
Member

@rifelpet rifelpet commented Mar 8, 2026

The previous hasher.Sum(nonce) doesn't feed data into the hasher so the resulting hasher.Sum(nil) was always identical. This replaces those hasher.Sum() calls with hasher.Write().

The previous `hasher.Sum(nonce)` doesn't feed data into the hasher so the resulting `hasher.Sum(nil)` was always identical.
This replaces those `hasher.Sum()` calls with `hasher.Write()`
@k8s-ci-robot k8s-ci-robot added the size/XS Denotes a PR that changes 0-9 lines, ignoring generated files. label Mar 8, 2026
@k8s-ci-robot k8s-ci-robot added the cncf-cla: yes Indicates the PR's author has signed the CNCF CLA. label Mar 8, 2026
Copy link
Copy Markdown
Member

@hakman hakman left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice catch, should we cherry-pick down to 1.32?

@k8s-ci-robot k8s-ci-robot added the lgtm "Looks good to me", indicates that a PR is ready to be merged. label Mar 9, 2026
@k8s-ci-robot
Copy link
Copy Markdown
Contributor

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: hakman

The full list of commands accepted by this bot can be found here.

The pull request process is described here

Details Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@k8s-ci-robot k8s-ci-robot added the approved Indicates a PR has been approved by an approver from all required OWNERS files. label Mar 9, 2026
@k8s-ci-robot k8s-ci-robot merged commit 6b3ed3b into kubernetes:master Mar 9, 2026
26 checks passed
@k8s-ci-robot k8s-ci-robot added this to the v1.36 milestone Mar 9, 2026
@rifelpet
Copy link
Copy Markdown
Member Author

rifelpet commented Mar 9, 2026

Nice catch, should we cherry-pick down to 1.32?

done ✅

k8s-ci-robot added a commit that referenced this pull request Mar 9, 2026
…43-origin-release-1.32

Automated cherry pick of #18043: Fix node bootstrap challenge response hashing
k8s-ci-robot added a commit that referenced this pull request Mar 9, 2026
…43-origin-release-1.34

Automated cherry pick of #18043: Fix node bootstrap challenge response hashing
k8s-ci-robot added a commit that referenced this pull request Mar 9, 2026
…43-origin-release-1.33

Automated cherry pick of #18043: Fix node bootstrap challenge response hashing
k8s-ci-robot added a commit that referenced this pull request Mar 9, 2026
…43-origin-release-1.35

Automated cherry pick of #18043: Fix node bootstrap challenge response hashing
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

approved Indicates a PR has been approved by an approver from all required OWNERS files. cncf-cla: yes Indicates the PR's author has signed the CNCF CLA. lgtm "Looks good to me", indicates that a PR is ready to be merged. size/XS Denotes a PR that changes 0-9 lines, ignoring generated files.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants