Hi,
Here's what you need to do to get started.
Generate your public/private key pair.
Determine the key-id for your key-pair and use it to publish the public key to a keyserver.
Code:
gpg --send-keys DEADBEEF
If you would like to send an encrypted message to another user. You first need to import their public key into your keyring.
Import keys from a keyserver:
Code:
gpg --search-keys user2@otherdomain.com
Encrypting a file for user2:
Code:
gpg -ae secretfile.txt
This would output the encrypted file
secretfile.txt.asc
Most email clients allow you to specify the key-id to use for encrypting and/or signing email. I also remember having tried a FireFox plugin(FireGPG) that worked with Gmail.
With regards to backup, I would suggest making a copy of both your public/private keys as follows:
Code:
gpg -a --export-secret-keys user@domain.com > secretkey.asc
gpg -a --export user@domain.com > publickey.asc