PGPTutorial PDF
PGPTutorial PDF
PGPTutorial PDF
1|P a ge
(letters and numbers and other characters such as !, ?, or %) that is generated by PGP at your request
using special encryption algorithms.
The first of the two keys you'll create is your Public Key, which you'll share with anyone you wish
(the tutorial also will show you how you can put your Public Key on an international server so that
even strangers could send you encrypted data if they wanted). Your Public Key is used to encrypt a
messageput it into secret code so that its meaning is concealed to everyone except you.
Then there is your Private Key, which you'll jealously guard by not sharing with anyone. The
Private Key is used to decryptdecodethe data (messages and so forth) that have been encrypted
using your Public Key. This means that the message encrypted (encoded) using your Public Key can
only be decrypted (decoded) by you, the owner of the corresponding Private Key.
The designation of one of the two keys (Key1, say) as Public and the other (Key2) as Private is
purely arbitrary since there is no functional difference between the two. PGP chooses one to act as
the Public Key and designates the other as the Private Key. If it chooses to designate them in the
other order (Public=Key2 and Private=Key1), it would make no difference. This is because when
either key is used to encrypt something, the other will act as the corresponding decrypting key to
convert the encrypted data back into its original form. This capability is at the heart of the "Signing"
process mentioned in Steps 7 through 9 below.
Public and Private Key encryption solves one of two major problems with older methods of
encryption, namely that you had to somehow share the key with anyone you wanted to be able to
read (decrypt) your secret message. The very act of sharing the key meant that some untrustworthy
so-and-so could intercept itand frequently did. Which meant your code was practically useless.
The second major problem with older methods of encryption was the relative ease with which the
code could be broken. Codes have to be incredibly complex if they're to foil the attempts of astute
humans to crack them. This is all the more the case today when we have increasingly powerful
computers to do the dirty, "brute force," work of trying every conceivable combination of key
possibilities for us. PGP, and other similar encryption systems, use a key that is reallywell,
astronomicallylarge, meaning that the number of binary bits (1s and 0s) used to create it has an
astronomically large number of possible combinations and the actual decimal (base 10) value they
represent is astronomically huge. Unlike earlier encryption methods, the security of PGP encryption
lies entirely with the key. Earlier encryption methods relied on "security through obscurity" (ie:
keeping secret the method used to do the encryption). The methods used to do PGP encryption are
known and documented. It is PGP's selection of the complex keys used to do an encryption that
makes it next to impossible to crack.
The size of the key can be increased whenever necessary to stay one step ahead of advances in
technology. Time alone will tell if PGP can stand the test of time, but for now it's one of the best
encryption technologies you'll find.
If you would like to read the history of encryption and understand the origins of Zimmermann's PGP
program, an excellent account is given in Simon Singh's CODE BOOK (Doubleday, New York, NY,
1999). Find out more about PGP at the International PGP home page. You might also like to join the
PGP-BASICS User group where you can find speedy and informed answers to questions that might
arise as you get started using PGP.
3|P a ge
In your browser, go to the International PGP home page and, in the list of Contents on the left
side of the screen, select the option to download.
On the next web page, click on the second item in the list (PGP), then on the next page click
on the item suited to your Windows OS (Windows 2000, Windows 3.x, Windows
95/98/NT, Windows ME, or Windows XP), though the subsequent steps are the same no
matter which OS you choose.
On the next page, click on the item PGP 8.0, as this is the latest version of PGP you want to
download.
On the next page, click on Download PGP 8.0.2 (English)unless you want to use the
German version.
On the next page, read the contents of the page, and then, at the bottom, click in the box to
confirm that "I have read and agree to the above PGP Software License Agreement,
then click on Accept. At various points during this whole download and installation process
you will be informed about paying options for the PGP software; ignore these terms and
options because you will be using the free subset of the software (unless, of course, you want
to pay for the full PGP suite of programs).
In the next window, you will be prompted to download the PGP Desktop 10.0
Documentation, followed by the PGP Desktop 10.0.0 Windows productsgo ahead and
do this, selecting the version of the documentation that suits your needs and, for the software
download, be sure to click on the Save button to save the program on your computer in a
place where you will be easily able to find it later for installation purposes (see figure below).
4|P a ge
After you click on the Save button, you will be prompted to tell your browser where you
want to save the PGP program zip file. Be sure to select a location on your desktop or hard
drive where later you'll be able to easily find the downloaded installation file of the PGP
software; then click on the Save button. The download will take a while, depending on the
speed of your connection to the web.
Once the download is complete, locate the downloaded zip file
PGPDesktop10.0.0_Windows, double click on it to open it so that you can extract the two
files you see in the zip file window, and, in the menu bar, click on Extract all files. You will
again be prompted for where you want to put the extracted files and the default will be to put
them in the same place as the zip file, which is fine; so go ahead and click on the Extract
button.
You will see a new yellow unzipped folder titled PGPDesktop10.0.0_Windows. Double
click on this folder to open it. You will see two files inside the folder; double click on the
file named PGPDesktop10.0.0_Windows_Inner.
This will open up the inner zipped file in which are two PGP Application files, one for a 64bit OS and the other for a 32-bit OS. If you don't know which OS you have, click on the
Start button and, in the pop up menu right click on (My) Computer and, in the context
menu, select the last item: Properties. In the info box that pops up you will be able to read
whether your OS is 64-bit or 32-bit. Whichever is the case for you, in the menu bar, click on
Extract all files. You will again be prompted for where you want to put the extracted files
and the default will be to put them in the same place as the zip file, which is fine; so again go
ahead and click on the Extract button. A new window pops up and, in this new window,
double click on the OS version that is appropriate for your system. This will start the
installation process.
The company, PGP International, lists the following steps to install PGP Desktop on your
computer, including the very important license number that you will need to successfully
complete the installation. If the license number displayed on your computer is different from
the one displayed below, be sure to make a note of it.
After installation of PGP Desktop completes, you are prompted to enable PGP for the
account.
Click Next to begin the PGP Setup Assistant.
5|P a ge
Enter Trial User as the user name and 30 Day Product Trial as the Organization.
Do not enter an email address.
Enter this license number: DA2K7-TD3VG-729ML-GMU14-HEZT2-CWA.
Follow the remaining instructions onscreen to complete installation.
Note: To avoid typing errors and make the authorization easier, copy the entire license number,
put the cursor in the first "License Number" field, and paste. The license number will be
correctly entered into all six "License Number" fields. You may also copy and paste the user
name and organization values in bold above.
The Installation assistant will prompt you through the stepsaccept the License agreement and
simply click on the Next button as you allow the installation to proceed. At the end of the
installation process, you will be prompted to Restart your computer; go ahead and do this when you
have completed installation of the PGP software.
Step 2: Creating your Public and Private PGP keys
If, during the installation process, you indicated that you are a new user of PGP, you will have been
prompted to create a Public and Private Key pair as part of the installation process, in which case you
can skip this section and proceed directly to Step 3.
Now that you have the PGP software installed on your computer, you need to create a Public and
Private Key pair. This you can do at any time. Remember as you complete the steps that follow that
your Public Key is so called because you will willingly share it with others so that they can use it to
send you encoded information. Your Private Key is so called because it alone will decode any
information that has been encoded with your Public Key. As long as you alone have knowledge of,
and access to, your Private Key and the passphrase that goes with it, your privacy will be assured.
Here are the steps to follow to create a new Public and Private Key pair:
Once you've decided on your Passphrase, write it down if necessary so you don't forget it;
then, as Steve Kinney recommends, write on the note in large letters the word "DESTROY"
or "BURN" to remind yourself to do this once you've used the new Passphrase often enough
to know it by heart.
Enter your Passphrase once you've decided what it will be, hit Tab, and re-enter it for
confirmation. Then click Next again. The Key Generation Assistant will now go ahead and
generate the new Key Pair. Step 3 below explains how to change your Passphrase, so if you
change your mind about the Passphrase you just chose, it's not a problem to select a new one.
If you have entered an inadequate Passphrase, the PGP Assistant will warn you and ask
you to go back and re-enter another Passphrase. But if all is well, the PGP Key Generation
Assistant will have generated your key pair. During the process, you may be prompted to
move your mouse around or hit random keys on the keyboard to help the Assistant create a
more secure key. Click Done when the Assistant has finished generating your key.
That's it! You're done creating your PGP Public and Private Keys. Now all you have to do is share
your Public Key with anyone with whom you wish to exchange secure information. Steps 4 through
12 tell you how to do this, and how to use your key and those of your correspondents to encrypt and
decrypt the data that you exchange.
Step 3: Changing your Passphrase
After a while, as you become more accustomed to using PGP, you may well want to change your
Passphrase, especially if the one you first chose is not complex enough for your liking, or if it has
become compromised by someone else discovering what it is. Changing your Passphrase is a simple
process. To change your Passphrase, here's all you do:
7|P a ge
The recipient of your Public Key will have to have PGP installed on their own computer if they want
to be able to add your Public Key to their keyring and use it to encrypt the data they want to send
you. Likewise, you must have anyone else's Public Key on your keyring in PGP Desktop if you want
to send them encrypted data. This is a bit tricky to understand at first, but think about it. Anyone who
uses PGP has two keys, a Public Key and a Private Key. Your Public Key is used by other people to
encrypt information they want to send you so no one else but you can know what the information
contains. When you receive an encrypted message from someone (could be any kind of data, not just
text), you use your Private Key to decrypt it. The neat thing is that you're the only person who can
decrypt the secret message because you're the only person who has the Private Key, with the
Passphrase that unlocks it (unless you share your Passphrase and Private Key with someone else,
which would defeat the purpose of PGP!).
If you want to, you can put your Public Key on one or more servers that form an international server
chain. Effectively, this makes your Public Key available to anyone anywhere who would like to
exchange secure communications with you. Step 5 below explains how to do this.
To include your Public Key in an e-mail message, here's all you do:
Step 5: Making your Public Key available through the Global Directory
It's a good idea eventually to place your Public Key(s) on what's called a public certificate server.
This is a server where anyone can access your Public Key and use it to send you encrypted messages.
You'll still be the only one who can decrypt the message because you alone have the Private Key, so
you never need worry that your privacy will be compromised just because you made your Public Key
public. After all, that's why it's called a Public Key. However, as a beginner to PGP, you may not
want to do this right away, since you may well decide to change your Public Key at a later date for
one reason or another. The thing is that, once you put your Public Key on a certificate server, you
can't remove it, and there's no point littering the server with keys that are never going to be used. So
keep this section of the tutorial in mind for later, after you've got used to using the program and have
settled into using a particular Public Key.
Here, then, are the simple steps to make your Public Key available through the Global Directory. It
doesn't matter which server you post your Public Key to, by the way, since they are all interlinked.
Wherever you post your Public Key, it will be available worldwide.
Start by connecting to the internet, so that PGP can access the web site where your Public
Key can be sent and included in the database (Global Directory) of Public Keys.
Open PGP Desktop by selecting Start/Programs/PGP/PGP Desktop or by clicking on the
PGP Desktop icon in the lower right corner of your screen and selecting PGP Desktop in
the pop up menu.
8|P a ge
In the PGP Desktop window, among the list of keys you see there, click on the icon
representing your Public Key. This is the key you want to post to the Global Directory.
Now, in the Keys menu select Publish to Global Directory and follow the steps in the PGP
Global Directory Assistant.
PGP will now access the server for you and post your Public Key there. When it's done, it'll inform
you that the key was posted successfully and tell you that you need to go to your email account in
order to respond to an email sent to you from the Global Directory server which will verify your key
on the server.
Step 6: Obtaining and Adding someone else's Public Key to your keyring
Once again this is simple enough. There are two ways to do this. You can either have someone send
you their key in an e-mail and then paste it into your keyring from their e-mail or, if they have their
key already posted to a certificate server, you can go get it yourself. Here is all you do if you get
someone's public key in an e-mail:
First you tell your friend or friends to follow Step 4 above to send you their Public Key in
an e-mail message.
Open the e-mail message containing the Public Key you wish to add to your keyring.
Drag to select from -----BEGIN PGP PUBLIC KEY BLOCK----- all the way down
to -----END PUBLIC KEY BLOCK-----.
Then copy it (Edit > Copy or cntrl-C)
Open PGP Desktop by selecting Start/Programs/PGP/PGP Desktop or by clicking again
on the PGP Desktop icon in the lower right corner of your screen and selecting PGP
Desktop in the pop up menu.
In the PGP Desktop window, paste the Public Key you wish to add to your keyring (Edit >
Paste or cntrl-V).
Voil! Check the keys in your keyring to verify that the new key has been added to the list.
For the record, and for practice, the following are the Public Keys of the authors of this
tutorial. Add these Public Keys to your keyring now.
7RqnliUsYCL00aFoEDXIJ4T18dB8a/KO9Jh520+RXOUOMe0G4rQkQmVybmllIFBv
b2xlIDxiZXJuaWVwb29sZUB5YWhvby5jb20+iQBOBBARAgAOBQI65aYNBAsDAgEC
GQEACgkQ+JGoqOuWpYh1fQCffB+5AYS1tGBpTBn8ILTGfJNZfkkAmwYgG8PbHJKG
MR2ip6RXYxqk6HfUuQINBDrlpg0QCAD2Qle3CH8IF3KiutapQvMF6PlTETlPtvFu
uUs4INoBp1ajFOmPQFXz0AfGy0OplK33TGSGSfgMg71l6RfUodNQ+PVZX9x2Uk89
PY3bzpnhV5JZzf24rnRPxfx2vIPFRzBhznzJZv8V+bv9kV7HAarTW56NoKVyOtQa
8L9GAFgr5fSI/VhOSdvNILSd5JEHNmszbDgNRR0PfIizHHxbLY7288kjwEPwpVsY
jY67VYy4XTjTNP18F1dDox0YbN4zISy1Kv884bEpQBgRjXyEpwpy1obEAxnIByl6
ypUM2Zafq9AKUJsCRtMIPWakXUGfnHy9iUsiGSa6q6Jew1XpMgs7AAICB/9fLWJk
MxqlKPuP4nfcDXxjYu5yYrtgTxnEA8LjwHILFHC6dS+TruOBehDWWq07PEihRVdK
3vY/oOSV70Du4yO2/siau4xUNhrP2dw1AKgDW1gNvQbeXYuxhs7vKDQGHDgYhUKm
z5E6hX5Z3HesujXnHWe8NtTqa1gM+SP3LF6oFkzTpuIoogRRULy6HUbis1v+Um4i
WI1EXchfauNwy6IzFYOTw41MExKtDyxTLjzBz/PfsncQc2zWpFAih8ZcqQkiOg8B
a+h7xp0hrPzXT0ewxb3aiELI+2oq6m0uwprWJE09REWgwe78gRwbiwlPDH4P/uL9
/tUA2PaCPaEkM7+EiQBGBBgRAgAGBQI65aYNAAoJEPiRqKjrlqWIZv0AoK/IfMGB
Pk7ZKtEr64R8NAArXBoQAJ9E90U+eHZzVN9jG/MVuJKwiNRYZw==
=xI2U
-----END PGP PUBLIC KEY BLOCK----Netiva Caftori's Public Key:
-----BEGIN PGP PUBLIC KEY BLOCK----Version: PGPfreeware 6.5.8 for non-commercial use
<http://www.pgp.com>
mQGiBDp1yy0RBADVlyDewVwltBs7HnHCG3bXlVUODFkn/00TdbM2SPnOAIkj4giB
ylOP7Mg+Hr5y7FIBvmPWx06In6JjNQiSbpshP5YHv57UfE79nEJdWuSTQt/7j7IJ
GkHYtBRHQMIAHMgT8IB5d3gFq52jSa8hw/ixMP09a0Rw8RP9+kOE4s9UrQCg/zVH
IHswdc/mb50PjdeXwnjxQbkD/3lJYEzz8eUlFHB4rVaC1yRi21Lypf0DIMfQg5j9
xBxY4odFJKyf22PeuAjp9roURRIbGIkIGH8eXF+Mav9OqEdD80JbEn1hZuaLk1RF
k1XJjmFRdKXz+Q7JmRdbs3zXXav2cYwalgzEXT5kuXuNlThLTnLoEFop8Hl3xM4/
PdqMBACkkHb07vPY5l429tdXqL00lE6LedlBW4FLjI534QgselsrUxq5U5y0Wg1Z
//a66l5QkyaMrpsHKfkLHdaPOVCs/WeG6eLwD/cUBEM1Y9Yb5DaB0njdZB3Yxcm8
W23hpKjDanb7SbaSA16gBIWRlvrB/qU+MZAj+EXRDJmwMJq2y7QjbmV0aXZhIGNh
ZnRvcmkgPG5ldGl2YWNAb25lYm94LmNvbT6JAE4EEBECAA4FAjp1yy0ECwMCAQIZ
AQAKCRDFpFclYzXzSwiRAJ0S3djCkJJPUalRyE+vWnfnhvJmDgCfTEBN2N6GlGWO
10 | P a g e
mrOg1tQlZoWbd5q5Ag0EOnXLLRAIAPZCV7cIfwgXcqK61qlC8wXo+VMROU+28W65
Szgg2gGnVqMU6Y9AVfPQB8bLQ6mUrfdMZIZJ+AyDvWXpF9Sh01D49Vlf3HZSTz09
jdvOmeFXklnN/biudE/F/Ha8g8VHMGHOfMlm/xX5u/2RXscBqtNbno2gpXI61Brw
v0YAWCvl9Ij9WE5J280gtJ3kkQc2azNsOA1FHQ98iLMcfFstjvbzySPAQ/ClWxiN
jrtVjLhdONM0/XwXV0OjHRhs3jMhLLUq/zzhsSlAGBGNfISnCnLWhsQDGcgHKXrK
lQzZlp+r0ApQmwJG0wg9ZqRdQZ+cfL2JSyIZJrqrol7DVekyCzsAAgIH+wVFKD3A
FEdEBHqDZuKjLdLJIKHk4gloKeQ60R9NLLFynfIgSvgsii5uWLY9+gZ2FIGnP3Yc
GxZH1HASv+pG1sw0MnhutxZui3E3Mt69Uv1KTlTGYkfS+mXBw4Qr7hXavCkF45we
f/9Qlj6hSKVjy4YcewdvpopM9S4gVcBq+EdTp1negsCyj3YhFiEo0JEL40mnoHX7
HudJBbiBmknmBZOjxzBBeDPcu7fWV/LDCWiFoGg9uWy2KOcIt7sNXVJbukbSGYg2
hzOB2JPaqCqI5+4YfUCumNLd0lktT7S1V3/6xszEnybQL7tMtmrZZFAFHFAwLNPA
bLxdF/b26GbrTT+JAEYEGBECAAYFAjp1yy0ACgkQxaRXJWM180ttbQCg98c40J41
iXkP9CuqGR0LBJ46VNAAnj+5dH9N226fBp5TN0rAyxwBveTK
=0VvA
-----END PGP PUBLIC KEY BLOCK----Pranav Lal's Public Key:
-----BEGIN PGP PUBLIC KEY BLOCK----Version: PGPfreeware 6.5.8 for non-commercial use
<http://www.pgp.com>
mQGiBDr9VmoRBADK8ZX4gTXSsOPo/y+eMv/G55y9tfZfh2tTXsIRVSloRwMN0DBD
36yjWfh3xM0Bfa7z57i5gKdjT95sVokKplbTUcMGNoJQZ4h8TWgvr2Wf2FX0U6Bl
0/cm/9iWHh0jolW2Su6WVLznbknL93Pv6ejxfT/LspKvbnQTBOl3/29CZQCg/xFC
5IVVsNP3Aqe7/fHWps10dmUD/3zq1Bhr6VG+xhZ1yKtRkpMJUX5n/2CSvGpqJrxv
vQUW++9KK5MzApMk9DXbPPyvEP8W6Gl4iOVuXyNoEPBpxu38jF2E9sH+I5llzvl9
Gm+wa0Yz6T5qz0DVrxYTgpVAsBn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
K5MB6twgr+Ww52xyQf6xww==
=BBVS
-----END PGP PUBLIC KEY BLOCK----If your friend or friends have a Public Key (or Keys) already posted to the Global Directory, you can
go get it yourself. Here are the steps to do this:
Step 7: Using the PGP encryption software to send (encrypt and sign) and receive (decrypt)
secure e-mails
You are ready now to start using the PGP program to generate secure, encrypted digital information.
In this section you'll learn how to encrypt messages or other data before you send them, and how to
decrypt messages or other data that you have received.
13 | P a g e
Compose the e-mail you want to send in whatever natural language you want to use (French,
English, Spanish, German, etc.).
When you have finished composing the e-mail, make sure the cursor is still somewhere in the
body of your message, and click on the PGP Desktop icon in the lower right corner of your
screen.
In the PGP Desktop pop-up menu, select Current Window, then in the Current Window
sub menu, select Encrypt & Sign. This will bring up the PGP Desktop Key Selection
dialog box where you should see the list of Public Keys including that of the person or
persons to whom you wish to send your message. Note: The Private Key is kept in a file
called the Private Keyring. It is encrypted with your selected passphrase so even if,
somehow, someone gets access to your Private Keyring, it will be unusable without access to
the Passphrase to decrypt the Key for use. Every time PGP needs access to the Private Key
(to Decrypt an Encrypted Message or to Sign an Outgoing Message or someone's Public Key)
the Passphrase will need to be re-entered. By default, PGP will remember [cache] your
Passphrase for two Minutes so that you do not have to re-enter it if needed more than once
within this time frame. However, two minutes isn't much time and the odds are you'll need to
re-enter your passphrase every time unless you change this default. Step 14 explains how to
do this, along with warnings about how to use the cache wisely and without risk.
Double click on the Public Key of the person to whom you wish to send your message (this
selects the key and moves it to the recipients box just below). When you have made your
selection, click on OK.
You will be prompted to enter your Passphrase. Type it in carefully, then hit OK. If you did
everything correctly, the message will be converted to unintelligible gobbledygook (aka
"ciphertext", as it's called in the world of cryptography). The ciphertext will look like the
following:
sAR4D7s2Vgqs2gQnvuFxpkDMc5l2rMTAE5+x228SpMPau27BDxBDKLw1i6ak23C+
l2qmiqQg0qeSFy2o7+HmyKWCENl2V84N8eLhoE+iyXj5fL2UvMlqVJePTT76Rz6p
+tD/15JYZo/8uAxIBivaB7P7k2Bqu0bmrCD4wdSKOLzhScxAj15Dtu0kWgEKGs80
VgTMu2iQLtphN7oObhWzUIf9O3MlqMnBCiOp4VFGebnJcDvullUB4OYZD6ZLIecN
8BsqsVlqawJbtWpmRf8973Yg2bicP0ISCwFaoDvR8C+wb3h9nJ9EZeO/mZGjJweR
A6yXK7wyp6JHnvACwFhUkTno7nrdq8cDaG4ssolsUSKnON87ycLFWq/mNs9fhqzF
Y3y7Q4f7hA4EL83+bxc4YGqzirWHeVXetZdft018+0Oz2Au8gRG5AVd+DX+xlr56
mJlkrlzYWG7HuEl8CRS7rAZHgRAIV3I7WDeNEYyBQNt/MfzUQY9+BmbtCsTlOnda
j8IkiL0QIW/9ZyvifxpvzKGKhxdXoqJWVSXLKHGk1qvY9epgw7QWk15crlti0Q4+
aDXvNieN9imk3UNQe2rncqzIKlbxasjparCKXiErQGFjldtTLrZcf7KjNOJuVG9J
HoOZC39ur8rkVrgWuSzrvzhpeQl0VlmdviZpocErZYPtnDQGgA3TbXX4lXoMiM1a
bOxTskUcgIBzN2L9nNfIhVaxJxMd3260SpJxElJ27V6Be97Q+YX4TF9xlH4zWFM3
NpGg1iXWNRb4VSwPE2+ZEiKirrlMsgXxfZNvAy3bAuSm0b1u7Isa/Jjab96DHff6
5g5K
=WRFH
-----END PGP MESSAGE----Now send the message just as you would normally do.
Next, the decryption process.
Open the e-mail containing the encrypted message. All you'll see is unintelligible ciphertext
(as shown in the examples above).
Drag to select the block of ciphertext.
Click once more on the PGP Desktop icon in the lower right corner of your screen.
In the PGP Desktop pop-up menu, select Current Window, then in the Current Window
sub menu, select Decrypt & Verify. This will bring up the dialog box asking you to enter
your passphrase.
Type your passphrase into the PGP Enter Passphrase dialog box that pops up on the
screen, and hit OK. The decrypted message will come up in a new window for you to read.
If you wish to keep the decrypted version, you can copy it and paste it into a word processor
of your choice before saving it to disk. The decrypted message will look like the following
(Note that the message is now readable and the signature has been verified):
***
***
***
***
***
15 | P a g e
16 | P a g e
Key in that person's (or your) name on an internationally available certificate server. Then suppose
that other people were to encrypt messages using that Public Key, thinking the message could be
decrypted and read only by the person they THINK they're sending it to (say, you). All the
masquerader has to do now is intercept those messages and easily decrypt them because the
masquerader has the Passphrase and corresponding Private Key.
As Nick points out above, there are two ways to sign someone else's Public Key. There is a nonexportable signature, which is good for communication between familiar friends who already
know and trust each other informally. Then there is an exportable signature, based on careful, if
necessary face-to-face identification and verification, which is a much stronger form of
reassurance about the integrity of the owner of the Public Key.
The important rule of thumb is this: Never, ever sign someone else's Public Key with an
exportable signature UNLESS you are able to say categorically that you know who he or she is and
have a strong assurance that he or she will not belie your trust. If you follow this rule of thumb, you
will be able, over time, to build up your own personal Web of Trust while extending the larger,
global Public Key encryption Web of Trust. The GNU Privacy Handbook has an excellent section
on Trust, Validity and the concept behind the Web of Trust.
Here then are the simple steps to sign someone else's Public Key.
First as a non-exportable signature:
belongs to the person to whom you believe it belongs. This might sound like overkill, but the
fact is that an exportable signature has absolutely no value without this face-to-face
guarantee.
You'll notice a small check box next to "Allow signature to be exported" and you are
advised that "others may rely upon your signature." For an exportable signature, check
this box before you click OK to complete to exportable signature of the Public Key.
Step 10: Using the PGP encryption software to protect (encrypt) your personal documents
On your computer in the office or at home, you may well have private documents that you do not
want others to be able to read. You can use your own Public Key to encrypt these documents. You
can easily and quickly encrypt a single file or a set of files. To decrypt the files, you simply reverse
the process that follows by selecting the option to Decrypt instead of Encrypt from the PGP menu.
Here are the steps to follow to encrypt a single file or document:
Right click on the Start menu in the lower left corner of your Windows screen, select the
Explore option in the pop-up menu, then in the left hand column of the Explore window
select the C drive, for example, and you'll see the contents of your C drive listed in the right
hand side of the Exploring window.
Right click on any document you have listed there (in the right hand side of the Exploring
window) and you'll see a new item (PGP) in the pop-up menu.
Select PGP in the pop-up menu and then you'll see the sub-menu option to Encrypt the
document you've highlighted. Click on Encrypt.
Now you're presented with the Key Selection dialog box. Double click on your own Public
Key (or drag it down to the Recipients box below) and click on OK. PGP has now created a
second, encrypted, version of the document with a .pgp extension.
All you need do now is delete the original, non-encrypted document, so that all you have
left on your disk is the encrypted file which only you can read. Do this right away by right
clicking on the original and selecting Delete from the pop-up menu.
And here are the steps to follow to encrypt a selected set of files or all the files or documents in a
folder:
Right click on the Start menu in the lower left corner of your Windows screen, select the
Explore option in the pop-up menu, then in the left hand column of the Explore window
select the C drive, for example, and you'll see the contents of your C drive listed in the right
hand side of the Exploring window.
If necessary, open the folder in which you have saved the files you want to encrypt, and
either drag across them all to select them as a group, or click to select the first file in the
list, and hold down the shift key while you click on the last of the files you want to encrypt.
Now Right click on any document you have highlighted in the list of files you selected (in
the right hand side of the Exploring window) and you'll see the new item (PGP) in the popup menu.
Select PGP in the pop-up menu and then you'll see the sub-menu option to Encrypt the
document(s) you've highlighted. Click on Encrypt.
Now you're presented with the Key Selection dialog box. Double click on your own Public
Key (or drag it down to the Recipients box below) and click on OK. PGP will now go ahead
and create a second, encrypted, version of each of the files or documents you selected.
19 | P a g e
All you need do now is delete the original, non-encrypted documents, so that all you have
left on your disk are the encrypted files which only you can read. Do this right away. The
original documents still should be selected as a block, though if they aren't, just click on the
Type header at the top of the Explore window to sort the files as encypted and nonencrypted. Now, with all the originals selected (highlighted), right click on any one of
them, then select Delete from the pop-up menu.
You can also encrypt and decrypt the entire contents of a folder by simply right clicking on the folder
and selecting Encrypt from the PGP sub menu. But this is not as convenient as opening the folder
first and selecting the files as a list before encrypting them since, after PGP has finished the
encryption process, you'll have to delete the original files one by one.
Deleting files on your disks raises another issue, which you can learn about in the next section...
Step 11: Using PGP to Wipe files from your disks
When you delete a file, is the data it contains removed from your disk? Answer: No! You may not be
able to see the name of the file anymore if you list the contents of your disk, but someone who knows
what they're doing can easily resurrect it and, if it's not encrypted, read it. When you delete a file, all
you're doing is removing the link to it from the disk's index of files. It's like a card catalog in a
library. Every book in the library has a card in the catalog which helps you find it on the shelves. If
you remove the card from the catalog, you'll have a problem finding the bookbut it's still out there
on the shelves. When you delete a file on your disk, it's like removing the card from the catalog. The
file's still there on the disk, even though you can't easily get to it. To remove it completely, you must
Wipe that part of the disk clean, and this is what the PGP Wipe function does for you. Let's try it for
practice.
Use your word processor to create a dummy file and save it with the name Dummy. Put any
old garbage in it, since you're going to Wipe it off your disk in a minute.
Now locate the Dummy document using the Explore option in the Start menu (as you did
just now in Step 12).
Right click on the Dummy document and select the option in the pop-up menu to Wipe the
file. Simple as that. PGP writes a bunch of random data to the place on your disk where the
Dummy file was saved, effectively removing all trace of the original data. Neat, huh?
you've typed them a first time in a session at the computer. Unfortunately, two minutes is too short a
time frame for most users, with the result that it's usually necessary to re-enter the Passphrase every
time. This is no problem if your Passphrase is short and easy to enter; but a short, simple Passphrase
defeats the purpose of PGP which encourages the use of suitably large and complex Passphrases in
order to foil attempts at cracking them, as explained above in Step 3 above.
Altering the time that PGP keeps your Passphrase in the cache
This will save you having to repeatedly re-enter your Passphrase every time you need access to the
Private Key. Just remember, before you leave your machine unattended, to tell PGP to forget the
Passphrase [empty the Cache]. Here are the simple steps to extend the time that PGP keeps your
Passphrase in the cache:
Click on the PGP Desktop icon in the lower right corner of your screen and in the PGP
Desktop window select Tools menu > Options....
Make sure the General tab is selected in the Options dialog box and notice the Passphrase
caching options related to My Passphrase.
The first option: Save my passphrase for the current Windows session only speaks for
itself.
The second option: Save my passphrase for You might want to increase the default
amount of time you want your Passphrase cached. If you normally are at your computer for
an hour or more, you might increase the time to one hour, for example.
The third option: Do not save my passphrase, also speaks for itself.
Acknowledgements
We are grateful to the following folks who have kindly reviewed the tutorial and/or offered
suggestions for improving it: Daniel Alvarez, Nick Andriash, Nathaniel Borenstein, Karen Coyle,
Jim Davis, Steven Dickenson, John M. Dwyer, Harry Hochheiser, Herb Kanner, Steve Kinney,
Pranav Lal, Tom McCune, Peter Meyns, Erik Nilsson, Charles Parlier, Steve Teicher, and Jacques
Therrien. If you have further suggestions to help us do a better job, please drop a line to Pranav,
Netiva, Bob, or Bernie.
21 | P a g e