Project

General

Profile

Actions

Bug #37522

closed

Yum Metadata Checksum of SHA1 no longer supported by Pulp

Added by Ian Ballou 7 months ago. Updated 6 months ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
Repositories
Target version:
Fixed in Releases:
Found in Releases:

Description

Pulp-RPM 3.25.0+ removed support for SHA1 yum metadata checksums on publications. An error is thrown when trying to use it.

Also, Pulp merged metadata_checksum_type and package_checksum_type into checksum_type. We should use this new field.

We supposedly can override the removal of SHA1 with ALLOWED_PUBLISH_CHECKSUMS, but it's not working for me at the moment. Ideally we'd allow that to be an installer configurable.

Alternatively, we can remove SHA1 to match the checksum types that Pulp seems to support: CHECKSUM_TYPES.SHA256, CHECKSUM_TYPES.SHA384, CHECKSUM_TYPES.SHA512

Actions #1

Updated by Ian Ballou 7 months ago

I think the ideal approach would be to override the sha1 removal in the Pulp settings and then mark sha1 as deprecated in the UI. We can also add the other checksum types as options since they're available in Pulp.

Actions #2

Updated by Ian Ballou 7 months ago

Granted, I'm not sure why anyone would need to publish content with SHA1 checksums these days, even EL5 supported SHA256 as far as I can tell.

So far it's looking like pulp-rpm doesn't support configuring SHA1 to be publishable, so we may need to just remove SHA1 entirely.

Actions #3

Updated by Ian Ballou 7 months ago

Actions #4

Updated by The Foreman Bot 7 months ago

  • Status changed from New to Ready For Testing
  • Assignee set to Ian Ballou
  • Pull request https://github.com/Katello/katello/pull/11013 added
Actions #5

Updated by Partha Aji 7 months ago

  • Triaged changed from No to Yes
Actions #6

Updated by The Foreman Bot 6 months ago

  • Fixed in Releases Katello 4.14.0 added
Actions #7

Updated by Anonymous 6 months ago

  • Status changed from Ready For Testing to Closed
Actions #8

Updated by The Foreman Bot 6 months ago

  • Pull request https://github.com/Katello/katello/pull/11051 added
Actions #9

Updated by The Foreman Bot 6 months ago

  • Fixed in Releases Katello 4.13.1 added
Actions #10

Updated by Ian Ballou 6 months ago

  • Fixed in Releases deleted (Katello 4.13.1)
Actions

Also available in: Atom PDF