Posted by: jasonk2600 | February 7, 2008

Manually Creating a Keypair with GPG

This HowTo assumes that you have already successfully installed GNU Privacy Guard for your operating system.

At a terminal command prompt run the following command.

# gpg --gen-key
gpg (GnuPG) 1.4.1; Copyright (C) 2005 Free Software Foundation, Inc.
This program comes with ABSOLUTELY NO WARRANTY.
This is free software, and you are welcome to redistribute it
under certain conditions. See the file COPYING for details.

gpg: directory `/Users/hans/.gnupg' created
gpg: new configuration file `/Users/hans/.gnupg/gpg.conf' created
gpg: WARNING: options in `/Users/hans/.gnupg/gpg.conf' are not yet active during
this run
gpg: keyring `/Users/hans/.gnupg/secring.gpg' created
gpg: keyring `/Users/hans/.gnupg/pubring.gpg' created
Please select what kind of key you want:
   (1) DSA and Elgamal (default)
   (2) DSA (sign only)
   (5) RSA (sign only)
Your selection? 1

After selecting the default key type, you will be asked what size your keypair should be, the larger the key, the more secure it is, at the cost of the amount of computing time needed to encrypt and decrypt data using your key.

DSA keypair will have 1024 bits.
ELG-E keys may be between 1024 and 4096 bits long.
What keysize do you want? (2048) 4096

To Be Continued …


Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s


%d bloggers like this: