Merge pull request #313 from currite/gpg-verify

Gpg verify
This commit is contained in:
Christian Poessinger 2020-08-22 00:18:36 +02:00 committed by GitHub
commit 0efe17baef
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -58,26 +58,29 @@ https://downloads.vyos.io/rolling/current/amd64/vyos-rolling-latest.iso
Download Verification Download Verification
--------------------- ---------------------
This subsection and the following one applies to downloaded LTS images, for LTS images are signed by VyOS lead package-maintainer private key. With
other versions please jump to :ref:`live_installation`. the official public key, the authenticity of the package can be
verified. :abbr:`GPG (GNU Privacy Guard)` is used for verification.
LTS images are signed by VyOS lead package-maintainer private key. With the .. note:: This subsection only applies e applies to LTS images, for
official public key, the authenticity of the package can be verified. Rolling images please jump to :ref:`live_installation`.
:abbr:`GPG (GNU Privacy Guard)` is used for verification.
Preparing for the verification
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
First, install GPG or another OpenPGP implementation. On most GNU+Linux First, install GPG or another OpenPGP implementation. On most GNU+Linux
distributions it is installed by default as package managers use it to verify distributions it is installed by default as package managers use it to
package signatures. If not pre-installed, it will need to be downloaded and verify package signatures. If not pre-installed, it will need to be
installed. downloaded and installed.
The official VyOS public key can be retrieved in a number of ways. Skip to The official VyOS public key can be retrieved in a number of ways. Skip
:ref:`gpg-verification` if the key is already present. to :ref:`gpg-verification` if the key is already present.
It can also be retrieved directly from a key server: It can be retrieved directly from a key server:
``gpg --recv-keys FD220285A0FE6D7E`` ``gpg --recv-keys FD220285A0FE6D7E``
Or it can be accessed from a key server via a web browser: Or it can be accessed via a web browser:
https://pgp.mit.edu/pks/lookup?op=get&search=0xFD220285A0FE6D7E https://pgp.mit.edu/pks/lookup?op=get&search=0xFD220285A0FE6D7E
@ -154,11 +157,11 @@ The import can be verified with:
.. _gpg-verification: .. _gpg-verification:
GPG GPG verification
--- ^^^^^^^^^^^^^^^^
With the public key imported, the signature for the desired image needs to be With the public key imported, the signature for the desired image needs
downloaded. to be downloaded.
.. note:: The signature can be downloaded by appending `.asc` to the URL of the .. note:: The signature can be downloaded by appending `.asc` to the URL of the
downloaded VyOS image. That small *.asc* file is the signature for the downloaded VyOS image. That small *.asc* file is the signature for the