Commit graph

1590 commits

Author SHA1 Message Date
vladdd
ffd4f485ed Store in .key files the number of PBKDF2 iterations used 2013-09-12 12:58:56 -04:00
vladdd
8c7bee515a Relocate the default PBKDF2 iterations to tuf.conf 2013-09-12 12:50:11 -04:00
vladdd
04c4ffe2e2 Merge branch 'demo2' of https://github.com/theupdateframework/tuf into demo2 2013-09-12 08:14:47 -04:00
vladdd
c390c41ed6 Merge branch 'demo2' of https://github.com/theupdateframework/tuf into demo2 2013-09-12 08:14:47 -04:00
vladdd
dc146f97a1 Fix test_util_test_tools.py test case failure
Clear the keystore before initializing the util_test_tools.py repository and again after every test case exits.
2013-09-12 08:14:18 -04:00
vladdd
3111c22c63 Fix test_util_test_tools.py test case failure
Clear the keystore before initializing the util_test_tools.py repository and again after every test case exits.
2013-09-12 08:14:18 -04:00
dachshund
dd0919c673 Merge remote-tracking branch 'origin/demo2' into demo2 2013-09-11 17:46:47 -04:00
dachshund
d39264b94c Merge remote-tracking branch 'origin/demo2' into demo2 2013-09-11 17:46:47 -04:00
dachshund
26551b95c9 Fix #102. 2013-09-11 17:46:29 -04:00
dachshund
f026a998a9 Fix #102. 2013-09-11 17:46:29 -04:00
vladdd
a749c1d6bf Fix test_keystore.py unit test failure
Ensure the keystore is empty prior to running the test cases.  The courtesy bug is spreading.
2013-09-11 13:33:28 -04:00
vladdd
a1132af5af Fix test_keystore.py unit test failure
Ensure the keystore is empty prior to running the test cases.  The courtesy bug is spreading.
2013-09-11 13:33:28 -04:00
vladdd
b7d86eca36 Fix unit test failure in test_roledb.py
Ensure roledb is empty prior to running the test cases.  roledb.py may have been modified by other unit tests that did not properly clean up.
2013-09-11 12:36:44 -04:00
vladdd
7e98cb8269 Fix unit test failure in test_roledb.py
Ensure roledb is empty prior to running the test cases.  roledb.py may have been modified by other unit tests that did not properly clean up.
2013-09-11 12:36:44 -04:00
vladdd
51997cba5d Merge branch 'demo2' of https://github.com/theupdateframework/tuf into demo2 2013-09-11 11:04:48 -04:00
vladdd
ae1f549a49 Merge branch 'demo2' of https://github.com/theupdateframework/tuf into demo2 2013-09-11 11:04:48 -04:00
vladdd
793050be14 Continue self-review of PyCrypto changes to keystore.py 2013-09-11 11:03:52 -04:00
vladdd
3a7638ecec Continue self-review of PyCrypto changes to keystore.py 2013-09-11 11:03:52 -04:00
dachshund
96c0aaaa9e Replace relative with absolute imports for tests. 2013-09-10 17:33:00 -04:00
dachshund
59dfa1f5ba Replace relative with absolute imports for tests. 2013-09-10 17:33:00 -04:00
vladdd
d826a8ac6a Review and update crypto comments in rsa_key.py 2013-09-10 13:23:46 -04:00
vladdd
230b157c22 Review and update crypto comments in rsa_key.py 2013-09-10 13:23:46 -04:00
vladimir-v-diaz
87df16efe4 Merge branch 'demo2' of https://github.com/theupdateframework/tuf into demo2 2013-09-10 10:20:34 -04:00
vladimir-v-diaz
99a26da9d0 Merge branch 'demo2' of https://github.com/theupdateframework/tuf into demo2 2013-09-10 10:20:34 -04:00
dachshund
9cbffa1660 Merge unit test fix from @zanefisher; fix a unit test bug. 2013-09-10 00:56:30 -04:00
dachshund
864d3065a8 Merge unit test fix from @zanefisher; fix a unit test bug. 2013-09-10 00:56:30 -04:00
dachshund
a8d32a2220 Merge branch 'demo2' of https://github.com/zanefisher/tuf into demo2
Conflicts:
	tests/unit/test_updater.py
2013-09-10 00:39:49 -04:00
dachshund
9bd35596c9 Merge branch 'demo2' of https://github.com/zanefisher/tuf into demo2
Conflicts:
	tests/unit/test_updater.py
2013-09-10 00:39:49 -04:00
dachshund
c20f0a1455 Even better organization of tests; remove evpy.
Require higher versions of PyCrypto.
2013-09-10 00:24:34 -04:00
dachshund
78344636de Even better organization of tests; remove evpy.
Require higher versions of PyCrypto.
2013-09-10 00:24:34 -04:00
zanefisher
dcd71ab1b7 Clean up download function patching in test_updater's module teardown. 2013-09-09 22:32:26 -04:00
zanefisher
85567f4ec2 Clean up download function patching in test_updater's module teardown. 2013-09-09 22:32:26 -04:00
dachshund
4bd5433c23 Much better organization of tests. 2013-09-09 22:14:01 -04:00
dachshund
0fd533a9b4 Much better organization of tests. 2013-09-09 22:14:01 -04:00
dachshund
04494ec657 Fix a bug in updater unit test. 2013-09-09 21:32:09 -04:00
dachshund
7042418281 Fix a bug in updater unit test. 2013-09-09 21:32:09 -04:00
dachshund
9ddd2617f5 Redundantly verify file length in updater.
You may argue that the redundancy is unnecessary (pun intended), but it
is there because redundancy means one safety check will work where
another fails. I introduced this redundant file length check because the
updater unit test is mocking the download functions, which means that
file length checks in the download functions are being bypassed.
Redundancy is a good thing for safety.
2013-09-09 21:21:32 -04:00
dachshund
f72f5751d1 Redundantly verify file length in updater.
You may argue that the redundancy is unnecessary (pun intended), but it
is there because redundancy means one safety check will work where
another fails. I introduced this redundant file length check because the
updater unit test is mocking the download functions, which means that
file length checks in the download functions are being bypassed.
Redundancy is a good thing for safety.
2013-09-09 21:21:32 -04:00
dachshund
a7f14e5334 Rename system->integration tests. 2013-09-09 17:00:11 -04:00
dachshund
6f19f94867 Rename system->integration tests. 2013-09-09 17:00:11 -04:00
dachshund
6e27806b80 Use relative, instead of absolute, imports in system tests. 2013-09-09 16:54:27 -04:00
dachshund
7dbf4d459a Use relative, instead of absolute, imports in system tests. 2013-09-09 16:54:27 -04:00
dachshund
3945520a67 Relative, instead of absolute, imports in unit tests. 2013-09-09 16:51:01 -04:00
dachshund
baf4d5b269 Relative, instead of absolute, imports in unit tests. 2013-09-09 16:51:01 -04:00
dachshund
1efc1ee5b9 Remove console logging from the wrong place. 2013-09-09 16:05:51 -04:00
dachshund
a3c63a3678 Remove console logging from the wrong place. 2013-09-09 16:05:51 -04:00
dachshund
9877d8b1b6 Fix #74. 2013-09-09 15:48:43 -04:00
dachshund
1e245237ee Fix #74. 2013-09-09 15:48:43 -04:00
vladdd
43d11144e5 Add pycrypto requirement to setup.py 2013-09-09 14:40:08 -04:00
vladdd
c12cb52aa3 Add pycrypto requirement to setup.py 2013-09-09 14:40:08 -04:00