GPG comand linux : How to encrypt and decrypt file

| June 12, 2011 | 0 Comments

GPG Encrption

gpg command

By using gpg command we can do gpg encryption and decryption of file in linux/unix

# gpg -c

Enter passphrase:

Repeat passphrase:

This will create a file name FileName.gpg

To Dycrypt the file

# gpg FileName.gpg

gpg: CAST5 encrypted data

Enter passphrase:

Tags: , ,

Category: Tips for linux

Leave a Reply

You must be logged in to post a comment.