From d68b328c9e14765e30c68b089168d5507612c057 Mon Sep 17 00:00:00 2001 From: "Alexander A. Klimov" Date: Thu, 16 May 2024 13:13:13 +0200 Subject: [PATCH] Don't rpm --import https://packages.icinga.com/icinga.key just like on packages.icinga.com and for the same security reasons we don't use apt-key add anymore for: https://blog.cloudflare.com/dont-use-apt-key Our repos already reference https://packages.icinga.com/icinga.key and both RPM distro families properly handle that. --- doc/02-installation.md | 8 -------- 1 file changed, 8 deletions(-) diff --git a/doc/02-installation.md b/doc/02-installation.md index 42d4a7430..d388fb29f 100644 --- a/doc/02-installation.md +++ b/doc/02-installation.md @@ -95,7 +95,6 @@ apt update ### CentOS Repository ```bash -rpm --import https://packages.icinga.com/icinga.key wget https://packages.icinga.com/centos/ICINGA-release.repo -O /etc/yum.repos.d/ICINGA-release.repo ``` @@ -118,7 +117,6 @@ yum install epel-release Don't forget to fill in the username and password section with your credentials in the local .repo file. ```bash -rpm --import https://packages.icinga.com/icinga.key wget https://packages.icinga.com/subscription/rhel/ICINGA-release.repo -O /etc/yum.repos.d/ICINGA-release.repo ``` @@ -150,7 +148,6 @@ yum install https://dl.fedoraproject.org/pub/epel/epel-release-latest-7.noarch.r ### Fedora Repository ```bash -rpm --import https://packages.icinga.com/icinga.key dnf install -y 'dnf-command(config-manager)' dnf config-manager --add-repo https://packages.icinga.com/fedora/$(. /etc/os-release; echo "$VERSION_ID")/release ``` @@ -167,8 +164,6 @@ dnf config-manager --add-repo https://packages.icinga.com/fedora/$(. /etc/os-rel Don't forget to fill in the username and password section with your credentials in the local .repo file. ```bash -rpm --import https://packages.icinga.com/icinga.key - zypper ar https://packages.icinga.com/subscription/sles/ICINGA-release.repo zypper ref ``` @@ -186,8 +181,6 @@ SUSEConnect -p PackageHub/$VERSION_ID/x86_64 ### openSUSE Repository ```bash -rpm --import https://packages.icinga.com/icinga.key - zypper ar https://packages.icinga.com/openSUSE/ICINGA-release.repo zypper ref ``` @@ -210,7 +203,6 @@ zypper ar https://download.opensuse.org/repositories/server:/monitoring/15.3/ser Don't forget to fill in the username and password section with your credentials in the local .repo file. ```bash -rpm --import https://packages.icinga.com/icinga.key wget https://packages.icinga.com/subscription/amazon/ICINGA-release.repo -O /etc/yum.repos.d/ICINGA-release.repo ```