LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Checking sha256 from a download - check text file against what? (https://www.linuxquestions.org/questions/linux-newbie-8/checking-sha256-from-a-download-check-text-file-against-what-4175659470/)

hddfsck 08-20-2019 11:10 AM

Checking sha256 from a download - check text file against what?
 
I downloaded an .img file and I want to check the checksum data.

I am using armbian, debian10, buster.
...............
I was told to try the following:
# download public key from the database
gpg --keyserver pgp.mit.edu --recv-key DF00FAF1C577104B50BF1D0093D6889F9F0E78D5
gpg --verify Armbian_5.18_Armada_Debian_jessie_3.10.94.img.asc

I got the following answer:
gpg: keyserver receive failed: No data
root@ubuntu:~# gpg --verify Armbian_5.18_Armada_Debian_jessie_3.10.94.img.asc

I also tried just inputting the first "gpg":
root@ubuntu:~# gpg --keyserver pgp.mit.edu --recv-key DF00FAF1C577104B50BF1D0093D6889F9F0E78D5
gpg: WARNING: unsafe ownership on homedir '/home/ubuntu/.gnupg'
gpg: keyserver receive failed: No data

DO I NEED TO PUT THE FOLLOWING INTO THE CL TOGETHER, OR DO 1, AND ENTER? IF TOGETHER, DO I JUST SKIP A SPACE AT THE END OF THE "D5" on the first line?
gpg --keyserver pgp.mit.edu --recv-key DF00FAF1C577104B50BF1D0093D6889F9F0E78D5
gpg --verify Armbian_5.18_Armada_Debian_jessie_3.10.94.img.asc

UPDATE:
gpg --keyserver pgp.mit.edu --recv-key DF00FAF1C577104B50BF1D0093D6889F9F0E78D5 gpg --verify Armbian_5.93_Orangepiplus2e_Debian_buster_next_4.19.64_desktop.7z
gpg: WARNING: unsafe ownership on homedir '/home/ubuntu/.gnupg'
gpg: Note: '--verify' is not considered an option
gpg: "gpg" not a key ID: skipping
gpg: "--verify" not a key ID: skipping
gpg: "Armbian_5.93_Orangepiplus2e_Debian_buster_next_4.19.64_desktop.7z" not a key ID: skipping
gpg: keyserver receive failed: No name

pan64 08-20-2019 11:40 AM

if the first command failed the second cannot work.
Where is this information coming from?

hddfsck 08-26-2019 08:46 PM

The info to input came from armbian. Since then, they gave me new instructions which i have not tested yet. I will update shortly. Thanks!!


All times are GMT -5. The time now is 02:58 AM.