Verify downloaded file with gnupg: Difference between revisions
Jump to navigation
Jump to search
mNo edit summary |
|||
| Line 25: | Line 25: | ||
== further reading == | == further reading == | ||
* [http://www.gnupg.org/docs.html GnuPG documentation] | * [http://www.gnupg.org/docs.html GnuPG documentation] | ||
* related terms: MD5 or SHA1 Checksum | |||
[[Category:Security]] | [[Category:Security]] | ||
Revision as of 11:06, 22 December 2011
Way to verify downloaded file with gnupg
- Download and install GnuPG 1.4.11 compiled for Microsoft Windows(download directly).
- Locate the downloaded file at another website:(1)file.tar.gz.sig (GPG security signature) (2)file.tar.gz (3)keys.txt (GPG public keys from the website owner who offered files file.tar.gz.sig & file.tar.gz)
C:\Program Files\GNU\GnuPG\ * gpg.exe * file.tar.gz.sig * file.tar.gz * keys.txt
- open the console window
- cmd > C:\Program Files\GNU\GnuPG>gpg --import keys.txt
- cmd > C:\Program Files\GNU\GnuPG>gpg --verify file.tar.gz.sig file.tar.gz
Expected result after executed --verify command:
gpg: Good signature from ...
Troubleshooting
I met the message "Can't check signature: public key not found" after I executed --verify command
- Solution: need to import the GPG public keys gpg --import keys.txt
further reading
- GnuPG documentation
- related terms: MD5 or SHA1 Checksum