开发者

I want to email users an encrypted file from a Django Backend Script on Ubuntu

I want to email users an encrypted file from a Django Backend Script (running through manage.py) on Ubuntu. How can I encrypt the data so that it is unreadable by 3rd parties who might intercept or even just read the email and will require a password string that I can supply to the end user via another method (not email.开发者_StackOverflow中文版)

What encryption scheme and application for Django/Ubuntu can I use so that a doctor could easily decrypt the data from their PC/MAC?


PGP was invented for just this purpose.

EDIT: you might also consider the free (as in freedom), open-source project GPG which is the same standard, just free :)


As Scott mentioned, you can use GPG to encrypt the data. See also the Python bindings you can choose from to interface. To send email from Django (backend script or not), read the docs.


http://code.google.com/p/django-email-extras/

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜