elastic gpgkey unusable on modern redhat/fedora derivitives #88326
Labels
>bug
:Delivery/Packaging
RPM and deb packaging, tar and zip archives, shell and batch scripts
Team:Delivery
Meta label for Delivery team
Elasticsearch Version
Installed Plugins
No response
Java Version
bundled
OS Version
Linux localhost.localdomain 5.14.0-70.13.1.el9_0.x86_64 #1 SMP PREEMPT Tue May 17 15:53:11 EDT 2022 x86_64 x86_64 x86_64 GNU/Linux
Problem Description
Similar to the issue in #58257 modern (version 8+) redhat derivatives reject the elastic gpg key which is used to verify rpm packages from the elastic yum/dnf repositories. Attempts to use the instructions provided fail at the step where the gpg key is imported into the system keychain:
On a hunch I tried enabling SHA-1 support per the redhat guidance:
and the key was imported without any complaints.
similarly with the default cryptographic profile set packages from the elastic repository will not install:
Again, enabling SHA-1 allows for the packages to install.
I'm no cryptowonk, but I'm left to believe that the elastic signing key is overdue for replacement with a key which uses modern cryptographic standards
Steps to Reproduce
sudo rpm --import https://artifacts.elastic.co/GPG-KEY-elasticsearch
sudo update-crypto-policies --set DEFAULT:SHA1
Logs (if relevant)
Here is the dnf log showing the gpg verification failure
The text was updated successfully, but these errors were encountered: