Commit Graph

223 Commits

Author SHA1 Message Date
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 3cefd27163 Revert "Bugfix for commit before:"
This reverts commit 99a1108338.
2015-02-14 19:02:14 +01:00
fkrone f6ed024e36 Revert "Fixing S/MIME certs were saved case sensitive. This caused that the mailgate might not find the certificate for a recipient even if it was available."
This reverts commit 746aad0216.
2015-02-14 19:00:59 +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 99a1108338 Bugfix for commit before:
Make check for keys in keymap case insensitive
2015-02-14 16:03:30 +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 f8ae458d88 Updating installation instructions based on experiences made during installation and reflecting recent changes 2015-02-14 15:16:59 +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 746aad0216 Fixing S/MIME certs were saved case sensitive. This caused that the mailgate might not find the certificate for a recipient even if it was available. 2015-02-01 16:57:31 +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
fkrone f7e3b16069 Changes to cron, register-handler, settings and templates:
- Cron now notifies user what happened (key successfully added/deleted or error)
- More options to customize templates
- Separating concepts in settings (S/MIME, templates)
- Register-handler now only informs on failed PGP submissions (reduce mails to user and false positive mails)
2015-01-31 16:08:12 +01:00
fkrone f5976060c8 Now GPG keys are not only determined by attachment MIME type. Even inline GPG keys work now. 2015-01-18 19:54:08 +01:00
fkrone fd1b7517db Informing user about key submitting status. Needs some rework. 2015-01-18 17:04:12 +01:00
fkrone 8eebbbb3fd Now GPG keys could be verified by cron job without problems (did not for me without this fix) 2015-01-18 15:45:14 +01:00
fkrone 64db1a6bc0 Adding a key on a non-English system does not fail any longer 2015-01-04 17:54:44 +01:00
kflux 463b5dbe7a Update register-handler.py
added "application/x-pkcs7-signature" type
2014-09-21 00:37:17 +02:00
kflux 5c61d28fa3 Update README.md 2014-03-02 14:31:54 +01:00
kflux 3f33b889e5 Update README.md 2014-03-02 14:31:02 +01:00
kflux b63cdc9235 added PGP email registration
people can send their public key as .asc extension to register@domain.tld to register
2014-03-02 14:28:37 +01:00
kflux 9b8028a030 Update INSTALL.md 2014-03-02 14:18:56 +01:00
kflux 7eaf03def4 Update index.php 2014-03-02 14:12:09 +01:00
kflux 9ce5878e78 Update gpg-mailgate.conf.sample 2014-03-02 14:09:19 +01:00
kflux 19e89ad032 Update gpg-mailgate.conf.sample 2014-03-02 14:07:08 +01:00
kflux 8a9976556c preserve X-GPG-Mailgate header for S/MIME enc. 2014-03-02 13:14:12 +01:00
kflux 268e933458 Delete passthrough_emails.cf 2014-03-02 01:53:04 +01:00
kflux eebbefd4c3 Update INSTALL.md 2014-03-02 01:52:44 +01:00
kflux f010613e6b Update gpg-mailgate.py
- functionalized smime encryption
- fixed some bugs
2014-03-02 01:50:31 +01:00
kflux ad063d4693 Delete passthrough_emails.cf 2014-02-26 12:32:41 +01:00
kflux 54aa5d8971 Create passthrough_emails.cf 2014-02-26 12:32:27 +01:00
kflux 8c6a9d9d59 Update README.md 2014-02-26 12:30:19 +01:00
kflux 51bd394b2b Update README.md 2014-02-26 12:29:42 +01:00
kflux 8ab43c429c Update README.md 2014-02-26 12:24:36 +01:00
kflux 45d42a8478 Update INSTALL.md 2014-02-26 12:18:40 +01:00
kflux 4c34988268 Update INSTALL.md 2014-02-26 12:18:07 +01:00
kflux ff3288ac97 Update INSTALL.md 2014-02-26 12:16:04 +01:00
kflux e152beccb9 Update INSTALL.md 2014-02-26 12:14:58 +01:00
kflux 58c6dce937 Update README.md 2014-02-26 02:14:13 +01:00
kflux 8133a0c340 Update INSTALL.md 2014-02-26 02:02:45 +01:00
kflux 9ddddb5bbb Create passthrough_emails.cf 2014-02-26 02:01:14 +01:00
kflux 1055563d2d Create registrationSuccess.md 2014-02-26 01:59:57 +01:00
kflux 7d26fcfb77 Create registrationError.md 2014-02-26 01:59:09 +01:00
kflux 2a253597a9 Update INSTALL.md 2014-02-26 01:56:39 +01:00
kflux 155ac099bc added S/MIME configs 2014-02-26 01:54:24 +01:00