Skip to content

Instantly share code, notes, and snippets.

@legumbre
Created November 6, 2011 03:28
Show Gist options
  • Save legumbre/1342422 to your computer and use it in GitHub Desktop.
Save legumbre/1342422 to your computer and use it in GitHub Desktop.
GPG verify signature (firefox)
# verifying firefox signature on live distro
user@debian:~/Downloads$ gpg --verify firefox-7.0.1.tar.bz2.asc firefox-7.0.1.tar.bz2
gpg: Signature made Fri 30 Sep 2011 06:39:02 PM UTC using DSA key ID C52175E2
gpg: Can't check signature: public key not found
user@debian:~/Downloads$ gpg --search-keys C52175E2
gpg: searching for "C52175E2" from hkp server keys.gnupg.net
(1) Mozilla Software Releases <[email protected]>
1024 bit DSA key 1EBCAB3A, created: 2011-07-22
Keys 1-1 of 1 for "C52175E2". Enter number(s), N)ext, or Q)uit > 1
gpg: requesting key 1EBCAB3A from hkp server keys.gnupg.net
gpgkeys: key 1EBCAB3A not found on keyserver
gpg: no valid OpenPGP data found.
gpg: Total number processed: 0
user@debian:~/Downloads$ gpg --recv-keys C52175E2
gpg: requesting key C52175E2 from hkp server keys.gnupg.net
gpg: key 1EBCAB3A: public key "Mozilla Software Releases <[email protected]>" imported
gpg: no ultimately trusted keys found
gpg: Total number processed: 1
gpg: imported: 1
user@debian:~/Downloads$ gpg --verify firefox-7.0.1.tar.bz2.asc firefox-7.0.1.tar.bz2
gpg: Signature made Fri 30 Sep 2011 06:39:02 PM UTC using DSA key ID C52175E2
gpg: Good signature from "Mozilla Software Releases <[email protected]>"
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: 9D03 193D 6BDC 541B D796 C4E4 7F4D 6645 1EBC AB3A
Subkey fingerprint: 247C A658 AA95 F617 1EB0 F13E A7D7 5CC7 C521 75E2
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment