Bug #37522
closedYum Metadata Checksum of SHA1 no longer supported by Pulp
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
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.
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.
Updated by Ian Ballou 7 months ago
https://github.com/pulp/pulp_rpm/pull/3306 introduced the change.
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
Updated by Anonymous 6 months ago
- Status changed from Ready For Testing to Closed
Applied in changeset katello|c98e3271dcb5abedec9fcfe03b52481a2e4a9a95.
Updated by The Foreman Bot 6 months ago
- Pull request https://github.com/Katello/katello/pull/11051 added