LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian
User Name
Password
Debian This forum is for the discussion of Debian Linux.

Notices


Reply
  Search this Thread
Old 02-08-2014, 10:59 AM   #1
JacekZ
Member
 
Registered: Sep 2005
Location: Notts, England
Distribution: Debian 10
Posts: 71

Rep: Reputation: 15
confused about gpg checksum verification procedure for debian iso


I download three files (an iso, a checkusm and signature file) from
http://cdimage.debian.org/debian-cd/...64/iso-hybrid/
This location is not a https type so not as secure as I might wish.

I checksum the iso and it matches the downloaded entries but that does not prove the source.
I verify the iso with the signature:
Code:
gpg --verify SHA512SUMS.sign debian-live-7.2-amd64-xfce-desktop.iso
but that does not prove the source either.

I match the output
Code:
gpg: Signature made Mon 14 Oct 2013 05:05:31 BST using RSA key ID AD11CF6A
against https://www.debian.org/CD/verify
but that just verifies the end of the fingerprint, not the whole fingerprint.

So what more can I do to check things properly?

All my attempts to do more fail, like:
Code:
gpg --keyserver keyring.debian.org --recv-keys 0xAD11CF6A
gpg: requesting key AD11CF6A from hkp server keyring.debian.org
gpgkeys: key AD11CF6A not found on keyserver
gpg: no valid OpenPGP data found.
gpg: Total number processed: 0
Thanks
Jacek
 
Old 02-08-2014, 11:57 AM   #2
unSpawn
Moderator
 
Registered: May 2001
Posts: 29,415
Blog Entries: 55

Rep: Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600
See http://pgp.mit.edu/pks/lookup?search...1CF6A&op=index which leads to http://pgp.mit.edu/pks/lookup?op=vin...0AD6B9AD11CF6A ?
 
Old 02-09-2014, 07:32 AM   #3
JacekZ
Member
 
Registered: Sep 2005
Location: Notts, England
Distribution: Debian 10
Posts: 71

Original Poster
Rep: Reputation: 15
Thanks unSpawn
sorry if this is a bit basic but I don't quite follow. The links show that the ID AD11CF6A appears to belong to someone with an account at an American university?
Jacek
 
Old 02-09-2014, 09:11 AM   #4
JacekZ
Member
 
Registered: Sep 2005
Location: Notts, England
Distribution: Debian 10
Posts: 71

Original Poster
Rep: Reputation: 15
I've figured it out now (up to a point) so if anyone follows in my footsteps..
the error occurred because I was running the "--recv-keys" command from a terminal open on a subfolder where the downloaded files to be verified reside. It appears the command has to be run from your home directory.

So the procedure to check (verify) the downloads seems to be this:

Code:
cd '/download location'
gpg --verify-files SHA512SUMS.sign
(should give abbreviated ID to lookup on https://www.debian.org/CD/verify)
(add 0x to abbreviated ID)
Code:
cd ~
gpg --recv-keys 0xAD11CF6A
cd '/download location'
gpg --verify SHA512SUMS.sign SHA512SUMS
sha512sum debian-live-7.2-amd64-xfce-desktop.iso
(compare output to content of SHA512SUMS)
 
Old 02-11-2014, 01:13 AM   #5
unSpawn
Moderator
 
Registered: May 2001
Posts: 29,415
Blog Entries: 55

Rep: Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600
Quote:
Originally Posted by JacekZ View Post
sorry if this is a bit basic but I don't quite follow. The links show that the ID AD11CF6A appears to belong to someone with an account at an American university?
The only thing I was pointing at was a way to find the key, not determine the state of it or its owner.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
slackpkg: gpg error (md5 checksum) theCalcaholic Slackware 8 02-17-2014 06:37 PM
MD5 Sum Verification Procedure Mokoyombi Linux - Newbie 4 07-03-2012 09:19 PM
GPG: Bad session key gpg between gpg on linux and gpg gui on windows XP konqi Linux - Software 1 07-21-2009 09:37 AM
gpg keys, verification JosephS Linux - Software 5 09-02-2008 01:56 AM
rpm gpg verification problem pcwulf Linux - General 3 12-14-2004 12:31 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian

All times are GMT -5. The time now is 05:12 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration