Secure Your Emails in 5 Minutes Using PGP 🔐

Niharika Singh
Sep 27, 2018 · 4 min read

If you’re worried about government spying on you, or if it is your hawk-eyed company is too interested in your mailbox, or if you’re fed up of targeted advertisements, or if you want to communicate privately with your love interest, or to manage sensitive documents like identity cards, bank statements, passwords— keeping conversations encrypted using PGP is worth doing.

What is PGP (Pretty Good Privacy)?

Essentially, PGP garbles up the email making it look like random letters and numbers. This encryption happens using receiver’s public key. So if you wish to send anyone an email securely, all you need is their public key. It’s a trend these days to put up PGP public key as Twitter bio.

Image for post
Image for post
https://darkwebnews.com/pgp-guide/

When this message is downloaded on the recipient’s side, it is decrypted using a receiver’s private key. Make sure you never ever share your private key with anyone. So if anyone is spying on your mailbox, all they’d see is garbled text!

Step-by-step guide to set up PGP

1. Download and install Mozilla Thunderbird

Thunderbird is a free email application that’s easy to set up and customize.

Go to https://www.thunderbird.net/en-US/thunderbird/all/ and download thunderbird for whichever OS you’re on.

Image for post
Image for post

This is what my application console looks like —

Image for post
Image for post

Set up your existing account on thunderbird. This may take up 5 to 10 minutes depending upon how many emails you have.

2. Download and install GNU Privacy guard

GnuPG is a complete and free implementation of the OpenPGP standard as defined by RFC4880 (also known as PGP). GnuPG allows you to encrypt and sign your data and communications; it features a versatile key management system, along with access modules for all kinds of public key directories.

Go to https://gnupg.org/download/index.html to download it.

3. Download Enigmail

Enigmail is a simple interface for OpenPGP email security.

Go to https://www.enigmail.net/index.php/en/download to download it.

To install Enigmail on Thunderbird, use right click “Save Link as …” to save the extension locally. Then navigate to the Thunderbird menu Tools > Addons

Image for post
Image for post

Choose Enigmail and add it.

4. Get your keys

Go to thunderbird and then go to Enigmail/p=p menu > Select Key Management

Image for post
Image for post
Image for post
Image for post
Image for post
Image for post
This is your public key. This is what trendy cool people put in their twitter bio.

Now let’s test it by sending an email.

You encrypt your email using receiver’s public key (fingerprint)and the receiver will decrypt the mail using their private key (fingerprint).

TESTING TIME!

I sent the email using thunderbird and opened the email using gmail and this is what I get.

Image for post
Image for post

I actually wrote:

Image for post
Image for post

Thunderbird will automatically decrypt the email given that your thunderbird account has sender’s public key (fingerprint).

And that’s how it is done!

Image for post
Image for post

This story is published in The Startup, Medium’s largest entrepreneurship publication followed by + 373,071 people.

Subscribe to receive our top stories here.

Image for post
Image for post

The Startup

Get smarter at building your thing. Join The Startup’s +776K followers.

Medium is an open platform where 170 million readers come to find insightful and dynamic thinking. Here, expert and undiscovered voices alike dive into the heart of any topic and bring new ideas to the surface. Learn more

Follow the writers, publications, and topics that matter to you, and you’ll see them on your homepage and in your inbox. Explore

If you have a story to tell, knowledge to share, or a perspective to offer — welcome home. It’s easy and free to post your thinking on any topic. Write on Medium

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store