From 039fcc54fd9bf63e8919ce3c7b0f7c7ed8a7dc1d Mon Sep 17 00:00:00 2001 From: Scott Kitterman Date: Sun, 26 Feb 2023 18:31:36 -0500 Subject: [PATCH] Finalize UTF-8 fixup, including dkimpy/pymilter version bumps --- CHANGES | 9 +++++++-- README.md | 5 +++++ setup.py | 4 ++-- 3 files changed, 14 insertions(+), 4 deletions(-) diff --git a/CHANGES b/CHANGES index 9b5c3c1..4d7dfcb 100644 --- a/CHANGES +++ b/CHANGES @@ -1,5 +1,10 @@ -1.3.0 WARNING LAST COMMIT IS WIP - - Improve resilience to malformed email addresses +1.3.0 + - Improve support for non-ASCII email messages. Anything UTF-8 should work + (including correct signing/verification). For messages that contain header + fields with non-ASCII or UTF-8 content, signatures are likely fail + verification, but the milter should continue to run. + - Set minimum pymilter and dkimpy versions in setup.py to those that will + work reliably with non-ASCII content. 1.2.2 2020-08-09 - Improve README.md formating for markdown display on pypi diff --git a/README.md b/README.md index 49efe6f..8d51b01 100644 --- a/README.md +++ b/README.md @@ -336,3 +336,8 @@ later support Ed25519 signing and verification. RFC 8301 removed rsa-sha1 from DKIM. dkimpy-milter does not sign with rsa-sha1, but still considers rsa-sha1 signatures as valid for verification because they are still in common use and are not known to be cryptographically broken. + +Support for non-ASCII email messages: Anything UTF-8 should work (including +correct signing/verification). For messages that contain header fields with +non-ASCII or UTF-8 content, signatures are likely fail verification, but the +milter should continue to run. RFC 8616 is not supported. diff --git a/setup.py b/setup.py index c661a91..cf59b8d 100644 --- a/setup.py +++ b/setup.py @@ -83,9 +83,9 @@ class FileMacroExpand(distutils.cmd.Command): kw = {} # Work-around for lack of 'or' requires in setuptools. try: import dns - kw['install_requires'] = ['dkimpy>=1.0', 'pymilter', 'authres>=1.1.0', 'PyNaCl', 'dnspython>=1.16.0'] + kw['install_requires'] = ['dkimpy>=1.1.0', 'pymilter>=1.0.5', 'authres>=1.1.0', 'PyNaCl', 'dnspython>=1.16.0'] except ImportError: # If PyDNS is not installed, prefer dnspython - kw['install_requires'] = ['dkimpy>=1.0', 'pymilter', 'authres>=1.1.0', 'PyNaCl', 'Py3DNS'] + kw['install_requires'] = ['dkimpy>=1.1.0', 'pymilter>=1.0.5', 'authres>=1.1.0', 'PyNaCl', 'Py3DNS'] setup( name='dkimpy-milter',