You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit 7ea7796
Browse filesBrowse the repository at this point in the historyBrowse files
fix: clear govulncheck findings and drop x/crypto/openpgp (#546)
* fix: clear govulncheck findings and drop x/crypto/openpgp
Replace rhysd/go-github-selfupdate with a GitHub-only implementation
built on google/go-github/v93 and minio/selfupdate. The old library
pulled google/go-github/v30, whose github package imports the
unmaintained x/crypto/openpgp package (GO-2026-5932). Since x/crypto
removed openpgp in v0.59.0, the dependency had to be replaced rather
than upgraded.
The new implementation keeps per-asset .sha256 validation, matches
kool's exact kool-<os>-<arch> asset names (fixing arm6/arm7 asset
selection) and avoids pulling the Gitea/GitLab SDKs. It also removes
x/crypto, oauth2 and the archive dependencies from the module graph,
and the release binary only grows by about 0.7 MB.
Align the Go toolchain with 1.26.11 so the stdlib advisories fixed in
1.26.9-1.26.11 are cleared, address the stricter go vet checks that
come with the go 1.26 language version, and bump golangci-lint to
v2.15.0 for Go 1.26 support.
After this change govulncheck reports no vulnerabilities.
* fix: upgrade zlib in the runtime image
Alpine 3.24 in docker:29-cli still ships zlib 1.3.2-r1, which grype
flags as CVE-2026-4738 (critical). The Alpine v3.24 repository already
provides 1.4-r0, so upgrade just that package when building the runtime
image instead of waiting for a base image rebuild.
Verified with grype v0.97.1: the image no longer reports the zlib
finding. The remaining x/net critical comes from the docker-buildx
plugin bundled in docker:29-cli, not from kool.
* ci: retrigger scan after docker:29-cli rebuild
* fix: harden updater version and platform validation
---------
Co-authored-by: Daniel Polito <danielbpolito@gmail.com>
0 commit comments