SUSEUnbound
Would you like to react to this message? Create an account in a few clicks or log in to continue.


 
HomeHome  PortalPortal  Latest imagesLatest images  SearchSearch  RegisterRegister  Log in  
openFate
How to verify .iso gpg signatures Fatelogo_small openFATE - openSUSE feature tracking
Latest topics
» Difference between 42.2 and 42.1
How to verify .iso gpg signatures Emptyby findoctr Thu Dec 15, 2016 7:53 pm

» openSUSE Leap 42.1 ?
How to verify .iso gpg signatures Emptyby findoctr Fri Feb 05, 2016 8:09 pm

» Happy Turkey Day
How to verify .iso gpg signatures Emptyby findoctr Thu Nov 26, 2015 1:45 pm

» Happy 4th of July!
How to verify .iso gpg signatures Emptyby bozo Sat Jul 04, 2015 12:56 pm

» It's been a while ...
How to verify .iso gpg signatures Emptyby bozo Mon Feb 23, 2015 8:34 pm

» Mondo chillers
How to verify .iso gpg signatures Emptyby bozo Wed Feb 18, 2015 5:11 am

Navigation
 Portal
 Index
 Memberlist
 Profile
 FAQ
 Search
IRC Channel
You can also find us on IRC's freenode.net as #suseunbound.

 

 How to verify .iso gpg signatures

Go down 
3 posters
AuthorMessage
Laz
Gecko
Laz


Posts : 201
Join date : 2012-06-13
Location : Delta BC

How to verify .iso gpg signatures Empty
PostSubject: How to verify .iso gpg signatures   How to verify .iso gpg signatures EmptyTue Oct 23, 2012 6:43 pm

1.Download both the .iso and the gpg signature, which is an ascii
file. Also make note of what the signature should be. For this
example: 22C0 7BA5 3417 8CD0 2EFE 22AA B88B 2FD4 3DBD C284.

laz@linux-zl0u:~> cd Downloads
laz@linux-zl0u:~/Downloads> ls

openSUSE-12.2-GNOME-LiveCD-x86_64.iso
openSUSE-12.2-GNOME-LiveCD-x86_64.iso.asc

2. Verify validity. Note: .asc file is first.

laz@linux-zl0u:~/Downloads> gpg -v --verify openSUSE-12.2-GNOME-LiveCD-x86_64.iso.asc openSUSE-12.2-GNOME-LiveCD-x86_64.iso

Version: GnuPG v1.0.7 (GNU/Linux)
gpg: armor header:
gpg: Signature made Thu 30 Aug 2012 03:11:40 AM PDT using RSA key ID 3DBDC284
gpg: Can't check signature: No public key

3. If no public key is found, it needs to be downloaded using the RSA key ID provided in step 2.

laz@linux-zl0u:~/Downloads> gpg --recv-key 3DBDC28


gpg: requesting key 3DBDC284 from hkp server keys.gnupg.net
gpg: /home/laszlo/.gnupg/trustdb.gpg: trustdb created
gpg: key 3DBDC284: public key "openSUSE Project Signing Key <opensuse@opensuse.org>" imported
gpg: no ultimately trusted keys found <---- See note a.
gpg: Total number processed: 1
gpg: imported: 1 (RSA: 1)

4.Verify the downloaded public key:

laz@linux-zl0u:~/Downloads> gpg --fingerprint
/home/laz/.gnupg/pubring.gpg
-------------------------------
pub 2048R/3DBDC284 2008-11-07 [expires: 2014-05-04]
Key fingerprint = 22C0 7BA5 3417 8CD0 2EFE 22AA B88B 2FD4 3DBD C284
uid openSUSE Project Signing Key <opensuse@opensuse.org>

The fingerprint matches the published value.

5. Repeat step 2

laz@linux-zl0u:~/Downloads> gpg -v --verify openSUSE-12.2-GNOME-LiveCD-x86_64.iso.asc openSUSE-12.2-GNOME-LiveCD-x86_64.iso
Version: GnuPG v1.0.7 (GNU/Linux)
gpg: armor header:
gpg: Signature made Thu 30 Aug 2012 03:11:40 AM PDT using RSA key ID 3DBDC284
gpg: using PGP trust model
gpg: Good signature from "openSUSE Project Signing Key <opensuse@opensuse.org>"
gpg: WARNING: This key is not certified with a trusted signature!
gpg: There is no indication that the signature belongs to the owner.
Primary key fingerprint: 22C0 7BA5 3417 8CD0 2EFE 22AA B88B 2FD4 3DBD C284
gpg: binary signature, digest algorithm SHA256

Notes: a. It is ironic that this warning may be ignored considering that the
key is used to check security. Apperently it could be avoided by
housing the signed public key on the SUSE server.
Fedora does this with their keys.

b. The “Good signature” statement indicates a match between the
key, and the iso.

Back to top Go down
bozo
Admin
bozo


Posts : 402
Join date : 2010-02-23
Location : Way out in the sticks in the Gold Country of California

How to verify .iso gpg signatures Empty
PostSubject: Re: How to verify .iso gpg signatures   How to verify .iso gpg signatures EmptyWed Oct 24, 2012 1:03 am

Thank you, Laz, very clear step-by-step instructions. This should come in handy.

clown
Back to top Go down
bdquick
Admin
bdquick


Posts : 583
Join date : 2010-02-22
Age : 45
Location : Central Iowa

How to verify .iso gpg signatures Empty
PostSubject: Re: How to verify .iso gpg signatures   How to verify .iso gpg signatures EmptyWed Oct 24, 2012 10:36 pm

Looks like we have the makings of a gpg key guru.
Back to top Go down
Laz
Gecko
Laz


Posts : 201
Join date : 2012-06-13
Location : Delta BC

How to verify .iso gpg signatures Empty
PostSubject: Re: How to verify .iso gpg signatures   How to verify .iso gpg signatures EmptyThu Oct 25, 2012 4:35 pm

Thank you for the kind words, largely undeserved. I am barely scratching at the basics of gpg. Since I have no need for encrypted correspondance, I'll go no further.
Back to top Go down
bdquick
Admin
bdquick


Posts : 583
Join date : 2010-02-22
Age : 45
Location : Central Iowa

How to verify .iso gpg signatures Empty
PostSubject: Re: How to verify .iso gpg signatures   How to verify .iso gpg signatures EmptyThu Oct 25, 2012 6:31 pm

Laz wrote:
Thank you for the kind words, largely undeserved. I am barely scratching at the basics of gpg. Since I have no need for encrypted correspondance, I'll go no further.

That's the same reason I never looked into it.
Back to top Go down
Sponsored content





How to verify .iso gpg signatures Empty
PostSubject: Re: How to verify .iso gpg signatures   How to verify .iso gpg signatures Empty

Back to top Go down
 
How to verify .iso gpg signatures
Back to top 
Page 1 of 1

Permissions in this forum:You cannot reply to topics in this forum
SUSEUnbound :: Extended Documents and How-tos :: How-tos-
Jump to: