Project

Profile

Help

Story #3055

As a user, I can publish a Yum repository that works with repo_gpgcheck=1

Added by PaulSD over 2 years ago. Updated 10 months ago.

Status:
CLOSED - CURRENTRELEASE
Priority:
Normal
Assignee:
Category:
-
Sprint/Milestone:
-
Start date:
Due date:
% Done:

100%

Platform Release:
2.15.0
Blocks Release:
Backwards Incompatible:
No
Groomed:
No
Sprint Candidate:
No
Tags:
Pulp 2
QA Contact:
Complexity:
Smash Test:
Verified:
No
Verification Required:
No
Sprint:

Description

To allow a Yum repository to be used with Yum clients that have repo_gpgcheck=1 configured in /etc/yum.conf:
  1. Create a new GPG signing key that can be used by Pulp worker processes without a password. (Documentation provides example procedures.)
  2. Append the public key associated with the new GPG signing key to the gpgkey file specified in the distributor config for the Yum repository in Pulp.
  3. Set gpg_sign_metadata to True in the distributor config for the Yum repository in Pulp.

See also https://access.redhat.com/solutions/2850911

Associated revisions

Revision f73805f6 View on GitHub
Added by Paul Donohue over 2 years ago

Add support for generation of repomd.xml.asc files

fixes #3055
https://pulp.plan.io/issues/3055

Revision f7f2cc62 View on GitHub
Added by cduryee over 2 years ago

Update documentation on GPG keys to be clearer.

re #3055
https://pulp.plan.io/issues/3055

Revision 5393773e View on GitHub
Added by Paul Donohue over 2 years ago

Documentation improvements

re #3055
https://pulp.plan.io/issues/3055

Revision b3e2dd8b View on GitHub
Added by Paul Donohue over 2 years ago

Add missing super() call in f73805f6

re #3055
https://pulp.plan.io/issues/3055

History

#2 Updated by dkliban@redhat.com over 2 years ago

  • Tracker changed from Issue to Story
  • % Done set to 0

#3 Updated by PaulSD over 2 years ago

  • Subject changed from Pulp does not generate repomd.xml.asc files needed by yum repo_gpgcheck to As a user, I can publish a Yum repository that works with repo_gpgcheck=1

#4 Updated by PaulSD over 2 years ago

  • Description updated (diff)

#5 Updated by bmbouter over 2 years ago

  • Status changed from NEW to POST
  • Assignee set to PaulSD

So this feature defaults to off because it's only enabled if the user specifies gpg_sign_metadata=True right?

As an FYI, we do have an integration test suite called pulp-smash which is run by ichimonji10 in #pulp-dev in case you are interested in writing any tests to use and verify this feature. Whatever you want to do is fine of course. Thanks for contributing this great feature.

#6 Updated by PaulSD over 2 years ago

Correct, it defaults to off. I implemented it this way because this feature will not work unless the user first manually prepares and distributes a GPG signing key.

#7 Updated by Anonymous over 2 years ago

  • Status changed from POST to MODIFIED
  • % Done changed from 0 to 100

#8 Updated by pcreech about 2 years ago

  • Project changed from Pulp to RPM Support

#9 Updated by pcreech about 2 years ago

  • Platform Release set to 2.15.0

#10 Updated by pcreech about 2 years ago

  • Status changed from MODIFIED to ON_QA

#12 Updated by pcreech about 2 years ago

  • Status changed from ON_QA to CLOSED - CURRENTRELEASE

#13 Updated by kfiresmith almost 2 years ago

Huge thanks for getting this feature in place. For anyone else who comes across this, docs live here: https://docs.pulpproject.org/en/2.15/plugins/pulp_rpm/tech-reference/yum-plugins.html#gpg-signing-key

#16 Updated by bmbouter 10 months ago

  • Tags Pulp 2 added

Please register to edit this issue

Also available in: Atom PDF