William Grant
|
9af52236fc
|
parse_tag_value now deals with bytes.
|
2011-03-19 18:47:51 +11:00 |
|
William Grant
|
88915e3a01
|
Fix some test_crypto literals to be byteses.
|
2011-03-19 18:45:04 +11:00 |
|
William Grant
|
dcf0580406
|
Open data files as binary for now.
|
2011-03-19 18:44:49 +11:00 |
|
William Grant
|
e0fca7e613
|
Stop using deprecated map().
|
2011-03-19 18:36:00 +11:00 |
|
William Grant
|
d5ffbac38a
|
EMSA_PKCS1_v_1_5_encode now works out the hash ID itself.
|
2011-03-19 17:14:14 +11:00 |
|
William Grant
|
fab1be9f2d
|
Comment key data.
|
2011-03-19 16:48:09 +11:00 |
|
William Grant
|
152458defe
|
Test RSASSA.
|
2011-03-19 16:39:57 +11:00 |
|
William Grant
|
2ee087da01
|
Extract parse_pem_private_key, and test it and parse_public_key.
|
2011-03-19 16:23:48 +11:00 |
|
William Grant
|
d79c856ef0
|
RSA tests.
|
2011-03-19 15:03:53 +11:00 |
|
William Grant
|
bcbf8feacf
|
Add int2str/str2int tests.
|
2011-03-17 22:47:50 +11:00 |
|
William Grant
|
916d61bdff
|
Add EMSA-PKCS1-v1_5-ENCODE tests. One fails because we don't require at least 8 bytes of padding.
|
2011-03-17 22:39:45 +11:00 |
|
William Grant
|
f1c9fe1911
|
Move dkim.util tests into test_util.
|
2011-03-16 23:20:52 +11:00 |
|
William Grant
|
9aea8985fb
|
Support multiple test modules.
|
2011-03-16 23:03:52 +11:00 |
|
William Grant
|
c19043d70f
|
Use a better, tested Tag=Value parser.
|
2011-03-12 12:28:39 +11:00 |
|
William Grant
|
e74405d27a
|
Raise more descriptive exceptions, DuplicateTag and InvalidTagSpec.
|
2011-03-12 12:24:55 +11:00 |
|
William Grant
|
f9c2c2dcd9
|
Add license header to test_dkim.
|
2011-03-10 09:32:15 +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
|
58525fbbd7
|
Add basic end-to-end signing and verification tests.
|
2011-03-09 20:10:18 +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 |
|