Commit graph

  • 75ccfb0850 Use logging module Piotr F. Mieszkowski 2022-03-26 09:52:56 +0100
  • baf7954270 Use list booleanness instead of comparing with empty list Piotr F. Mieszkowski 2022-03-11 22:18:54 +0100
  • 031c7234f6 Reorder top-level expressions Piotr F. Mieszkowski 2022-03-11 22:18:16 +0100
  • d90b50f7e7 Extract config, separate logging, split into smaller functions Piotr F. Mieszkowski 2022-02-25 23:38:08 +0100
  • 7767dfaff9 Merge pull request 'Fix minor cron.py issues' (#64) from fix-cron-script into master pfm 2022-05-06 17:25:11 +0000
  • 55fa0d0601 [GnuPG.confirm_key] Convert email to bytes() before comparison Piotr F. Mieszkowski 2022-05-06 19:14:52 +0200
  • 71afd6ed05 [GnuPG.confirm_key] Set 700 mode for temp. key home Piotr F. Mieszkowski 2022-04-26 18:41:33 +0200
  • a82ff9f3f1 Use actual keys (RSA and Ed25519) in cron-test Piotr F. Mieszkowski 2022-04-24 10:42:51 +0200
  • 52b31028c5 Fix config key typo Piotr F. Mieszkowski 2022-04-24 10:07:52 +0200
  • b19a76e297 Update testing documentation Piotr F. Mieszkowski 2022-04-23 13:13:57 +0200
  • ffc53b935a Finish migration to SQLAlchemy and automate testing cron.py Piotr F. Mieszkowski 2022-04-23 13:08:40 +0200
  • 7aff414fb7 Use SQLAlchemy to access database Piotr F. Mieszkowski 2022-04-23 09:11:15 +0200
  • 86b725349f
    added smtp auth to cron.py muppeth 2022-04-20 13:01:58 +0200
  • ea0e012c04 Use 'open' to open a file Piotr F. Mieszkowski 2022-04-19 21:35:22 +0200
  • 454b519c70 Use bytes in confirm_key's line operations Piotr F. Mieszkowski 2022-04-19 21:22:34 +0200
  • f472f4ac22 Use isinstance() instead of type() Piotr F. Mieszkowski 2022-04-19 21:16:40 +0200
  • fdadc89c31 Use bytes in GnuPG.confirm_key too Piotr F. Mieszkowski 2022-04-19 20:49:49 +0200
  • 5a34249090 Fix minor cron.py issues Piotr F. Mieszkowski 2022-04-10 19:03:18 +0200
  • c4e9e3e840 compatibility update for php7/8 (#61) muppeth 2022-03-23 10:05:11 +0000
  • e9ad17e7bc Merge branch 'master' into php_update php_update muppeth 2022-03-15 10:37:25 +0000
  • d1de1f0695 Merge pull request 'Remove support for decrypting emails' (#60) from remove-decryption into master pfm 2022-03-10 19:03:41 +0000
  • 59b932abaa Remove support for decrypting emails Piotr F. Mieszkowski 2022-03-08 21:59:20 +0100
  • 968677f1ec Merge pull request 'Migrate to Python 3.x' (#58) from py3-migration into master pfm 2022-03-08 20:47:25 +0000
  • c4927d2722 Avoid unnecessary list creation Piotr F. Mieszkowski 2022-02-06 00:27:38 +0100
  • 9e17726e39 Use f-strings for formatting Piotr F. Mieszkowski 2022-02-06 00:13:15 +0100
  • 67a938c049 GnuPG.add_key: Use build_command Piotr F. Mieszkowski 2022-01-25 20:32:17 +0100
  • 03fc3d138e Update testing documentation Piotr F. Mieszkowski 2022-01-19 22:16:27 +0100
  • a201265f87 Rework how E2E tests are executed Piotr F. Mieszkowski 2022-01-19 21:57:46 +0100
  • c81c6e6e0d Remove hardcoded python3.8 path Piotr F. Mieszkowski 2022-01-10 20:22:17 +0100
  • 5a8d2c0108 Add E2E cases: signed cleartext and multipart/encrypted Piotr F. Mieszkowski 2022-01-10 19:48:44 +0100
  • 435528de43 Add an E2E test case with an already encrypted message Piotr F. Mieszkowski 2022-01-10 19:32:46 +0100
  • 24f0c86d4f Tidy up tests Piotr F. Mieszkowski 2022-01-10 18:30:19 +0100
  • 1e7d33c1df Handle bytes properly Piotr F. Mieszkowski 2022-01-09 17:56:09 +0100
  • b2a01c15b0 Fix auto-migrated code Piotr F. Mieszkowski 2022-01-09 15:01:38 +0100
  • 5f02223ec7 Perform automatic migration to Python 3.x Piotr F. Mieszkowski 2022-01-08 14:06:18 +0100
  • ee0d65f6bb Merge pull request 'Add tests for Python code' (#51) from 39-add-tests into master pfm 2022-01-10 17:10:00 +0000
  • 3b9f714cdb Ignore random_seed Piotr F. Mieszkowski 2022-01-10 17:47:23 +0100
  • 1002da78fa Clean up test messages Piotr F. Mieszkowski 2022-01-09 21:58:14 +0100
  • 2cf60dec40 Add unit tests for GnuPG command-line generator Piotr F. Mieszkowski 2022-01-09 21:00:51 +0100
  • fc2779ef7d Improve test code structure Piotr F. Mieszkowski 2022-01-08 13:42:23 +0100
  • 98c4580775 Document E2E tests Piotr F. Mieszkowski 2022-01-07 12:10:30 +0100
  • e90a29c9ff Ignore temporary test directory Piotr F. Mieszkowski 2022-01-07 12:04:14 +0100
  • 01377f4dd2 Keep test/certs directory Piotr F. Mieszkowski 2022-01-07 12:03:38 +0100
  • ff3f6aa793 Add a test overview, extract constants Piotr F. Mieszkowski 2022-01-07 12:00:50 +0100
  • f1a799d864 Adjust E2E tests to work with all scenarios Piotr F. Mieszkowski 2022-01-06 16:23:10 +0100
  • f41adc0d53 Configure git to ignore temporary files and Emacs files Piotr F. Mieszkowski 2021-11-11 11:03:53 +0100
  • 27d7481078 Set up ground for E2E tests Piotr F. Mieszkowski 2021-11-11 10:57:00 +0100
  • 7a063a91b8 Polish E2E testing script and make it configurable Piotr F. Mieszkowski 2021-11-09 21:25:41 +0100
  • f3f56a47bc Implement an E2E testing script Piotr F. Mieszkowski 2021-11-08 22:52:22 +0100
  • a9506805fb Write a test mail relay Piotr F. Mieszkowski 2021-11-04 22:39:02 +0100
  • c6b0f921c9
    compatibility update for php7/8 muppeth 2021-10-21 01:52:48 +0200
  • 0fb623c75a Merge pull request 'README file: Few typos fixed.' (#33) from fix_01 into master muppdev Fede.- 2021-04-21 06:54:11 +0000
  • 8095f1507e Few typos fixed. Fede.- 2021-04-20 17:43:01 -0300
  • 59566d1b27
    Update readme to include info on new name and nlnet funding muppeth 2021-04-19 13:15:46 +0200
  • ff0871b311
    Merge pull request #1 from svenseeberg/feature/automatic-key-download TheGreatGooo 2019-05-27 10:32:17 -0400
  • e1c610cee5
    Merge pull request #3 from mukesh610/master TheGreatGooo 2019-05-27 10:32:02 -0400
  • 0b92307b23
    Added starttls support for SMTP Mukesh Sai Kumar 2019-05-24 23:20:34 +0530
  • 6406d90dcb
    Install: automatic pub key retrieval Sven Seeberg 2019-03-10 16:50:46 +0100
  • 29f902b27c Fix bug TheGreatGooo 2017-09-09 11:53:00 -0400
  • ba0953a372 Update gpg-mailgate.py TheGreatGooo 2016-04-21 10:29:22 -0400
  • bb4d267785 Update gpg-mailgate.py TheGreatGooo 2016-04-20 20:44:56 -0400
  • 9c1f1db870 Some final clean up and adding necessary information to the installation instructions fkrone 2015-06-07 13:42:58 +0200
  • aa24cc2b4b Inform the user if registration failed because GPG-Mailgate-Web could not be reached. fkrone 2015-06-04 21:52:39 +0200
  • bbab1b1070 Making it possible to configure mailserver for register-handler and use the encryption port for sending messages. fkrone 2015-06-04 20:14:00 +0200
  • 9cfbd24bdc All mails from cron script are now passed through the GPG-Mailgate so they are encrypted if possible. fkrone 2015-06-04 20:13:04 +0200
  • 24cfe01d95 Fixing stupid bug with non existing variable. Copy & paste fail. Finding a default key for recipient in domain keymap crashed mailgate. fkrone 2015-06-04 19:04:27 +0200
  • 0de0d6a1b1 Critical bugfix: Under some circumstances a mail which should be encrypted with PGP/MIME was not encrypted if at least one attachment ot the body itself contained the PGP-tags. fkrone 2015-06-04 16:45:22 +0200
  • 4b7a187ac3 Forgot to change this value from a debug one to the real value fkrone 2015-05-29 23:15:05 +0200
  • 11f70fb241 Added possibility to define a regex for finding recipients to decrypt for and also adding possibility to use default keys for domain ranges fkrone 2015-05-29 23:13:05 +0200
  • 5fdbabc3b3 Disable PGP/INLINE decryption by default. It does work, however, it has some drawbacks (e.g. content type for files getting lost). fkrone 2015-05-25 22:49:42 +0200
  • 2c0e342e5e Support for decrypting PGP encrypted mails. However, it has some drawbacks and might cause some security issues. So before using it please read carefully through the installation instructions. fkrone 2015-05-25 20:24:37 +0200
  • 6a7dda969b Bugfix: The mailgate crashes with certain settings when mail is delivered locally fkrone 2015-05-25 00:28:55 +0200
  • 4283c7ef4d Prefere keys in keymap over keys in keyring. Could be useful if you have a recipient with two keys. fkrone 2015-03-29 18:16:58 +0200
  • d3bbb82072 Make the SMTP relay used by cron configurable via config. Use the same as the gateway does. fkrone 2015-03-28 19:41:40 +0100
  • efe2187bb5 Logging for cron job does now work to syslog if defined so in the config file (previously it thought it should write to a file called 'syslog' instead of the real syslog) fkrone 2015-03-28 19:23:49 +0100
  • dbb65bbf7f Bugfix: Missed return code for failed PGP encryption in log message fkrone 2015-03-16 14:58:01 +0100
  • 49e0068f04 Bugfix: Typo in config file fkrone 2015-03-16 13:55:11 +0100
  • 581973cdf9 Hopefully last push to fix installation instructions fkrone 2015-03-15 20:09:47 +0100
  • 9152d17533 Try to fix it again. Sorry, I'm not good at markdown. fkrone 2015-03-15 20:07:32 +0100
  • 71c189ba52 Try to fix installation instructions fkrone 2015-03-15 20:05:38 +0100
  • 600b57e6ef Bugfix: Handle multipart messages and especially nested multipart messages correct and not mess up them fkrone 2015-03-14 21:52:33 +0100
  • 8f2b256dab Updated installation instructions to make sure they are easier to follow fkrone 2015-03-08 17:01:25 +0100
  • 46730ba8e6 Bugfix: Avoid nested encryptions of any kind fkrone 2015-03-02 21:01:05 +0100
  • a766a9bd4a Refactored code (and also optimizing code). Changes while refactoring: The gateway now handles mail addresses case sensitivity compitable to RFC 2821 as default. fkrone 2015-03-02 13:13:30 +0100
  • 60356f3a22 Fix: It does work for S/MIME. Forgot to remove this line. fkrone 2015-02-27 16:33:49 +0100
  • 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 fkrone 2015-02-22 14:19:11 +0100
  • 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). fkrone 2015-02-19 16:40:48 +0100
  • 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. fkrone 2015-02-15 15:39:58 +0100
  • 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. fkrone 2015-02-15 15:36:18 +0100
  • 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. fkrone 2015-02-14 19:34:26 +0100
  • 3cefd27163 Revert "Bugfix for commit before:" fkrone 2015-02-14 19:02:14 +0100
  • 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." fkrone 2015-02-14 19:00:59 +0100
  • 2ff0b7e123 Revert 0b503fa: Fixing critical bug: looking up email addresses for PGP encryption in keychain was done case sensitive fkrone 2015-02-14 19:00:25 +0100
  • c059cfe63b Merged change: 62f60f0592 ( Added option to convert text/plain source email into MIME/PGP attachment style during encryption. fkrone 2015-02-14 17:07:02 +0100
  • 99a1108338 Bugfix for commit before: Make check for keys in keymap case insensitive fkrone 2015-02-14 16:03:30 +0100
  • e2ef883ec2 Merged change: 584eee18dc ( Added check that config file keymap fingerprint exists in actual GPG keyring. Decline encryption if mismatch. ) fkrone 2015-02-14 16:01:58 +0100
  • 63435c72c5 Merged change: 779e712a5d ( Changed GPGEncryptor.encrypt() to also give PGP return code. Write rc to logfile in encrypt_payload(). ) fkrone 2015-02-14 15:22:29 +0100
  • f8ae458d88 Updating installation instructions based on experiences made during installation and reflecting recent changes fkrone 2015-02-14 15:16:59 +0100
  • 9c1375fdb2 Renaming some variables to make names consistent fkrone 2015-02-14 15:15:14 +0100
  • 93b505d00a We don't need to do S/MIME encryption on an already PGP encrypted mail fkrone 2015-02-01 19:10:16 +0100