Package: release.debian.org Severity: normal User: release.debian....@packages.debian.org Usertags: pu
python-dkim has a bug that causes signature verificaton to fail in some cases that is affecting stable users. It's fixed upstream and in unstable and I've been asked to get it fixed in stable as well. The fix is quite compact and should have negligible regression risk.
diff -u dkimpy-0.5.3/debian/changelog dkimpy-0.5.3/debian/changelog --- dkimpy-0.5.3/debian/changelog +++ dkimpy-0.5.3/debian/changelog @@ -1,3 +1,11 @@ +dkimpy (0.5.3-1+deb7u1) wheezy; urgency=low + + * Fix Gmail signature verification failures due to improper FWS regular + expression - Thanks to Peter Palfrader (weasel) for the patch + (Closes: #711751) + + -- Scott Kitterman <sc...@kitterman.com> Sun, 09 Jun 2013 23:31:12 -0400 + dkimpy (0.5.3-1) unstable; urgency=medium * Urgency medium for multiple RC bug fixes only in patch2: unchanged: --- dkimpy-0.5.3.orig/dkim/__init__.py +++ dkimpy-0.5.3/dkim/__init__.py @@ -118,7 +118,7 @@ lastindex[h] = i return sign_headers -FWS = r'(?:\r?\n\s+)?' +FWS = r'(?:(?:\s*\r?\n)?\s+)?' RE_BTAG = re.compile(r'([;\s]b'+FWS+r'=)(?:'+FWS+r'[a-zA-Z0-9+/=])*(?:\r?\n\Z)?') def hash_headers(hasher, canonicalize_headers, headers, include_headers,