Installation Fail - Signature not supported. Hash algorithm SHA1 not available

Clean install of Alma9

Ran the auto installer and it stopped:

Importing GPG key 0xFF6ADD85:
Userid : “Webmin Developers developers@webmin.com
Fingerprint: B966 3227 39F9 8E2E 092E 69CF 28E1 1943 FF6A DD85
From : /etc/pki/rpm-gpg/RPM-GPG-KEY-webmin-developers
Is this ok [y/N]: y
warning: Signature not supported. Hash algorithm SHA1 not available.
Key import failed (code 2). Failing package is: webmin-2.021-1.noarch
GPG Keys are configured as: file:///etc/pki/rpm-gpg/RPM-GPG-KEY-webmin-developers

Took a while, but resolved it by explicitly allowing the SHA-1:

update-crypto-policies --set DEFAULT:SHA1

But please don’t forget to switch back, e.g.:

update-crypto-policies --set DEFAULT

As far as I know, that has been fixed. I assume you did this days ago, or at least downloaded the setup-repos.sh script days ago?

Hi Joe,

I did this yesterday.

I did reread the guide a few times and then noticed a comment about the SHA1 issue (to update the policy) but it doesn’t mention resetting it.

I then had issuse adding other bitc from the repository and had to downgrade the policy again!

You should not need to alter the policy.

But that was the only way to proceed!

This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.