Use gpg
From Linuxintro
Revision as of 11:54, 25 April 2009 by imported>ChrisM
Contents
Introduction
gpg (more specific: GnuPG) can be used to encrypt/decrypt all sort of data, text including mails and binary files, for use of a recipient or for everyone who knows the passphrase (symmetric encryption). It is one of the most established standards for encryption and embedded into many applications, though this article focuses on direct use of gpg on the CLI.
Installation
Packages should be available for all distributions. The package is usually called "gnupg". If you do not know how to install packages, look here.
Usage
Creating a key
...
Exporting your key
...
Importing keys
...
Listing all known keys
...
Encryption
...
Decryption
...
Signing and verifying signs
...
Symmetric encryption/decryption
...
Going further
- Setup gpg-agent which helps you by caching pass phrases, if you want.
- Install a graphical frontend like kgpg (good KDE frontend, albeit a bit buggy).