This commit is contained in:
Stuart D. Gathman
2012-04-21 21:53:55 -04:00
parent 7cf56f9c92
commit 6429accb65
2 changed files with 6 additions and 1 deletions
+1 -1
View File
@@ -445,7 +445,7 @@ class DKIM(object):
sig_value = fold(b"; ".join(b"=".join(x) for x in sigfields))
dkim_header = (b'DKIM-Signature', b' ' + sig_value)
h = hashlib.sha256()
h = hasher()
sig = dict(sigfields)
self.signed_headers = hash_headers(
h, canon_policy, headers, include_headers, [dkim_header],sig)
+5
View File
@@ -44,6 +44,11 @@ rm -rf $RPM_BUILD_ROOT
/usr/lib/%{__python}/site-packages/dkim/__main__.pyo
%changelog
* Sat Apr 21 2012 Stuart Gathman <stuart@bmsi.com> 0.5.2-1
- Fix sha1 hash, Bug #969206
- Fix NoAnswer exception using dnspython
- Fix typos reporting ValidationError and DKIMException
* Fri Feb 03 2012 Stuart Gathman <stuart@bmsi.com> 0.5.1-1
- performance patch from https://launchpad.net/~petri Petri Lehtinen
- save parsed signatures in DKIM object