Configure PGP using the Command Line
This HOWTO will take you through a quick & basic PGP Key creation, and
of your PGP key to public servers.
Table of Contents:
First, you'll need to make sure
you have (or install) the following packages:
Then proceed with the following:
Launch a terminal window by hitting Alt & F2 then type xterm
Enter the following xterm window:
Then enter 1 (this selects the option, "1- to create a standard DSA/ElGamal
key" - this
by default) and
Type in 1024 and then press Enter
Type in 0 and then press Enter
Enter a y and then press Enter
Type in your Real Name, as in your first and last name and press Enter
Type in your email address (this is the email address you will be using your
GPG Key with) and press Enter
In the Comment field, you can leave this blank or add other important information,
then press Enter
Type 0 (as in Okay) to confirm settings so far and then press Enter
You will now have to type in your Pass Phrase - it's recommended to
use a sentence with a mix of random numbers and mixed capitalization; do not
this easy to guess!
IMPORTANT: The Pass Phrase is not long enough you will
be warned and prompted to enter a new one again
You will have to re-enter your Pass Phrase again to confirm it
Wait for your computer to generate the random bytes needed for they key, this
could take a while
PGP Key Submission
One they Key generation process has finished, proceed with the following:
While in the same xterm, type in the following command:
--export -a "User Name" > public.key
Be sure to replace "User
Name" with your actual username
Open a nautilus window by hitting Alt & F2 and typing nautilis
Find the file public.key in your home
Right click on the file, then left click on Open with "Text Editor"
Press CTRL+A, then CTRL+C
Or, Edit -> Select All and
then Edit -> Copy
Launch a web browser and visit this page, http://pgp.mit.edu
In the box under labeled "Submit a key" - right click in
the box and then left click on Paste
Click on the button labeled, Submit
this key to the keyserver!
Go back to http://pgp.mit.edu
Type in your First and Last name in the Search String: box
On the results page you are looking for keyID column
Highlight and copy your keyID - you will need
to refer to this when singing or encypting files, email messages, etc.
The instructions and screen shots contained within this website are specific to services offered by Real Time Enterprises only.
Permission is granted to copy, distribute and/or modify this
document under the terms of the GNU Free Documentation License,
Version 1.1 or any later version published by the Free Software
Foundation; with no Invariant Sections, no Front-Cover Texts and
no Back-Cover Texts. A copy of the license is included in the
section entitled "GNU Free Documentation License".