Skip to content

fix(ci): drop rpmsign, use repo_gpgcheck for RPM verification#5

Merged
moukrea merged 1 commit intomainfrom
fix/rpm-repo-gpgcheck-only
Mar 19, 2026
Merged

fix(ci): drop rpmsign, use repo_gpgcheck for RPM verification#5
moukrea merged 1 commit intomainfrom
fix/rpm-repo-gpgcheck-only

Conversation

@moukrea
Copy link
Copy Markdown
Owner

@moukrea moukrea commented Mar 19, 2026

Summary

  • rpmsign on Ubuntu's rpm 4.18 produces signatures incompatible with Fedora's rpm, causing digests SIGNATURES NOT OK on rpm -K verification
  • Removed all individual RPM package signing (rpmsign, gpg-agent config, rpm -K, .rpmmacros)
  • Switched to repo-level GPG verification: gpgcheck=0 + repo_gpgcheck=1 in README
  • Kept the existing repomd.xml detached GPG signature (already working since day one)

Security model

Signed repomd.xml metadata contains SHA256 checksums of all packages. DNF verifies the metadata signature, then verifies each package against those checksums. This is the standard approach used by Chrome, Docker, and VS Code RPM repos.

rpmsign on Ubuntu produces signatures incompatible with Fedora's rpm,
causing "digests SIGNATURES NOT OK". Switch to repo-level verification:
signed repomd.xml metadata contains package checksums, providing
integrity through the checksum chain. This is the standard model used
by Chrome, Docker, and VS Code repos.

- Remove rpmsign, gpg-agent config, and rpm -K verification steps
- Change README to gpgcheck=0 + repo_gpgcheck=1
- Keep repomd.xml GPG detached signature (already working)
@moukrea moukrea force-pushed the fix/rpm-repo-gpgcheck-only branch from 09ccab5 to 35893cf Compare March 19, 2026 14:30
@moukrea moukrea merged commit 9cfc931 into main Mar 19, 2026
6 checks passed
@moukrea moukrea deleted the fix/rpm-repo-gpgcheck-only branch March 19, 2026 14:41
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