Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update gpg_name to fix RockyLinux rpm signing issue #1118

Merged
merged 1 commit into from
Jun 26, 2023

Conversation

poorndm
Copy link
Collaborator

@poorndm poorndm commented Jun 23, 2023

Description

rpm package signing failed for RockyLinux with below error.

warning: Could not set GPG_TTY to stdin: Inappropriate ioctl for device  gpg: skipped "Chef Software Inc": No secret key  gpg: signing failed: No secret key

Maintainers

Please ensure that you check for:

  • If this change impacts git cache validity, it bumps the git cache
    serial number
  • If this change impacts compatibility with omnibus-software, the
    corresponding change is reviewed and there is a release plan
  • If this change impacts compatibility with the omnibus cookbook, the
    corresponding change is reviewed and there is a release plan

Signed-off-by: poorndm <poorndm@progress.com>
@sonarcloud
Copy link

sonarcloud bot commented Jun 23, 2023

Kudos, SonarCloud Quality Gate passed!    Quality Gate passed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 0 Code Smells

No Coverage information No Coverage information
0.0% 0.0% Duplication

@poorndm poorndm marked this pull request as ready for review June 23, 2023 13:55
@poorndm poorndm requested review from a team as code owners June 23, 2023 13:55
@poorndm poorndm requested a review from vkarve-chef June 23, 2023 13:56
@@ -437,7 +437,7 @@ def create_rpm_file
render_template(resource_path("rpmmacros.erb"),
destination: "#{home}/.rpmmacros",
variables: {
gpg_name: project.maintainer,
gpg_name: "Opscode Packages",
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This may have been marked as project.maintainer to allow for community users to set up their own build ecosystem where the gpg_name would differ. Is there a way we can override only in our build ecosystem?

@poorndm poorndm merged commit d8db5cf into main Jun 26, 2023
5 checks passed
@poorndm poorndm deleted the CHEF-3252-update-gpg_name-Rocky branch June 26, 2023 11:52
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.

None yet

2 participants