Ask Leo! #637 – How Do I Encrypt Email?

How Do I Encrypt Email?

(skip)

What software do you use to encrypt email? Do you have any recommendations for email encryption software (preferably free)?

I really wish this was easier.

It should be easier.

But it's not.

The fact is, encrypting email is cumbersome, and solutions that should work easily don't work consistently. I'll look at why encrypting email matters, and then I'll give you some alternatives, starting with the one that's the easiest to use.

Why encrypt email?

An https connection to your mail account only encrypts the information between your computer and the mail server. Email itself is sent and stored in plain, unencrypted text. While on your mail provider's server, and on your recipient's server, the email is visible to mail service personnel.

On top of that, you have no control over whether any encryption is used when transmitting that mail from server to server. In theory, anyone with access to the network path taken to make the transfer could "listen in" and view your messages.

Finally, you have no control over how your recipient connects to their email. If they don't use a secure connection, they could easily be downloading your email in the clear.

If you're looking for complete security for your messages, the only solution is to encrypt the email message itself.

Unfortunately, that's not as easy as it sounds.

Encrypted attachments

By far the most practical way to encrypt email for the average user is to send your message as an encrypted attachment.

  • Write your message in a program like Notepad, Word, or whatever text or document editor you prefer.
  • Save that message to a file on your hard disk (example: message.txt for notepad, or message.doc for a Word document).
  • Encrypt that file, using a tool like AxCrypt, 7-Zip, or even GnuPG.
  • Email the encrypted file, as an attachment, to its destination.
  • Convey the password or encryption key to the recipient by some other means. This is important: if a malicious individual captures the encrypted package, they may be able to capture the password, if you sent it using the same technique. Pick up the phone, send a letter, text, instant message, or use completely different email accounts on both ends using completely different computers in completely different locations.

There are, naturally, a couple of caveats.

Make sure you chose an encryption program your recipient can use. Your recipient will need to be able to run the corresponding decryption tool.

Make sure you choose an appropriately difficult password/passphrase. Just like account log-in passwords, encryption passwords are subject to brute-force attacks. The simpler your password, the easier it is for someone to decipher it and decrypt your message.

This process is not pretty, and the steps involved make it a barrier to doing regularly, but it works.

With that out of the way, let's look at two approaches that more closely match how it should work.

Certificate-based encryption

Buried in the advanced security dialogs in Outlook and account security setting dialogs in Thunderbird (and similar places in some other email clients) is the concept of using digital certificates to sign and encrypt email.

These are, essentially, the same kind of certificates used to protect https websites, and in general, they're purchased the same way. Like website certificates, these certificates can be used for two purposes:

  • To digitally "sign" your messages to confirm you as the author of the message, and confirm that the message has not changed since you signed it. (This isn't encryption, it's validation.)
  • To allow people to send you encrypted messages such that only you can decrypt them.

That last one is a little counterintuitive. To encrypt a message, you don't use your own encryption certificate; you use that of the person to whom you're sending the encrypted message. That way, only they can decrypt it. (In reality, certificate-based encryption, like https, is quite complex and relies on public key cryptography, discussed below.)

This is a fine approach, and once set up, can be nearly transparent. As long as both you and your recipient use the same encryption mechanism, your emails are transparently encrypted and decrypted when sent or viewed. While stored on your machine, on your recipient's machine, or somewhere in between, the messages are securely encrypted.

Unfortunately, it suffers from a couple of problems preventing widespread adoption:

  • Not all email programs and interfaces support it.
  • Certificates either cost money, or are cumbersome to obtain.
  • All parties involved need to use the same system for it to work.

PGP/GPG-based encryption

PGP (Pretty Good Privacy) and GPG (Gnu Privacy Guard, the open-source equivalent) are very similar to the certificate-based encryption scheme above. They rely on public key cryptography, which, in a nutshell, boils down to this:

Two really large numbers, A and B, are created, and share a special relationship:

  • Anything encrypted with "A" can only be decrypted by "B".
  • Anything encrypted with "B" can only be decrypted by "A".

You make either A or B public, and keep the other one private.

Let's say I make my "A" number public (which I have), and keep the "B" number private – only I have it. You can now encrypt a message to me using my public key "A". Only I can decrypt it with my private key "B".

To encrypt email to someone, you need their public key (their "A", in my example). For someone to send an email only you can decrypt, they need your public key. The private key ("B") is needed to decrypt it.

PGP and GPG are just standard techniques and tools to manage those two "numbers", more commonly called keys, or key pairs.

The good news about GPG is that all the parts are free. The bad news it can be fairly really geeky. I wrote an article about using it some years ago: How do I send encrypted email?, which walks through the steps. I don't recommend it for the average user, but if you're at all technical, or just enjoy this kind of geekery, you can see what it entails.

Most email programs do not include support for GPG/PGP keys. Thunderbird does have an extension, "Engimail", that adds support quite nicely, and there's a Chrome browser extension called "Mailvelope" that adds encryption to Gmail.

The weakest link when you encrypt email

I have to include a word about trust.

All the encryption in the world won't help a whit if you can't trust the person at the receiving end. They have to keep passwords safe, if you use them, and they have to keep your private message private, if that's the intent of your encryption. They also have to practice safe computing – your message will be decrypted on their computer, and hence visible to any malware that might be present there. Heck, if their computer is stolen and they happened to keep the decrypted message, that email is now in the hands of someone else.

So, in addition to doing the right things with your sensitive information yourself, make sure your recipient has an appropriate level of understanding as well.

That's something that technology just can't fix.

Related Links & Comments: How Do I Encrypt Email?
https://askleo.com/3659

Become a Patron - Get The Ask Leo! Tip of the Day

Vulnerable Points on the Path to Privacy

Privacy and security are more important, and under greater threat, than ever before. We manage an ever-increasing amount of sensitive information and tasks, while the number of ways our information can be exposed seems to be exploding.

There are five major areas in which your security and privacy can be both exposed and protected:

  1. Your computer, including all the software on it, and the hardware itself.
  2. Your network, the vital link that connects your computers to each other and to the internet, and a potential point of major exposure.
  3. Your ISP, the provider of that vital link, wielding more power and subject to more scrutiny than most realize.
  4. Your online services: they hold your data, but do they know what they're doing, and will they defend your privacy if needed?
  5. Your friends and acquaintances: often the weakest link in the chain. Do the people you interact with value (or understand) privacy and security as much as you do?

Let's review each of these points of risk, exposing the technological hazards we (perhaps unknowingly) face every day.

Continue Reading: Vulnerable Points on the Path to Privacy
https://askleo.com/25709

Is it Safe to Allow Remote Access to My Machine?

Is it safe to allow a tech support person from a reputable firm to have remote access to your computer to solve a problem? I recently had an issue that required me to contact such a company, and permitted the tech to view my desktop. My problem was solved, but I couldn't help thinking that this was a bad idea. Can they browse around inside your machine if you give them this kind of access?

How much do you trust them?

No, seriously, how much do you really trust them?

All other issues aside, this is a matter of trust.

Continue Reading: Is it Safe to Allow Remote Access to My Machine?
https://askleo.com/3767

The Ask Leo! Tip of the Day

A feature exclusively available to Ask Leo! Patrons.

More Ask Leo!

Become a Patron
Books - Business - Glossary
Facebook - YouTube - More..

Help Ask Leo! Just forward this message, in its entirety (but without your unsubscribe link below) to your friends. Or, just point them at https://newsletter.askleo.com for their own FREE subscription!

Newsletter contents Copyright © 2017,
Leo A. Notenboom & Puget Sound Software, LLC.
Ask Leo! is a registered trademark ® of Puget Sound Software, LLC

Posted: January 31, 2017 in: 2017
Shortlink: https://newsletter.askleo.com/7625
« Previous post:
Next post: »

New Here?

Let me suggest my collection of best and most important articles to get you started.

Of course I strongly recommend you search the site -- there's a ton of information just waiting for you.

Finally, if you just can't find what you're looking for, ask me!

Confident Computing

Confident Computing is the weekly newsletter from Ask Leo!. Each week I give you tools, tips, tricks, answers, and solutions to help you navigate today’s complex world of technology and do so in a way that protects your privacy, your time, and your money, and even help you better connect with the people around you.

The Ask Leo! Guide to Staying Safe on the Internet – FREE Edition

Subscribe for FREE today and claim your copy of The Ask Leo! Guide to Staying Safe on the Internet – FREE Edition. Culled from the articles published on Ask Leo! this FREE downloadable PDF will help you identify the most important steps you can take to keep your computer, and yourself, safe as you navigate today’s digital landscape.



My Privacy Pledge

Leo Who?

I'm Leo Notenboom and I've been playing with computers since I took a required programming class in 1976. I spent over 18 years as a software engineer at Microsoft, and after "retiring" in 2001 I started Ask Leo! in 2003 as a place to help you find answers and become more confident using this amazing technology at our fingertips. More about Leo.