fkrone
46730ba8e6
Bugfix: Avoid nested encryptions of any kind
2015-03-02 21:01:05 +01:00
fkrone
a766a9bd4a
Refactored code (and also optimizing code).
...
Changes while refactoring: The gateway now handles mail addresses case sensitivity compitable to RFC 2821 as default.
2015-03-02 13:13:30 +01:00
fkrone
7934dc00db
Little bugfix for PGP/INLINE: Make it working again by stop calling non existing method
...
Bugfix for PGP/MIME: Make it compatible to RFC 3156 (MIME Security with OpenPGP) when using mails with attachments
2015-02-22 14:19:11 +01:00
fkrone
c022a2fe9d
Added option to overwrite default PGP style (inline or PGP/MIME) for defined recipients (useful if you have some recipients which can't handle one style).
2015-02-19 16:40:48 +01:00
fkrone
92d66a35a5
Bugfix: S/MIME worked only for one recipient because Python handles assignments of lists as call by object references. So the for-loop broke after first iteration.
2015-02-15 15:39:58 +01:00
fkrone
ccbe8de7e5
Making S/MIME also compatible with RFC 2821 changes. So both RFC 2821 compatibility and ignoring the case sensitivity of mail addresses are supported my S/MIME.
2015-02-15 15:36:18 +01:00
fkrone
228d43e936
Making GPG-Mailgate compatible with RFC 2821 (Simple Mail Transfer Protocol). The previous reverted commits made the gateway incompatible with the RFC. However, compatibility has to be activated in the settings. Most mail servers ignore the case sensitivity of the mail addresses, so this should not be a big issue.
...
A quick solution to make the S/MIME functionality compatible with the RFC was not found so this needs to be fixed later.
2015-02-14 19:34:26 +01:00
fkrone
2ff0b7e123
Revert 0b503fa: Fixing critical bug: looking up email addresses for PGP encryption in keychain was done case sensitive
2015-02-14 19:00:25 +01:00
fkrone
c059cfe63b
Merged change:
...
62f60f0592
( Added option to convert text/plain source email into MIME/PGP attachment style during encryption.
Useful if sending to recipient that can't handle the PGP-inline style. )
2015-02-14 17:07:02 +01:00
fkrone
e2ef883ec2
Merged change:
...
584eee18dc
( Added check that config file keymap fingerprint exists in actual GPG keyring. Decline encryption if mismatch. )
2015-02-14 16:01:58 +01:00
fkrone
63435c72c5
Merged change:
...
779e712a5d
( Changed GPGEncryptor.encrypt() to also give PGP return code. Write rc to logfile in encrypt_payload(). )
2015-02-14 15:22:29 +01:00
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
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
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
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
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
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
mcmaster
86cdbf7a4e
Missing check on a key existing for a dict
2010-01-20 16:22:20 -05:00
mcmaster
46867490a6
GPG Mailgate v0.2
2010-01-20 16:19:22 -05:00
mcmaster
47d748cb7c
GPG Mailgate 0.11
2010-01-20 16:09:34 -05:00
mcmaster
782cda3639
GPG Mailgate 0.1
2010-01-20 15:53:25 -05:00