Commit graph

101 commits

Author SHA1 Message Date
vladdd
75c7ea5138 Update test_extraneous_dependencies_attack.py.
Remove text inserted and improperly removed from a previous merge conflict.
2014-02-03 12:45:17 -05:00
vladdd
a22099699e Resolve remaining unit test failures.
Update the remaining unit tests following the many design changes.  The unit tests should next be factored to use repository_tool.py, avoid pseudo repositories and repository objects, monkey patching, etc.
2014-01-31 14:47:48 -05:00
Vladimir Diaz
7b27fcec64 Continue unit test updates. 2014-01-30 13:06:33 -05:00
Vladimir Diaz
36b59f922e Continue updating unit tests and modify ROOT_SCHEMA. 2014-01-30 08:11:35 -05:00
Vladimir Diaz
009ddd9f37 Rename top-level role and functions of repository_tool.py. Update documentation and diagram.
add_key() -> add_verification_key()
remove_key() -> remove_verification_key()
release.json -> snapshot.json
Update repository_tool-diagram.png
Update README following the renamed functions and release role changes.
Minor edits, such as removing lint left over from a previous merge conflict.
2014-01-29 11:26:56 -05:00
Vladimir Diaz
3b5e0c0814 Merge 'develop' and resolve conflicts. 2014-01-27 13:35:11 -05:00
Vladimir Diaz
d380997b75 Minor edits, merge, and resolve conflicts. 2014-01-27 13:15:03 -05:00
zanefisher
43eb5633c4 Modify test code following review from Vladimir 2014-01-07 14:20:20 -05:00
Vladimir Diaz
c58906f9c2 Fix for issue #153
Update the key modules and their unit tests so that only the signature scheme is included in the signature label.

PyCrypto-PKCS#1 PSS -> RSASSA-PSS
ed25519-python and ed25519-pynacl -> ed25519
2013-11-27 12:11:16 -05:00
Vladimir Diaz
191f32aa74 Continue refactor of libtuf.py 2013-11-25 15:01:27 -05:00
Vladimir
3ca6261f79 Merge and resolve conflicts 2013-11-15 10:09:59 -05:00
vladdd
45af91191a Update docstrings and comments in keys.py
Configurable crypto changes previously implemented but the docstrings and comments of keys.py still needed updating.  Minor edit to test_keys.py and a note added about a missing test case.
2013-10-18 14:01:51 -04:00
vladdd
760cd62d4e Rename functions in keys.py and update test_keys.py
create_in_metadata_format --> format_keyval_to_metadata
create_from_metadata_format --> format_metadata_to_key
2013-10-17 14:05:26 -04:00
vladdd
05f7826b59 Update test_pycrypto_keys.py after pycrypto_keys.py changes 2013-10-17 13:01:32 -04:00
vladdd
76d7796c4e Merge branch 'develop' of https://github.com/theupdateframework/tuf into integration-tests-python3 2013-10-14 09:36:29 -04:00
vladdd
dc84e051e6 Update the valid expiration data 2013-10-14 09:20:49 -04:00
vladdd
7e593963a9 Complete test_verify_signature() in test_ed25519_keys.py 2013-10-14 08:41:38 -04:00
vladdd
7e948f342c Add initial test_ed25519_keys.py
test_verify_signature() incomplete.
2013-10-11 13:01:46 -04:00
vladdd
81a15147b2 Add remaining test cases in test_pycrypto_keys.py 2013-10-11 10:15:09 -04:00
vladdd
2f61272c28 Update test cases moved over to test_pycrypto_keys.py
test cases updated with configurable crypto changes.
2013-10-11 09:07:25 -04:00
vladdd
ac6dade0dc Move test cases to test_pycrypto_keys.py 2013-10-10 14:56:56 -04:00
vladdd
a091b1f84b Add test_keys.py and update keys.py 2013-10-10 14:01:55 -04:00
vladdd
31d603c710 Update all unit tests affected by configurable crypto
Add separate 'tuf.conf.py' options for key types.
2013-10-10 12:19:46 -04:00
zanefisher
c941eda8d2 Changes following Santiago\'s review. 2013-10-04 14:00:36 -04:00
zanefisher
0b9d2e223f Python 3 compatibility for arbitrary package and etraneous dependency tests. 2013-10-02 13:03:52 -04:00
zanefisher
b2ac2e82f2 Remove unnecessary import from extraneous dependencies test. 2013-09-30 14:52:37 -04:00
zanefisher
eca682a58a Add case for BadSignatureError to arbitrary package and extraneous dependencies tests. 2013-09-30 13:20:09 -04:00
vladdd
e848dac0f3 test_slow_retrieval_attack.py: Python 3 compatability
Fixed indentation and outdated comment.
2013-09-23 21:23:26 -04:00
vladdd
fc08f5181b test_replay_attack.py: Python 3 compatability
Also fix indentation.
2013-09-23 21:18:52 -04:00
vladdd
f62ed3a019 test_mix_and_match_attack.py: Python 3 compatability 2013-09-23 21:16:55 -04:00
vladdd
7c882b70c7 test_indefinite_freeze_attack.py: Python 3 compatability 2013-09-23 21:13:34 -04:00
vladdd
2f32ea9424 test_extraneous_dependencies_attack.py: python 3 compatability
Also fix print statements.
2013-09-23 21:07:35 -04:00
vladdd
67b886d5e0 test_endless_data_attack.py: Fix indentation
Also help with Python 3 compatability.
2013-09-23 21:02:17 -04:00
vladdd
3f41b96f7f Fix extraneous new lines in test_delegations.py 2013-09-23 20:55:34 -04:00
vladdd
0a94661d99 Fix print statements and help with python 3 compatability
test_arbitrary_package_attack.py.
2013-09-23 20:52:16 -04:00
vladdd
7d691011e5 Resolve conflicts from demo 2 updates 2013-09-23 13:38:18 -04:00
dachshund
d9e952ef5b Fix replay attack integration test.
Merge remote-tracking branch 'origin/demo2' into demo2

Conflicts:
	tests/integration/test_replay_attack.py
2013-09-17 23:02:17 -04:00
dachshund
b0e328be53 Fix replay attack integration test.
Merge remote-tracking branch 'origin/demo2' into demo2

Conflicts:
	tests/integration/test_replay_attack.py
2013-09-17 23:02:17 -04:00
dachshund
7eb834ab84 Fix replay attack integration test. 2013-09-17 22:59:26 -04:00
dachshund
4e42a091a2 Fix replay attack integration test. 2013-09-17 22:59:26 -04:00
vladdd
c2689280b0 Resolve merge conflicts 2013-09-17 21:10:51 -04:00
vladdd
b17b53112c Resolve merge conflicts 2013-09-17 21:10:51 -04:00
vladdd
ac2e7b5e15 Merge branch 'demo2' of https://github.com/theupdateframework/tuf into demo2 2013-09-17 20:23:11 -04:00
vladdd
81831b861e Merge branch 'demo2' of https://github.com/theupdateframework/tuf into demo2 2013-09-17 20:23:11 -04:00
vladdd
071190d18b Fix docstring indentation in test_arbitrary_package_attack.py 2013-09-17 20:20:55 -04:00
vladdd
98ae4a6d68 Fix docstring indentation in test_arbitrary_package_attack.py 2013-09-17 20:20:55 -04:00
dachshund
76326f82d1 Merge #108. 2013-09-17 20:02:54 -04:00
dachshund
91aff1c420 Merge #108. 2013-09-17 20:02:54 -04:00
dachshund
e210decd61 Merge branch 'demo2' of https://github.com/zhengyuyu/tuf into zhengyuyu-demo2 2013-09-17 19:38:26 -04:00
dachshund
61be096ad9 Merge branch 'demo2' of https://github.com/zhengyuyu/tuf into zhengyuyu-demo2 2013-09-17 19:38:26 -04:00