GnuPG is a complete and free implementation of the OpenPGP standard as defined by RFC4880 (also known as PGP). GnuPG allows to encrypt and sign your data and communication, features a versatile key management system as well as access modules for all kinds of public key directories. GnuPG, also known as GPG, is a command line tool with features for easy integration with other applications.
Why use encryption?
Even if you have nothing to hide, using encryption helps protect the privacy of people you communicate with, and makes life difficult for bulk surveillance systems.
Encrypting a file with a password
To encrypt a file, open a terminal in the directory of the file you want to encrypt. Encrypt the file using the command
Code: Select all
$ gpg -c thenameofmyfile
Code: Select all
$ gpg -c mypasswords.odt
Code: Select all
Enter passphrase:
Repeat passphrase:
Decrypting the file
To decrypt the file, use the following command:
Code: Select all
$ gpg thenameofmyfile
Code: Select all
$ gpg mypasswords.odt.gpg
Several files or folders can be encrypted using the same method. Just use tar them (or whatever) to put them all into a single archive first.
See also:
https://gnupg.org/
https://en.wikipedia.org/wiki/GNU_Privacy_Guard
http://www.cyberciti.biz/tips/linux-how ... sword.html