How to encrypt email with PGP & Enigmail

Table of Contents

Thunderbird or Mailvelope or standalone?

Your first choice is between using encryption with Thunderbird as a standalone email client, or installing Mailvelope as a plugin for Firefox or Chrome to use with webmail such as Gmail or Yahoo mail. If you're only accustomed to using webmail, then configuring and learning Thunderbird may be extra up-front work, and you may prefer to just install the Mailvelope plugin. But once you get it all set up, encryption is more transparent and easier to use in Thunderbird.

Mailvelope

This guide does not yet cover Mailvelope installation. You can watch a short video tutorial or visit the Mailvelope website for more information.

GPG4USB

Another option is a standalone utility called GPG4USB. Though it requires copy and pasting to encrypt and decrypt messages, it's easier to set up and can be used on any computer via a portable USB drive. Go straight to the project page, or read a tutorial.

Thunderbird

Thunderbird Prerequisites

Before configuring encryption, you must install:

  1. Thunderbird: If you already have it installed, make sure it's the latest version by going to Help->About Thunderbird. Configure Thunderbird with one or more of your mail accounts - it should provide an easy wizard. If you have any trouble, visit Mozilla's guide to manual configuration.
  2. GPG (GNU Privacy Guard)
    • Windows: download and install the latest version. Any of the variants will work; "Vanilla" is the smallest. The default settings should be fine.
    • Mac OSX: download and install the latest version. The default settings should be fine.
    • Linux: install gnupg2 from your package manager.
  3. Enigmail: In Thunderbird, go to Tools->Add-ons. In the "Search all add-ons" box at upper right, search for Enigmail. If you don't see it, make sure the "Search" filter is set to "Available Add-ons", not "My Add-Ons". Install Enigmail. After restarting Thunderbird, you'll be prompted to configure Enigmail. See the next section.

Configure Enigmail for Thunderbird

Our following quick guide should get you up and running. For more details, you can read the Enigmail Handbook.

  1. After first installing the Enigmail Add-on and restarting Thunderbird, you'll get an option to configure Enigmail by clicking "Start setup now." Or, at any time after installing the Enigmail plugin, you can start Thunderbird and go to Enigmail->Setup Wizard.
  2. Pick "I prefer a standard configuration".
  3. Select the email account you want as your primary user - you can add others later.
  4. Generate a new key using the default options - be sure to use a strong passphrase, and be sure to remember it. Your key will be useless if you forget your passphrase.
  5. The key generation may take 10 minutes, or possibly even longer.
  6. When done generating the new key, it will offer you the option of creating your revocation certificate, which will allow you to mark your key as withdrawn in case you lose it or it is compromised in the future. Fill in the passphrase you just created, then save the file in a place you can access it even if you lose your computer, such as a USB drive stored somewhere else. Make sure no potential adversaries can access the file.
  7. Click "OK", "Next" and "Finish"
  8. To share your public key so that other people can easily download it and send encrypted messages to you:
    • In Thunderbird, go to Enigmail->Key Management.
    • Right-click on your key and pick "Upload public keys to keyserver"
  9. Important: to back up your private and public keys, to be able to read your encrypted email even if you lose your computer or hard drive data:
    • In Thunderbird, go to Enigmail->Key Management.
    • Right-click on your key and pick "Export Keys to File."
    • Pick "Export Secret Keys"
    • Save the file in a place you can access it even if you lose your computer, such as a USB drive stored somewhere else. Make sure no potential adversaries can access the file.

Now you can let people know you have encryption set up. They can download your key from the keyserver, or when you compose an email you can click "Attach My Public Key":

Reading Encrypted Emails

If someone sends you an email encrypted with your public key, when you open it in Thunderbird you will be prompted for your private key password. Once you enter it, you can read the email as usual.

You can tell Thunderbird to remember your password so you don't have to enter it every time:

  • In Thunderbird, go to Enigmail->Preferences
  • Set "Remember passphrase for ### minutes of idle time". For example, setting 120 will mean you're prompted if you read or send an encrypted email after 2 hours of not using encryption. (If you restart Thunderbird or your computer, you will have to enter the passphrase again.)

Encrypting Email

To send encrypted messages to someone else who has set up encryption, you must first import his or her public key. Once you have imported the key, you can compose a new email to the recipient, and it should be automatically encrypted.

Importing Keys

You only need to import each contact's key once. You can import in different ways, depending on how the contact has shared the key:

1. From a public keyserver

If the person has uploaded his or her key to a public keyserver:

  • In Thunderbird, go to Enigmail->Key Management
  • Go to Keyserver->Search For Keys
  • Enter the name or email address of someone you know who has encryption set up. and click OK.
    • If the system returns multiple keys for the same email address, it may be because the person lost the private key or forgot the passphrase, so had to generate a new keypair. But you should be especially careful to verify with the person that you download the correct key in case one or more of the keys is a fake.
  • Highlight the key you want, then click OK to import it.

2. From an email attachment

If the person sent you a key as an email attachment:

  • Save the received key to a temporary location
  • In Thunderbird, go to Enigmail->Key Management
  • Go to File->Import Key From File
  • Browse to the key and select it for importing

Verifying a Key

It is important to make sure you have the correct public key for people. An adversary could attempt to send you fake keys, to to trick you into sending emails the adversary can intercept and read. So, after you import someone's public key, you should verify it:

  • Have a conversation with the person ― ideally by phone or in person. If you're confident in setting it up, you could also use a secure online channel (an email exchange would not yet be secure, since you haven't verified the key!)
  • Both of you: in Thunderbird, go to Enigmail->Key Management
  • Both of you: double-click the person's key.
  • Read the Fingerprint value and make sure it's the same for both of you.
  • Once you're satisfied, you can sign the key to vouch that the key matches the owner:
    • In the window where you verified the Fingerprint, click "Select Action"
    • Choose "Sign Key"
      • Check "I have done very careful checking" if you know for sure the person is who he or she claims - for example, you have known the person well for years, or have checked a government ID.
      • Check "I have done casual checking" if you aren't sure of the person's identity
      • Click "OK"
  • Send the signed key to the owner:
    • Compose a new email to the owner
    • Go to Enigmail->Attach Public Key
    • Choose the person's key
    • Click "send"
    • Send the email
  • If the owner wants to make the signing information public, to build the web of trust, he or she should:
    • Save the received key to a temporary location
    • In Thunderbird, go to Enigmail->Key Management
    • Go to File->Import Key From File
    • Browse to the key and select it for importing
    • Once the key is imported locally, highlight his or her key and go to Keyserver->Upload public keys.

Setting Trust Levels

Optionally, you can set the degree to which you trust the other person to carefully verify Fingerprints and identities. This information is only stored locally; no one else will see what level of trust you have set. This is used by Enigmail to judge how much it should trust keys from strangers: if several people you trust have vouced for the strangers' keys, Enigmail will trust them.

  • In Thunderbird, go to Enigmail->Key Management
  • Double-click the person's key.
  • Click "Select action"
  • Pick "Set owner trust"
  • Set the trust level and click "OK"

Adding Identities

If you want to associate more than one email account with your keypair:

  • In Thunderbird, go to Enigmail->Key Management
  • Right-click your key and pick "Manage User IDs"
  • For each email address you want to add, click Add
    • fill in the identity name (your name, or perhaps an organization associated with the account)
    • fill in the email address
    • Click "OK"
  • Upload your public key to the keyserver
FaLang translation system by Faboba
Email icon
Suscríbase
Reciba nuestra últimas noticias con alertas a su correo de nuestro Boletín Internacional, Blog, Servicio de Novicias y divisiones individuales.

Suscríbase

"El problema más opresivo que enfrenta el mundo es el talón de acero de la civilización en el cuello de las comunidades humanas y no humanas".
-Max Wilbert

"DGR es nuestra última y mejor esperanza".
-Dillon Thomson

"No creo que sea violencia defender lo que uno ama".
-Saba Malik

"Cada tipo de extracción de recursos es un acto de dominio y control y es una afirmación que dice que el modo de vida que hemos creado para nosotros mismos — el modo de vida del plástico brillante y deshechable — es más importante que la vida misma".
-Sam Leah

"DGR entiende que la resistencia no es un monocultivo y que todos y todas y todo tipo de acciones son necesarias".
-Sam Leah

"Amo la tierra en la que vivo, donde las nieblas espesas fluyen entre árboles y rocas y las gotas de lluvia caen del musgo y discurren por las laderas de la montaña".
-Max Wilbert

"Nuestra alianza está con el mundo real, con seres humano reales y con bosques reales y lucharemos para protegerlos".
-Max Wilbert

"Necesitamos personas de todas partes haciendo todo tipo de cosas para apoyar este movimiento y perpetuar la mentalidad y las acciones de la resistencia".
-Sam Leah

”Si estas aterrorizado o hipnotizado no estas vivo. Reúnete con los vivos, únete a la resistencia".
-Jennifer Murnan

“Me encanta reconocer las maneras en que la naturaleza, no importa que tan civilizado esté el lugar, está trabajando y esforzándose constantemente. Me encanta pensar que la civilización cae mientras esa fuerza la atraviesa".
-Dillon Thomson

Conozca al Personal de DGR

Sun, Mar 29 2020
U.S. Government Unilaterally Dissolves Mashpee Wampanoag Reservation: ‘Modern Colonization’
Colonialism is the brutal act of greed taking from indigenous people on their own land. Unfortunately, not much has changed in the Western Hemisphere since 1492. The latest came just yesterday, as the United States Secretary of the Interior David Bernhardt [...]

Continue Reading

Sat, Mar 28 2020
EPA Suspends Enforcement of Environmental Regulations: BREAKING
Editor’s note: on Thursday news broke that the Environmental Protection Agency in the U.S. is suspending enforcement of regulations due to the coronavirus outbreak. This comes several weeks after China waived their own environmental regulations in [...]

Continue Reading

Fri, Mar 27 2020
Will People Go On General Strike?
Paul Feather calls us to reframe this time of crisis: “Shall we permit the storytellers to name what it is that we do? They would call this a lockdown, but we are going through the motions of a general strike. Our foe is down. Are there no holds [...]

Continue Reading

Wed, Mar 25 2020
Leveraging Ubiquitous Surveillance for Obfuscation
We live inside a surveillance state that is unparalleled. As exposed in various leaks, the NSA, GCHQ, Chinese government, and other national spy agencies record and store every phone call, text message, email, and other signal that is available to them, then [...]

Continue Reading

Mon, Mar 23 2020
DGR Book Available in German
We are happy to announce that the DGR book is available in German! Our thanks goes to the volunteer translaters, editors and the Austrian publisher who did very good work. The book can be ordered as print and e-book from the publishers website: Deep Green [...]

Continue Reading

Sat, Mar 21 2020
Against Conspiracy Theories: Why Our Activism Must Be Based In Reality
Editor’s Note: There if no doubt that the ruling class lies regularly. For examples we must only look at the Gulf of Tonkin incident, the claims about weapons of mass destruction in the lead-up to the U.S. invasion of Iraq, Project TP-Ajax, or the [...]

Continue Reading

Fri, Mar 20 2020
Where To Put The Charges?
Editor’s Note: This is an excerpt from the book Endgame Vol. 1 by Derrick Jensen. The seventh premise of this book is: “The longer we wait for civilization to crash – or before we ourselves bring it down – the messier will be the crash, and [...]

Continue Reading

Thu, Mar 19 2020
We Haven’t Always Had Epidemics. Why Now?
The following is excerpted from 30 Theses, a project by Jason Godesky of Anthropik. It discusses the origins of epidemic diseases, which are a relatively new phenomenon, not something we are fated to encounter. Alternative ways of life are possible. [...]

Continue Reading

Wed, Mar 18 2020
Coronavirus is a “Disease of Civilization”
Editor’s note: This article, first published at Marx21, dives into the origin and epidemiology of the CoViD-19 virus with a socialist biologist. While it does not represent an official Deep Green Resistance perspective, it does include valuable factual [...]

Continue Reading

Tue, Mar 17 2020
Saint Patrick’s Battalion: Remember Old Alliances
By Will Falk / Deep Green Resistance Featured image: Flag of the San Patricios, or “Saint Patrick’s Battalion.” I do not know if my blood took sides. I do not know if I descend from those brave enough to fight back. I do not know, but the [...]

Continue Reading

See All Stories