Sublime Forum

Cannot install gpg key for rpm install on Rocky Linux 9

#1

Hi, I’m not sure whether this is the exact same issue as tracked there : https://github.com/sublimehq/sublime_text/issues/6669

The instructions given in https://www.sublimetext.com/docs/linux_repositories.html will not work for installing the GPG keu as SHA1 hash is no longer supported in Rocky Linux 9 (nor should it be if I’m not mistaken).
I get the following error:

sudo rpm -v --import https://download.sublimetext.com/sublimehq-rpm-pub.gpg

warning: Signature not supported. Hash algorithm SHA1 not available.
error: https://download.sublimetext.com/sublimehq-rpm-pub.gpg: key 1 import failed.

0 Likes