I am kind of new to this whole PGP TarBall File Signature Keys Verification thing. Not sure if this is the correct forum to post this question, so please move if necessary.
Here is my understanding.
- There are a bunch of TarBall files with accompanying signatures on the web.
- You download both of them.
- You gpg the signature file to make sure it is valid.
- If you don't have the key, you get it from pgpkeys.mit.edu. Always there, or other places?
- You agree to trust a given email. How do I determine which emails I should trust?
Please see below for my implementation of the above steps. I commented out the Primary key fingerprint as I didn't know if it had something to do with me. Did I need to?
Now, assuming I am doing everything correct, how do I now deal with the actual TarBall and not just the signature file?
Thank you
[root@localhost temp]# wget http://www.openwall.com/phpass/phpass-0.3.tar.gz
....
[root@localhost temp]# wget http://www.openwall.com/phpass/phpass-0.3.tar.gz.sign
....
[root@localhost temp]# gpg phpass-0.3.tar.gz.sign
gpg: Signature made Thu 22 Apr 2010 01:44:05 AM PDT using RSA key ID 295029F1
gpg: Can't check signature: public key not found
[root@localhost temp]# gpg --keyserver pgpkeys.mit.edu --recv-key 295029F1
gpg: requesting key 295029F1 from hkp server pgpkeys.mit.edu
gpg: key 295029F1: public key "Openwall Project <signatures@openwall.com>" imported
gpg: no ultimately trusted keys found
gpg: Total number processed: 1
gpg: imported: 1 (RSA: 1)
[root@localhost temp]# gpg phpass-0.3.tar.gz.sign
gpg: Signature made Thu 22 Apr 2010 01:44:05 AM PDT using RSA key ID 295029F1
gpg: Good signature from "Openwall Project <signatures@openwall.com>"
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: xx xx xx xx xx xx xx xx xx xx xx xx xx xx xx xx
[root@localhost temp]# gpg --edit-key signatures@openwall.com trust
gpg (GnuPG) 1.4.5; Copyright (C) 2006 Free Software Foundation, Inc.
This program comes with ABSOLUTELY NO WARRANTY.
This is free software, and you are welcome to redistribute it
under certain conditions. See the file COPYING for details.
pub 1024R/295029F1 created: 1999-09-13 expires: never usage: SCEA
trust: unknown validity: unknown
[ unknown] (1). Openwall Project <signatures@openwall.com>
pub 1024R/295029F1 created: 1999-09-13 expires: never usage: SCEA
trust: unknown validity: unknown
[ unknown] (1). Openwall Project <signatures@openwall.com>
Please decide how far you trust this user to correctly verify other users' keys
(by looking at passports, checking fingerprints from different sources, etc.)
1 = I don't know or won't say
2 = I do NOT trust
3 = I trust marginally
4 = I trust fully
5 = I trust ultimately
m = back to the main menu
Your decision? 5
Do you really want to set this key to ultimate trust? (y/N) y
pub 1024R/295029F1 created: 1999-09-13 expires: never usage: SCEA
trust: ultimate validity: unknown
[ unknown] (1). Openwall Project <signatures@openwall.com>
Please note that the shown key validity is not necessarily correct
unless you restart the program.
Command> q
[root@localhost temp]# gpg phpass-0.3.tar.gz.sign
gpg: Signature made Thu 22 Apr 2010 01:44:05 AM PDT using RSA key ID 295029F1
gpg: checking the trustdb
gpg: 3 marginal(s) needed, 1 complete(s) needed, PGP trust model
gpg: depth: 0 valid: 1 signed: 0 trust: 0-, 0q, 0n, 0m, 0f, 1u
gpg: Good signature from "Openwall Project <signatures@openwall.com>"
[root@localhost temp]#