Jul 11, 2008

Generate your gpg-key


GNU Privacy Guard (GnuPG or GPG) is a replacement for the PGP suite of cryptographic software. It is freely available and is a part of Free Software Foundation's GNU software project.

Generating your gpg-key in linux
Terminal,:) the following:

~$ gpg --gen-key

You will be asked with the following options:
(1) DSA and Elgamal (default)
(2) DSA (sign only)
(5) RSA (sign only)

*nux-platform developers are crazy... there is no any reason for sth like this 1, 2 and then suddenly 5 ;)

Choose the option according to your choice if you dont know what DSA and RSA are. Just gooooogle them. I recommend choosing (2) as it gives better security. Remember it's just for signing purpose.

DSA keypair will have 1024 bits.
Please specify how long the key should be valid.
0 = key does not expire
= key expires in n days
w = key expires in n weeks
m = key expires in n months
y = key expires in n years

Choose 0 if you dont want it to expire.
Provide your Real name ( at least 5 chars ), Email address and Comment.

Conform (enter alpha-O) it and wait few secs and your key is ready.

Ps: You may be asked to move your mouse or do any thing on your desktop to refill the pool of random numbers.

1 comment:

shubuntu said...

Hi, this was great! It helped me.
Thanks.

http://shubuntu.blogspot.com