Update Go crypto dependencies and align the Go toolchain - #20
Open
mswilkison wants to merge 1 commit into
Open
mswilkison wants to merge 1 commit into
mswilkison wants to merge 1 commit into
Conversation
Select x/crypto v0.52.0 and its required x/sys v0.45.0. Align the minimum Go version to 1.25.7 and development and CI toolchain to 1.26.8 while preserving runtime source and existing compatibility vectors.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Depends on #19 and is stacked on
codex/deps-protobuf-runtime.Upgrade
golang.org/x/cryptoto v0.52.0 and its requiredgolang.org/x/systo v0.45.0. These versions cover the 25 current x/crypto Dependabot alerts and the single x/sys alert, including the published June 2026 SSH fixes. The inherited protobuf update remains v1.33.0.Raise the Go minimum to 1.25.7 and select Go 1.26.8 in the module and both CI workflows. This aligns with keep-core #4312; downstream adoption requires the Go upgrade. Modern module pruning makes existing indirect dependencies explicit without upgrading their versions. The selected x/sys version supersedes the older upgrade in #11/#17 and must be retained when those branches are integrated.
Validation on the final stacked commit with Go 1.26.8:
The library imports RIPEMD-160 from x/crypto. This removes advisory-affected dependency versions without claiming that the SSH vulnerabilities were reachable through tss-lib.
Full test CI and formatting CI passed at the current head
a1dc49cecbe436d45e03cf4c6ebe2e5f042691e5. These workflows were dispatched explicitly because this stacked PR does not target master.