Allowing encrypted contact messages using public pgp keys.

Last updated on
30 April 2025

The PGP Contact Forms module provides a means for users to upload their PGP public keys and use them to have messages sent to them via their personal contact forms encrypted.

Requirements: Drupal 7.x with the contact module enabled.

Installation

  1. Copy the pgp_contact directory into the Drupal sites/all/modules directory.
  2. Download the minimal version of the OpenPGP.js library.
  3. Optionally download and install Libraries API.

Usage

  1. Login.
  2. Go to your user page (/user), click on the PGP public key tab, and paste your key into the textarea there.
  3. Click on "verify public key". Check that the right email address and key fingerprint appears.
  4. Submit.

Configuration

You can specify a different location for your javascript libraries via the module's settings page at Admin -> Structure -> Contact form -> PGP settings (admin/build/contact/pgp). You can also specify a site-wide pgp encryption policy, and fiddle with the module's detection of SSL.

You can upload a site-wide contact form via Admin -> Structure -> Contact form -> PGP public key (admin/build/contact/pgp-key)

Support

Please use the module issue queue to report bugs and request support.

Tested Browsers

Since this module relies heavily on javascript, this section lists browsers on which this functionality has been confirmed to work:

Firefox
32
Chrome
31

Help improve this page

Page status: Not set

You can: