Commit Graph

34 Commits

Author SHA1 Message Date
Scott Kitterman 7683fa7187 - Fixed a bug where dkim fail might be reported as pass when verifying
multiple signatures and a previous signature had passed
2018-03-04 13:18:06 -05:00
Scott Kitterman c01c04b83f - Fix header folding to use \n only to align with milter protocol
requirements
2018-03-03 14:39:20 -05:00
Scott Kitterman ebfb0b5fc3 Fix crash when verifying if domain for signing was not set 2018-03-03 10:42:59 -05:00
Scott Kitterman 48a44916e7 Create PID directory if it is missing 2018-03-03 01:45:15 -05:00
Scott Kitterman 5a81886a5e Start 0.9.4 2018-03-03 00:59:43 -05:00
Scott Kitterman 5e2cff5e5d - Fold added authres header fields
- Fix pidfile permissions
 - Fix socket setup sequence so Unix sockets work
2018-03-02 16:14:46 -05:00
Scott Kitterman 5886edda42 Fixup file dataset support 2018-03-02 15:04:19 -05:00
Scott Kitterman e4a17d7be6 Ignore errors parsing broken authres header fields 2018-03-02 15:02:31 -05:00
Scott Kitterman ced16fda72 Fixup csl dataset and initial (untested) file dataset 2018-02-25 15:57:41 -05:00
Scott Kitterman 02ad614657 Bump version for next release 2018-02-19 17:32:55 -05:00
Scott Kitterman 98e5c17858 - Implemented support for Canonicalization option
- Implemented support for SyslogFacility option
 - Initial dataset support: csl
 - Only sign if mail from from a domain in Domain and only if Mode is not
   verfication only
 - Fixed Canonicalize option
2018-02-19 13:31:28 -05:00
Scott Kitterman a71d3b5d99 Impelment SyslogFacility, enhance README. 2018-02-19 02:11:13 -05:00
Scott Kitterman 51464bd7f8 Add support for Canonicalization option 2018-02-18 00:56:02 -05:00
Scott Kitterman 716752e2fb Move version definition to dkim_milter/__init__.py and improve setup.py requirements 2018-02-17 15:08:25 -05:00
Scott Kitterman bd46a7bcc7 Add header 'a' to AR field 2018-02-17 03:52:55 -05:00
Scott Kitterman 7b8fccf801 Bug fixes for RSA/Ed25519 signing (now works), syslog fixes, update TODO verification status 2018-02-17 02:10:21 -05:00
Scott Kitterman 246bdba859 Read key files in before dropping priviledges 2018-02-16 22:09:05 -05:00
Scott Kitterman 5fbe139faa Implemented signing both RSA and Ed25519, updated TODO. Required creation of SelectorEd25519 option. 2018-02-16 18:10:51 -05:00
Scott Kitterman 2399ee0010 Implement and test PidFile option. Update TODO 2018-02-16 17:12:41 -05:00
Scott Kitterman 3e032ad6ad Add initial support for Syslog option 2018-02-16 14:11:48 -05:00
Scott Kitterman 08d52edd2c Refactor for verifying multiple signatures 2018-02-15 00:34:16 -05:00
Scott Kitterman 92923fdbc4 Refactor ExceptHook to get rid of archaic string usage and restore reporting to stderr. 2018-02-14 07:21:22 -05:00
Scott Kitterman 19ac561822 Sign/Verify based on Mode config option 2018-02-14 07:09:26 -05:00
Scott Kitterman d0509e43a5 Delete legacy ADSP code - ADSP is dead, long live DMARC - this milter signs and verifies, no policy component 2018-02-14 00:12:26 -05:00
Scott Kitterman f5e08c4ea1 very minor cleanup - starts and creates socket 2018-02-13 23:42:24 -05:00
Scott Kitterman c523afe8e5 Continue moving towards a working system:
- Move exception hook from config into util
 - Make config data conversion work for all used types
 - Make syslog work (still need to make it only work if specified)
2018-02-13 23:16:44 -05:00
Scott Kitterman 396ee7dfe0 A round of bugfixing this thing into existence 2018-02-13 03:49:31 -05:00
Scott Kitterman 01503a81ec set up use of config and drop_priviledges in __init__.py 2018-02-13 02:14:01 -05:00
Scott Kitterman ae116bf997 Adapt config.py to work with OpenDKIM style config item formatting 2018-02-13 02:13:06 -05:00
Scott Kitterman 26c1dd626a Adjust drop_priviledges to better match what's needed here 2018-02-13 02:12:22 -05:00
Scott Kitterman a06503c524 Start integration of OpenDKIM config file processing 2018-02-12 18:39:37 -05:00
Scott Kitterman 15dce357c3 Update config for dkimpy-milter.conf.5 changes 2018-02-12 18:38:25 -05:00
Scott Kitterman c6f4541be9 Use config module 2018-02-12 12:31:53 -05:00
Scott Kitterman 8cc5c88fec Make a proper package of this, entry points and all 2018-02-12 12:30:43 -05:00