Verify downloaded file with gnupg: Difference between revisions

From LemonWiki共筆
Jump to navigation Jump to search
(Created page with "== Ways on how to verify downloaded file with gnupg == * Download and install [http://www.gnupg.org/download/ GnuPG 1.4.11 compiled for Microsoft Windows]([ftp://ftp.gnupg.org/g...")
 
mNo edit summary
Line 24: Line 24:
* Solution: need to import the GPG public keys
* Solution: need to import the GPG public keys


== further reading ==
* [http://www.gnupg.org/docs.html GnuPG documentation]


[[Category:Security]]
[[Category:Security]]

Revision as of 10:19, 26 February 2011

Ways on how to verify downloaded file with gnupg

  • 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)
C:\Program Files\GNU\GnuPG\
* gpg.exe
* file.tar.gz.sig                     
* file.tar.gz                         
* keys.txt                            
  • open the console window
    1. cmd > C:\Program Files\GNU\GnuPG>gpg --import keys.txt
    2. 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


further reading