Feature #4056
closedsupport sha1 checksums on custom repos
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