Pages

Saturday, June 4, 2011

GPG Tutorial

Network Security is very important. but, awareness of that is still lacking. if we have important file in our computer we must safe that file from the others.
In this time I want to tell about PGP. PGP can safe our file our email from the others. this is steps to use PGP to safe our email.
If we use Linux as our OS, we can write on konsole below :
root@bt:~# gpg --gen-key
gpg (GnuPG) 1.4.10; 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) RSA and RSA (default)
   (2) DSA and Elgamal
   (3) DSA (sign only)
   (4) RSA (sign only)


Your selection?

Choose 1 as default!

RSA keys may be between 1024 and 4096 bits long.
What keysize do you want? (2048) <press enter>
Requested keysize is 2048 bits
Please specify how long the key should be valid.
         0 = key does not expire
      <n>  = key expires in n days
      <n>w = key expires in n weeks
      <n>m = key expires in n months
      <n>y = key expires in n years
Key is valid for? (0)

Choose 0!

Key does not expire at all
Is this correct? (y/N) y
You need a user ID to identify your key; the software constructs the user ID
from the Real Name, Comment and Email Address in this form:
    "Heinrich Heine (Der Dichter) <heinrichh@duesseldorf.de>"

Real name:
Name must be at least 5 characters long
then you must follow the steps there.

For Linux, we can use kleopatra and for Windows we can use gpg4win.

No comments:

Post a Comment