Commit graph

554 commits

Author SHA1 Message Date
perennate
4942419db7 Merge branch 'master' of github.com:uakfdotb/gpg-mailgate 2013-09-23 23:29:41 -04:00
perennate
97013e0fb0 Merge branch 'master' of github.com:uakfdotb/gpg-mailgate 2013-09-23 23:29:18 -04:00
perennate
a035df85be Add keymap_only configuration, to ignore public_keys list.
This means the keymap will be exclusively used to determine which email addresses to sign with which keys.
2013-09-23 23:28:35 -04:00
perennate
3428deb759 Remove the encrypted to addrs, since that was gpg-mailgate-specific and is no longer used. 2013-09-23 23:16:06 -04:00
perennate
70692d221c Update README file. 2013-09-23 18:32:36 -04:00
perennate
ed0341fc51 Add addendum detailing how to create a dedicated user for gpg-mailgate public keys. 2013-09-23 18:28:33 -04:00
perennate
27e9d6ce50 Remove the X-GPG-Encrypt-Cc header setting.
I could not find any documention on this, it seems like this was a gpg-mailgate specific option but we now read in recipients directly from the command-line arguments.
2013-09-22 15:45:52 -04:00
perennate
cf79838484 Add description in configuration file of each setting. 2013-09-22 15:40:33 -04:00
perennate
b21573e5d8 Use correct content transfer encoding (7bit). 2013-09-22 15:14:48 -04:00
perennate
3c7b44d17f Don't encrypt if it's a signed message, since that would mess with the signature. 2013-09-22 15:14:09 -04:00
perennate
003c7fe62b Remove useless domains configuration setting. 2013-09-22 15:13:15 -04:00
perennate
02d097eeac Merge remote-tracking branch 'ajgon/master'
Conflicts:
	gpg-mailgate.py
2013-09-22 15:10:17 -04:00
perennate
c04db9c35f Fix bug causing messages to have extra characters or failing to encode properly. 2013-09-16 19:38:31 +02:00
perennate
72395a7e9f Fix bug with text files (or html files) attachments. 2013-09-16 19:32:23 +02:00
perennate
527f123391 Fix format errors, also do deliver email for domain that should be encrypted even if the recipient doesn't have a key. 2013-09-16 19:31:27 +02:00
perennate
8679059079 Revert part of commit 43b3392162, so that we still send if there are no PGP recipients. 2013-09-16 19:29:52 +02:00
Igor Rzegocki
e4cf0d81a7 Fixed encrypted messages check
Moved it to the top of the method, to avoid unnecessary GnuPG class
invocation.
2013-09-16 19:26:45 +02:00
Colin Moller
d03492a183 Rudimentary support for not re-encrypting already encrypted messages 2013-09-16 19:25:16 +02:00
Colin Moller
e7bd005430 Patch GnuPG library to trust keys we've already got to avoid having to manually add them 2013-09-16 19:24:25 +02:00
perennate
f78652ac15 Greatly improve recipient selection mechanism.
This resolves many errors, such as forwarding loops arising from mailing lists.
2013-09-16 19:18:15 +02:00
Igor Rzegocki
d6aaa9f243 Fixed #1
GnuPG2.x listed keys are now properly interpreted.
2013-09-06 21:59:31 +02:00
perennate
e050ac2245 Remove attachment content filter because it seems to make PGP-encrypted data invalid. 2013-08-13 11:32:13 +08:00
perennate
e955d047bb Use extend instead of append to fix list problem. 2013-08-12 10:20:12 +08:00
perennate
8a16ef040f Use replace header instead of add header to avoid header duplication. 2013-08-11 23:17:46 +08:00
perennate
8b5eda4240 Fix problem with previous commit. 2013-08-11 23:06:27 +08:00
perennate
89a055a043 Fix bug causing messages to have extra characters or failing to encode properly. 2013-08-11 22:09:43 +08:00
perennate
9bd2222f98 Fix bug with text files (or html files) attachments. 2013-08-09 16:08:29 +08:00
perennate
183995398a Remove encryptod_to_addrs. 2013-08-09 15:15:51 +08:00
Colin Moller
08fc6fa591 Rudimentary support for not re-encrypting already encrypted messages 2013-08-09 14:50:48 +08:00
Colin Moller
91a846beb6 Patch GnuPG library to trust keys we've already got to avoid having to manually add them 2013-08-09 14:50:05 +08:00
perennate
0403e47ec0 Fix format errors, also do deliver email for domain that should be encrypted even if the recipient doesn't have a key. 2013-08-09 14:43:56 +08:00
perennate
d51ba40c65 Greatly improve recipient selection mechanism.
This resolves many errors, such as forwarding loops arising from mailing lists.
2013-08-09 14:41:06 +08:00
perennate
a973e84b32 Update README. 2013-08-09 14:41:01 +08:00
perennate
980ee8c407 Revert part of commit 43b3392162, so that we still send if there are no PGP recipients. 2013-08-09 14:35:57 +08:00
perennate
955f8b8c9f Fix spacing errors (some mix of spaces in a file that's mostly tab-formatted). 2013-08-09 14:32:49 +08:00
Igor Rzegocki
078381c2dd Removed stdin.write and stdout.read from GnuPG and replaced it with subprocess.communicate, to avoid deadlocks when larger messages are passed in 2013-04-17 20:23:48 +02:00
Igor Rzegocki
2b3f792271 Remove X-GPG-Encrypt-To as is redundant (can be replaced with keymap/domains combination) 2013-04-15 15:15:45 +02:00
Igor Rzegocki
c6f902abc3 Remove unnecessary X-GPG headers (after use) 2013-04-15 15:10:00 +02:00
Igor Rzegocki
5acd15836f Fixed plain text messages encryption 2013-04-14 13:13:52 +02:00
Igor Rzegocki
43b3392162 Added X-GPG headers for parametrization of encrypting behavior 2013-04-14 12:18:14 +02:00
Igor Rzegocki
59a4f91565 Fixed nested multiparts 2013-04-04 20:07:32 +02:00
Igor Rzegocki
5d2769b4da Added attachments support (payload encryption) 2013-04-03 16:32:38 +02:00
Igor Rzegocki
4f77a85c50 Added Readme file (and TODO in it) 2013-04-02 21:41:41 +02:00
Igor Rzegocki
a87ab9582e Fixed config example 2013-04-02 21:38:07 +02:00
Igor Rzegocki
19745508a7 - Fixed broken content type (which was preventing mail clients to display message properly)
- Fixed bug when messages were sent multiple times
- Fixed To/Cc/Bcc addresses parsing
2013-04-02 21:37:12 +02:00
Igor Rzegocki
2fdec37f1f Convert multi-part message parts to strings before joining them 2013-04-02 21:35:19 +02:00
Igor Rzegocki
496202505b Added .gitignore for python 2013-04-02 21:30:20 +02:00
root
05ecc05b34 Some new stuff 2010-01-21 09:50:51 -05:00
mcmaster
93556ed3bf Working with RT 2010-01-20 17:17:17 -05:00
mcmaster
ea5e0c2ae6 to_addrs not defined if 'To' header is non-existant 2010-01-20 16:26:20 -05:00