William Grant
|
f9c2c2dcd9
|
Add license header to test_dkim.
|
2011-03-10 09:32:15 +11:00 |
|
William Grant
|
cbe755269c
|
Restore erroneously removed license header.
|
2011-03-10 09:31:03 +11:00 |
|
William Grant
|
bbe60e0646
|
int2str returns a string instead of a list, so the ''.join() is redundant.
|
2011-03-10 00:05:42 +11:00 |
|
William Grant
|
7526317dfe
|
Unexport EMSA_PKCS1_v1_5_encode; it's only used by RSASSA_PKCS1_v1_5_*.
|
2011-03-10 00:03:26 +11:00 |
|
William Grant
|
c82703cea9
|
Implement RSASSA-PKCS1-v1_5 in dkim.crypto, and use that in verify() and sign(). Move str2int/int2str into dkim.crypto. Verification no longer does a constant-time string compare; there is no private key involved on which a timing attack could be performed.
|
2011-03-10 00:03:15 +11:00 |
|
William Grant
|
5898094fe1
|
Factor out RSA into perform_rsa.
|
2011-03-09 23:37:59 +11:00 |
|
William Grant
|
6f715a1a01
|
Extract crypto stuff to dkim.crypto.
|
2011-03-09 23:27:04 +11:00 |
|
William Grant
|
b6d3502f9e
|
Split ASN.1 utilities out into their own file.
|
2011-03-09 23:23:01 +11:00 |
|
William Grant
|
b3225a0a24
|
Extract parse_private_key.
|
2011-03-09 23:14:11 +11:00 |
|
William Grant
|
fb2d8678fd
|
Use parse_tag_value in verify().
|
2011-03-09 22:54:41 +11:00 |
|
William Grant
|
42a463cc23
|
Test that whitespace around tags and values is stripped.
|
2011-03-09 22:50:08 +11:00 |
|
William Grant
|
f8fb2d952d
|
Fail if there is a duplicate tag.
|
2011-03-09 22:48:34 +11:00 |
|
William Grant
|
98c72db3b1
|
Add a (hopefully correct) Tag=Value list parser, with tests.
|
2011-03-09 22:46:17 +11:00 |
|
William Grant
|
a6374ed26d
|
Extract signature field validation.
|
2011-03-09 21:40:51 +11:00 |
|
William Grant
|
ece86c0e67
|
Shrink the mandatory fields check.
|
2011-03-09 21:36:46 +11:00 |
|
William Grant
|
2437ab75a3
|
Extract public key parsing.
|
2011-03-09 21:21:58 +11:00 |
|
William Grant
|
160fb39e39
|
Extract hash_headers.
|
2011-03-09 20:59:10 +11:00 |
|
William Grant
|
405757ef49
|
Use the new EMSA-PKCS1-v1_5 function in verify() too.
|
2011-03-09 20:49:45 +11:00 |
|
William Grant
|
c859c87c73
|
Take the hash ID as an arg.
|
2011-03-09 20:44:12 +11:00 |
|
William Grant
|
bcbe6d19aa
|
Start ripping out EMSA-PKCS1-v1_5.
|
2011-03-09 20:37:04 +11:00 |
|
William Grant
|
b165714c52
|
Remove old test which was specific to the original upstrea.
|
2011-03-09 20:16:53 +11:00 |
|
William Grant
|
58525fbbd7
|
Add basic end-to-end signing and verification tests.
|
2011-03-09 20:10:18 +11:00 |
|
William Grant
|
fbe24a0001
|
Allow callers to override the DNS function used by verify().
|
2011-03-09 20:10:04 +11:00 |
|
William Grant
|
97ec4a65a4
|
Add TESTING section to README.
|
2011-03-09 18:49:18 +11:00 |
|
William Grant
|
3fa5c5263a
|
Add testrepository config.
|
2011-03-09 18:47:27 +11:00 |
|
William Grant
|
508ad7ceec
|
Add a couple of tests for fold(). One disabled, because the function is broken.
|
2011-03-09 18:47:11 +11:00 |
|
William Grant
|
df2c20d4b3
|
Turn dkim into a package.
|
2011-03-09 18:07:27 +11:00 |
|
Scott Kitterman
|
25d3294b30
|
* Add man page install to setup.py.
|
2011-03-08 01:24:27 -05:00 |
|
Scott Kitterman
|
9e6246cc35
|
* Add man directory and dkimsign.1/dkimverify.1 from Debian package.
|
2011-03-07 23:33:23 -05:00 |
|
Scott Kitterman
|
009a0bc15e
|
* Fix incorrect key record validation failures due to invalid assumptions about
public key record requirements
* Remove extraneous dkim.py.orig file
|
2011-03-07 23:28:10 -05:00 |
|
Scott Kitterman
|
4cc38d62fd
|
Start with pydkim 0.3.
|
2011-03-07 23:25:49 -05:00 |
|