Scott Kitterman
dc2f7f07f2
- dknewkey: On posix operating systems set file permissions to 600 for ed25519 private key files (as is already done for RSA) (LP: #1857827 )
2019-12-31 01:17:19 -05:00
Scott Kitterman
73dbcc08a8
Bump version to 1.1 for next feature series development
2019-12-16 15:21:27 -05:00
Scott Kitterman
cb32e3e527
- Set minimum dnspython version to 1.16 because previous versions can not
...
support the timeout parameter (LP: #1856546 )
2019-12-16 15:20:01 -05:00
Scott Kitterman
e969511184
Update documentation URL in README.md
2019-12-16 15:19:43 -05:00
Scott Kitterman
52f1279754
Set version and release date
2019-12-15 01:26:32 -05:00
Scott Kitterman
5a0824108d
Provide specialized error message when signing or verifying ed25519
...
signatures and pynacl is not installed (LP: #1854475 )
2019-12-15 01:12:02 -05:00
Scott Kitterman
6c5f701131
Follow CNAMES when looking up key records when using DNS (pydns)
...
(LP: #1856421 )
2019-12-15 00:42:31 -05:00
Scott Kitterman
da3f98e6a1
Set release date
2019-12-09 17:50:37 -05:00
Scott Kitterman
7356ca1b45
Tab/space fix in ChangeLog
2019-12-09 17:49:05 -05:00
Scott Kitterman
f9160a9f13
exclude .pyc files from MANIFEST so we con't accidentally ship test artifacts
2019-12-09 17:46:54 -05:00
Scott Kitterman
952621c5b5
Fixed python3 tested versions in README.md
2019-12-09 17:42:56 -05:00
Scott Kitterman
8701e996d3
Make README Mardown (README.md) and use for long_description
2019-12-09 17:36:01 -05:00
Scott Kitterman
166291857a
Udpate README for async and tlsrpt support
2019-12-09 17:02:02 -05:00
Scott Kitterman
f680dd879b
Merge async work into master for 1.0
2019-12-09 09:18:25 -05:00
Scott Kitterman
397ec61717
ChangeLog typo
2019-12-09 09:03:26 -05:00
Scott Kitterman
7173c0cbcc
Catch binascii related key format errors (LP: #1854477 )
2019-12-08 02:43:57 -05:00
Scott Kitterman
c66a014a9f
Fix RSAPublicKey in ChangeLog
2019-11-09 13:42:32 -05:00
Scott Kitterman
b32c9175c5
Merge branch 'master' of git+ssh://git.launchpad.net/dkimpy
2019-11-08 23:19:35 -05:00
Scott Kitterman
4d2f425ae3
- Support signature verification with SubjectPublicKeyInfo formatted keys
...
since, although rare, they are RFC 6376 specified (LP: #1851862 )
2019-11-08 23:19:17 -05:00
Scott Kitterman
4b48a82de6
- Support signature verification with SubjectPublicKeyInfo formatted keys
...
since, although rare, they are RFC 6376 specified (LP: #1851862 )
2019-11-08 23:14:40 -05:00
Scott Kitterman
5893862e31
New keys and test cases for RSA key format variants like RSAPublicKey
2019-11-08 23:13:26 -05:00
Scott Kitterman
7972217756
DKIM.verify: Refactor to minimize code duplication in dkim.asyncsupport.
2019-11-05 21:36:06 -05:00
Scott Kitterman
9bdb451cd8
DKIM.verify_sig: Refactor to minimize code duplication in dkim.asyncsupport.
2019-11-05 21:10:28 -05:00
Scott Kitterman
3de1dc0362
Refactor load_pk_from_dns to reduce code duplication between async and non-async.
2019-11-05 08:34:13 -05:00
Scott Kitterman
2973852fbb
- Add new DKIM.present function to allow applications to test if a DKIM
...
signature is present without doing validation (LP: #1851141 )
2019-11-03 11:57:30 -05:00
Scott Kitterman
e8ee183a7f
Async version of dkimverify to demonstrate asyncio.
2019-11-02 11:16:13 -04:00
Scott Kitterman
3dda94ca2d
Initial async support - works but so much overriding ...
2019-11-02 11:15:36 -04:00
Scott Kitterman
2dc071962d
Don't error out on dnsplug tests is DNS/dns isn't installed as preparation for adding async/aiodns support
2019-11-01 17:24:16 -04:00
Scott Kitterman
fa93e56fa2
Minor timeout and tlsprt cleanups
2019-11-01 17:22:15 -04:00
Scott Kitterman
ebe8fc7c77
Add support for RFC 8460 tlsrpt DKIM signature processing (LP: #1847020 )
2019-10-31 20:53:06 -04:00
Scott Kitterman
69049feda1
Add test for l= processing
2019-10-31 20:45:20 -04:00
Scott Kitterman
5487f798ac
Documentation updates
2019-10-30 18:52:36 -04:00
Scott Kitterman
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
2019-10-30 18:46:31 -04:00
Scott Kitterman
6db388df39
Ignore unknown service types in key records (LP: #1847020 )
2019-10-07 08:34:05 -04:00
Scott Kitterman
d1801bb3d5
- Add LICENSE to MANIFEST.in so it is included in the tarball (LP:
...
#1845318 )
2019-09-25 16:20:46 -04:00
Scott Kitterman
f8e0cba772
Documentation updates
2019-08-09 11:46:28 -04:00
Scott Kitterman
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)
2019-08-09 09:21:26 -04:00
Scott Kitterman
0019bad372
- Fix linesep setting in arcsign script (LP: #1838262 ) (Thanks to Gowtham
...
Gopalakrishnan for the report and the patch)
2019-08-04 17:51:27 -04:00
Scott Kitterman
9904db4e5c
Add missing ChangeLog entry
2019-04-14 23:02:04 -04:00
Scott Kitterman
7766ffd7ab
Update copyright statements
2019-04-14 22:57:35 -04:00
Scott Kitterman
6fc54ae405
Remove obsolete TODO files
2019-04-14 22:55:21 -04:00
Scott Kitterman
ce8e3c8d50
Update README for recent changes
2019-04-14 22:54:27 -04:00
Scott Kitterman
a11acd654a
Set release date
2019-04-14 22:45:47 -04:00
Scott Kitterman
faf2eb330a
Update man 1 arcsign for addition of srv_id to options
2019-04-14 22:41:14 -04:00
Scott Kitterman
a1b6e73ae1
- Add additional text documenting use of srv_id for ARC signing (LP: #1808301 )
2019-04-14 22:21:45 -04:00
Scott Kitterman
aa5419b7d9
Fix cv=none processing for initial signature in chain
2019-04-14 22:17:41 -04:00
Scott Kitterman
0ce3775afa
Fix the arcsign script so it works with the current API
2019-04-14 22:10:36 -04:00
Scott Kitterman
1bf505995f
Clean up obsolete test data
2019-04-13 21:35:43 -04:00
Scott Kitterman
439d66e1e1
Resolve merge conflicts
2019-04-13 21:21:49 -04:00
Scott Kitterman
4c06997d67
Changelog for dkim.fold correction
2019-04-13 21:01:55 -04:00
Scott Kitterman
fd3f501787
Update dkim/tests/test_arc.py for changes in dkim.fold
2019-04-13 20:54:13 -04:00
Scott Kitterman
93e647c8de
Set maxlen to 71 for subsequent lines since we already have a leading space (LP: #1823006 ), make doctest demonstrate the problem.
2019-04-13 20:53:16 -04:00
Scott Kitterman
118e854889
- Clarify the crlf does not count towards line length in fold
...
(LP: #1823008 )
2019-04-13 15:05:04 -04:00
Scott Kitterman
c1fec1cca8
Delete obsolete .IX macro from man pages
2019-02-08 01:18:12 -05:00
Scott Kitterman
0555cb595d
ChangeLog engry for jbfzs/beautifold
2018-12-23 01:57:38 -05:00
Scott Kitterman
25b2eb72b2
Merge remote-tracking branch 'jbfzs/beautifold'
2018-12-23 01:54:39 -05:00
Scott Kitterman
903cc902d9
Changelog and version for starting 0.9.2
2018-12-11 14:36:45 -05:00
Scott Kitterman
84efc4a1cb
Release 0.9.1
2018-12-09 14:10:44 -05:00
Scott Kitterman
72f58200e3
- Refactored dknewkey so that it correctly writes out text instead of bytes
2018-12-08 17:32:56 -05:00
Scott Kitterman
c3eb342611
Fixed ARC verification to fail is h= tag is present in Arc-Seal, added test, bumped version to start 0.9.1
2018-11-09 19:58:11 -05:00
Scott Kitterman
d659c496e5
Set release date
2018-10-30 11:57:17 -04:00
Scott Kitterman
267e62115e
- Added missing documentation for timestamp function dkim.arc_sign
...
(LP: #1800314 )
2018-10-30 11:52:43 -04:00
Scott Kitterman
09d4c3d84d
Fix @since for add_should_not
2018-10-30 11:40:20 -04:00
Scott Kitterman
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
2018-10-30 11:29:09 -04:00
Scott Kitterman
82d01d8a42
- Raise error when ARC signing if i= instance limit value of 50 is
...
exceeded
2018-10-30 08:55:32 -04:00
Scott Kitterman
cd0ebc1ecb
- Updates for experimental ARC support:
...
- Limit to rsa-sha256, rsa-sha1 not used by ARC and multi-signature
design TBD
2018-10-30 08:13:06 -04:00
Scott Kitterman
3aaa7e2ab5
Bump versions to 0.8.2
2018-10-30 07:17:10 -04:00
Scott Kitterman
5349a9f813
Add support for EAI addresses in domains and selectors (John Levine)
2018-10-29 21:55:12 -04:00
Scott Kitterman
3a2e5fef61
Delete unused copy of dnsplug.py
2018-10-29 21:49:39 -04:00
Scott Kitterman
3c2beaf70e
- Python 3.7 compatibility fixup for dkim.canonicalization.
...
strip_trailing_lines due to changed RE.sub() processing (LP: #1800313 )
2018-10-29 19:53:12 -04:00
Scott Kitterman
b81797bc70
Add Changelog entries for Thomas Ward last two changes
2018-10-29 19:48:44 -04:00
Scott Kitterman
45266f6f05
Correct requires invocation for py3dns
2018-06-16 21:30:53 -04:00
Scott Kitterman
f8deb49c0d
Don't error out in Python 3 if include headers is string (LP: #1776775 )
2018-06-16 18:18:45 -04:00
Scott Kitterman
36da46861b
Add ChangeLog entries for Daniel Hahler's fixes
2018-06-16 17:31:55 -04:00
Scott Kitterman
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 )
2018-06-16 16:59:39 -04:00
Scott Kitterman
ef80f037ca
Delete unused test data
2018-06-09 22:07:02 -04:00
Scott Kitterman
3a68a64836
Update tests so that both RSA and Ed25519 verifying test verifying dual signed message.
2018-06-02 01:19:24 -04:00
Scott Kitterman
a911d5eac5
Update .gitignore to also ignore pyc files/dirs for test code
2018-06-02 01:06:38 -04:00
Scott Kitterman
d5c4f69b27
Remove obsolete and incorrect test data
2018-06-02 01:04:29 -04:00
Scott Kitterman
31ee4e8f91
Set release date in Changelog
2018-05-18 19:49:11 -04:00
Scott Kitterman
a0ae8c24c5
Detect unknown algorithm in k= tag and raise an appropriate error, vice
...
failing with a traceback
2018-05-18 19:42:46 -04:00
Scott Kitterman
92608e79c4
Simplify error message for bad version (match what Google does)
2018-05-18 18:21:32 -04:00
Scott Kitterman
bec6869c78
Detect incorrect version in DKIM public key record (LP: #1763815 )
2018-05-18 18:17:30 -04:00
Scott Kitterman
261eb5f5eb
Add test for detecting bad version number in DKIM txt record
2018-05-18 17:04:50 -04:00
Scott Kitterman
3b28e86f15
Indicate that ed25519-sha256 is no longer experimental
2018-05-18 02:48:42 -04:00
Scott Kitterman
85c4fe2adf
- Fix typo in dknewky(1) for k= tag (Thanks to Andreas Schulze for
...
reporting)
2018-03-28 06:51:35 -04:00
Scott Kitterman
3020b0e6d6
- Use install_requires and extras_requires to document external
...
dependencies for dkimpy (LP: #1227526 )
2018-03-27 01:23:00 -04:00
Scott Kitterman
7efe59e907
more script typo fix
2018-03-27 00:48:08 -04:00
Scott Kitterman
8651323863
script typo fix
2018-03-27 00:46:27 -04:00
Scott Kitterman
558eb87364
Add dist to .gitignore
2018-03-26 03:35:41 -04:00
Scott Kitterman
e50d3907ae
Fixup script structure for entrypoints
2018-03-26 03:35:03 -04:00
Scott Kitterman
30062b3c2b
Update ChangeLog and README for setuptools
2018-03-25 22:42:26 -04:00
Scott Kitterman
d860dfd51e
Switch to setuptools/entrypoints from distutils/scripts
2018-03-25 22:39:20 -04:00
Scott Kitterman
30143421e5
Upated .gitignore for setuptools changes
2018-03-25 22:36:15 -04:00
Scott Kitterman
c674e53a15
Bump version to 0.8.0
2018-03-25 20:52:53 -04:00
Scott Kitterman
1d67fd3c4d
Add .gitignore to ignore binary python artifacts
2018-03-18 18:24:20 -04:00
Scott Kitterman
1cafbe7e03
Remove debug print statements in test suite
2018-02-17 13:56:47 -05:00
Scott Kitterman
b1adfa3e33
Update man/dknewkey.1 to mention use of k= with RSA and bump version for release.
2018-02-17 13:52:13 -05:00
Scott Kitterman
f6e9587857
Use correct h= tag in dknewnkey.py generated DKIM records for RSA
2018-02-17 13:34:47 -05:00
Scott Kitterman
9f9fe2625b
Add another RFC data based test
2018-02-12 13:45:26 -05:00