Menu

Mailvelope is a free browser extension for Google Chrome and Mozilla Firefox that introduces OpenPGP encryption to webmail services that you may be using. The extension supports for Gmail, Yahoo! Mail, Outlook and GMX by default, and options to integrate other web-based email providers as well. 

How to use Mailvelope
First, you'll install the plugin for Chrome, or the Add-on for Firefox.



After you install it, you need to generate a key-pair for Mailvelope to use with your desired email. It will generate a public and private key. DO NOT EVER SHARE YOUR PRIVATE KEY.

This demonstration will be using the Firefox Extension and Gmail, although Mailvelope is designed to work with all major webmail providers. It is currently in Beta and they are adding support for more webmail services.
To generate a key, open the Mailvelope extension and go to the "Generate Key" tab as shown below.

Fill out the appropriate information, and hit "submit". If you want maximum privacy, it is a good idea to click on the advanced button and enable 4096-bit key lengths instead of 1024 or 2048. Make sure that you assign a very strong password to your keys, they are your final line of defense if your PC is ever compromised by an attacker. After you hit submit, it will take some time to generate the keys. If you get a "this page isn't responding" message, just continue to wait, it will finish building your keys and give you a success message when it finishes. 


Now that you have generated a key pair, you have a public key and a private key in your keyring. You can see your keypair in the "Display Keys" tab as shown below.


The important thing about PGP encryption is that there is a public key, and a private key. In order for someone to be able to send you secure messages, they have to have your public key. 
In order for you to send them secure messages, you have to have to have their public key. To find out what your public key is, you can use the "export" menu in the "display keys" tab. You will have to enter your password to get to your keys.
So in this example, I want to send a message to the bugbountyreports@gmail.com. To do this, i need to have the public key.
The public key for bugbountyreports@gmail.com is below:

-----BEGIN PGP PUBLIC KEY BLOCK-----
Version: Mailvelope v0.13.1
Comment: https://www.mailvelope.com

xsFNBFWGR2IBEACUOeqsoi2quNb7KmeHwrp7vDsYMjazH+lQ2If1tj7Q3wxz
ZStr928MIkjfp++emrUTgTZCkKq0w/+lclLOWBrcU8tkToXiBeFmY3qQ21+L
ATj097bu+Si0xw0ZTDSXgIbfJZUj+TbZ2+5iYgR/332t9dHBohkadXik5mWM
u3NMB0kzANLYgqmjmiHGKJvtIhYh4LFE4DPAGDJqRUBJhCckii8WLszCnMym
gbRzP80kBuSatu5ZMEDur6EqpVR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eoKPtDeKqbSZ
ud4poVaDYZTN8Xw9m2ikYgNwQpkv/u0HY0vu583J7sYFpZ3ZGLOc1CRl/m98
UPpRz0Ab31LOg2eE3nAkChSsc8xBXIo9jOUeduhEiYB/jggh9egB8e+Lf1O1
AYr1N4tTTOS4ryXrVc3nX1RTihtmnjPLVe7CDVp+FkKw0vGyUDAidXEfW0gs
yybn1IcHUfYx+omVKPJ37vw6Q9a1wvQwraV4n+WDO/ng/AXP+b6SGa/y/ph2
p/qapvOWkVwRJXMdhA7m7/460JlajjLGDwl8UsZY43hP9sVvHzAWxUoLKQAg
REDYvLtb0FUNgJ8vp/Enn3fNGfJfpJcu3SJNNFysLqLAHXTQWBvNs4nzGBXr
25DXmjwVYC+PzGy57UIjqgDzXYEDoPAp1L/QV0arc2NTuwmIFUI0fXXzDoL5
zn5JNE3E5jjVph3tqRxTt+LuBze6t9fcrEleyVy5FTxZf0SFWL+IWKrZzwd3
RdGQL7Et/CVri5735mGBXtPZPu40/MGZ1gIFvW05cu5DBEFBeYqiE0NgPkZp
w0qxivRnoR/1
=GwaC
-----END PGP PUBLIC KEY BLOCK-----



So what you want to do is import this public key into mailvelope, so it knows which public key to use when you are emailing bugbountyreports@gmail.com. Below, I have pasted the bugbountyreports@gmail.com public key into the field in the import tab.



So, once you have completed this process, you are ready to send secure emails to one another with no worry of eavesdropping. Even when (not if) an agency drags up your email, they are unable to decipher the messages without having one of the private keys.
So let's send a PGP-encrypted email to bugbountyreports@gmail.com.
Below, you can see bit about how Mailvelope works in practice. When you begin to compose a new message in Gmail you will see the small overlayed button that looks like a pencil and notepad. You click that button to start writing a secure message offline. You then write your message in the window that pops up.

Once you have finished writing your message, click Encrypt button in the message window. This pulls up a menu so you can manage who you are encrypting the message for, as shown below. You can see that I have added BugBountyReports as my target recipient. Mailvelope is robust enough to support sending out the same message to multiple users at once, using all of the relevant public keys you have imported.

Once you are finished setting up the recipients, you click the "transfer" button in the message window. This encrypts your email message with the appropriate keys. You'll see the PGP encrypted message in the Gmail window, ready to be sent, like you can see below.


The message is now unreadable by all parties, except for those with access to the appropriate private keys. The private keys are never transmitted in this process, and they are securely stored locally by the Mailvelope plugin.
It does take a couple of tries to learn the process, but this is far far simpler than older methods of using PGP. Once you are used to the process, you can encrypt an email in 5 clicks, taking less than a few seconds of extra work.

Decrypting and reading PGP email with Mailvelope

So now you know how to securely compose a message to send out. You also need to know how to receive messages with Mailvelope. Fortunately they have made this pretty easy, as it used to be very tedious to manage PGP decryption in the past.
When you receive an email that is PGP encrypted in your webmail service of choice, Mailvelope should detect it as a PGP encrypted message automatically. Mailvelope then allows you decrypt the message using your keys. You'll see the Mailvelope overlay window pop up automatically with the "secure mail" icon as you see below.

If you wish to read your PGP encrypted message, you have to click on icon and fill out the information shown below. Mailvelope will prompt you for your password because it does not have access to your PGP keys without password authorization.

After you decrypt your message it will be perfectly readable, as shown below.


 It is important to know that Mailvelope is decrypting your messages locally. This means that your decrypted messages are never exposed to the webmail service. If you click the small "x" in the upper right corner of the overlay window when you are finished reading your message, you can see the original, fully encrypted email as you can see below.

So there you have it. Very high security email via a relatively easy to use graphical user interface. After using Mailvelope a few times I have gotten used to the process and can encrypt and decrypt messages in a few seconds.

Post a Comment

 
Top