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
govulncheck fails on dev-v3: x/crypto/openpgp advisory GO-2026-5932 has no fixed release #32361
govulncheck fails on the dev-v3 branch, reporting a single vulnerability:
Vulnerability #1: GO-2026-5932
The golang.org/x/crypto/openpgp package is unmaintained, unsafe by design,
and generally unsuitable for production use.
More info: https://pkg.go.dev/vuln/GO-2026-5932
Module: golang.org/x/crypto
Found in: golang.org/x/[email protected]
Fixed in: N/A
The reported call traces all originate in pkg/provenance/sign.go (provenance signing/verification via x/crypto/openpgp, clearsign, armor, packet, s2k, elgamal), e.g.:
golang.org/x/crypto is a direct dependency, currently at v0.54.0, which is already the latest published version (released 2026-07-08).
The advisory is Fixed in: N/A — x/crypto/openpgp is frozen/deprecated with no patched release coming.
So Dependabot has no higher version to offer, and this check will stay red on every Go PR to dev-v3 until the code moves off the package (or the advisory is suppressed).
Impact
Any Dependabot / Go dependency PR targeting dev-v3 shows a failing govulncheck check (mergeState=UNSTABLE), even though all required checks pass. It's noise that obscures genuine govulncheck regressions and blocks a clean status.
Possible resolutions
Migrate pkg/provenance off x/crypto/openpgp to a maintained fork such as github.com/ProtonMail/go-crypto/openpgp (the community-standard drop-in replacement).
Suppress the advisory for dev-v3 if a migration isn't desired within the v3 support window — e.g. scope the govulncheck run or document the accepted risk.
Make govulncheck non-blocking on dev-v3 (it is already non-required for merge), with a note explaining the known unfixable advisory.
Notes
main may be affected the same way if it still imports x/crypto/openpgp.
This surfaced while merging routine size/XS Dependabot PRs to dev-v3; the required checks (build, golangci-lint, Analyze (go), CodeQL, DCO) all pass — only govulncheck is red.
I'd like to take this one, going with option 1 (migrate off x/crypto/openpgp).
Since main already migrated pkg/provenance to github.com/ProtonMail/go-crypto in 7c9176a, this is essentially a backport of an already-accepted change rather than new surface pkg/provenance is the only consumer of x/crypto/openpgp left on dev-v3 (the plugin signing path doesn't exist there). The only API delta is openpgp.CheckDetachedSignature gaining an io.Reader/*packet.Config signature.
One wrinkle I hit while validating: go mod tidy resolves the fork's indirect dependency github.com/cloudflare/circl to v1.6.2, which govulncheck flags as GO-2026-4550 (fixed in v1.6.3, which is what main pins). So the PR pins circl at v1.6.3 as well otherwise we'd just trade one red check for another.
With both in place, govulncheck ./... on dev-v3 reports 0 vulnerabilities. PR incoming.
Resolved by #32463, which migrated pkg/provenance from x/crypto/openpgp to github.com/ProtonMail/go-crypto (commit bd392c6a6, merged 2026-07-24) — the approach @karan-vk proposed above.
dev-v3 no longer imports x/crypto/openpgp anywhere, and GO-2026-5932 no longer appears in govulncheck output for the branch. The PR didn't use a closing keyword, so this stayed open.
The remaining govulncheck failure on dev-v3 is a separate advisory, tracked in #32655.
Activity
karan-vk commentedon Jul 24, 2026
I'd like to take this one, going with option 1 (migrate off x/crypto/openpgp).
Since main already migrated pkg/provenance to github.com/ProtonMail/go-crypto in 7c9176a, this is essentially a backport of an already-accepted change rather than new surface pkg/provenance is the only consumer of x/crypto/openpgp left on dev-v3 (the plugin signing path doesn't exist there). The only API delta is openpgp.CheckDetachedSignature gaining an io.Reader/*packet.Config signature.
One wrinkle I hit while validating: go mod tidy resolves the fork's indirect dependency github.com/cloudflare/circl to v1.6.2, which govulncheck flags as GO-2026-4550 (fixed in v1.6.3, which is what main pins). So the PR pins circl at v1.6.3 as well otherwise we'd just trade one red check for another.
With both in place, govulncheck ./... on dev-v3 reports 0 vulnerabilities. PR incoming.
fix(provenance): migrate to ProtonMail/go-crypto to resolve GO-2026-5932
fix(provenance): migrate to ProtonMail/go-crypto to resolve GO-2026-5932
TerryHowe commentedon Sep 17, 2026
Resolved by #32463, which migrated
pkg/provenancefromx/crypto/openpgptogithub.com/ProtonMail/go-crypto(commitbd392c6a6, merged 2026-07-24) — the approach @karan-vk proposed above.dev-v3no longer importsx/crypto/openpgpanywhere, andGO-2026-5932no longer appears in govulncheck output for the branch. The PR didn't use a closing keyword, so this stayed open.The remaining govulncheck failure on
dev-v3is a separate advisory, tracked in #32655.[PRODENG-3758] Bump helm.sh/helm/v3 to v3.21.4 to clear GO-2026-5932
[PRODENG-3758] Fix pr.yml zero-job failures: drop paths-ignore (#667)