Monday, October 26, 2009

How to decrypt a file using GPG/GnuPG

Decrypting a file is just as easy. Simply run this command:

Code:
# gpg --output  --decrypt 
Replace with the name of the file you want to produce, decrypted. Replace with the name of the encrypted file. For example:

Code:
# gpg --output test.txt --decrypt /home/tor/test.txt.gpg
If you only have the the pass phrase (password) you can decrypt using --symmetric

Code:
# gpg --output  --symmetric .gpg

Enjoy ubuntu... ;)

No comments:

kunkun-laptop .... ;)