Commit Graph

222 Commits

Author SHA1 Message Date
Matthew Palmer 6de4fa79cd Fix relaxed body canoncalization & introduce further unit tests for both simple and relaxed mode 2017-10-25 13:06:00 +01:00
Scott Kitterman 3f9660716e Delete unused sys import 2017-07-28 01:32:25 -04:00
Scott Kitterman c37fcf55e8 Merge Gene Shuman updates for ARC 2017-07-28 01:30:52 -04:00
Gene Shuman 17d7c39155 Minor cleanup for ARC 2017-07-27 13:12:57 -07:00
Gene Shuman 45dbdeabcf Updates for changes in handling of ARC failures. Added support for merging AR headers for AAR creation 2017-07-26 13:09:32 -07:00
Scott Kitterman c7782addd5 - Add generation of rsafp DKIM signatures per
draft-ietf-dcrup-dkim-crypto-02
2017-06-23 18:29:37 -04:00
Scott Kitterman d7eb35c22c Add test keys for sha256fp 2017-06-22 20:24:32 -04:00
Scott Kitterman 38664fab55 Check and update references to RFC 4871 to refer to RFC 6376. 2017-05-31 02:01:22 -04:00
Scott Kitterman 144886ae0b Check and update references to RFC 3447 with RFC 8017 2017-05-31 01:51:21 -04:00
Scott Kitterman e14a4f3539 - Fixed problem with header folding that caused the first line to be
folded too long (Updated test test_add_body_length since l= tag is no
      longer at the beginning of a line
2017-05-30 12:11:15 -04:00
Gene Shuman 497d74ca4b fixed byte issues with test_add_body_length 2017-03-02 16:41:39 -08:00
Scott Kitterman 1f48edd73b Add test case for Body length not cast as bytes 2017-03-02 19:18:02 -05:00
Scott Kitterman cdbb60841a Add test case for verification when should headers are signed (thanks to Geoffrey Lehée for the patch) 2017-03-02 19:08:27 -05:00
Gene Shuman 4079b79abc Fix byte casting issues & typos 2017-03-01 16:48:32 -08:00
Gene Shuman 7456fffcea python3.4 cant interpolate tuples into byte strings 2017-02-27 16:16:20 -08:00
Gene Shuman 2f0f181852 basic dnsplug test 2017-01-27 15:06:49 -08:00
Gene Shuman 029fb80dc7 Python 3 fix & arc cmd line tool fix 2017-01-23 14:58:55 -08:00
Scott Kitterman 1ded8e9171 Pre-release version bumps and documentation updates. 2017-01-23 12:18:26 -05:00
Gene Shuman ac6d9a6bb3 refactoring/integrating ARC code 2017-01-17 13:20:20 -08:00
Scott Kitterman 697d55d057 Work in progress to better integrate ARC into dkimpy 2016-11-12 23:18:48 -05:00
Scott Kitterman baf8d8e417 Commit ARC changes from Brandon Long <blong@google.com>
- These will need some rework to integrate into the packcage - we do not want to ship two modules
2016-10-14 16:37:56 -04:00
Stuart D Gathman 01541a3c36 Fix and test case for case insensitive subdomain matching. 2015-08-06 22:24:34 -04:00
Stuart D Gathman b8722f4a66 Add Diane Trout's addition sig validation tests. 2015-02-21 20:06:36 -05:00
Stuart D Gathman c6523a3d72 Merges some of the changes from Diane Trout to pass unit tests in python 2/3. 2015-02-21 19:34:20 -05:00
Stuart D. Gathman 94c5e093bb Preceding wasn't actually included in testing. :-( Fix typo. 2013-07-09 19:22:14 -04:00
Stuart D. Gathman ed6a7f5454 Allow x= with no t= (it is legal) 2013-07-09 16:51:53 -04:00
Stuart D. Gathman 1e76d331fe Test case for verify problem with degenerate FWS. 2013-06-19 15:13:28 -04:00
Scott Kitterman fd0caddf16 Update for version 0.5.4.
Fixed error in FWS regular expression that cause some valid signatures
fail verification (Thanks to Peter Palfrader (weasel) for the patch)
2013-06-09 22:43:29 -04:00
Scott Kitterman a5e10c1a98 - Change dkimsign.py to sign the default (recommended) set of headers
instead of all headers
2013-04-29 01:01:00 -04:00
Scott Kitterman 5c9f52b0c1 Add test case for message with no 5322.From - Should get ParameterError and fail to sign. 2013-04-28 15:24:38 -04:00
Stuart D. Gathman f4bbd8af11 add missing exception variable 2013-04-26 20:47:49 -04:00
Stuart D. Gathman 188515ddf7 Detect truncated ASN data as UnparsableKeyError 2013-03-13 23:41:01 -04:00
Stuart D. Gathman d7d0979a7e Report public key too small only when message otherwise passes. 2012-10-27 11:23:05 -04:00
Stuart D. Gathman 5f2024fdf8 Test case for tab in FWS bug. Use minkey=512 for test cases. 2012-10-27 10:48:29 -04:00
Stuart D. Gathman a88f5f9973 Fix Sig header hashing when TAB used for FWS. 2012-10-26 20:05:42 -04:00
Stuart D. Gathman 2e1a0a8aef Raise KeyFormatError when public key is too small. 2012-10-25 15:14:46 -04:00
Stuart D. Gathman fcaee3084a Copy domain and selector immediately after validating sig fields. 2012-08-21 13:07:24 -04:00
Scott Kitterman 02551e35b2 - Update changelog and versions to start 0.5.3.
- Improve key error messages to help troubleshooting.
2012-07-21 01:44:06 -04:00
Stuart D. Gathman e0a2e9588b Save signature fields earlier. 2012-06-12 23:10:10 -04:00
Stuart D. Gathman 7e5aef1676 Trap NXDOMAIN exception with dnspython. 2012-06-12 23:09:15 -04:00
Stuart D. Gathman f2c571ceff Fully fold DKIM-Signature on sign, and ignore FWS in b= value on verify. 2012-04-23 20:38:03 -04:00
Stuart D. Gathman 1196ed6760 Test case for FWS in b= tag not ignored on verify. 2012-04-23 19:02:29 -04:00
Stuart D. Gathman c944c49957 Change canonicalization defaults to work around Bug #939128 2012-04-21 23:11:46 -04:00
Stuart D. Gathman 6429accb65 Fix Bug #969206 2012-04-21 21:53:55 -04:00
Stuart D. Gathman 7cf56f9c92 No exception on no answer when using dnspython 2012-04-20 09:41:30 -04:00
Scott Kitterman 2f8798a859 Fix incorrect variable in verify logger function. 2012-03-17 22:02:30 -04:00
Stuart D. Gathman 6c54e9040c Wrong format spec typo. 2012-02-24 22:35:57 -05:00
Scott Kitterman be3a6dbe83 Changes for pydkim -> dkimpy 2012-02-03 19:05:34 -05:00
Stuart D. Gathman 644916a653 Apply performance patch from bug#901591 2012-02-03 17:10:49 -05:00
Stuart D. Gathman e40148a7b3 Save parsed signature fields in DKIM object. 2012-01-23 13:50:29 -05:00