Bump golang.org/x/crypto and go-chi/chi to close Dependabot alerts - #24
Merged
Merged
Conversation
x/crypto v0.46.0 -> v0.54.0 resolves 13 open alerts (7 critical, 2 high, 4 medium), all in the SCRAM auth path pulled in transitively via pgconn; none of it is imported directly. go-chi/chi v5.2.3 -> v5.3.1 resolves an open-redirect alert in RedirectSlashes, a middleware this app doesn't use. x/crypto v0.54.0 requires go 1.25, so `go mod tidy` also bumped the go.mod go directive from 1.24.0 to 1.25.0 -- already satisfied by both CI (actions/setup-go with go-version: 1.25.x) and the Dockerfile (golang:1.25-alpine), so no other changes needed. Verified with the full docker-based integration suite (./docker_test.sh) against a real Postgres instance, exercising the actual pgconn/x-crypto connection path. The remaining two alerts (pgproto3/v2, pgx/v4) have no fix in the pgx v4 line -- only pgx v5.9.2+ -- and are left for a separate pgx v4->v5 migration. Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
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.
Summary
golang.org/x/cryptov0.46.0 → v0.54.0, resolving 13 open Dependabot alerts (7 critical, 2 high, 4 medium). All in the SCRAM auth path pulled in transitively viapgconn; nothing in this repo imports it directly.go-chi/chi/v5v5.2.3 → v5.3.1, resolving an open-redirect alert inRedirectSlashes— a middleware this app doesn't actually use.x/cryptov0.54.0 requires Go 1.25, sogo mod tidyalso bumped thego.modgodirective from 1.24.0 → 1.25.0. Already satisfied by CI (actions/setup-gowithgo-version: 1.25.x) and theDockerfile(golang:1.25-alpine), so no other changes were needed.Remaining 2 alerts (
pgproto3/v2,pgx/v4) have no fix available in thepgxv4 line — onlypgxv5.9.2+ — and are left for a separatepgxv4→v5 migration.Test plan
go build ./...go vet ./...go test ./..../docker_test.sh— full integration suite against a real Postgres instance, exercising the actualpgconn/x/cryptoconnection path🤖 Generated with Claude Code