Outlook is the product offering in Microsoft’s Office productivity suite
that allow power users to manage their email on their desktop.
Basically, it’s a powerful email client. Many users do not even have a
need for Outlook or Thunderbird because one can also manage their emails
via their web browser. For example, to manage your Gmail account, you
pretty much just log into Gmail’s web page. Reading, sending and sorting
email is all done within the browser. Outlook mainly shines in
businesses and enterprises that deploy their own email infrastructure.
Anyways, chances are good that if you are looking for a way to integrate
OpenPGP into Outlook, you know exactly what Outlook is. So with that
being said, let’s just get started!
If you are testing this entirely by yourself, you will need two separate
email accounts and preferably, two separate computers as well. For my
testing purposes, I made two dummy email accounts called Test01@gmail.com and Test02@gmail.com.
The lab was between Outlook 2007 & 2010
The utility that allows Outlook to use the OpenPGP system is called the Outlook Privacy Plugin. The unfortunate part with this utility is that it only supports a single email account within Outlook.
For Outlook 2007 & 2010 i used Beta-2 and for Outlook 2013 Beta-34
Finally, we need GNUPG installed on our system. For Windows systems, the best way to do this is to install Gpg4win.
Be sure to download the full version and not the lite version. The full
version includes Kleopatra, which is the utility we use to manage our
keys. It is certainly possible to manually manage your keyring but trust
me, it’s not fun.
When you open Outlook after installing the Outlook Privacy Plugin,
you’ll be presented with the plugin’s setting dialog box. It needs you
to tell it where you have installed the Gpg.exe program. Gpg4win
installed this for us and so we just need to browse to the correct
location. By default, the location is located in:
C:\Program Files\GNU\GnuPG\pub
Here, I am assuming you do not have a key pair. Therefore, I’ll go over how to create one and attach it to your email account in Outlook. This process involves using the command prompt but it’s really easy, trust me. What you need to do first is open a command prompt with administrator privileges. Next, navigate to the directory where the gpg.exe executable is installed. I’ve listed the location above.
COMMAND PROMPT:
What you need to do first is open a command prompt with administrator privileges. Next, navigate to the directory where the gpg.exe executable is installed. I’ve listed the location above.
Finally, you can type in a comment. This usually gives a bit more information as to who you are. This field is purely optional.
I am now on my second computer and will proceed to import the public key I exported earlier from my first dummy account to my second computer. This is similar to what you will have to do when you receive a public key from another individual. You will have to import the key into your keyring before it can be utilized. Luckily, Gpg4win includes a nifty key management utility called Kleopatra that will make this whole import/export process very easy to perform. Here, I will perform a import.
Once I have Kleopatra opened, it will show you every key in your key ring. Here, you can see that I only have one key and that is the public/private key pair for my second email account, Test01@gmail.com. I am now going to import the public key for Test02@gmail.com.
We just need to configure one more thing.
Back in Outlook, we need to set one more configuration setting for the Outlook Privacy Plugin and that is to tell it which private key belongs to us. Within Outlook, click on the Add-Ins tab and you will see the mini toolbar for the plugin.
You can do that from Imported Certificates right click on the Certificate and click "Certify Certificate"
Sending Encrypted Email
Finally, we are able to test the encryption system by composing encrypted emails! This test is very simple. I will be composing a email from my second email account [ Test02@gmail.com ] to my primary account [ Test01@gmail.com ] using its public key. Sadly, we currently can only compose plain text emails using this system. HTML emails are not supported at the moment. Within Outlook, I press and hold down the Shift key while clicking on the New Email button. This lets Outlook know that I am composing a plain text email. I compose my email as usual. However, before sending, I select both the Sign and Encrypt setting located in the upper right corner.When you receive the email only you have to do is to Decrypt the message from the same menu