Common PGP Mistakes (and How to Avoid Them)

A warning triangle on a shield beside a broken padlock, illustrating common PGP security mistakes

1. Sharing Your Private Key Instead of Your Public Key

Why it hurts: Anyone who obtains your private key can decrypt your messages and sign statements in your name. How to avoid it: Only share publicKey.txt. Keep privateKey.txt strictly private.

2. Using a Weak or Reused Passphrase

Why it hurts: If your private key file is stolen, a weak passphrase can be cracked offline. How to avoid it: Use a unique, high-entropy passphrase stored in a password manager.

A locked envelope with a visible header area, illustrating that PGP does not hide email subject lines by default

3. Having No Backup (and No Revocation Certificate)

Why it hurts: There is no password reset in PGP. Losing your key locks you out of past encrypted mail forever. How to avoid it: Back up your private key in an encrypted volume or offline USB, and generate a revocation certificate in GnuPG while you still control the key.

4. Assuming Email Subject Lines and Headers Are Encrypted

Why it hurts: Classic inline PGP—such as pasting a block from OnlinePGP.com into webmail—only encrypts the message body. The Subject, To, From, and Date headers remain visible to mail servers. Even when using PGP/MIME, headers are exposed unless both clients support and enable modern header protection. How to avoid it: Keep subject lines generic.

5. Skipping Fingerprint Verification

Why it hurts: Accepting an unverified public key leaves you open to impersonation. How to avoid it: Verify fingerprints out-of-band as explained in our fingerprint verification guide.

6. Trusting Short Key IDs Instead of Full Fingerprints

Why it hurts: 8-character short key IDs can be collided intentionally. How to avoid it: Always check the full fingerprint.

7. Encrypting to an Old, Expired, or Revoked Key

Why it hurts: Your recipient may no longer have access to an old key. How to avoid it: Confirm you are using their current key before encrypting.

8. Letting HTML Email or Chat Apps Corrupt the Armor Block

Why it hurts: Extra line breaks, smart quotes, or missing hyphens break decryption. How to avoid it: Send PGP blocks in plain-text mode.

9. Screenshotting or Emailing Your Private Key as a Backup

Why it hurts: Cloud photo backups and mail servers expose your key to third parties. How to avoid it: Use encrypted local or hardware backups.

10. Expecting PGP to Hide Who You Are Talking To

Why it hurts: PGP protects message content, not network metadata. Mail providers still see sender and recipient addresses. How to avoid it: Combine PGP with appropriate operational security when metadata matters, and read How to Generate a PGP Key Safely and PGP for Email.

Frequently Asked Questions

Does PGP encrypt email subject lines?

Classic inline PGP and basic PGP/MIME encrypt the message body and attachments, not the Subject, From, To, or Date headers. Only modern clients with header protection enabled hide subjects.

Can I recover a lost private key?

No. If you lose your private key and have no backup, any messages encrypted to it are permanently unreadable.

Is it safe to email my private key to myself as a backup?

No. Never send your private key over unencrypted email or store it in plaintext cloud storage.

Why shouldn't I use 8-character short key IDs?

32-bit short key IDs are collision-prone and can be spoofed. Always verify the full 40-character (v4) or 64-character (v6) fingerprint.

Try It Now with OnlinePGP.com

Put this guide into practice right away. Generate a PGP key pair, encrypt a message, or verify a signature 100% locally in your browser.

Open the Online PGP Tool