To send someone an encrypted email you need their OpenPGP public key, and they need yours. Keys can be found automatically through the keys.openpgp.org keyserver, published on a domain's own website, or carried in the headers of ordinary email. The step that makes it safe is checking the key's fingerprint with the person, by phone, video or in person, because anyone can create a key in anyone else's name.
This is the last of three articles, after why we ask clients to encrypt sensitive email and your first OpenPGP key.
In short
The easiest way to start is to make your public key easy to find.
Thunderbird can search for a correspondent's key by email address. In the OpenPGP Key Manager, the Keyserver menu has a Discover Keys Online command, and it searches the first two sources below. The third needs no search:
| Source | How it works | Good to know |
|---|---|---|
| keys.openpgp.org | A community-run keyserver; people search by exact email address | Lists a key's address only if the owner confirmed it |
| Web Key Directory (WKD) | An organisation publishes its staff's public keys on its own website, at a standard address that mail apps know to check | Described in an Internet draft rather than a finished standard, and many organisations use it |
| Autocrypt | Your public key travels in a header of ordinary email, so a correspondent's app can learn it without any lookup | Its own specification says it defends only against passive collection of mail, not against someone deliberately impersonating a correspondent |
Keys also arrive by themselves. Thunderbird's Autocrypt support is limited: it adds the header when you attach your key, and offers to import a key that arrives in one, but it does not encrypt automatically.
A key is only as good as your confidence about who holds it. Mozilla's FAQ puts the risk in one sentence:
"Technically, anyone is able to create an OpenPGP key in anyone's name, using any email address they want."
Accepting a key without checking it leaves you open to someone placing themselves between you and your correspondent. The check is quick:
Thunderbird shows signatures from keys you have accepted as valid, and treats others with caution. Do the check once per person; you do not need to repeat it unless their key changes.
Check the new fingerprint before you trust it. People replace keys when they get a new computer without a backup, or when a key expires. If a correspondent's key suddenly changes, check the new fingerprint with them the same way. An unexpected new key is exactly what an impersonator would send.
The step-by-step guide is How to send encrypted and signed email with OpenPGP in Thunderbird.
Read next:
If your organisation would like help with OpenPGP for its staff, get in touch.
Note: while some of this content was produced with the help of AI, the final editing has been done by a real human being.