fix: exclude legacy RPM targets from GPG signing with recent key#143
Merged
patrick-stephens merged 1 commit intomainfrom Dec 2, 2025
Merged
fix: exclude legacy RPM targets from GPG signing with recent key#143patrick-stephens merged 1 commit intomainfrom
patrick-stephens merged 1 commit intomainfrom
Conversation
4fdd634 to
25beadb
Compare
There was a problem hiding this comment.
1 issue found across 2 files
Prompt for AI agents (all 1 issues)
Check if these issues are valid — if so, understand the root cause of each and fix them.
<file name="scripts/sign-packages.sh">
<violation number="1" location="scripts/sign-packages.sh:46">
P1: The `tty` command fails with exit status 1 in non-interactive environments (like CI). With `set -e` enabled, this will cause the script to abort before signing any packages. Consider using `GPG_TTY=$(tty 2>/dev/null || true)` or checking if TTY is available first.</violation>
</file>
Reply to cubic to teach it or ask questions. Re-run a review with @cubic-dev-ai review this PR
25beadb to
30f91cc
Compare
Signed-off-by: Patrick Stephens <pat@fluent.do>
30f91cc to
dd80bdd
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Legacy OS targets cannot handle more recent GPG keys and just trigger failures when attempting to install the package - even with
--nogpgcheckor similar.See https://serverfault.com/a/624910
Summary by cubic
Stop signing RPMs for legacy distros (CentOS 6–8, AlmaLinux 8, Rocky 8) to prevent install failures with newer GPG keys. Installs on these platforms now work, and supported targets remain signed.
Written for commit dd80bdd. Summary will update automatically on new commits.