Debian Codegraph @

ChangeLog

raw
1 2024-07-04 Version 1.1.8
2 - Correctly handle verification of signatures without t= (timestamp) and
3 with x= (expiration); both are optional (LP: 2071892)
4
5 2024-06-23 Version 1.1.7
6 - Fix error in validate_signature_fields which prevented signature
7 expiration from being properly evaluated (LP: #2068937)
8 - Correct ARC signing for AR headers with authres-version or comments
9 before resinfo (LP: #2052526) - Thanks to Nikolay Vizovitin for the
10 report and the fix
11 - Correct line separtor after AAR header field (LP: #2049018) - Thanks to
12 Nikolay Vizovitin for the report and the fix
13 - Correct signature in ARC-Seal on LF as linesep (LP: #2052720) - Thanks to
14 Nikolay Vizovitin for the report and the fix
15
16 2024-04-14 Version 1.1.6
17 - Use raw byte string for regex; fixes SyntaxWarning in Python 3.12 due to
18 invalid escape sequence (LP: #2049518) - Thanks to Simon Chopin for the
19 fix
20
21 2023-07-28 Version 1.1.5
22 - Use dns.resolver.resolve instead of dns.resolver.query due to deprecation
23 (LP: 2028783) - Thanks to Pedro Vicente for the report and the fix
24
25 2023-05-12 Version 1.1.4
26 - Treat dns.resolver.NoNameservers like NXDOMAIN (not an error) (Thanks to
27 David for the patch and the report)
28 - Confine errors from dnspython to dnsplug and use dkim errors, since
29 dkim.__init__.py doesn't import dns and needs dkim errors (LP: #2018646)
30
31 2023-04-30 Version 1.1.3
32 - Catch nacl.exceptions.ValueError and raise KeyFormatError, similar to how
33 RSA key errors are treated (LP: #2018021)
34 - Create ed25519 key files with secure permissions to avoid risk of
35 insecure chmode call/race condition (Thanks to Hanno Böck for the report
36 and the suggested fix) (LP: #2017430)
37 - Properly cleanup temporary directories in tests
38
39 2023-04-09 Version 1.1.2
40 - Verify correct AMS header is used for ARC seal verification (André Cruz)
41
42 2023-03-09 Version 1.1.1
43 - Document dropping of Python 2 support (dropped as of 1.1.0) (LP:
44 #20086738)
45 - Fix traceback when attempting to verify an unsigned message using
46 async verify (Thanks to Nikita Sychev for the report and a suggested
47 fix) (LP: #2008723)
48
49 2023-02-25 Version 1.1.0
50 - Add domain validity check for ascii domains (no specials)
51 - Add option to specify index number of signature to verify to dkimverify
52 (Thanks to Nick Baugh for the change)
53 - Correct signature indexing error introduced in 1.0.0 that prevents
54 verification of multiple signatures in a single message
55 - Correct dkim.verify processing to avoid errors when verifying messages
56 with no DKIM signatures
57 - Update dnsplug for DNS Python (dns) 2.0 compatibility (LP: #1888583)
58 - Fix @param srv_id typos (LP: #1890532)
59 - Provide more specific error message when ed25519 private key is invalid
60 (See LP 1901569 for background)
61 - Add support for PKCS#8 for private keys, openssl 3 default (LP:
62 #1978835) - Thanks to Adrien (spitap) for the change
63 - Add limitations section to README to document current IDN status
64 - Add USE_ASYNC flag to allow async to be disabled when aiodns is
65 installed (LP: #1954331) - see README.md for details
66 - Add new dkim.DnsTimeoutError class to report queried domain and selector
67 along with timeout error from dnspython (LP: #1873449)
68 - Invalid Authentication-Results header fields are ignored for ARC signing
69 (LP: #1884044)
70 - Correct base64 validation regexp so that valid signature with == split
71 between two lines are not incorrectly evaluated as invalid (LP:
72 #2002295) - Thanks to <https://launchpad.net/~obadz> for the report and
73 the proposed fix
74
75 2019-12-31 Version 1.0.2
76 - dknewkey: On posix operating systems set file permissions to 600 for
77 ed25519 private key files (as is already done for RSA) (LP: #1857827)
78 - Update documentation URL in README.md
79 - Set minimum dnspython version to 1.16 because previous versions can not
80 support the timeout parameter (LP: #1856546)
81
82 2019-12-15 Version 1.0.1
83 - Follow CNAMES when looking up key records when using DNS (pydns)
84 (LP: #1856421)
85 - Provide specialized error message when signing or verifying ed25519
86 signatures and pynacl is not installed (LP: #1854475)
87
88 2019-12-09 Version 1.0.0
89 - Add support for RFC 8460 tlsrpt DKIM signature processing (LP: #1847020)
90 - Add async support with aiodns for DKIM verification (ARC not supported)
91 (LP: #1847002)
92 - Add new timeout parameter to enable DNS lookup timeouts to be adjusted
93 - Add new DKIM.present function to allow applications to test if a DKIM
94 signature is present without doing validation (LP: #1851141)
95 - Support signature verification with RSAPublicKey formatted keys
96 since, although rare, they are RFC 6376 specified (LP: #1851862)
97 - Drop usage of pymilter Milter.dns in dnsplug since it doesn't support
98 havine a timeout passed to it
99 - Catch binascii related key format errors (LP: #1854477)
100
101 2019-10-07 Version 0.9.5
102 - Ignore unknown service types in key records (LP: #1847020)
103 - This is required by RFC 6376 and predecessors. It becomes important
104 now that RFC 8460, which defines a new DKIM service type exists. This
105 change is required to avoid processing tlsrpt keys like regular email
106 keys, which is incorrect, they have different requirements.
107
108 2019-09-25 Verstion 0.9.4
109 - Add LICENSE to MANIFEST.in so it is included in the tarball (LP:
110 #1845318)
111
112 2019-08-09 Version 0.9.3
113 - Fix linesep setting in arcsign script (LP: #1838262) (Thanks to Gowtham
114 Gopalakrishnan for the report and the patch)
115 - Fix default canonicalization for DKIM signature verification to be
116 simple/simple per RFC 6376 (LP: #1839299) (Thanks to Cyril Nicodème for
117 the report and a suggested fix)
118
119 2019-04-14 Version 0.9.2
120 - Fix the arcsign script so it works with the current API (Note: the new
121 srv_id option is the authserv_id to use in the ARC signatures - Only AR
122 fields with an authserv-id that matches srv_id will be considered for
123 ARC signing)
124 - Fix cv=none processing for initial signature in chain
125 - Add additional text documenting use of srv_id for ARC signing to
126 docstrings and man 1 arcsign (LP: #1808301)
127 - Use same line seperator for output as input in dkimsign/arcsign
128 (LP: #1808686)
129 - Refactor canonicalization.py strip_trailing_lines to avoid using re for
130 more consistent processing across python versions (Thanks to Jonathan
131 Bastien-Filiatrault for the change)
132 - Refactor header folding for more consistent results, including reduced
133 stray whitespace (Also Jonathan Bastien-Filiatrault)
134 - Don't log message headers and body unless explicitely requested. This
135 should also reduce memory usage on large messages. (Jonathan
136 Bastien-Filiatrault)
137 - Clarify the crlf does not count towards line length in fold
138 - Adjust fold maxlen to one shorter for lines after the first, since they
139 already have a leading space (LP: #1823008)
140
141 2018-12-09 Version 0.9.1
142 - Fixed ARC verification to fail if h= tag is present in Arc-Seal and
143 added tests
144 - Refactored dknewkey so that it correctly writes out text instead of
145 bytes
146 - Added missing v=DKIM1; to dns record producedby dknewkey
147
148 2018-10-30 Version 0.9.0
149 - Update oversigned (frozen) header field list to reduce signature
150 fragility (removes 'date' and 'subject' fields from being oversigned by
151 default - see usage section of README for information on how to restore
152 the previous behavior)
153 - Added new add_should_not for DKIM/ARC classes to prevent additional
154 header fields from being signed
155 - Added 'from' to should sign list (to prevent it from not being signed at
156 all in the unusual event that 'from' is locally removed from the frozen
157 header field set (LP: #1525048)
158 - Updates for experimental ARC support:
159 - Limit to rsa-sha256, rsa-sha1 not used by ARC and multi-signature
160 design TBD
161 - Raise error when ARC signing if i= instance limit value of 50 is
162 exceeded
163 - Specified that for ARC, Authentication-Results should not be signed
164 - Added missing documentation for timestamp function dkim.arc_sign
165 (LP: #1800314)
166 - Fix DNS lookups to be compatible with EAI addresses in domains and
167 selectors (John Levine)
168 - Add type Hinting for sign and verify functions (LP: #1782596)
169 (Thomas Ward)
170 - PEP8 Blank Lines Style Issues (LP: #1782596)
171 (Thomas Ward)
172 - Python 3.7 compatibility fixup for dkim.canonicalization.
173 strip_trailing_lines due to changed RE.sub() processing (LP: #1800313)
174
175 2018-06-16 Version 0.8.1
176 - Correctly fold lines at or near the maximum line length (fix folding
177 zero length lines and adding a blank line and adding an exra cr/lf for
178 lines near max length (LP: #1717576)
179 - Thanks to Christian Jørgensen and John Levine for reporting the issue
180 - Add testing extras option to setup.py (Daniel Hahler)
181 - Fix deprecation warnings in test asserts (Daniel Hahler)
182 - Correctly limit try/except for imports to import errors (Daniel Hahler)
183 - Don't error out in Python 3 if include headers is string (LP: #1776775)
184 - Correct requires invocation for py3dns
185
186 2018-05-18 Version 0.8.0
187 - Change from distutils to setuptools with entry points because it's the
188 future
189 - Use install_requires and extras_requires to document external
190 dependencies for dkimpy (LP: #1227526)
191 - Fix typo in dknewkey(1) for k= tag (Thanks to Andreas Schulze for
192 reporting)
193 - Detect incorrect version in DKIM public key record (LP: #1763815)
194 - Detect unknown algorithm in k= tag and raise an appropriate error, vice
195 failing with a traceback
196 - Indicate that ed25519-sha256 is no longer experimental
197
198 2018-02-17 Version 0.7.1
199 - Update ed25519 tests, including using sample keys from RFC 8032 Section
200 7.1 and the sample message from RFC 6376
201 - Return an empty list (as expected) when no AR headers are found or no AR
202 arc stamps are found and the chain terminated (LP: #1748146)
203 - Use correct h= tag in dknewnkey.py generated DKIM records for RSA
204
205 2018-02-07 Version 0.7.0
206 - Initial ed25519 implementation based on draft-ietf-dcrup-dkim-crypto
207 experimental - IETF draft, design not finalized, See README for details
208 - Port dkimsign.py to use argparse; now gives standard usage message and
209 is more extensible
210 - Add command line options to dkimsign.py to select header and body
211 canonicalization algorithmns (LP: #1272724)
212 - Add command line option to dkimsign.py to select signing algorithm
213 - For dknewkey.py make default to include h=sha256 in the DNS record to
214 exclude usage with sha1. Can be overriden
215 - Update ARC processing to current draft
216 - Fix arcverify tag requirements (LP: #1710312)
217 - Fix empty body canonicalization for relaxed canonicalization (LP: #1727319)
218 * Thanks to Matthew Palmer for the report and the proposed fix
219 - Add new test, test_implicit_k, to verify that RSA processing is still
220 correct when the optional k= tag is not present in the DKIM public key
221 record
222 - Fix -v verbose reporting in dkimverify.py
223 - Fix unbound local variable error when processing signatures with an x
224 tag, but no t tag (LP: #1739637)
225
226 2017-05-30 Version 0.6.2
227 - Fixed problem with header folding that caused the first line to be
228 folded too long (Updated test test_add_body_length since l= tag is no
229 longer at the beginning of a line)
230 - Fixed python3.4 string interpolation issue
231 - Fix some byte casting issues & typos
232 - Add test case for verification when should headers are signed
233 - Check and update references:
234 * Replace RFC 4871 withRFC 6376
235 * Replaace RFC 3447 with RFC 8017
236 * Add mention of DCRUP working group addressing key length issues
237
238 2017-01-27 Version 0.6.1
239 - Fixed python3 dns lookup issue
240 - Fixed arcverify.py issue
241
242 2017-01-23 Version 0.6.0
243 - Add capability to sign and verify ARC signatures
244 - Added new script, dknewkey.py, to generate DKIM keys
245
246 2015-12-07 Version 0.5.6
247 - Brown paper bag release, 0.5.5 tarball inadvertently included pyc files
248 and other artifacts from development
249
250 2015-12-07 Version 0.5.5
251 - Fix and test case for case insensitive subdomain matching.
252 - Python3 compatibility fixes and test cases thanks to Diane Trout
253
254 2013-06-10 Version 0.5.4
255 - Fixed error in FWS regular expression that cause some valid signatures
256 to fail verification (Thanks to Peter Palfrader (weasel) for the patch)
257 http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=711751
258 - Change dkimsign.py to sign the default (recommended) set of headers
259 instead of all headers
260
261 2012-10-27 Version 0.5.3
262 - Make key parsing error messages more specific to help troubleshooting
263 based on user feedback
264
265 2012-06-13 Version 0.5.2
266 - Change canonicalization defaults to work around issues with different
267 verification implementations <https://launchpad.net/bugs/939128>
268 - Fully fold DKIM-Signature on sign, and ignore FWS in b= value on verify
269 - Fix hashing problem while signing using sha1
270 - Trap NXDOMAIN exception with dnspython
271 - Other minor bug fixes
272
273 2012-02-03 Version 0.5.1
274 - Rename tarball to dkimpy to avoid confusion with original project
275 - Apply performance patch from <https://launchpad.net/bugs/901591>
276 - save parsed signatures in DKIM object
277 - do not require DNS/dnspython for signing
278
279 2011-10-26 Version 0.5
280 - Add test case and fix for <https://launchpad.net/bugs/644046>
281 - Add test case and fix for <https://launchpad.net/bugs/737311>
282 - Fix dkim.fold()
283 - raise KeyFormatError when missing required key parts in DNS
284 - do not sign all headers by default
285 - option to verify signatures other than first
286
287 2011-06-16 Version 0.4.2
288 - Fix use of dns namespace so dnspython works
289
290 2011-06-15 Version 0.4.1
291 - Fix some except clauses for python3
292 - Correct Changelog and release versions
293 - Add test case for <https://launchpad.net/bugs/587783>
294 - add back dkim.Relaxed and dkim.Simple constants
295
296 2011-06-14 Version 0.4
297
298 - new API: class DKIM to retrieve domain and other info after verify
299 - Add support for python3
300 - pydns driver tested and fixed
301 - when producing Relaxed mode signatures, the partial DKIM-Signature
302 header must be canonicalized before hashing (Martin Pool)
303 <https://launchpad.net/bugs/587783>
304 - other bug fixes
305
306 2008-06-25 Version 0.3
307
308 - length parameter to sign() is now a boolean
309 - sign() now folds the DKIM-Signature line
310 - validation of all inputs
311 - general code cleanup
312
313 2008-02-19 Version 0.2
314
315 - handle "rsa-sha1" algorithm properly
316 - handle multiple DKIM-Signature lines
317 - handle FWS around = in DKIM-Signature lines
318 - handle case of single canonicalization algorithm
319 - handle l= signature property
320
321 2008-02-18 Version 0.1
322
323 - initial release