GPG is a tool to encrypt and decrypt messages. It uses asymmetrical key cryptography. This means one key is used to encrypting, called private key, and another is used to decrypting, called public key.
Creating Keys
gpg is already installed in Ubuntu. To generate keys run :
$ gpg --gen-key
gpg (GnuPG) 1.4.9; Copyright (C) 2008 Free Software Foundation, Inc.
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.
Please select what kind of key you want:
(1) DSA and Elgamal (default)
(2) DSA (sign only)
(5) RSA (sign only)
Your selection?
Type 1 and press Enter.
This allow you to encrypt, decrypt and sign.
DSA keypair will have 1024... ... leer más en >>> salahtriki.wordpress.com
