refactor: streamline ephemeral GPG key generation and signing process#49
Open
alexlovelltroy wants to merge 8 commits intomainfrom
Open
refactor: streamline ephemeral GPG key generation and signing process#49alexlovelltroy wants to merge 8 commits intomainfrom
alexlovelltroy wants to merge 8 commits intomainfrom
Conversation
Signed-off-by: Alex Lovell-Troy <alovelltroy@lanl.gov>
Signed-off-by: Alex Lovell-Troy <alovelltroy@lanl.gov>
Signed-off-by: Alex Lovell-Troy <alovelltroy@lanl.gov>
…GPG configurations Signed-off-by: Alex Lovell-Troy <alovelltroy@lanl.gov>
…t and documentation Signed-off-by: Alex Lovell-Troy <alovelltroy@lanl.gov>
synackd
reviewed
Apr 1, 2026
Contributor
synackd
left a comment
There was a problem hiding this comment.
I might be missing something, but I don't see gpg-ephemeral-key used here. Was that intentional?
…and removing subkey expiration check Signed-off-by: Alex Lovell-Troy <alovelltroy@lanl.gov>
Member
Author
|
It is using parts from the gpg signing machinery. At this point, it is not doing ephemeral keys and is instead signing with the repo key. See build-rpm.yaml: |
synackd
reviewed
Apr 1, 2026
Contributor
synackd
left a comment
There was a problem hiding this comment.
At this point, it is not doing ephemeral keys and is instead signing with the repo key.
Got it, just wanted to make sure.
This looks reasonable to me. Just one comment below.
13 tasks
Signed-off-by: Devon Bautista <17506592+synackd@users.noreply.github.com>
Signed-off-by: Devon Bautista <17506592+synackd@users.noreply.github.com>
b41351d to
366314f
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.
This pull request updates the RPM build GitHub Actions workflow to improve security and automation by switching to ephemeral GPG keys for signing and modernizing variable usage and output handling. The changes eliminate the need for long-lived signing credentials and streamline the build and release process.
Security and GPG Key Management:
OpenCHAMI/gpg-signing-manageraction. The ephemeral key is configured with a 1-day expiration and unique metadata per run. [1] [2]Workflow Modernization and Output Handling:
GITHUB_OUTPUTmechanism instead of deprecatedset-output, and consistently uses the dynamically determined version from theget_versionstep. [1] [2]Build Process Improvements:
These changes increase the security of the RPM build pipeline and align the workflow with current GitHub Actions best practices.