On this page10 sections
In short
S/MIME and PGP both encrypt the body of an email end to end. S/MIME uses certificates issued by a certificate authority and is built into Outlook, Apple Mail and some Google Workspace editions of Gmail. PGP (OpenPGP) uses keys you create yourself and is built into Thunderbird; other apps need an add-on. Neither hides the sender, the recipients or, in most setups, the subject line, and neither has forward secrecy. Pick the one your correspondents can already use.
Key takeaways
- S/MIME trusts certificates issued by a certificate authority; OpenPGP trusts keys that you and your correspondents check or look up yourselves.
- Outlook, Apple Mail and Gmail's hosted S/MIME editions handle S/MIME without add-ons. Thunderbird handles both standards without add-ons.
- Nobody can encrypt to you until they have your certificate or key, so exchange signed messages or publish keys before the first sensitive email.
- In most setups the subject line, sender, recipients and dates stay readable, and one leaked private key exposes all past mail.
- EFAIL (2018) was fixed in mail apps and in both standards. Keep clients current and leave remote content blocked in encrypted mail.
- There is no password reset for either standard. Back up private keys, including the ones behind expired certificates.
Last reviewed 30 November 2026
PGP vs S/MIME is a choice between two answers to one question: how do you know a public key really belongs to the person you're writing to? S/MIME answers with certificates issued by a certificate authority, and it's built into Outlook, Apple Mail and some Google Workspace editions of Gmail. PGP, standardized as OpenPGP, has you create your own keys with no authority involved. It's built into Thunderbird, and other mail apps need an add-on. Both encrypt the message body end to end, and both leave the routing data and, in most setups, the subject line readable.
What each standard is#
Both rest on public-key cryptography: your mail app encrypts the message with a one-time key, then encrypts that key to each recipient's public key. Servers in between carry only ciphertext, which makes both a form of end-to-end encryption.
OpenPGP is the open standard behind PGP and GnuPG. The current specification is RFC 9580 (July 2024). It replaced RFC 4880 from November 2007. RFC 3156, known as PGP/MIME, defines how an OpenPGP message travels inside an email.
S/MIME version 4.0 is specified in RFC 8551 (April 2019). Its keys come inside X.509 certificates.
From: alice@example.com
To: bob@example.org
Subject: Draft contract for Thursday
Date: Mon, 2 Nov 2026 09:14:07 +0000
Content-Type: multipart/encrypted; protocol="application/pgp-encrypted"
-----BEGIN PGP MESSAGE-----
(ciphertext)
-----END PGP MESSAGE-----S/MIME shows the same readable headers around an application/pkcs7-mime part.
Who vouches for a key#
S/MIME: a certificate authority. A CA checks something about you before it issues a certificate. Since September 1, 2023, publicly trusted CAs follow the CA/Browser Forum's S/MIME Baseline Requirements, which define four certificate types: mailbox-validated, organization-validated, sponsor-validated and individual-validated. A mailbox-validated certificate proves only that someone controlled the mailbox. To show which company stands behind the sender, you need an organization-validated or sponsor-validated one. The same rules cap a certificate's life at 825 days under the current profiles, so renewal is a recurring job.
OpenPGP: you and your correspondents. You generate a key pair in your mail app and hand out the public half. Nobody checks it, so each correspondent decides whether the key is really yours. The classic check is comparing the key's fingerprint on a call, though RFC 9580 itself advises software not to push people toward comparing full fingerprints by hand.
How correspondents find each other's keys#
S/MIME. A digitally signed email carries the sender's certificate, so Google's hosted S/MIME instructions tell users to exchange signed messages first. Inside one organization a directory does the work: Apple's iOS instructions say Mail looks up certificates in the Exchange global address list.
OpenPGP. A mail app can fetch a key over HTTPS from the recipient's own domain, under /.well-known/openpgpkey/. This Web Key Directory method is still an Internet-Draft, not an RFC. A key server is the other route: keys.openpgp.org lists a key under an address only after the owner confirms that address by email. Thunderbird's migration notes add that you must accept a correspondent's key before it's used.
Which mail apps support each#
| Mail app | S/MIME | OpenPGP |
|---|---|---|
| Outlook (new, classic, web) | Built in. Microsoft's setup page asks for a certificate and a qualifying Microsoft 365 subscription | Not in Microsoft's encryption instructions. Gpg4win's GpgOL add-in adds it |
| Apple Mail | Built in once certificates are in your keychain on a Mac or installed on an iPhone | Not built in. On a Mac, GPG Suite's GPG Mail extension adds it under a paid support plan |
| Gmail on the web | Hosted S/MIME, which Google lists for Frontline Plus, Enterprise Plus and Education editions | Not built in. A browser extension such as Mailvelope adds it |
| Thunderbird | Built in | Built in from version 78, no add-on |
For Gmail's options in detail, see Is Gmail end-to-end encrypted?.
What neither one protects#
- The subject line, in most setups. RFC 9787, the IETF's 2025 guidance for mail apps, notes that many apps protect only the body. RFC 9788 moves headers inside the encrypted part and hides the Subject by default, so the outside copy reads
[...]. That works only when both apps implement it, so keep subjects bland. - Who wrote to whom, and when. Servers need that to deliver mail. See What is email metadata.
- Past mail, if a key leaks later. Neither has forward secrecy. One long-term private key decrypts every message ever sent to you, and RFC 9787 observes that such keys are typically kept indefinitely.
What EFAIL showed, and what changed#
In 2018, researchers published EFAIL, attacks on both standards. An attacker who already held a copy of your encrypted mail could alter it, send it back to you, and have your own mail app decrypt it and leak the plaintext, for example in the address of a remote image. They reported such channels in 25 of 35 S/MIME clients and 10 of 28 OpenPGP clients tested, and signatures didn't prevent it.
Two causes were fixed. Mail apps had mixed decrypted text with attacker-supplied content, and older encryption modes let ciphertext be modified undetected.
- Mail apps. Apple's macOS 10.13.5 notes (June 1, 2018) describe "improved isolation of MIME in Mail." Thunderbird 52.9.1 (July 10, 2018) lists a "Complete fix of the EFAIL vulnerability." GnuPG 2.2.8 (June 8, 2018) made decrypting a message that lacks the integrity check a hard failure.
- Standards. RFC 8551 cites EFAIL and recommends moving to authenticated encryption, which detects tampering, as quickly as possible. RFC 9580 adds authenticated encryption to OpenPGP and forbids handing such data to the user before its integrity is confirmed.
So run current mail apps, and leave remote content blocked in encrypted mail.
Key loss and recovery#
Neither standard has a password reset. Mail encrypted to a private key you've lost stays unreadable.
- S/MIME. Certificates expire, but old mail stays encrypted to the old key, so keep each expired certificate's private key for as long as you keep the mail. Ask your issuer whether private keys are escrowed: the Baseline Requirements allow a CA to do that if it tells the subscriber. Escrow keeps a departed employee's mail readable, and it means someone other than the user can decrypt it.
- OpenPGP. Your backup is the only backup. Export the private key to offline storage the day you create it, and keep the revocation certificate that GnuPG creates with each new key. It's how you tell people to stop using a key you've lost.
PGP vs S/MIME side by side#
| S/MIME | OpenPGP (PGP) | |
|---|---|---|
| Current specification | RFC 8551 (2019) | RFC 9580 (2024); PGP/MIME in RFC 3156 |
| Who vouches for a key | A certificate authority | You and your correspondents |
| Finding a correspondent's key | Signed email or company directory | Web Key Directory, key server or attached key |
| Works without add-ons in | Outlook, Apple Mail, Gmail (hosted S/MIME editions), Thunderbird | Thunderbird |
| Subject line encrypted | Only if both apps support header protection | Same |
| Sender, recipients and date hidden | No | No |
| Forward secrecy | No | No |
| Lost private key | Old mail unreadable unless the key was backed up or escrowed | Old mail unreadable unless you kept a backup |
Which one to choose#
Choose S/MIME if:
- the people you write to use Outlook, Apple Mail or Gmail with hosted S/MIME;
- you want certificates that name your organization and were checked by a third party;
- IT can issue and renew certificates centrally.
Choose PGP if:
- the people you write to already use OpenPGP and can send you their keys;
- you don't want a certificate authority involved;
- your team can use Thunderbird or accepts add-ons, and each person will look after their own key backup.
Choose neither if:
- the other side can't or won't manage keys. A password-protected message asks far less of them;
- everyone involved is on one provider that encrypts mail between its own accounts automatically;
- what you need to hide is who is talking to whom.
End-to-end encrypted mail without the key work#
Both standards ask every person to get, exchange, renew and back up keys. Foxcolab Mail does that work for you. Mail from one Foxcolab user to another is end-to-end encrypted: put one Foxcolab address in To, with nobody in Cc or Bcc, and the composer looks up the recipient's key and encrypts the body on your device. Nobody exchanges keys, buys a certificate or installs an add-on, and the composer shows End-to-end encrypted before you send. The Foxcolab Mail apps for iPhone and Android and mail.foxcolab.com unlock it on your device.
For someone on another provider, turn on Password protection in the composer. The recipient opens the message with a password you share another way, with no key or certificate to set up on their side. See Send a password-protected email.
Your keys stay in your hands. In Mail settings, Encryption keys (under Advanced) lets you copy or download your public key and download a backup of your private key. Your files get the same protection, because Foxcolab Drive, Docs, Sheets and Notes are end-to-end encrypted too.
To send end-to-end encrypted mail without managing certificates, create a free account or see plans. Teams can start with Foxcolab for enterprise.
Frequently asked questions
Can a PGP user and an S/MIME user send each other encrypted email?
No. The two standards use different message formats and different kinds of keys, so both sides need the same one. A mail app that supports both, such as Thunderbird, lets one person hold an S/MIME certificate and an OpenPGP key and use whichever the other side has.
Do PGP and S/MIME encrypt attachments?
Yes, when the message is sent as PGP/MIME or S/MIME. The encrypted part contains the whole message body, including attachments. The headers outside it, such as sender, recipients, date and usually the subject, are not encrypted.
Is the subject line encrypted?
Usually not. Many mail apps protect only the body. RFC 9788, published in 2025, defines header protection that hides the subject, but it only helps when both the sender's and the recipient's apps implement it. Write subject lines as if anyone could read them.
What happens to old encrypted mail when my S/MIME certificate expires?
It stays encrypted to the old key. You can still read it as long as you keep that certificate's private key, so never delete an expired certificate's key while you still hold mail that was encrypted to it.

Written by
Foxcolab Team
The people building Foxcolab, a private workspace for email, files, documents, meetings and team chat.
Was this article helpful?
One click, no account needed.