Commit Graph

240 Commits

Author SHA1 Message Date
Stuart D. Gathman 85dbc4f645 Test case for bug#644046 2011-06-17 12:17:05 -04:00
Stuart D. Gathman 40c2980b58 Fix test case for bug #737311 2011-06-17 11:40:40 -04:00
Stuart D. Gathman dbeeacdd46 Test case for https://bugs.launchpad.net/pydkim/+bug/737311 2011-06-17 11:26:53 -04:00
Scott Kitterman 77cd2cae35 Remove obsolete publish.sh script. 2011-06-17 08:58:21 -05:00
Scott Kitterman 3e5e1a06aa * Remove version in shebang in dkimsign.py and dkimverify.py
* Remove obsolete dkimsend.sh
2011-06-16 23:08:20 -05:00
Scott Kitterman 550e3e3983 Update version numbers to 0.5 and start new Changelog entry. 2011-06-16 22:41:42 -05:00
Stuart D. Gathman 9e3ec3665d Integrate new tests into existing test suite in dkim.tests 2011-06-16 23:38:14 -04:00
Stuart D. Gathman 857d73ec33 TODO for dnsplug 2011-06-16 23:00:20 -04:00
Stuart D. Gathman 5142ee9ed4 Tested with pydns 2011-06-16 19:05:33 -04:00
Stuart D. Gathman fcc50192c4 Proposed general purpose dnsplug 2011-06-16 18:03:12 -04:00
Scott Kitterman 18e9aef36b Update Changelog and switch to version 0.4.2 throughout. 2011-06-16 14:50:03 -05:00
Scott Kitterman 8713e6e9f8 Move dkim/dns.py to dkim/dnsplug.py to stay clear of dnspython dns namespace. 2011-06-16 14:47:45 -05:00
Stuart D. Gathman f9760261bb Update ChangeLog 2011-06-15 10:35:32 -04:00
Stuart D. Gathman 1f89083c1a Doc update 2011-06-15 10:30:15 -04:00
Stuart D. Gathman a673d2332a dd testcase for bug 587783 2011-06-15 10:27:13 -04:00
Stuart D. Gathman c96367f9f9 Update spec for 0.4.1 2011-06-15 09:58:19 -04:00
Scott Kitterman 86077755b2 Update versions to 0.4.1 and correct/update Changelog. 2011-06-15 08:49:20 -05:00
Stuart D. Gathman 2eeec91fc1 Fix except clauses for py3 2011-06-15 06:56:45 -04:00
Scott Kitterman 4ab054860f Fix package version in PKG-INFO and README. 2011-06-15 00:18:16 -05:00
Stuart D. Gathman e28d406477 Fix spelling 2011-06-15 00:11:01 -04:00
Stuart D. Gathman 73e2456127 Release 0.4 2011-06-14 23:16:17 -04:00
Stuart D. Gathman 4497ea2c01 RPM packaging 2011-06-14 22:45:14 -04:00
Stuart D. Gathman 4317168f89 python-2.6.6 has upper case hash.name (2.6.5 has lower case). 2011-06-14 18:18:22 -04:00
Stuart D. Gathman 942a2e3e9d Make verbose verify script an unimplemented option 2011-06-14 18:08:33 -04:00
Stuart D. Gathman 47fbf5a02b pydns driver did not join split TXT records. Try for Milter.dns which
follows CNAME (is this needed?)
2011-06-14 16:40:16 -04:00
Stuart D. Gathman 70c5b55dbf Put back InvalidTagValue trap 2011-06-14 15:51:19 -04:00
Stuart D. Gathman 6fb16453d9 Strip leading and trailing whitespace before parsing. 2011-06-14 15:47:04 -04:00
Stuart D. Gathman 52454945cc Initial test case 2011-06-14 15:41:49 -04:00
Stuart D. Gathman dac0f36522 Provide a class API so that selector, domain can be recovered on verify. 2011-06-14 15:16:33 -04:00
Stuart D. Gathman a07833297e Handle missing record 2011-06-14 15:15:49 -04:00
Stuart D. Gathman d2f6840748 Clients need to test for any DKIM exception. 2011-06-11 18:23:45 -04:00
William Grant e9d01800de Canonicalizationpolicy.from_c_value() now raise InvalidCanonicalizationPolicyErrors instead of logging and returning None. 2011-06-04 15:51:14 +10:00
William Grant 79eff489d4 Extract c= value manipulation into a new (tested) CanonicalizationPolicy. 2011-06-04 14:40:06 +10:00
William Grant 3008ad76a7 Capitalise and unexport dkim.canonicalization.algorithms. 2011-06-04 14:38:29 +10:00
William Grant f8e938c152 Use CanonicalizationPolicy in sign(). 2011-06-04 14:37:18 +10:00
William Grant 6b4b98478b Add CanonicalizationPolicy.to_c_value(). 2011-06-04 14:37:07 +10:00
William Grant 206c860890 Pull c= value parsing out into Canonicalizationpolicy.from_c_value. 2011-06-04 14:30:19 +10:00
William Grant 7b1a3f70dc Add CanonicalizationPolicy, which encapsulates the combined hybrid simple/relaxed schemes. 2011-06-04 14:05:54 +10:00
William Grant 19b554212e Quick fix to make end-to-end tests verify all canonicalization cases. Tests for bug #587783. 2011-06-04 13:46:57 +10:00
William Grant eb31f6d685 Extract and test DNS and canonicalization and some hashing functions. 2011-06-04 00:17:22 +10:00
William Grant 382d9157c5 Fix get_txt to assume unicode results. 2011-06-03 23:13:45 +10:00
William Grant 472750c0db Signature algorithm names are now defined in dkim.crypto. 2011-06-03 22:34:23 +10:00
William Grant 5f949337d1 Handle Unicode in get_txt. 2011-06-03 22:24:21 +10:00
William Grant a82f3110ea Split out DNS utilities into their own module. 2011-06-03 22:07:42 +10:00
William Grant b78a41d6bf Add an __all__. 2011-06-03 22:04:21 +10:00
William Grant 5da23e5856 rstrip header field names in relaxed, as the spec says. 2011-06-03 22:03:41 +10:00
William Grant 61cd0e1080 Factor out all the canonicalization regexps. 2011-06-03 22:03:14 +10:00
William Grant 28aaa6f2f2 dkim.canonicalization now has an algorithms dict mapping names to algorithms. Use it. 2011-06-03 21:52:33 +10:00
William Grant a1fc55bcaa Rewrite tests to use an assertCanonicalForm helper. 2011-06-03 21:25:20 +10:00
William Grant 589853aee5 Split out dkim.canonicalization, and test it. Note that test_wsp_strips_headers is correctly failing, as trailing whitespace is not stripped from header names. 2011-06-03 21:16:31 +10:00