Repository navigation
fix(deps): remove deprecated OpenPGP from the CI dependency path - #4267
Conversation
|
Warning Review limit reachedEnable usage-based reviews in Billing to review now. Otherwise, wait until the next included review is available.
Reviews can continue after your included limit without a manual trigger. An admin must approve usage-based billing. Next included review available in 18 minutes. View limit details
|
Silo Kody — review completeReview finished. Check the inline comments for findings and verify each suggestion against the code and tests. Reviewing changes in Silo
Review settingsReview OptionsThe following review options are enabled or disabled:
|
Codex Review Summary: ✅ CompletedThis comment shows the latest Codex review activity on this pull request.
ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings. |
Problem
CI fails its reachable-vulnerability scan because Sigstore’s test CA imports the deprecated OpenPGP implementation through Rekor 1.5.2. Upgrade Rekor to 1.5.4, which uses the maintained ProtonMail implementation and supports the existing Go version.
Related issue: N/A
Validation tasks: none (dependency maintenance; no acceptance behavior changes)
Other clients: N/A (no client-visible change)
Approach
Update Rekor and the dependencies its release requires. Use Redis 9.23.0 because 9.22.0 fails the existing stalled-connection deadline test. Move explicit
0sSentinel timeouts into the existing rejection cases: the updated parser treats them as disabled timeouts, which Silo already rejects. Existing signature verification and Redis tests exercise both paths.Validation
TestRunStatsWithRealFFmpegandTestCopyRemuxSubtitleRenditionRealFFmpeg; both failures reproduce with the original module files on this machine. The first reports a frame at 11.003s outside its window; the second misses the middle subtitle cue after seeking. These FFmpeg failures are outside this dependency fix.promtoolbinary.Evidence
Verified commit:
95d5da01caa0c87e58029dc9a6e550808f340707.Before: main CI run fails
Scan reachable Go vulnerabilitieswithGO-2026-5932throughpluginsigtest → sigstore-go/pkg/testing/ca → rekor/pkg/pki/pgp.After:
GOTOOLCHAIN=go1.26.11 govulncheck -scan=symbol ./...exits 0 and reports zero reachable vulnerabilities and zero vulnerabilities in imported packages. The advisory remains at module level because Silo still uses other packages fromgolang.org/x/crypto.go mod why golang.org/x/crypto/openpgpconfirms the package is no longer needed.Verification output:
Risks
Rekor also raises shared AWS, Redis, Prometheus, protobuf, and OpenAPI dependency versions. Live deployment behavior was not exercised. The existing stalled-connection test passes with Redis 9.23.0.
Checklist
AI Disclosure
Note
Remove deprecated OpenPGP from CI dependency path via dependency updates
TestParseRedisURLSentinelandTestParseRedisURLRejectsInvalidin redis_url_test.go so zero read and dial timeouts with duration units are now expected to be rejected byParseRedisURLinstead of parsing with defaultsParseRedisURLnow rejects zero read and dial timeouts; the test covering default-timeout parsing for zero values was removedMacroscope summarized 95d5da0.