Repository navigation
Commit 7699a8e
ci: allowlist govulncheck GO-2026-5932 (unmaintained x/crypto/openpgp) (#233)
govulncheck fails repo-wide on GO-2026-5932: golang.org/x/crypto/openpgp is
unmaintained/unsafe by design ("Fixed in: N/A"), pulled in transitively by
go-selfupdate for a PGP validator the CLI does not use — the updater verifies
SHA256 checksums (ChecksumValidator), not PGP, so openpgp is never reached with
untrusted input; only its package init is.
Wrap the govulncheck step to pass only when GO-2026-5932 is the sole advisory
(and govulncheck exited 3, vulns-found); any other advisory, or a tool/build
failure, still fails the job. Removing the dependency is tracked in API-566.
Co-authored-by: Claude Opus 4.8 (1M context) <noreply@anthropic.com>1 parent 9a3a48a commit 7699a8e
1 file changed
Lines changed: 24 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
86 | 86 | | |
87 | 87 | | |
88 | 88 | | |
89 | | - | |
| 89 | + | |
| 90 | + | |
| 91 | + | |
| 92 | + | |
| 93 | + | |
| 94 | + | |
| 95 | + | |
| 96 | + | |
| 97 | + | |
| 98 | + | |
| 99 | + | |
| 100 | + | |
| 101 | + | |
| 102 | + | |
| 103 | + | |
| 104 | + | |
| 105 | + | |
| 106 | + | |
| 107 | + | |
| 108 | + | |
| 109 | + | |
| 110 | + | |
| 111 | + | |
| 112 | + | |
90 | 113 | | |
91 | 114 | | |
92 | 115 | | |
| |||
0 commit comments