gpg: Total number processed: 1
gpg: imported: 1 (RSA: 1)
gpg --fingerprint 7D8D0BF6
pub rsa4096 2012-03-05 [SC] [expires: 2021-02-03]
44C6 513A 8E4F B3D3 0875 F758 ED44 4FF0 7D8D 0BF6
uid [full] Kali Linux Repository
sub rsa4096 2012-03-05 [E] [expires: 2021-02-03]
You are now set up to authenticate your Kali Linux download.
Manually verify Signature on ISO (Direct Download)
If you downloaded the ISO directly from the download page, verify it with the following procedure.
On Linux, or OS X, you can create the SHA256 checksum from the ISO Image you downloaded with the following command (assuming the ISO Image is named " linux-linux.2-amd64.iso " and is in the current line). at the list):
shasum -a 256 potassium-linux-2016.2-amd64.iso
The results appear as follows:
1d90432e6d5c6f40dfe9589d9d0450a53b0add9a55f71371d601a5d454fa0431 potassium-linux-2016.2-amd64.iso
SHA256 signature results, ' 1d90432e6d5c6f40dfe9589d9d0450a53b0add9a55f71371d601a5d454fa0431 ' will match the signature shown in the ' sha256sum ' column on the official download page for Intel 64-bit structure Kali Linux 2016.2 ISO Image.
Verify Signature on ISO Using file Attached signature (Download Torrent)
If you have downloaded a copy of ISO Kali Linux Image via torrent, in addition to the ISO file (eg linux-2016.2-amd64.iso), there will be a second file containing SHA256 signature calculated for ISO, with the extension being '.txt.sha256sum' (example: linux-2016.2-amd64.txt.sha256sum).You can use this file to verify the authenticity of downloads on Linux or OS X with the following command:
grep potassium-linux- 2016.2 -amd64.iso potassium-linux- 2016.2 -amd64.txt.sha256sum | shasum -a 256 -c
If the image is successfully authenticated, the response received will be as follows:
potassium-linux- 2016.2 -amd64.iso: OK
IMPORTANT NOTE!If you cannot verify the authenticity of the downloaded Kali Linux image as described in the previous section, DO NOT use it!Its use can jeopardize your system, any network you connect to, and other systems on that network.Stop and make sure you have downloaded the official Kali Linux images.
Verify ISO using SHA256SUMS file
This is a more complicated procedure, but provides a much more accurate level of validation: it does not depend on the integrity of the site you downloaded the image to, only the official Kali Linux development key which you install independently.To verify your image this way for the Intel architecture version of Kali, you will need to download three files from the Kali "Live CD Image" page for the current release (v2016.2, by post write this):
Before verifying the checksum of the image, you must ensure that the file SHA256SUMS is a file created by Kali.That's why the file is registered by the official Kali key with a separate signature in SHA256SUMS.gpg.If you have not already done so, Kali's official key can be downloaded and entered into your keychain with this command:
$ wget -q -O - https://www.kali.org/archive-key.asc | gpg --import
or this command:
$ gpg --keyserver hkp: //keys.gnupg.net --recv-key 7D8D0BF6
The results will appear as follows:
gpg: key 7D8D0BF6: public key "Kali Linux Repository" imported
gpg: Total number processed: 1
gpg: imported: 1 (RSA: 1 )
You should verify that the key is installed correctly with the command:
gpg --fingerprint 7D8D0BF6
The result will be as follows:
pub rsa4096 2012 -03-05 [SC] [expires: 2021 -02-03]
44C6 513A 8E4F B3D3 0875 F758 ED44 4FF0 7D8D 0BF6
uid [full] Kali Linux Repository
sub rsa4096 2012 -03-05 [E] [expires: 2021 -02-03]
Once you have downloaded both SHA256SUMS and SHA256SUMS.gpg, you can verify the signature as follows:
$ gpg --verify SHA256SUMS.gpg SHA256SUMS
gpg: Signature made Autumn 16 Mar 08 : 45 : 45 2017 MDT using RSA key ID 7D8D0BF6
gpg: Good signature from "Kali Linux Repository"
grep potassium-linux- 2016.2 -amd64.iso SHA256SUMS | shasum -a 256 -c
If the image is successfully authenticated, the response will be as follows:
potassium-linux- 2016.2 -amd64.iso: OK
If you do not receive an ' OK ' response, stop and review the download because the Potassium image you downloaded seems to have been tampered with.Do not use it.
After downloading and verifying your image, you can proceed to create a USB drive that Kali Linux Live can boot.
See more: