Skip to content

Add SHA512 hashing function #54

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

Merged
merged 1 commit into from
Mar 10, 2025

Conversation

NamelessOne91
Copy link
Contributor

Adds the SHA 512 hashing function to the available ones we use for verifying checksums.

It seems to be used by some of the newly downloaded repositories and it was missing in the map.

./minima sync -c minima.yaml 
Using config file: minima.yaml
2025/03/10 15:28:28 Processing repo: http://downloadcontent.opensuse.org/distribution/leap/15.6/repo/oss/
2025/03/10 15:28:28 First-time sync started
2025/03/10 15:28:28 Downloading repomd.xml...
2025/03/10 15:28:29 Downloading repomd.xml.asc...
2025/03/10 15:28:29 Downloading repomd.xml.key...
2025/03/10 15:28:29 repodata/72ade5926fe32d0008e6c2b8d931d47abbf209bd488d4156b3756b23734a47b6c63917f1940ee441fb363adb08daa46632d51cedfe9c4bea87a0f3fd9452e9db-primary.xml.gz
2025/03/10 15:28:29 Reading sha512 checksum
panic: crypto: requested hash function #0 is unavailable

Should fix the 1st issue in https://github.com/SUSE/spacewalk/issues/26645

@NamelessOne91 NamelessOne91 self-assigned this Mar 10, 2025
@NamelessOne91 NamelessOne91 marked this pull request as ready for review March 10, 2025 14:58
@NamelessOne91 NamelessOne91 merged commit a11ab0c into uyuni-project:master Mar 10, 2025
1 check passed
Copy link
Member

@nodeg nodeg left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants