[ZBX-22107] RHEL 9 packages signed with SHA1 fails to install Created: 2022 Dec 19 Updated: 2024 Apr 10 Resolved: 2023 Jan 11 |
|
Status: | Closed |
Project: | ZABBIX BUGS AND ISSUES |
Component/s: | Agent (G) |
Affects Version/s: | None |
Fix Version/s: | None |
Type: | Problem report | Priority: | Trivial |
Reporter: | svb | Assignee: | Juris Lambda |
Resolution: | Fixed | Votes: | 2 |
Labels: | None | ||
Remaining Estimate: | Not Specified | ||
Time Spent: | Not Specified | ||
Original Estimate: | Not Specified | ||
Environment: |
RHEL 9 |
Team: | |
Sprint: | Sprint 95 (Dec 2022), Sprint 96 (Jan 2023) |
Description |
SHA1 algorithm has been deprecated in RHEL 9 [1]. Zabbix agent2 package fails to install on RHEL 9 system. Maybe Zabbix should sign the package with some other, modern algorithm? Steps to reproduce:
Result: [1]Enhancing RHEL Security: Understanding SHA-1 deprecation on RHEL 9 |
Comments |
Comment by Juris Lambda [ 2022 Dec 22 ] |
Hello, Bergman! Could you please tell me what the version of the zabbix-release package is on that system? It seems that the system may still be using the previous signing key, which did indeed use a SHA-1 signature. See if you can update the zabbix-release package to import the new key and try installing the agent package then. |
Comment by svb [ 2022 Dec 23 ] |
Hi, our internal repository offers the following zabbix-release package for installation: Name : zabbix-release It seems that the same version of the package is available in Zabbix public repository for RHEL 9 (so our repository is up to date). Installing zabbix-release package fails with the same SHA1 error: Zabbix 6.2 RHEL 9 x86_64 |
Comment by Juris Lambda [ 2022 Dec 23 ] |
Hey, Bergman! This doesn't appear right. The key that is being imported was retired in July in favour of D9AA 84C2 B617 479C 6E4F CF4D 19F2 4753 08EF A7DD because of the reason you mentioned (crypto policies dropping the use of SHA-1). (Unfortunately, this key is currently not published to repo.zabbix.com along with the previous ones, and is currently only available via the zabbix-release package). Could you try and interrogate the package via rpm (on the installed or downloaded package from your internal mirror), and post back results?
See the file listing of the package:
The repository registry contents of the package:
Also, please verify that all the listed files are actually present. |
Comment by patrick dubois [ 2023 Jan 04 ] |
Hello ! I'd like to add a +1 to this issue. I'd like to propose using zabbix across some of my infrastructure but discovered this issue on Rocky 9 Linux. In theory it should not be a problem to add a properly functioning key; do we have a rough ETA on when this might be accomplished?
|
Comment by Juris Lambda [ 2023 Jan 04 ] |
Hey, pdubois! Good news, the key was just published and is now available at https://repo.zabbix.com/RPM-GPG-KEY-ZABBIX-08EFA7DD! |
Comment by patrick dubois [ 2023 Jan 05 ] |
@Juris Lambda - Thank you for that quick reply. I'm glad to hear the key has now been published. My package manager is insisting the packages are still signed with the previous and now invalid key but this appears to be a thing with my config engine. Much appreciated. I'll test this out later today ! EDIT : It works! Very appreciated. thanks. |
Comment by svb [ 2023 Jan 11 ] |
Hi,@Juris Lambda I imported the new GPG key to our local repository and I can confirm that now I'm able to install zabbix-agent2 package on RHEL9 system. During the package installation GPG key was added as expected: Importing GPG key 0x08EFA7DD: Rest of the package installation process went also as expected: Running transaction check Complete! |
Comment by Bernd Müller [ 2023 Nov 15 ] |
Hello @all, thanks for the key. Is it wrong to expect the generic key RPM-GPG-KEY-ZABBIX will be a link to the newest key RPM-GPG-KEY-ZABBIX-08EFA7DD? |
Comment by Juris Lambda [ 2023 Nov 16 ] |
Hey, [email protected]! This seems to be an oversight of ours and should have been the case already. I will make sure to have that key updated. |
Comment by Jurijs Klopovskis [ 2023 Nov 27 ] |
Added http://repo.zabbix.com/zabbix/4.0/rhel/9/x86_64/zabbix-release-4.0-3.el9.noarch.rpm package, shipping correct key for el9 Regarding keys presented on http://repo.zabbix.com/ root page. We should create a documentation page listing different distributions and having links to correct key files for each one. Though typically users don't need to touch these directly, since keys are shipped with zabbix-release packages, in case they do want to install these directly, for some reason, it is very confusing to pick the right key. |