globaleaks / APAF

Anonymous Python Application Framework
33 stars 15 forks source link

API to send email securely #12

Open fpietrosanti opened 12 years ago

fpietrosanti commented 12 years ago

APAF should provide secure email sending facilities to be used by apaf itself and by apaf applications.

APAF should provide a set of API to send secure email with the following security features:

The API should be able to use APAF's built-in email configuration data (from apaf config) or taking configuration parameters (server, account, from, etc) directly from the application calling it.

The API should be synchronous and report state-fully the success or failure of sending along with proper error messages (es: the answer from email server, failure in ssl, a timeout or a success).

fpietrosanti commented 12 years ago

Please note that this depend on #8 for PGP encryption.

Please note that usage of PyOpenSSL for strict SSL checking by Twisted Email package (https://github.com/racker/python-twisted-mail) require bundling also binaries of OpenSSL for the right platform (windows/osx) and automation of the installation requirement.

fpietrosanti commented 12 years ago

How Trac implement email encryption with Python/python-gnupgp/gnupg http://trac-hacks.org/wiki/AnnouncerPlugin/MessageEncryption

fpietrosanti commented 12 years ago

How Django implement email encryption http://code.google.com/p/django-email-extras/

mmaker commented 12 years ago

"email sending facilities" --> in case of errors? Creating a new package utils for generic APIs . c8051727ef812fc070c216aafef225d28943df33