Commit Graph

69 Commits

Author SHA1 Message Date
fkrone 9c1375fdb2 Renaming some variables to make names consistent 2015-02-14 15:15:14 +01:00
fkrone 93b505d00a We don't need to do S/MIME encryption on an already PGP encrypted mail 2015-02-01 19:10:16 +01:00
fkrone 8561c01e99 Fixing bug: If at least one S/MIME recipient was found, every recipient received a S/MIME encrypted mail. Furthermore, the header data is now preserved in S/MIME 2015-02-01 19:09:20 +01:00
fkrone 0b503fa616 Fixing critical bug: looking up email addresses for PGP encryption in keychain was done case sensitive 2015-01-31 19:14:21 +01:00
kflux 8a9976556c preserve X-GPG-Mailgate header for S/MIME enc. 2014-03-02 13:14:12 +01:00
kflux f010613e6b Update gpg-mailgate.py
- functionalized smime encryption
- fixed some bugs
2014-03-02 01:50:31 +01:00
kflux fc4dcb55fe added additional/optional S/MIME encryption 2014-02-26 01:49:29 +01:00
perennate 9ac151f438 Merge https://github.com/ajgon/gpg-mailgate
Conflicts:
	INSTALL
	README.md
	gpg-mailgate.conf.sample
	gpg-mailgate.py
2013-11-03 10:38:04 -05:00
Igor Rzegocki da8559e31b Added authors info, and removed duplicated code 2013-11-03 15:31:28 +01:00
perennate 44d94c85ad Enable encryption for signed messages. 2013-11-03 15:14:17 +01:00
perennate b6e4a321e6 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-11-03 15:14:17 +01:00
perennate 119b611557 Remove the encrypted to addrs, since that was gpg-mailgate-specific and is no longer used. 2013-11-03 15:14:13 +01:00
perennate c1538cfff7 Use correct content transfer encoding (7bit). 2013-11-03 15:13:35 +01:00
perennate 52bdb31637 Don't encrypt if it's a signed message, since that would mess with the signature. 2013-11-03 15:13:35 +01:00
perennate f8711583a3 Remove useless domains configuration setting. 2013-11-03 15:13:34 +01:00
perennate 5d8e8202a6 Remove attachment content filter because it seems to make PGP-encrypted data invalid. 2013-11-03 15:13:05 +01:00
perennate 04afea12cf Use extend instead of append to fix list problem. 2013-11-03 15:13:05 +01:00
perennate e4b5a0e979 Use replace header instead of add header to avoid header duplication. 2013-11-03 15:13:05 +01:00
perennate 9bd941b752 Fix problem with previous commit. 2013-11-03 15:13:05 +01:00
perennate 4aa366dea5 Fix bug causing messages to have extra characters or failing to encode properly. 2013-11-03 15:13:03 +01:00
perennate 7110b9a303 Remove encryptod_to_addrs. 2013-11-03 15:11:22 +01:00
Colin Moller fbda6a6e72 Rudimentary support for not re-encrypting already encrypted messages 2013-11-03 15:11:22 +01:00
perennate 6e92ded37c Greatly improve recipient selection mechanism.
This resolves many errors, such as forwarding loops arising from mailing lists.
2013-11-03 15:10:13 +01:00
uragit 42caa47f5b Added syslog and verbose options for config file. 2013-10-12 01:26:55 -07:00
perennate fbe2f1bba1 Update license to GNU GPL v3. 2013-10-02 14:27:28 -04:00
perennate 794caa0c2f Merge branch 'master' into www 2013-09-28 10:28:14 -04:00
perennate e4bf948376 Enable encryption for signed messages. 2013-09-28 10:28:00 -04:00
perennate e01e505374 Release under GNU Lesser General Public License. 2013-09-27 22:21:55 -04:00
perennate 98b4e341cf Initial commit for gpg-mailgate-web addition. 2013-09-26 19:40:27 -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 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 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
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
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