Skip to content

chore(deps): bump golang.org/x/crypto from 0.46.0 to 0.52.0#1276

Open
dependabot[bot] wants to merge 1 commit into
masterfrom
dependabot/go_modules/golang.org/x/crypto-0.52.0
Open

chore(deps): bump golang.org/x/crypto from 0.46.0 to 0.52.0#1276
dependabot[bot] wants to merge 1 commit into
masterfrom
dependabot/go_modules/golang.org/x/crypto-0.52.0

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github Jul 8, 2026

Copy link
Copy Markdown
Contributor

Bumps golang.org/x/crypto from 0.46.0 to 0.52.0.

Commits
  • a1c0d99 go.mod: update golang.org/x dependencies
  • 3c7c869 ssh: fix deadlock on unexpected channel responses
  • 533fb3f ssh: fix source-address critical option bypass
  • abbc44d ssh: fix incorrect operator order
  • e052873 ssh: fix infinite loop on large channel writes due to integer overflow
  • b61cf85 ssh: enforce user presence verification for security keys
  • 9c2cd33 ssh: enforce strict limits on DSA key parameters
  • 8907318 ssh: reject RSA keys with excessively large moduli
  • ffd87b4 ssh: fix panic when authority callbacks are nil
  • 4e7a738 ssh: fix deadlock on unexpected global responses
  • Additional commits viewable in compare view

Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
    You can disable automated security fix PRs for this repo from the Security Alerts page.

Summary by CodeRabbit

  • Chores
    • Updated several Go-related indirect dependencies to newer versions.
    • Bumped the project’s Go version requirement to 1.25.0.
    • Removed the pinned toolchain version from the project configuration.

Bumps [golang.org/x/crypto](https://github.com/golang/crypto) from 0.46.0 to 0.52.0.
- [Commits](golang/crypto@v0.46.0...v0.52.0)

---
updated-dependencies:
- dependency-name: golang.org/x/crypto
  dependency-version: 0.52.0
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot Bot added dependencies Pull requests that update a dependency file go Pull requests that update Go code labels Jul 8, 2026
@openshift-ci openshift-ci Bot requested review from metlos and xcoulon July 8, 2026 08:00
@openshift-ci

openshift-ci Bot commented Jul 8, 2026

Copy link
Copy Markdown

[APPROVALNOTIFIER] This PR is NOT APPROVED

This pull-request has been approved by: dependabot[bot]
Once this PR has been reviewed and has the lgtm label, please assign matousjobanek for approval. For more information see the Code Review Process.

The full list of commands accepted by this bot can be found 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

@openshift-ci

openshift-ci Bot commented Jul 8, 2026

Copy link
Copy Markdown

Hi @dependabot[bot]. Thanks for your PR.

I'm waiting for a codeready-toolchain member to verify that this patch is reasonable to test. If it is, they should reply with /ok-to-test on its own line. Until that is done, I will not automatically test new commits in this PR, but the usual testing commands by org members will still work.

Regular contributors should join the org to skip this step.

Once the patch is verified, the new status will be reflected by the ok-to-test label.

I understand the commands that are listed here.

Details

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository.

@sonarqubecloud

sonarqubecloud Bot commented Jul 8, 2026

Copy link
Copy Markdown

@coderabbitai

coderabbitai Bot commented Jul 8, 2026

Copy link
Copy Markdown

Walkthrough

This PR updates go.mod by bumping indirect golang.org/x/* dependency versions and changing the Go language version directive from 1.24.4 to 1.25.0, while removing the toolchain go1.24.13 pin.

Changes

go.mod Dependency Update

Layer / File(s) Summary
Dependency and toolchain version updates
go.mod
Bumps indirect golang.org/x/* dependency versions and updates the go directive from 1.24.4 to 1.25.0, removing the toolchain go1.24.13 line.

Estimated code review effort: 1 (Trivial) | ~3 minutes

Suggested labels: security

🚥 Pre-merge checks | ✅ 5
✅ Passed checks (5 passed)
Check name Status Explanation
Description Check ✅ Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Title check ✅ Passed The title accurately reflects the main dependency bump, though the changeset also updates other golang.org/x modules and the Go version.
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.
Linked Issues check ✅ Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check ✅ Passed Check skipped because no linked issues were found for this pull request.
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch dependabot/go_modules/golang.org/x/crypto-0.52.0

Comment @coderabbitai help to get the list of available commands.

@coderabbitai coderabbitai Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Actionable comments posted: 1

🤖 Prompt for all review comments with AI agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.

Inline comments:
In `@go.mod`:
- Line 156: The Go version pin is inconsistent across the repo: go.mod is
already on 1.25.0, but Dockerfile.tools and .govulncheck.yaml still reference
1.24.13. Update the toolchain version used in Dockerfile.tools and the version
referenced by .govulncheck.yaml to match the go.mod pin, keeping the Go release
aligned everywhere these settings are defined.
🪄 Autofix (Beta)

Fix all unresolved CodeRabbit comments on this PR:

  • Push a commit to this branch (recommended)
  • Create a new PR with the fixes

ℹ️ Review info
⚙️ Run configuration

Configuration used: Repository YAML (base), Organization UI (inherited)

Review profile: CHILL

Plan: Enterprise

Run ID: 6855815c-3787-42a6-9dd7-5722095872f8

📥 Commits

Reviewing files that changed from the base of the PR and between 1f40f9c and 44a5033.

⛔ Files ignored due to path filters (1)
  • go.sum is excluded by !**/*.sum
📒 Files selected for processing (1)
  • go.mod
🔗 Linked repositories identified

CodeRabbit considers these linked repositories for cross-repo context during reviews:

  • codeready-toolchain/registration-service (manual)
  • codeready-toolchain/member-operator (manual)
  • codeready-toolchain/api (manual)
  • codeready-toolchain/toolchain-common (manual)
  • codeready-toolchain/host-operator (manual)
  • codeready-toolchain/toolchain-e2e (manual)
📜 Review details
⏰ Context from checks skipped due to timeout. (2)
  • GitHub Check: test
  • GitHub Check: Build & push operator bundles & dashboard image for e2e tests
⚠️ CI failures not shown inline (2)

GitHub Actions: ci-build / 0_GolangCI Lint.txt: chore(deps): bump golang.org/x/crypto from 0.46.0 to 0.52.0

Conclusion: failure

View job details

##[group]run golangci-lint
 Running [/home/runner/golangci-lint-2.1.6-linux-amd64/golangci-lint config path --config=./.golangci.yml] in [/home/runner/work/host-operator/host-operator] ...
 Running [/home/runner/golangci-lint-2.1.6-linux-amd64/golangci-lint run  --config=./.golangci.yml --verbose] in [/home/runner/work/host-operator/host-operator] ...
 level=info msg="golangci-lint has version 2.1.6 built with go1.24.2 from eabc2638 on "
 level=info msg="[config_reader] Used config file .golangci.yml"
 level=info msg="[config_reader] Module name \"github.com/codeready-toolchain/host-operator\""
 Error: can't load config: the Go language version (go1.24) used to build golangci-lint is lower than the targeted Go version (1.25.0)
 Failed executing command with error: can't load config: the Go language version (go1.24) used to build golangci-lint is lower than the targeted Go version (1.25.0)
 ##[error]golangci-lint exit with code 3

GitHub Actions: ci-build / GolangCI Lint: chore(deps): bump golang.org/x/crypto from 0.46.0 to 0.52.0

Conclusion: failure

View job details

##[group]run golangci-lint
 Running [/home/runner/golangci-lint-2.1.6-linux-amd64/golangci-lint config path --config=./.golangci.yml] in [/home/runner/work/host-operator/host-operator] ...
 Running [/home/runner/golangci-lint-2.1.6-linux-amd64/golangci-lint run  --config=./.golangci.yml --verbose] in [/home/runner/work/host-operator/host-operator] ...
 level=info msg="golangci-lint has version 2.1.6 built with go1.24.2 from eabc2638 on "
 level=info msg="[config_reader] Used config file .golangci.yml"
 level=info msg="[config_reader] Module name \"github.com/codeready-toolchain/host-operator\""
 Error: can't load config: the Go language version (go1.24) used to build golangci-lint is lower than the targeted Go version (1.25.0)
 Failed executing command with error: can't load config: the Go language version (go1.24) used to build golangci-lint is lower than the targeted Go version (1.25.0)
 ##[error]golangci-lint exit with code 3
🧰 Additional context used
📓 Path-based instructions (1)
**

⚙️ CodeRabbit configuration file

-Focus on major issues impacting performance, readability, maintainability and security. Avoid nitpicks and avoid verbosity.

Files:

  • go.mod
🔀 Multi-repo context codeready-toolchain/registration-service, codeready-toolchain/member-operator, codeready-toolchain/api, codeready-toolchain/toolchain-common, codeready-toolchain/toolchain-e2e

Linked repositories findings

[::codeready-toolchain/registration-service::] go.mod:3,5,101 still pins go 1.24.4, toolchain go1.24.13, and golang.org/x/crypto v0.45.0 // indirect.
[::codeready-toolchain/member-operator::] go.mod:3,5,101 still pins go 1.24.4, toolchain go1.24.13, and golang.org/x/crypto v0.45.0 // indirect.
[::codeready-toolchain/api::] go.mod:3,5,101 still pins go 1.24.4, toolchain go1.24.13, and golang.org/x/crypto v0.45.0 // indirect.
[::codeready-toolchain/toolchain-common::] go.mod:3,5,101 still pins go 1.24.4, toolchain go1.24.13, and golang.org/x/crypto v0.45.0 // indirect.
[::codeready-toolchain/toolchain-e2e::] go.mod:3,5,101 still pins go 1.24.4, toolchain go1.24.13, and golang.org/x/crypto v0.45.0 // indirect.

No direct consumers of the bumped golang.org/x/crypto version were found in the linked repos; the main cross-repo context is that the other modules are still on the older Go/toolchain and crypto versions.

🔇 Additional comments (1)
go.mod (1)

124-134: LGTM!

Comment thread go.mod
go 1.24.4

toolchain go1.24.13
go 1.25.0

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

🩺 Stability & Availability | 🟡 Minor | ⚡ Quick win

🧩 Analysis chain

🏁 Script executed:

#!/bin/bash
set -euo pipefail

printf '\n## go.mod\n'
grep -nE '^(go |toolchain |require |replace )' go.mod || true

printf '\n## openshift-ci/Dockerfile.tools\n'
grep -nE 'GOLANG_VERSION|go1\.' openshift-ci/Dockerfile.tools || true

printf '\n## .govulncheck.yaml\n'
grep -nE 'go1\.' .govulncheck.yaml || true

printf '\n## other go/toolchain references in repo\n'
rg -n --hidden --glob '!**/.git/**' 'go1\.24\.13|go 1\.25\.0|GOLANG_VERSION|govulncheck' .

Repository: codeready-toolchain/host-operator

Length of output: 2402


🏁 Script executed:

#!/bin/bash
set -euo pipefail

printf '\n## go.mod (top and toolchain-related lines)\n'
sed -n '1,30p;145,165p' go.mod

printf '\n## .govulncheck.yaml\n'
cat -n .govulncheck.yaml

printf '\n## any toolchain directive or go version references\n'
rg -n --hidden --glob '!**/.git/**' '^[[:space:]]*toolchain |^[[:space:]]*go [0-9]+\.[0-9]+|go1\.24\.13|go1\.25\.0|GOLANG_VERSION' go.mod .govulncheck.yaml openshift-ci/Dockerfile.tools .github/workflows/govulncheck.yml

Repository: codeready-toolchain/host-operator

Length of output: 3748


Sync the Go toolchain pins
go.mod is at Go 1.25.0, but openshift-ci/Dockerfile.tools still installs go1.24.13 and .govulncheck.yaml still refers to 1.24.13. Update those together so CI and vuln scans stay on the same release.

🤖 Prompt for AI Agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.

In `@go.mod` at line 156, The Go version pin is inconsistent across the repo:
go.mod is already on 1.25.0, but Dockerfile.tools and .govulncheck.yaml still
reference 1.24.13. Update the toolchain version used in Dockerfile.tools and the
version referenced by .govulncheck.yaml to match the go.mod pin, keeping the Go
release aligned everywhere these settings are defined.

Source: Path instructions

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file go Pull requests that update Go code needs-ok-to-test security Security vulnerability

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants