I need to install Codelite and used the RPM stream documentation:
https://docs.codelite.org/downloads/download/#codelite-rpms
so went to import public key first.
sudo rpm --import ``https://repos.codelite.org/CodeLite.asc``
error: Certificate 6856E1DB1AC82609:
Policy rejects 6856E1DB1AC82609: No binding signature at time 2025-10-02T16:39:35Z
error: ``https://repos.codelite.org/CodeLite.asc:`` key 1 import failed.
I don’t think SHA1 is acceptable to Rocky anymore:
gpg --verify CodeLite.asc 2>/dev/null || gpg --list-packets CodeLite.asc
which shows digest algo 2 (= SHA1)
Is it acceptable to allow this legacy key to be imported like this? What do you think of having to lower the crypto policy like this to get a common software installed?
sudo update-crypto-policies --set LEGACY
sudo rpm --import CodeLite.asc
sudo update-crypto-policies --set DEFAULT