How to Decrypt a File Using PGP
By Allen Bethea
While files secured with PGP encryption are safe from unauthorized access, they are useless to you as well, if you can’t find a way to decrypt them first. Fortunately, Symantec’s PGP encryption tools enable you to decrypt your files at the command line or by using a point-and-click graphical user interface. At the time of publication, however, Symantec has not officially released its PGP tools for Windows 8 users.
PGP Command Line Decryption
Launch your command-line utility, then navigate to the directory containing the file you want to decrypt. You can launch the command shell by pressing the “Windows-R” keys, typing “cmd” into the search box, then pressing “Enter.”
Type in the PGP command to decrypt your file at the command prompt. For example, if your encrypted file is named "myblackbook.txt.pgp" and your password is "mapulstirrup," then type the following PGP command at the prompt:
pgp --decrypt --passphrase mapulstirrup --input - <myblackbook.txt.pgp
Press the "Enter" key to start the decryption process. PGP should generate an unencrypted version of your file with the same name as the decrypted file, but without the ".pgp" file extension.
PGP Desktop Decryption
Launch PGP Desktop, click the "Tools" menu, then click "Options."
Click the "NetShare" tab, check the "Protect individual files" box, then click "OK." This allows you to decrypt or encrypt individual files outside of a protected, shared folder.
Click the “Start” button, then type the name of the file into the search box. If you type in the “pgp” file extension, you can get a listing of all PGP-encrypted files on the connected storage devices you have access to.
Right-click the file you want to decrypt, click “PGP Desktop,” then “Remove from PGP NetShare.”
Click “Yes” to confirm that you want to decrypt or remove protection from the file, then click “Finish” when done.
Allen Bethea has written articles on programming, web design,operating systems and computer hardware since 2002. He holds a Bachelor of Science from UNC-Chapel Hill and AAS degrees in office technology, mechanical engineering/drafting and internet technology. Allen has extensive experience with desktop and system software for both Windows and Linux operating systems.