Linux GnuGP

=How to encrypt or decrypt using GPG=
 * keywords : #email-encryption, #GPG, #PGP, #Thunderbird, #Enigmail, #cryptography

How to encrypt a file using gpg with a passphrase
$ cat myfile.txt Hello Ninja.pt online

$ gpg -v -c myfile.txt ..passphrase... ..confirming passphrase...

$ ls myfile.txt myfile.txt.gpg

cat myfile.txt.gpg E�#��sa�}~4��/ ��>����U������P��EB�&a $

How to decrypt a file using gpg with a passphrase
$ gpg -v --output myfile_decrypted.txt --decrypt myfile.txt.gpg gpg: 3DES encrypted data

gpg: encrypted with 1 passphrase gpg: original file name='myfile.txt' gpg: WARNING: message was not integrity protected

$ ll myfile_decrypted.txt myfile.txt.gpg

$ cat myfile_decrypted.txt Hello Ninja.pt online $

More information



 * http://pgp.mit.edu/
 * http://irtfweb.ifa.hawaii.edu/~lockhart/gpg/
 * http://www.cryptnet.net/fdp/crypto/keysigning_party/en/keysigning_party.html#prep
 * http://www.dewinter.com/gnupg_howto/english/GPGMiniHowto-7.html#ss7.1
 * http://www.gnupg.org/


 * also know about PGP