Skip to main content

WSGI PGP public key submission system

Project description

pgpsubmit is a simple WSGI application that can be used for collecting OpenPGP public keys on a keyring e.g. for a keysigning party.

Features include:

  • submission deadline and “time remaining” display

  • keyring and key list export (with MD5 and SHA-1 hashes)

  • configured entirely through environment

Dependencies

Configuration

Two WSGI environ variables must be set:

GNUPGHOME

The GnuPG home directory. Must be writable by the user running the application. Multiple pgpsubmit instances could be run in parallel, each with a different GNUPGHOME.

PGPSUBMITSOURCEURL

URL at which may be found the corresponding source of pgpsubmit, pursuant to section 15 of the AGPL. If you run a modified version of pgpsubmit, the source code for that modified version must be available at this URL.

There are also some other configuration variables:

PGPSUBMITUNTIL

Specify a deadline for submission. After this time, submission will be disabled, and a message to effect of same will appear. While the deadline looms, time remaining will be displayed. The format is 'Y.M.D[.H[.M[.S]]]'.

PGPSUBMITDOWNLOADEARLY

If a deadline is set, links to download the keyring and key list are not shown until the submission deadline is reached. Settings this environment variable (to any value) causes these links to be shown regardless of whether or not the deadline has passed.

A configuration for Apache with mod_wsgi might be:

<Directory /usr/home/joe/pgpsubmit>
    Order allow,deny
    Allow from all
</Directory>

<VirtualHost *:80>
    ServerAdmin joe@example.com
    ServerName pgpsubmit.example.com
    DocumentRoot "/usr/home/joe/pgpsubmit"

    WSGIScriptAlias / /usr/home/joe/pgpsubmit/scripts/pgpsubmit.wsgi
    SetEnv GNUPGHOME /usr/home/joe/.pgpsubmit
    SetEnv PGPSUBMITSOURCEURL https://gitorious.org/pgpsubmit
    SetEnv PGPSUBMITUNTIL 2011.12.31.18.30
</VirtualHost>

Development

pgpsubmit is free software, available under the terms of the GNU Affero General Public License Version 3. The source code is hosted at Gitorious.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

pgpsubmit-0.3.tar.gz (18.4 kB view details)

Uploaded Source

File details

Details for the file pgpsubmit-0.3.tar.gz.

File metadata

  • Download URL: pgpsubmit-0.3.tar.gz
  • Upload date:
  • Size: 18.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for pgpsubmit-0.3.tar.gz
Algorithm Hash digest
SHA256 6ad4fef7aa98f0e255926dceea5eaed4ea3607b2664048d4f5074491b1c605b5
MD5 d68ba869c2ba711f79c51fb4e147cb8f
BLAKE2b-256 2715ab705bd296d1f9e558796eb92c240adb19d14bc4ae450a23ae902a6442e5

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page