Project

General

Profile

Actions

Feature #4056

closed

support sha1 checksums on custom repos

Added by Katello Issue Migration almost 11 years ago. Updated over 6 years ago.

Status:
Closed
Priority:
High
Category:
Subscriptions
Target version:
Difficulty:
medium
Triaged:
Yes
Fixed in Releases:
Found in Releases:

Description

Yum repo creation on rhel 6 (centos 6, etc) defaults to sha256. rhel 5 and below do not support sha256, only sha1. The createrepo command has a flag to specify which hash to use:

```
[root@dlaxktlo301 foreman]# rpm -qa| grep createrepo
createrepo-0.9.9-21.2.pulp.el6.noarch
man createrepo:

-s --checksum
Choose the checksum type used in repomd.xml and for packages in the metadata. The default is now "sha256" (if
python has hashlib). The older default was "sha", which is actually "sha1", however explicitly using "sha1"
doesn’t work on older (3.0.x) versions of yum, you need to specify "sha".
```

Having that option as a dropdown or some such while creating repositories would solve this problem.

Created: dazole on September 12, 2013 22:33 +00:00
Imported from https://api.github.com/repos/Katello/katello/issues/2937


Comment 1

verified this myself, will need to discuss with the pulp team the proper course of action

Created: jlsherrill on September 18, 2013 16:03 +00:00
Imported from https://api.github.com/repos/Katello/katello/issues/comments/24676741

Actions

Also available in: Atom PDF