When you download Debian Linux CD or DVD images, you must verify the authenticity of Debian Linux CD or DVD images using the gpg and sha512sum command. There are three files you will find here for Debian 12 AMD64 Architecture (download those files using the wget command or use the curl command to download file):
$ wget https://cdimage.debian.org/debian-cd/current/amd64/iso-dvd/debian-12.5.0-amd64-DVD-1.iso \
https://cdimage.debian.org/debian-cd/current/amd64/iso-dvd/SHA512SUMS \
https://cdimage.debian.org/debian-cd/current/amd64/iso-dvd/SHA512SUMS.sign
Now you have three files as follows:
- debian-12.5.0-amd64-DVD-1.iso : DVD file for USB or DVD.
- SHA512SUMS : Checksum file for debian-12.5.0-amd64-DVD-1.iso to ensure that debian-12.5.0-amd64-DVD-1.iso file is not corrupted or contains bad stuff like backdoor.
- SHA512SUMS.sign : GPG signature file for SHA512SUMS file, which ensures that the checksums file themselves are correct.
{vivek@desktop:~}$ ls -l
Outputs:
-rw-rw-r-- 1 vivek vivek 3992977408 Feb 10 19:17 debian-12.5.0-amd64-DVD-1.iso
-rw-rw-r-- 1 vivek vivek 3372 Feb 10 22:11 SHA512SUMS
-rw-rw-r-- 1 vivek vivek 833 Feb 11 01:43 SHA512SUMS.sign
Love this? sudo share_on: Twitter – Facebook – LinkedIn – Whatsapp – Reddit
The post How to verify Debian CD or DVD image using GPG appeared first on nixCraft.