Community Documentation

Allowing encrypted contact messages using public pgp keys.

Last updated August 26, 2011. Created by sfyn on March 21, 2011.
Edited by melissavdh. Log in to edit this page.

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 6.x with the contact module enabled.

Installation

  1. Copy the pgp_contact directory into the Drupal sites/all/modules directory.
  2. Download all the libraries from http://www.hanewin.net/encrypt/, and put them in the sites/all/libraries directory.
  3. Optionally, download and install Secure Pages and Secure Pages Hijack Prevention. These modules are used by pgp_contact to provide a forced ssl option on contact pages.

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 appears. The key id and hash that appear are internal values for this module. (We're working on fixing that.)
  4. Submit.

Configuration

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

This page also allows you to do some configuration of SSL, although the Secure Pages configuration page at Admin -> Build -> Secure Pages (admin/build/securepages) provides deeper configuration of SSL.

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

Support

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

Supported Browsers

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

Firefox
3.6
Chrome
9, 10
Internet Explorer
7
nobody click here