Commit Graph

460 Commits

Author SHA1 Message Date
Diskette Guy 9503fd60b0 Final commit, I've learned my lesson 2025-10-16 04:01:34 +07:00
Diskette Guy 003a405242 Cheatsheet update: filled in the files of the dkim directory 2025-10-14 23:31:18 +07:00
Diskette Guy f5ae75cd9a Update README.md 2025-10-14 18:37:27 +07:00
Diskette Guy a4fdd73ecb I figured out what canonicalization is 2025-10-14 06:07:54 +07:00
Diskette Guy bb1d5699af Add: canonicalization... whatever that is... 2025-10-14 06:03:32 +07:00
Diskette Guy 1f8aea2173 cheatsheet for loser (me) 2025-10-14 05:58:46 +07:00
Diskette Guy 369cab0047 more test files 2025-10-12 23:47:03 +07:00
Diskette Guy 5b9aaba817 dkim files 2025-10-09 01:49:59 +07:00
Diskette Guy 7aedfbe7c8 change those twos 2025-10-09 01:49:33 +07:00
Diskette Guy 74fe4dc02e add a duplicate test file 2025-10-03 12:55:26 +07:00
diskette 6fbc39565f Update LICENSE 2025-10-02 19:42:33 +00:00
Scott Kitterman 2275718e74 Fix dkimverify verbose option so it works and add documentation, thanks to Uwe Kleine-König for the patch (Debian: #1075791), bump version to 1.1.9 2024-07-05 09:42:26 -04:00
Scott Kitterman 21b9410f4f Correctly handle verification of signatures without t= (timestamp) and with x= (expiration); both are optional (LP: 2071892) 2024-07-04 18:09:50 -04:00
Scott Kitterman 0167ba92ea Bump version to 1.1.8 2024-07-04 18:05:54 -04:00
Scott Kitterman 19303e23d7 Add test case verifying no t= (timestamp) with x= (expiration) in signature 2024-07-04 18:03:50 -04:00
Scott Kitterman 31ed6e9055 Fix README.md typo 2024-06-23 18:04:06 -04:00
Scott Kitterman f29f2ba3a7 Release 1.1.7 2024-06-23 17:57:39 -04:00
Scott Kitterman 1ffa2cb090 Correct signature in ARC-Seal on LF as linesep (LP: #2052720) - Thanks to Nikolay Vizovitin for the report and the fix 2024-06-23 17:26:31 -04:00
Scott Kitterman 71f5d118e6 - Correct line separtor after AAR header field (LP: #2049018) - Thanks to Nikolay Vizovitin for the report and the fix 2024-06-23 17:16:44 -04:00
Scott Kitterman 9380655a6e Correct ARC signing for AR headers with authres-version or comments before resinfo (LP: #2052526) - Thanks to Nikolay Vizovitin for the report and the fix 2024-06-23 17:06:31 -04:00
Scott Kitterman ed5931c0c9 Fix error in validate_signature_fields which prevented signature expiration from being properly evaluated (LP: #2068937) 2024-06-23 16:34:58 -04:00
Scott Kitterman ab569cc77c Bump version to 1.1.7 2024-06-23 16:32:55 -04:00
Scott Kitterman 3be5035ef2 Update version/add Changelog for 1.1.6 2024-04-14 15:32:02 -04:00
Simon Chopin 073a0a1169 Use raw byte string for regex
Fixes SyntaxWarning in Python 3.12 due to invalid escape sequence.
2024-03-07 16:51:24 +01:00
Scott Kitterman 92902fc9cd Bump version to 1.1.5 and add changelog for resolver.resolve fix 2023-07-28 12:00:36 -04:00
Pedro Vicente aa50562f63 Change minimun version for dnspython due to deprecation warning 2023-07-27 11:12:29 +02:00
Pedro Vicente b4f70f854d Removed Deprecation Warning dns.resolve.query 2023-07-26 16:57:32 +02:00
Scott Kitterman f17ef21acc ChangeLog whitespace fix 2023-05-12 01:18:13 -04:00
Scott Kitterman 8cf323d4ea Confine errors from dnspython to dnsplug and use dkim errors, since dkim.__init__.py doesn't import dns and needs dkim errors (LP: #2018646) 2023-05-12 01:13:46 -04:00
Scott Kitterman c75fa31ad2 Bump version to 1.1.4 2023-05-07 14:38:02 -04:00
David 8d960038ae Treat dns.resolver.NoNameservers like NXDOMAIN (not an error) 2023-05-07 14:34:59 -04:00
Scott Kitterman 4a5c1e0393 Add release date 2023-04-30 09:49:41 -04:00
Scott Kitterman dd650da4f0 Properly cleanup temporary directories in tests 2023-04-30 09:47:26 -04:00
Scott Kitterman 7262f53687 Update documentation in README.md on handling private keys 2023-04-30 09:31:09 -04:00
Scott Kitterman 810d543085 Create ed25519 key files with secure permissions to avoid risk of insecure chmode call/race condition (LP: #2017430) 2023-04-30 09:25:28 -04:00
Scott Kitterman 2fc00b0218 Catch nacl.exceptions.ValueError and raise KeyFormatError, similar to how RSA key errors are treated (LP: #2018021) 2023-04-29 00:09:14 -04:00
Scott Kitterman 339bf1fb63 Bump version to 1.1.3 2023-04-28 23:41:49 -04:00
Scott Kitterman 5cedcb46d5 Release 1.0.2 2023-04-09 09:33:53 -04:00
Scott Kitterman 835a890007 Bump version to 1.1.2 2023-03-31 13:08:19 -04:00
André Cruz 264230308c fix correct AMS header selection
When we are verifying the ARC seal we need to fetch the raw AMS header
from the header list. But it's not enough to return the first one we
find, since we may be interested in a different arc seal, we need
to search for the correct ARC index.
2023-03-30 16:02:46 +01:00
Scott Kitterman 71119c956e Finalize 1.1.1 release 2023-03-10 11:18:05 -05:00
Scott Kitterman dd6bbd4c88 - Fix traceback when attempting to verify an unsigned message using
async verify (Thanks to Nikita Sychev for the report and a suggested
      fix) (LP: #2008723)
2023-02-28 00:02:07 -05:00
Scott Kitterman bf5ab32d55 Bump version to 1.1.1 and document python2 is no longer supported (LP: #2008738) 2023-02-27 23:49:56 -05:00
Scott Kitterman 59e9dd2cb5 Correct base64 validation regexp so that valid signature with == split
between two lines are not incorrectly evaluated as invalid (LP:
      #2002295) - Thanks to <https://launchpad.net/~obadz> for the report and
      the proposed fix
2023-02-25 17:16:53 -05:00
Scott Kitterman 2115a5e9f8 Invalid Authentication-Results header fields are ignored for ARC signing
(LP: #1884044)
2023-02-25 17:10:17 -05:00
Scott Kitterman b74452d9da Add new dkim.DnsTimeoutError class to report queried domain and selector
along with timeout error from dnspython (LP: #1873449)
2023-02-25 16:44:06 -05:00
Scott Kitterman 233a9699ed Add USE_ASYNC flag to allow async to be disabled when aiodns is
installed (LP: #1954331) - see README.md for details
2023-02-25 16:25:20 -05:00
Scott Kitterman 50a81ab8d6 Add test test_non_utf8 which at least demonstrates not crashing on non UTF-8 data 2023-02-25 15:40:49 -05:00
Scott Kitterman 143e3bffea Fix dknewkey import in dkim/tests/test_dkim_generate.py 2023-02-25 15:39:38 -05:00
Scott Kitterman 5195dbaf3d Add limitations section to README to document current IDN status 2023-02-25 15:38:47 -05:00