Skip to main content

A Django reusable app providing the ability to send PGP/MIME signed multipart emails.

Project description

Created by Jan Dittberner

Introduction

django-gnupg-mails provides a class gnupg_mails.message.GnuPGMessage that extends Django’s django.core.mail.EmailMessage with the functionality to send PGP/MIME signed emails.

Dependencies

  • gnupg is required for signing the mails

Installation

The easiest way to install django-gnupg-mails is directly from PyPI using pip by running the command below:

$ pip install -U django-gnupg-mails

Otherwise you can download django-gnupg-mails and install it directly from source:

$ python setup.py install

Usage

Define settings.GNUPG_HOMEDIR to point to a GnuPG home directory containing a private key with signing capabilities.

Instead of using Django’s EmailMessage you can just use gnupg_mails.message.GnuPGMessage. The class is a drop-in replacement and can used in the same way as the original class as documented in The Django documentation.

Similar packages

You may want to have a look at django-email-extras by Stephen McDonald for other GnuPG related functionality. Stephen’s package allows sending PGP encrypted mail and provides a nice email test backend.

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

django-gnupg-mails-0.2.tar.gz (12.8 kB view details)

Uploaded Source

Built Distribution

django_gnupg_mails-0.2-py2.py3-none-any.whl (17.8 kB view details)

Uploaded Python 2 Python 3

File details

Details for the file django-gnupg-mails-0.2.tar.gz.

File metadata

File hashes

Hashes for django-gnupg-mails-0.2.tar.gz
Algorithm Hash digest
SHA256 805247019eabd4c95b30499f010f18ff84d2b413907b2ce996d72035176ff66f
MD5 84a0ea9a37fa68db9f1938eea068e7d6
BLAKE2b-256 b6437a377be75973c5e1647e1f8db9177283a141f64e1934694f13a5b8c5437d

See more details on using hashes here.

File details

Details for the file django_gnupg_mails-0.2-py2.py3-none-any.whl.

File metadata

File hashes

Hashes for django_gnupg_mails-0.2-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 ede5b44b630df881fa7f4d0583d3217d63e237649505d7ccebe80b378d1fa42e
MD5 9c0365a71fe0e4f9f94c6bf3ac67270d
BLAKE2b-256 36f4b7fc055e95e11a7ba8d3dcefeecd80cfdb5bb4c50c87d5fdc1476f4a1445

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