@@ -43,14 +43,14 @@ with your OS version:_
4343For newer releases (for example, Ubuntu 20.04 LTS and newer, Debian Buster
4444and newer) that support subkey verification:
4545
46- - Private key file: [ ` influxdata-archive.key ` ] ( https://repos.influxdata.com/influxdata-archive.key )
47- - Public key: ` 943666881a1b8d9b849b74caebf02d3465d6beb716510d86a39f6c8e8dac7515 `
46+ - GPG key file: [ ` influxdata-archive.key ` ] ( https://repos.influxdata.com/influxdata-archive.key )
47+ - Primary key fingerprint : ` 24C975CBA61A024EE1B631787C3D57159FC2F927 `
4848
4949For older versions (for example, CentOS/RHEL 7, Ubuntu 18.04 LTS, or Debian
5050Stretch) that don't support subkeys for verification:
5151
52- - Private key file: [ ` influxdata-archive_compat.key ` ] ( https://repos.influxdata.com/influxdata-archive_compat.key )
53- - Public key: ` 393e8779c89ac8d958f81f942f9ad7fb82a25e133faddaf92e15b16e6ac9ce4c `
52+ - GPG key file: [ ` influxdata-archive_compat.key ` ] ( https://repos.influxdata.com/influxdata-archive_compat.key )
53+ - Signing key fingerprint : ` 9D539D90D3328DC7D6C8D3B9D8FF8E1F7DF8B07E `
5454
5555{{% /expand %}}
5656
@@ -136,8 +136,7 @@ binary releases:
136136{{% code-placeholders "https://repos.influxdata.com/influxdata-archive.key " %}}
137137
138138``` sh
139- curl --silent --location \
140- https://repos.influxdata.com/influxdata-archive.key \
139+ curl --silent --location https://repos.influxdata.com/influxdata-archive.key \
141140 | gpg --import - 2>&1 \
142141 | grep
' InfluxData Package Signing Key <[email protected] >' 143142```
@@ -344,16 +343,16 @@ To install {{% product-name %}} on Linux, do one of the following:
3443432 . Run the command for your OS version to install the InfluxData key,
345344 add the InfluxData repository, and install ` influxdb ` .
346345
347- _ Before running the command, replace the checksum and key filename with the
346+ _ Before running the command, replace the fingerprint and key filename with the
348347 key-pair from the preceding step._
349348
350349 ``` bash
351350 # Ubuntu and Debian
352351 # Add the InfluxData key to verify downloads and add the repository
353- curl --silent --location -O \
354- https://repos.influxdata.com /influxdata-archive.key
355- echo " 943666881a1b8d9b849b74caebf02d3465d6beb716510d86a39f6c8e8dac7515 influxdata-archive.key " \
356- | sha256sum --check - && cat influxdata-archive.key \
352+ curl --silent --location -O https://repos.influxdata.com/influxdata-archive.key
353+ gpg --show-keys --with-fingerprint --with-colons . /influxdata-archive.key 2>&1 \
354+ | grep -q ' ^fpr:\+24C975CBA61A024EE1B631787C3D57159FC2F927:$ ' \
355+ && cat influxdata-archive.key \
357356 | gpg --dearmor \
358357 | sudo tee /etc/apt/trusted.gpg.d/influxdata-archive.gpg > /dev/null \
359358 && echo ' deb [signed-by=/etc/apt/trusted.gpg.d/influxdata-archive.gpg] https://repos.influxdata.com/debian stable main' \
@@ -366,10 +365,10 @@ To install {{% product-name %}} on Linux, do one of the following:
366365 ``` bash
367366 # RedHat and CentOS
368367 # Add the InfluxData key to verify downloads
369- curl --silent --location -O \
370- https://repos.influxdata.com /influxdata-archive.key \
371- && echo " 943666881a1b8d9b849b74caebf02d3465d6beb716510d86a39f6c8e8dac7515 influxdata-archive.key " \
372- | sha256sum --check - && cat influxdata-archive.key \
368+ curl --silent --location -O https://repos.influxdata.com/influxdata-archive.key
369+ gpg --show-keys --with-fingerprint --with-colons . /influxdata-archive.key 2>&1 \
370+ | grep -q ' ^fpr:\+24C975CBA61A024EE1B631787C3D57159FC2F927:$ ' \
371+ && cat influxdata-archive.key \
373372 | gpg --dearmor \
374373 | tee /etc/pki/rpm-gpg/RPM-GPG-KEY-influxdata > /dev/null
375374
0 commit comments