69049feda1
Add test for l= processing
Scott Kitterman
2019-10-31 20:45:20 -04:00
5487f798ac
Documentation updates
Scott Kitterman
2019-10-30 18:52:36 -04:00
1f2597a666
- Add new timeout parameter to enable DNS lookup timeouts to be adjusted - Drop usage of pymilter Milter.dns in dnsplug since it doesn't support havine a timeout passed to it
Scott Kitterman
2019-10-30 18:46:31 -04:00
6db388df39
Ignore unknown service types in key records (LP: #1847020)
Scott Kitterman
2019-10-07 08:34:05 -04:00
d1801bb3d5
- Add LICENSE to MANIFEST.in so it is included in the tarball (LP: #1845318)
Scott Kitterman
2019-09-25 16:20:46 -04:00
f8e0cba772
Documentation updates
Scott Kitterman
2019-08-09 11:46:28 -04:00
8365b52ac8
- Fix default canonicalization for DKIM signature verification to be simple/simple per RFC 6376 (LP: #1839299) (Thanks to Cyril Nicodème for the report and a suggested fix)
Scott Kitterman
2019-08-09 09:21:26 -04:00
0019bad372
- Fix linesep setting in arcsign script (LP: #1838262) (Thanks to Gowtham Gopalakrishnan for the report and the patch)
Scott Kitterman
2019-08-04 17:51:27 -04:00
9904db4e5c
Add missing ChangeLog entry
Scott Kitterman
2019-04-14 23:02:04 -04:00
7766ffd7ab
Update copyright statements
Scott Kitterman
2019-04-14 22:57:35 -04:00
6fc54ae405
Remove obsolete TODO files
Scott Kitterman
2019-04-14 22:55:21 -04:00
ce8e3c8d50
Update README for recent changes
Scott Kitterman
2019-04-14 22:54:27 -04:00
a11acd654a
Set release date
Scott Kitterman
2019-04-14 22:45:47 -04:00
faf2eb330a
Update man 1 arcsign for addition of srv_id to options
Scott Kitterman
2019-04-14 22:41:14 -04:00
a1b6e73ae1
- Add additional text documenting use of srv_id for ARC signing (LP: #1808301)
Scott Kitterman
2019-04-14 22:21:45 -04:00
aa5419b7d9
Fix cv=none processing for initial signature in chain
Scott Kitterman
2019-04-14 22:17:41 -04:00
0ce3775afa
Fix the arcsign script so it works with the current API
Scott Kitterman
2019-04-14 22:10:36 -04:00
1bf505995f
Clean up obsolete test data
Scott Kitterman
2019-04-13 21:35:43 -04:00
439d66e1e1
Resolve merge conflicts
Scott Kitterman
2019-04-13 21:21:49 -04:00
4c06997d67
Changelog for dkim.fold correction
Scott Kitterman
2019-04-13 21:01:55 -04:00
fd3f501787
Update dkim/tests/test_arc.py for changes in dkim.fold
Scott Kitterman
2019-04-13 20:54:13 -04:00
93e647c8de
Set maxlen to 71 for subsequent lines since we already have a leading space (LP: #1823006), make doctest demonstrate the problem.
Scott Kitterman
2019-04-13 20:53:16 -04:00
118e854889
- Clarify the crlf does not count towards line length in fold (LP: #1823008)
Scott Kitterman
2019-04-13 15:05:04 -04:00
c1fec1cca8
Delete obsolete .IX macro from man pages
Scott Kitterman
2019-02-08 01:18:12 -05:00
9bf7e43e20
ChangeLog entry as requested.
Jonathan Bastien-Filiatrault
2018-12-31 09:21:11 -05:00
43c91feac6
Document content debugging parameter.
Jonathan Bastien-Filiatrault
2018-12-31 09:17:53 -05:00
4175d75534
Merge remote-tracking branch 'upstream/master' into content_debugging
Jonathan Bastien-Filiatrault
2018-12-31 09:10:24 -05:00
6bc38aaf9b
add line separator support
Dick Marinus
2018-12-23 13:26:05 +01:00
0555cb595d
ChangeLog engry for jbfzs/beautifold
Scott Kitterman
2018-12-23 01:57:38 -05:00
25b2eb72b2
Merge remote-tracking branch 'jbfzs/beautifold'
Scott Kitterman
2018-12-23 01:54:39 -05:00
6b4127f920
Don't insert an extra space at the end of the line when doing a soft fold.
Jonathan Bastien-Filiatrault
2018-12-12 21:30:56 -05:00
2d474d6b04
Do not take the name length into account on the second line when folding.
Jonathan Bastien-Filiatrault
2018-12-12 21:11:12 -05:00
82bef5983b
Don't log message content by default.
Jonathan Bastien-Filiatrault
2018-12-12 15:30:47 -05:00
882d14c514
Avoid making a fresh slice of the whole email on each iteration.
Jonathan Bastien-Filiatrault
2018-12-12 13:40:55 -05:00
903cc902d9
Changelog and version for starting 0.9.2
Scott Kitterman
2018-12-11 14:36:45 -05:00
7dee16a5b1
Refactor canonicalization.py strip_trailing_lines to avoid using re for more consistent processing across python versions
Jonathan Bastien-Filiatrault
2018-12-11 14:34:34 -05:00
84efc4a1cb
Release 0.9.1
Scott Kitterman
2018-12-09 14:10:44 -05:00
72f58200e3
- Refactored dknewkey so that it correctly writes out text instead of bytes
Scott Kitterman
2018-12-08 17:32:56 -05:00
c3eb342611
Fixed ARC verification to fail is h= tag is present in Arc-Seal, added test, bumped version to start 0.9.1
Scott Kitterman
2018-11-09 19:58:11 -05:00
d659c496e5
Set release date
Scott Kitterman
2018-10-30 11:57:17 -04:00
267e62115e
- Added missing documentation for timestamp function dkim.arc_sign (LP: #1800314)
Scott Kitterman
2018-10-30 11:52:43 -04:00
09d4c3d84d
Fix @since for add_should_not
Scott Kitterman
2018-10-30 11:40:20 -04:00
8032276b57
Bump version to 0.9.0 since this is now a feature release - Update oversigned (frozen) header field list to reduce signature fragility (removes 'date' and 'subject' fields from being oversigned by default - see usage section of README for information on how to restore the previous behavior) - Added new add_should_not for DKIM/ARC classes to prevent additional header fields from being signed - Added 'from' to should sign list (to prevent it from not being signed at all in the unusual event that 'from' is locally removed from the frozen header field set (LP: #1525048) - Updates for experimental ARC support: - Specified that for ARC, Authentication-Results should not be signed
Scott Kitterman
2018-10-30 11:29:09 -04:00
82d01d8a42
- Raise error when ARC signing if i= instance limit value of 50 is exceeded
Scott Kitterman
2018-10-30 08:55:32 -04:00
cd0ebc1ecb
- Updates for experimental ARC support: - Limit to rsa-sha256, rsa-sha1 not used by ARC and multi-signature design TBD
Scott Kitterman
2018-10-30 08:13:06 -04:00
3aaa7e2ab5
Bump versions to 0.8.2
Scott Kitterman
2018-10-30 07:17:10 -04:00
5349a9f813
Add support for EAI addresses in domains and selectors (John Levine)
Scott Kitterman
2018-10-29 21:55:12 -04:00
3a2e5fef61
Delete unused copy of dnsplug.py
Scott Kitterman
2018-10-29 21:49:39 -04:00
3c2beaf70e
- Python 3.7 compatibility fixup for dkim.canonicalization. strip_trailing_lines due to changed RE.sub() processing (LP: #1800313)
Scott Kitterman
2018-10-29 19:53:12 -04:00
b81797bc70
Add Changelog entries for Thomas Ward last two changes
Scott Kitterman
2018-10-29 19:48:44 -04:00
4142cd1bd0
lack of Type Hinting for sign and verify functions, lp:1782596
Thomas Ward
2018-10-27 20:56:05 -04:00
45266f6f05
Correct requires invocation for py3dns
Scott Kitterman
2018-06-16 21:30:53 -04:00
f8deb49c0d
Don't error out in Python 3 if include headers is string (LP: #1776775)
Scott Kitterman
2018-06-16 18:18:45 -04:00
36da46861b
Add ChangeLog entries for Daniel Hahler's fixes
Scott Kitterman
2018-06-16 17:31:55 -04:00
906980f57a
tests: fix DeprecationWarnings for assertEquals
Daniel Hahler
2018-06-13 13:39:46 +02:00
0338aedcc6
Fix bare except statements for expected ImportErrors
Daniel Hahler
2018-06-13 13:35:09 +02:00
229ac42db9
tests: add "testing" extras
Daniel Hahler
2018-06-13 13:32:36 +02:00
0566b9b4c1
- Correctly fold lines at or near the maximum line length (fix folding zero length lines and adding a blank line and adding an exra cr/lf for lines near max length (LP: #1717576)
Scott Kitterman
2018-06-16 16:59:39 -04:00
ef80f037ca
Delete unused test data
Scott Kitterman
2018-06-09 22:07:02 -04:00
3a68a64836
Update tests so that both RSA and Ed25519 verifying test verifying dual signed message.
Scott Kitterman
2018-06-02 01:19:24 -04:00
a911d5eac5
Update .gitignore to also ignore pyc files/dirs for test code
Scott Kitterman
2018-06-02 01:06:38 -04:00
d5c4f69b27
Remove obsolete and incorrect test data
Scott Kitterman
2018-06-02 01:04:29 -04:00
31ee4e8f91
Set release date in Changelog
Scott Kitterman
2018-05-18 19:49:11 -04:00
a0ae8c24c5
Detect unknown algorithm in k= tag and raise an appropriate error, vice failing with a traceback
Scott Kitterman
2018-05-18 19:42:46 -04:00
92608e79c4
Simplify error message for bad version (match what Google does)
Scott Kitterman
2018-05-18 18:21:32 -04:00
bec6869c78
Detect incorrect version in DKIM public key record (LP: #1763815)
Scott Kitterman
2018-05-18 18:17:30 -04:00
261eb5f5eb
Add test for detecting bad version number in DKIM txt record
Scott Kitterman
2018-05-18 17:04:50 -04:00
3b28e86f15
Indicate that ed25519-sha256 is no longer experimental
Scott Kitterman
2018-05-18 02:48:42 -04:00
85c4fe2adf
- Fix typo in dknewky(1) for k= tag (Thanks to Andreas Schulze for reporting)
Scott Kitterman
2018-03-28 06:51:35 -04:00
3020b0e6d6
- Use install_requires and extras_requires to document external dependencies for dkimpy (LP: #1227526)
Scott Kitterman
2018-03-27 01:23:00 -04:00
7efe59e907
more script typo fix
Scott Kitterman
2018-03-27 00:48:08 -04:00
8651323863
script typo fix
Scott Kitterman
2018-03-27 00:46:27 -04:00
558eb87364
Add dist to .gitignore
Scott Kitterman
2018-03-26 03:35:41 -04:00
e50d3907ae
Fixup script structure for entrypoints
Scott Kitterman
2018-03-26 03:35:03 -04:00
30062b3c2b
Update ChangeLog and README for setuptools
Scott Kitterman
2018-03-25 22:42:26 -04:00
d860dfd51e
Switch to setuptools/entrypoints from distutils/scripts
Scott Kitterman
2018-03-25 22:39:20 -04:00
30143421e5
Upated .gitignore for setuptools changes
Scott Kitterman
2018-03-25 22:36:15 -04:00
c674e53a15
Bump version to 0.8.0
Scott Kitterman
2018-03-25 20:52:53 -04:00
1d67fd3c4d
Add .gitignore to ignore binary python artifacts
Scott Kitterman
2018-03-18 18:24:20 -04:00
1cafbe7e03
Remove debug print statements in test suite
Scott Kitterman
2018-02-17 13:56:47 -05:00
b1adfa3e33
Update man/dknewkey.1 to mention use of k= with RSA and bump version for release.
Scott Kitterman
2018-02-17 13:52:13 -05:00
f6e9587857
Use correct h= tag in dknewnkey.py generated DKIM records for RSA
Scott Kitterman
2018-02-17 13:34:47 -05:00
9f9fe2625b
Add another RFC data based test
Scott Kitterman
2018-02-12 13:45:26 -05:00
43e56378c1
- Return an empty list (as expected) when no AR headers are found or no AR arc stamps are found and the chain terminated (LP: #1748146)
Scott Kitterman
2018-02-11 19:39:51 -05:00
1ac948299e
Delete stray print
Scott Kitterman
2018-02-11 19:29:53 -05:00
d097a5f523
- Update ed25519 tests, including using sample keys from RFC 8032 Section 7.1 and the sample message from RFC 6376
Scott Kitterman
2018-02-11 19:26:04 -05:00
c77f03fa74
Update README and Changelog for release.
Scott Kitterman
2018-02-07 01:06:50 -05:00
2ab2720dbe
Set 0.7.0 back to unreleased - need to wait for -09 draft
Scott Kitterman
2018-02-05 17:44:42 -05:00
ae20ad128f
Update README
Scott Kitterman
2018-02-05 14:44:49 -05:00
581a1cd3f6
Update release date for today
Scott Kitterman
2018-02-05 14:34:07 -05:00
dc772430f6
Update man pages for ed25519
Scott Kitterman
2018-02-05 14:27:16 -05:00
6bbbdf9b22
Update test data and test harness for test_verify_third_party - now it passes
Scott Kitterman
2018-02-05 13:43:19 -05:00
3209be62d1
Fix a= tag in ed25519 signatures (thanks to Jeremy Harris)
Scott Kitterman
2018-02-05 11:28:05 -05:00
3138f90077
Updated copyright statements
Scott Kitterman
2018-02-05 04:05:41 -05:00
077bf4813c
Self consistent, but not externally verified ed25519 based on draft-ietf-dcrup-dkim-crypto-08
Scott Kitterman
2018-02-05 03:53:03 -05:00
10e12c60d8
- Fix unbound local variable error when processing signatures with an x tag, but no t tag (LP: #1739637)
Scott Kitterman
2017-12-21 16:35:42 -05:00
6b80254bd9
Fix -v verbose reporting in dkimverify.py
Scott Kitterman
2017-12-01 02:10:03 -05:00
0c6fdbf7c6
- Add new test, test_implicit_k, to verify that RSA processing is still correct when the optional k= tag is not present in the DKIM public key record
Scott Kitterman
2017-11-30 14:33:01 -05:00
4d4dcf1a78
Start ed25519 - update dknewkey.py and README.
Scott Kitterman
2017-11-21 09:48:22 -05:00