52a66d5c59
- update to 1.1.8: * Correctly handle verification of signatures without t= (timestamp) and with x= (expiration); both are optional * Fix error in validate_signature_fields which prevented signature expiration from being properly evaluated * Correct ARC signing for AR headers with authres-version or comments before resinfo * Correct line separtor after AAR header field * Correct signature in ARC-Seal on LF as linesep
Dirk Mueller2024-08-31 15:10:59 +00:00
247ec1da07
Accepting request 1169362 from devel:languages:python
Ana Guerrero2024-04-21 18:27:07 +00:00
946ff9646b
- update to 1.1.6: * Use raw byte string for regex; fixes SyntaxWarning in Python 3.12 due to invalid escape sequence
Dirk Mueller2024-04-20 13:42:09 +00:00
e11d0aed9a
- update to 1.1.5: * Use dns.resolver.resolve instead of dns.resolver.query due to deprecation * Treat dns.resolver.NoNameservers like NXDOMAIN (not an error) * Confine errors from dnspython to dnsplug and use dkim errors, since dkim.__init__.py doesn't import dns and needs dkim errors * Catch nacl.exceptions.ValueError and raise KeyFormatError, similar to how RSA key errors are treated * Create ed25519 key files with secure permissions to avoid risk of insecure chmode call/race condition * Properly cleanup temporary directories in tests * Verify correct AMS header is used for ARC seal verification (André Cruz) * Document dropping of Python 2 support * Fix traceback when attempting to verify an unsigned message using async verify * Add domain validity check for ascii domains (no specials) * Add option to specify index number of signature to verify to dkimverify * Correct signature indexing error introduced in 1.0.0 that prevents verification of multiple signatures in a single message * Correct dkim.verify processing to avoid errors when verifying messages with no DKIM signatures * Update dnsplug for DNS Python (dns) 2.0 compatibility * Provide more specific error message when ed25519 private key is invalid
Dirk Mueller2024-01-06 18:05:10 +00:00