Scott Kitterman
c1fec1cca8
Delete obsolete .IX macro from man pages
2019-02-08 01:18:12 -05:00
Jonathan Bastien-Filiatrault
9bf7e43e20
ChangeLog entry as requested.
2018-12-31 09:21:11 -05:00
Jonathan Bastien-Filiatrault
43c91feac6
Document content debugging parameter.
2018-12-31 09:17:53 -05:00
Jonathan Bastien-Filiatrault
4175d75534
Merge remote-tracking branch 'upstream/master' into content_debugging
2018-12-31 09:10:24 -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
Jonathan Bastien-Filiatrault
6b4127f920
Don't insert an extra space at the end of the line when doing a soft fold.
...
Trailing whitespaces are best avoided.
2018-12-12 21:30:56 -05:00
Jonathan Bastien-Filiatrault
2d474d6b04
Do not take the name length into account on the second line when folding.
...
Setting namelen could have no effect, my guess is that this was the
original intention of the code.
This results in more efficient usage of lines.
2018-12-12 21:14:08 -05:00
Jonathan Bastien-Filiatrault
82bef5983b
Don't log message content by default.
...
Right now, it is quite easy to end up logging the whole message in the
log when verifying signatures. This can result in wasted resources
writing the log to disk and increasing memory usage. This can also be
a private data leak if logging is put in DEBUG in a production
environment.
2018-12-12 15:30:47 -05:00
Jonathan Bastien-Filiatrault
882d14c514
Avoid making a fresh slice of the whole email on each iteration.
...
An update to yesterday's patch. Should avoid copying the mail byte
string more than once.
Tested on Python 2.7 and 3.6.
2018-12-12 13:41:48 -05:00
Scott Kitterman
903cc902d9
Changelog and version for starting 0.9.2
2018-12-11 14:36:45 -05:00
Jonathan Bastien-Filiatrault
7dee16a5b1
Refactor canonicalization.py strip_trailing_lines to avoid using re for more consistent processing across python versions
2018-12-11 14:34:34 -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
Thomas Ward
4142cd1bd0
lack of Type Hinting for sign and verify functions, lp:1782596
2018-10-27 20:56:05 -04:00
Thomas Ward
a1ca321fa5
PEP8 Blank Lines Style Issues, lp:1782596
2018-10-27 20:53:32 -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
Daniel Hahler
906980f57a
tests: fix DeprecationWarnings for assertEquals
2018-06-16 17:28:10 -04:00
Daniel Hahler
0338aedcc6
Fix bare except statements for expected ImportErrors
2018-06-16 17:28:02 -04:00
Daniel Hahler
229ac42db9
tests: add "testing" extras
2018-06-16 17:27:35 -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