Skip to content

Instantly share code, notes, and snippets.

@lrascao
Created September 13, 2016 21:56
Show Gist options
  • Save lrascao/24a73c375d8aafd6fd5a3a91545aaee1 to your computer and use it in GitHub Desktop.
Save lrascao/24a73c375d8aafd6fd5a3a91545aaee1 to your computer and use it in GitHub Desktop.
Validating gcc signature
# download the Gnu keyring and import it
curl http://ftp.gnu.org/gnu/gnu-keyring.gpg -O
gpg --import gnu-keyring.gpg
# download the gcc tarball and verify it
curl ftp://ftp.gnu.org/pub/gnu/gcc/gcc-5.4.0/gcc-5.4.0.tar.bz2.sig -O
gpg --verify ./gcc-5.4.0.tar.bz2.sig
gpg --verify ./gcc-5.4.0.tar.bz2.sig gcc-5.4.0.tar.bz2
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment