Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Sign RH9 dependency RPMs with SHA256 #7262

Merged
merged 2 commits into from
Oct 14, 2022
Merged

Conversation

gurevichmark
Copy link
Contributor

EL9 based OS's changed their crypto policies and dropped support for SHA1 keys. (https://www.redhat.com/en/blog/rhel-security-sha-1-package-signatures-distrusted-rhel-9). Reported by xcat2/xcat-dep#51

This PR changes builddep.sh script to sigh RPMs in rh9 directory with SHA256. The remaining RPMs will continue to be signed whith SHA1.

If xCAT is installed with go-xcat, this dropping of SHA1 keys support on EL9 should not be a problem, since it uses dnf --nogpgcheck flag. However, if xCAT dependency RPMs are installed directly with dnf or yum, the installation of SHA1 signed RPMs will fail.

@besawn besawn merged commit d87d2f2 into xcat2:master Oct 14, 2022
@gurevichmark gurevichmark deleted the SHA256_sign branch October 24, 2022 14:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants