πŸŽ‰ Celebrate with 10% OFF on All Products! Use Code: GFEX10 Or Buy Any 2+ Items for 30% OFF with Code: GFEX30!
Guides & Tutorials October 15, 2026

Gravity Forms PGP Encryption: Encrypt Notification Emails and Attachments

GravityExtra
Gravity Forms PGP Encryption: Encrypt Notification Emails and Attachments

A patient referral, a disciplinary report, a loan application, a whistle-blower tip: some forms collect information that should never sit in plain text in an inbox. Yet that is exactly what a standard form notification does. The email travels through several mail servers, gets copied into backups and stays in mailboxes for years, readable by anyone who gets access to any of those places.

OpenPGP encryption fixes that. This guide explains how PGP-encrypted notifications work, what they protect, and how to set them up for Gravity Forms with the Gravity Forms PGP Encrypted Notifications Premium Add-on, using your recipients’ own public keys.

Why Plain Notification Emails Are a Risk

  • Email is copied everywhere. Your SMTP service, the recipient’s provider, spam filters, backups and synced phones all keep a copy.
  • Transport encryption is not enough. TLS protects the connection between servers, but every server in the chain can read the message.
  • Mailboxes get breached. One stolen password exposes every notification ever received.
  • Regulated data needs care. Health, legal, financial and HR data often comes with rules about who may read it; check what applies to you.

How PGP Encryption Works, in Short

Each recipient has a key pair. The public key can be shared with anyone; it can only lock data. The private key stays with the recipient and is the only thing that can unlock it. The add-on locks each notification with the recipients’ public keys before it leaves your site. From then on, only the people holding the private keys can read it — not your host, not the mail servers, not even your WordPress site.

Under the hood, each message gets a new random AES-256 key that encrypts the content with integrity protection, and that key is locked for each recipient with RSA or Curve25519, as the OpenPGP standard describes. The result is a standard PGP message that common PGP tools can open.

Encrypted notification with a neutral subject, an encrypted PDF attachment and the BEGIN PGP MESSAGE block in the body
What arrives in the inbox: a neutral subject, an encrypted body and an encrypted attachment.

Step by Step: Encrypted Referral Notifications

1. Collect the public keys

Ask each recipient for their public key. In GnuPG it is gpg --armor --export name@clinic.example; PGP apps have an export button. The block starts with -----BEGIN PGP PUBLIC KEY BLOCK-----. Never accept or paste a private key.

2. Add them to the key manager

Go to Forms → Settings → PGP Encryption, paste each key and click Add key. The list shows the email address, fingerprint, key type and status. Click Send test to send an encrypted test email and confirm the person can read it.

Key manager listing two ready keys (RSA 3072 and Curve25519) and one signing-only key that cannot be used for encryption
The key manager shows which keys are ready and why others cannot be used.

3. Switch on encryption for the notification

Edit the notification and switch on Encrypt with PGP. Choose what happens when a recipient has no key: leave that recipient out, or do not send the notification at all. Keep Encrypt attachments too on so uploaded documents travel as encrypted .pgp files, and set a neutral subject, because subjects are never encrypted.

Notification settings with Encrypt with PGP, the choice for recipients without a key, encrypted attachments and a neutral subject
Encryption is switched on per notification.

4. Test with a real submission

Submit the form once with test data and an attachment, and ask each recipient to open the email. Check the entry notes: they show any recipient who was left out because of a missing or unusable key.

Choosing Keys: RSA or Curve25519?

Key type Supported Notes
Curve25519 (cv25519) Yes The default of current GnuPG versions; short and fast
RSA 3072 / 4096 Yes Widely supported by older tools
RSA 2048 Yes Minimum accepted size
RSA 1024 and smaller No Too weak; listed as not usable
Signing-only keys No Need an encryption subkey

Good Practice for Encrypted Forms

  • Verify fingerprints of new keys by phone or in person before trusting them with sensitive data.
  • Watch expiry dates; the key manager shows when a key expires and stops using expired keys.
  • Use neutral subjects such as “Encrypted form notification”.
  • Choose “Do not send” for the most sensitive forms, so a missing key never results in a partial delivery.
  • Reduce stored copies: the entry is still in your database, so combine encryption with entry retention rules or automatic deletion where your process allows.
  • Keep the form page on HTTPS; encryption protects the email, HTTPS protects the submission.

Who Uses Encrypted Form Notifications

  • Clinics and therapists receiving intake forms, referrals and symptom questionnaires.
  • Law firms receiving case enquiries, witness statements and documents from clients.
  • HR teams receiving complaints, grievance reports and job applications with personal details.
  • Financial advisers and lenders receiving income details, account statements and ID documents.
  • Newsrooms and compliance teams receiving confidential tips through a contact form.

In each case the people who read the notifications are a small, known group, which is exactly where PGP works best: every recipient has a key, and nobody else needs one.

Helping Recipients Get a Key

Recipients who have never used PGP can be ready in a few minutes. Thunderbird has OpenPGP built in: in the account settings, open End-To-End Encryption, create a new key and export the public key. With GnuPG on the command line, gpg --quick-gen-key "Name " default default creates a modern Curve25519 key, and gpg --armor --export name@example.org prints the public key to send to you. Browser users can use the Mailvelope extension with webmail. Remind everyone to back up their private key: without it, old messages cannot be read.

PGP Compared With Other Options

Option Data in the email Set-up for recipients
PGP-encrypted notification Encrypted A key pair, once
Plain notification Readable None
Notification with a link to log in Not in the email An account on your site
S/MIME certificates Encrypted A certificate from a provider

A login link keeps data out of email but sends every reader to your WordPress admin. PGP keeps the convenience of email while making sure only the intended people can read it.

What Stays the Same

Your forms, entries and other notifications do not change. Notifications without encryption are sent exactly as before, and administrators still see the answers in the Gravity Forms entry screen. Encryption only changes what leaves your site by email.

Send Form Data Only to the People Who Should Read It

OpenPGP encryption of Gravity Forms notifications and attachments with your recipients’ public keys.

Frequently Asked Questions

Can the website read encrypted notifications?

No. It only stores public keys, which can encrypt but not decrypt.

Which apps can open the messages?

PGP-capable email apps and tools such as Thunderbird, Mailvelope or GnuPG. Messages follow the OpenPGP standard and were tested with GnuPG.

Are attachments encrypted?

Yes, when you keep Encrypt attachments too switched on; each file becomes a .pgp file.

Is the subject encrypted?

No. Email subjects cannot be encrypted with inline PGP, so the add-on lets you set a neutral subject.

Does it need an external service?

No. Encryption runs on your server with standard PHP functions; no data is sent anywhere else.

What if a recipient loses their private key?

Messages already sent to that key cannot be opened any more. Ask the person for their new public key, remove the old key from the key manager and add the new one; new notifications use it straight away.

Can several people share one key?

Yes, a team mailbox can use one key pair that the team keeps safe, but individual keys make it easier to remove one person later without changing everyone else.

Do I need a particular Gravity Forms licence?

No. Any Gravity Forms licence, version 2.9 or newer, works.

0
0
Your Cart
Your cart is emptyReturn to Shop
πŸ”₯ FREQUENTLY BOUGHT TOGETHER
Complete Combo & Save 40%!
ITEM IN YOUR CART
Gravity Forms Klaviyo Add-on
$39.00/yr
+
🎁 RECOMMENDED ADD-ON SAVE 40% OFF
Original Price: $39.00/yr
Bundle Special Price: $23.40/yr