Skip to content

ci(rpm): accept rpm >= 4.19 'OpenPGP V4' signature lines in the signing check - #905

Merged
fcostaoliveira merged 1 commit into
masterfrom
ci/rpm-verify-openpgp-v4
Nov 11, 2026
Merged

fcostaoliveira merged 1 commit into
masterfrom
ci/rpm-verify-openpgp-v4

Conversation

@fcostaoliveira

@fcostaoliveira fcostaoliveira commented Nov 11, 2026 •

Copy link
Copy Markdown
Collaborator

The 2.6.0 release's YUM publish failed at "Verify RPM signatures": all 24 RPMs were reported "unsigned (no V3/V4 signature header found)" although rpm -Kv printed Header OpenPGP V4 RSA/SHA512 signature, key fingerprint: 54318fa4…: OK, Header SHA256 digest: OK and Payload SHA256 digest: OK for each (run 43029161626).

The runner image is now Ubuntu 26.04, whose rpm prints Header OpenPGP V4 … instead of Header V4 …, so the Header V[34] (RSA|DSA)/.*: (OK|NOKEY) classification no longer matches. The packages are signed; only the check is stale.

Fix: allow an optional OpenPGP prefix in both greps. Checked against both formats (old line and new line match; the digest lines still do not). BAD/NOTTRUSTED handling is unchanged.

Needed on 2.6 as well, since the release event runs the workflow from the tag commit (2.6.1).

🤖 Generated with Claude Code


Note

Low Risk
CI-only regex tweak in release verification; no runtime or signing behavior changes.

Overview
Fixes release YUM publish failing at “Verify RPM signatures” on runners whose rpm is ≥ 4.19 (e.g. Ubuntu 26.04), where rpm -Kv reports Header OpenPGP V4 … instead of Header V4 ….

Updates the grep patterns in release-rpm.yml to treat an optional OpenPGP prefix as a valid V3/V4 header signature line (unsigned detection and NOKEY warnings). BAD/NOTTRUSTED handling is unchanged; only documents the new output format in a comment.

Reviewed by Cursor Bugbot for commit 95c1ae7. Bugbot is set up for automated code reviews on this repo. Configure here.

@fcostaoliveira
fcostaoliveira merged commit 9173bcd into master Nov 11, 2026
98 of 100 checks passed
fcostaoliveira added a commit that referenced this pull request Nov 11, 2026
…ng check (#905)

Co-authored-by: Claude Sonnet 5.5 <[email protected]>
(cherry picked from commit 9173bcd)
@fcostaoliveira fcostaoliveira mentioned this pull request Nov 11, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant