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)
This commit is contained in:
@@ -1,9 +1,14 @@
|
||||
UNRELEASED Version 0.5.3
|
||||
- Make key parsing error messages more specific to help troubleshooting
|
||||
(Based on user feedback)
|
||||
2013-06-10 Version 0.5.4
|
||||
- Fixed error in FWS regular expression that cause some valid signatures
|
||||
to fail verification (Thanks to Peter Palfrader (weasel) for the patch)
|
||||
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=711751
|
||||
- Change dkimsign.py to sign the default (recommended) set of headers
|
||||
instead of all headers
|
||||
|
||||
2012-10-27 Version 0.5.3
|
||||
- Make key parsing error messages more specific to help troubleshooting
|
||||
based on user feedback
|
||||
|
||||
2012-06-13 Version 0.5.2
|
||||
- Change canonicalization defaults to work around issues with different
|
||||
verification implementations <https://launchpad.net/bugs/939128>
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
Metadata-Version: 1.0
|
||||
Name: dkimpy
|
||||
Version: 0.5.3
|
||||
Version: 0.5.4
|
||||
Summary: DKIM (DomainKeys Identified Mail)
|
||||
Home-page: https://launchapd.net/dkimpy
|
||||
Author: Scott Kitterman
|
||||
|
||||
@@ -11,7 +11,7 @@ signing and verification.
|
||||
|
||||
VERSION
|
||||
|
||||
This is dkimpy 0.5.3.
|
||||
This is dkimpy 0.5.4.
|
||||
|
||||
REQUIREMENTS
|
||||
|
||||
|
||||
+2
-1
@@ -118,7 +118,8 @@ def select_headers(headers, include_headers):
|
||||
lastindex[h] = i
|
||||
return sign_headers
|
||||
|
||||
FWS = r'(?:\r?\n\s+)?'
|
||||
# FWS = ([*WSP CRLF] 1*WSP) / obs-FWS ; Folding white space [RFC5322]
|
||||
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,
|
||||
|
||||
Reference in New Issue
Block a user