I have downloaded a couple of source files with corresponding signatures (the code below) but I have got errors.
For instance, I am trying to verify a signature using gpg2:
Code:
wget -c https://www.gnupg.org/ftp/gcrypt/gnupg/gnupg-2.1.21.tar.bz2
wget -c https://www.gnupg.org/ftp/gcrypt/gnupg/gnupg-2.1.21.tar.bz2.sig
gpg2 --verify libgpg-error-1.27.tar.bz2.sig libgpg-error-1.27.tar.bz2
but I have got this error:
Code:
gpg: Signature made Tue 28 Feb 2017 14:18:10 GMT using RSA key ID 4F25E3B6
gpg: Can't check signature: No public key
gpg: Signature made Tue 04 Apr 2017 12:04:32 BST using RSA key ID 33BD3F06
gpg: Can't check signature: No public key
They say on this website
https://gnupg.org/download/integrity_check.html
that if the output is like this, I should treat files as suspicious but I checked its checksum by
sha1sum and every thing looks all right--the codes from website and generated by sha1sum match
Code:
mine: 1852c066bc21893bc52026ead78edf50fdf15e13
theirs: 1852c066bc21893bc52026ead78edf50fdf15e13
Why can't GPG signature get passed?
Thanks