[ Spoofing & identity abuse ]

S/MIME, PGP and DKIM: compare the identities and protections involved

Choose signing and encryption controls by the identity they bind and the part of the message they protect.

By the EmailAuth research team · 3 min read

[ Key points ]

  • Choose signing and encryption controls by the identity they bind and the part of the message they protect.
  • Define the protected scope and verified key identity before choosing signatures or encryption.
On this page

DKIM, S/MIME and OpenPGP can all involve digital signatures, but they do not make the same assertion. Start with the protection you need: domain accountability, integrity of a signed message entity, confidentiality for a recipient or confidence in a particular key holder. No label alone establishes that a payment request is authorized.

Follow one message path

Imagine an author composing a message, a sending server applying DKIM, a gateway adding a footer and a recipient opening the result. DKIM connects selected headers and the canonicalized body to a signing domain. The receiver uses the selector and domain to locate the public key in DNS. It does not encrypt the content. A footer modification can break the body hash, depending on the signed scope and processing. RFC 6376.

S/MIME operates on MIME message entities using certificate-based cryptography. Signing and encryption are distinct operations: a signed-only message is not confidential. The recipient must validate the relevant certificate and identity binding under its trust policy. Encrypting to a recipient certificate protects the encrypted entity for the corresponding private-key holder; it does not hide every outer routing field. RFC 8551.

OpenPGP defines key, signature and encrypted-data formats. A valid signature proves a relationship to a key, while the user's confidence that the key belongs to the intended correspondent depends on a verified binding and local trust decisions. Encryption and signing are again separate. Email packaging and client interoperability need their own implementation checks. RFC 9580.

Compare threats without collapsing identities

For a forged domain-level sender path, DKIM contributes domain authentication and can provide an aligned DMARC path. For an intermediary altering signed content, an applicable S/MIME or OpenPGP signature can reveal modification when verified correctly. For a passive party reading message content, appropriate encryption addresses confidentiality; a signature alone does not.

None of these statements means the endpoint is safe. A compromised private key or authorized account can produce cryptographically valid material. Nor does any signature make an invoice correct. Key lifecycle, recipient validation and independent business approval remain necessary.

Use a bounded control matrix

The following documentary comparison supplies the five choices directly. It describes intended protection when correctly implemented, not verified interoperability.

  • DKIM: selected headers and canonicalized body associated with a signing domain; no confidentiality. A footer changing covered canonicalized bytes may invalidate the signature.
  • Signed-only S/MIME: signed MIME entity associated with a validated certificate key; no confidentiality. A changed signed entity can fail verification, while an outer modification requires scope inspection.
  • Encrypted S/MIME: encrypted MIME entity protected for intended recipient key holders; outer routing fields can remain visible. Encryption alone does not authenticate the author.
  • Signed-only OpenPGP: signed data associated with a key whose correspondent binding must be verified; no confidentiality. Altering covered data can invalidate verification.
  • Encrypted OpenPGP: encrypted data protected for intended key holders; packaging and exposed metadata still need review. Encryption alone is not sender authorization.

No cryptographic operations, client round trips or gateway tests were executed for this comparison. Combining signing and encryption is possible; ordering and packaging must be tested on the actual route. An added gateway footer outside the encrypted or signed entity has a different effect from changing that entity. Keep those cases separate instead of assigning a universal survives-forwarding result.

Select and validate the combination

Write the required identity and protected scope into the acceptance criteria. Verify key enrollment, loss and revocation handling, algorithm support, forwarding behavior and recipients outside the organization. Inspect what users actually see when validation fails. DKIM can coexist with end-user signing or encryption; adding one does not make the others redundant. Keep a documented recovery path that does not silently downgrade the intended protection.

[ Takeaway ]

Define the protected scope and verified key identity before choosing signatures or encryption.

[ By role ]

What this means for you

Choose your role for practical next steps.

IT / Mail Admin

Test the whole route

Client and gateway behavior can affect protected content.

Next steps

  1. Run harmless signed and encrypted round trips.
  2. Verify failure indicators and forwarding.
  3. Check key-loss and revocation handling.

CISO / SecOps

Govern key trust

Cryptographic validity depends on key custody and identity binding.

Next steps

  1. Review enrollment and revocation.
  2. Keep endpoint compromise in the threat model.
  3. Define which metadata remains exposed.

Founder / Non-technical

Buy the needed protection

Signing, encryption and business authorization are different outcomes.

Next steps

  1. State the required identity and confidentiality.
  2. Budget for key recovery and user support.
  3. Choose a supported recipient workflow.

[ FAQs ]

Frequently asked questions

Does DKIM encrypt email?

No. It provides a domain signature over selected headers and canonicalized body content.

Does signed S/MIME make a message confidential?

No. Encryption is a separate operation.

What identity does an OpenPGP signature establish?

It binds the signed data to a key; confidence in the correspondent requires a verified key-to-identity relationship.

Can S/MIME and DKIM coexist?

Yes. They operate at different protection and identity layers.

Are all email headers protected by end-user encryption?

No. Outer routing and other metadata can remain exposed; inspect the actual packaging.

Can a gateway footer cause validation trouble?

Yes. A change within the signed scope can invalidate a signature. Test the relevant format and route.

Was cryptographic interoperability tested here?

No. The five-choice comparison is documentary guidance, not an executed cryptographic or client test.

Does a valid signature authorize payment?

No. A signature does not replace the independent business approval process.

[ Sources ]

Sources

  1. RFC 6376 DKIM

    Sections §3.4 · §3.5 · §3.7 · §6.1 · §6.3

  2. RFC 8551 S/MIME 4.0

    Sections §3.1 · §3.3 · §3.4 · §4 · §4.3 · §4.4

  3. RFC 9580 OpenPGP

    Sections §2.1 · §2.2 · §2.5 · §5.2 · §5.13 · §13.6 · §13.11

[ Glossary ]

Glossary

Confidentiality
Protection against unauthorized reading of the protected content.
Identity binding
The verified relationship between a cryptographic key or identifier and its claimed owner.

Enterprise provenance

Why top financial institutions and governments retired their email security dashboards.

Traditional email authentication platforms sell you a dashboard and ask your engineers to do the labour. In high-stakes environments, manual oversight means delayed enforcement, configuration drift and unmonitored shadow domains.

EmailAuth is the agentic email provenance platform. Our agents enforce p=reject, keep third-party senders aligned and move your domains to full RFC 9989 compliance, the new DMARC standard,, with human-in-the-loop auditability.

Governments Large enterprises Tier-1 financial institutions

SaaS · Dedicated tenancy · Air-gapped on-prem · BYOK encryption

Knowledge Base