Android Security

How to Send Encrypted Email on Android Using OpenKeychain

Gavin Phillips 28-02-2019

Encryption is important, especially when you send and receive emails on the move. You never know if that free public Wi-Fi connection is entirely secure. Luckily, you can mitigate those risks by wrapping your private emails in a layer of encryption.


Here’s how you can encrypt your emails on Android using OpenKeychain. It is fast, easy, and best of all, completely free.

What Is Encryption?

Encryption is the process of hiding or scrambling information. Encryption uses a complex algorithm called a cipher to turn regular data (known as plaintext) into a garbled string of unreadable data (known as ciphertext). Once you encrypt your data, no one can read it until you decrypt it using a special key.

(Getting to grips with encryption? Here are some vital encryption terms you should know 10 Basic Encryption Terms Everyone Should Know and Understand Everyone's talking about encryption, but if you find yourself lost or confused, here are some key encryption terms to know that'll bring you up to speed. Read More !)

Encryption is everywhere in modern digital life. Use WhatsApp? The app secures your messages with end-to-end encryption. Logging into your online banking? You’re using encryption. Asking the barista for the Wi-Fi code? That’s your friend encryption, keeping your data safe. The password is the key.

You can use encryption to send secure emails from your Android device, too.


OpenKeychain is an open source app that implements the OpenPGP encryption standard on Android devices. OpenPGP is the open source implementation of the PGP encryption standard. You’ll find it in hundreds, if not thousands, of different applications.

Most modern encryption uses asymmetric encryption. Asymmetric encryption uses a system of keys to protect your data.

You have a public key which anyone can know. Someone with your public key can encrypt a message then send it to you. Only you can open it. That’s because you have a private key. Your private key is cryptographically linked to your public key.

However, you cannot let anyone else know your private key. Otherwise, they can pose as you, read your messages, and so on.


Encrypting Emails With OpenKeychain

OpenKeychain makes it easy to use OpenPGP encryption. This is what you’re going to do:

  1. Download and install OpenKeychain
  2. Configure your OpenKeychain user account
  3. Share your public key
  4. Encrypt your first message

You’ll also learn how to decrypt an incoming message. Here’s how you set it up on your device.

1. Download and Install OpenKeychain

First, head to the Google Play Store and download OpenKeychain.

2. Configure Your OpenKeychain User Account

Next, follow these steps to get set up:

  1. Launch the OpenKeychain app. You’ll arrive at the initial setup screen. From here, select Create My Key.
  2. Add a name you want to associate with the key. You don’t have to use your proper name; a nickname will do. Next, add an email address you want to associate with the key. For instance, I am associating my MakeUseOf work account with this key.
  3. On the final page is the key creation proper. Confirm your name and email address, uncheck the Publish on keyservers option, then select Create Key.

The app says that creating a key may take some time. However, in my experience, OpenKeychain is very quick to create your encryption key. (At least, it is for me; your experience may well vary!)

You can now view your OpenKeychain user account key hub. From here you can share your key using a link or QR code, encrypt and send files or messages, publish your key on a keyserver, and more.

3. Share Your Public Key

Moving on, you’ll next need to share your public key with your recipient. Otherwise, when you send them a message, they will have to way to decrypt it. There are several ways you can share a key using OpenKeychain, but I’ll show you the easiest two.

  1. First, from your key account page, select the three-dot Settings menu icon in the top-right corner, then Advanced. Switch to the Share tab. Here, you’ll see your shareable QR code. If you are in the same physical location as your recipient, they can scan your QR code with their encryption app to automatically import your key.
  2. If they cannot scan your code, or you are not physically nearby, you can use the tried and tested Android share function. On the same page, under Key, select Share with. You can now share your key using any number of options on your Android device.

Importantly, the recipient must have OpenKeychain or an alternative encryption key management app to import your key. The other party can import the key into any compatible app, mobile or desktop. For instance, I could share my OpenKeychain public key to my desktop, then import the key into Gpg4win’s Kleopatra key and certificate management program.

4. Encrypt Your First Message

Once your recipient imports your public key, they can send you a secure message. (Alternatively, you can use a secure instant messaging tool with end-to-end encryption. 4 Slick WhatsApp Alternatives that Guard Your Privacy Facebook bought WhatsApp. Now that we're over the shock of that news, are you worried about your data privacy? Read More ) Similarly, once they send you their public key, you can encrypt a private message for them.

On your OpenKeychain key identity page, you’ll find two icons beneath your name. One is a folder icon with a small padlock; the other is a message icon with a small padlock. You use the first to encrypt files, and the second to encrypt messages.

Open the message screen and type your message. When you’re ready, use either:

  • The direct copy icon to copy and encrypt the message content for pasting into another app, or
  • The share icon to encrypt the message content while sharing it into another app.

You can find both icons in the top-right corner of the message screen.

Decrypting Emails With OpenKeychain

You know how to send encrypted emails. But what about when one arrives in your inbox?

OpenKeychain makes it easy to decrypt. Highlight the PGP message contents; make sure you select everything. When the prompt appears, select Share > Decrypt with OpenKeychain. The message contents instantly import to OpenKeychain. If the sender has used your public key to encrypt the message, the message contents will reveal!

Are you interested in encrypting more of your online communication? Check out some ways to encrypt your daily life with little effort 5 Ways to Encrypt Your Daily Life With Very Little Effort Digital encryption is now an integral part of modern life, protecting your personal information and keeping you safe online. Read More .

Related topics: Email Security, Email Tips, Encryption.

Affiliate Disclosure: By buying the products we recommend, you help keep the site alive. Read more.

Whatsapp Pinterest

Leave a Reply

Your email address will not be published. Required fields are marked *

  1. Michael
    March 6, 2019 at 1:01 am

    This works slightly different way :)
    In order to send somebody an encrypted message you need to have their public key which will be used to encrypt the message. The encrypted message can be decrypted by their private key only.
    Same, if somebody wants to send an encrypted message to you they have to have your public key then you can decrypt it using OpenKeychain.

    • Gavin Phillips
      March 6, 2019 at 9:57 am

      D'oh, Michael, I got my comings and goings in the wrong order! Fixed :)