| 1 |
.. _verify_app_signature: |
| 2 |
|
| 3 |
Verifying the Download |
| 4 |
====================== |
| 5 |
|
| 6 |
Before executing anything downloaded from github.com, it's important to verify the cryptographic signature and integrity of the file. |
| 7 |
|
| 8 |
.. warning:: |
| 9 |
|
| 10 |
Note that github.com is not a website that we control, and :ref:`you should not trust <security_infrastructure>` it. |
| 11 |
|
| 12 |
Before we can verify the authenticity of the BusKill app, it's necessary to download ``gpg`` and the BusKill release key. For information on how to obtain these dependencies, see :ref:`pgpkeys`. |
| 13 |
|
| 14 |
Once the ``BusKill Releases Signing Key`` is in your ``gpg`` keyring, execute the following to verify the BusKill app downloaded from github.com |
| 15 |
|
| 16 |
:: |
| 17 |
|
| 18 |
user@host:~/Downloads$ ls |
| 19 |
buskill-linux-x86_64.v0.1.0.tar.bz2 SHA256SUMS SHA256SUMS.asc |
| 20 |
user@host:~/Downloads$ |
| 21 |
|
| 22 |
user@host:~/Downloads$ gpg --verify SHA256SUMS.asc |
| 23 |
gpg: assuming signed data in 'SHA256SUMS' |
| 24 |
gpg: Signature made Sat 01 Aug 2020 02:05:32 PM +0545 |
| 25 |
gpg: using RSA key 798DC1101F3DEC428ADE124D68B8BCB0C5023905 |
| 26 |
gpg: Good signature from "BusKill Releases Signing Key 2020.07 <[email protected]>" [unknown] |
| 27 |
gpg: WARNING: This key is not certified with a trusted signature! |
| 28 |
gpg: There is no indication that the signature belongs to the owner. |
| 29 |
Primary key fingerprint: E0AF FF57 DC00 FBE0 5635 8761 4AE2 1E19 36CE 786A |
| 30 |
Subkey fingerprint: 798D C110 1F3D EC42 8ADE 124D 68B8 BCB0 C502 3905 |
| 31 |
user@host:~/Downloads$ |
| 32 |
|
| 33 |
user@host:~/Downloads$ sha256sum --ignore-missing -c SHA256SUMS |
| 34 |
buskill-linux-x86_64.v0.1.0.tar.bz2: OK |
| 35 |
user@host:~/Downloads$ |