Vladimir Diaz
7bf14b3bc4
Review 'test_replay_attack'
2015-10-27 17:24:57 -04:00
Vladimir Diaz
2541276320
Review 'test_mix_and_match_attack.py
2015-10-27 17:22:14 -04:00
Vladimir Diaz
25d98780fb
Review 'test_extraneous_dependencies_attack.py'
2015-10-27 17:15:46 -04:00
Vladimir Diaz
0912495b2b
Review 'test_formats.py'
2015-10-27 16:55:51 -04:00
Vladimir Diaz
4cb851ca0a
Fix remaining issues with unit tests after implementing version numbers in snapshot.json
2015-10-27 16:11:11 -04:00
Vladimir Diaz
987411ff04
Resolve remaining issues with writing / loading the new changes
2015-10-20 09:16:39 -04:00
Vladimir Diaz
14ca0d1565
Update the repository test data following the addition of the 'compression algorithms' key in root.json
2015-10-20 09:14:21 -04:00
Vladimir Diaz
d993ccf35e
Generate a repository for the unit tests that contains the changes to the snapshot role
2015-10-15 09:53:54 -04:00
Vladimir Diaz
7bbdd87117
Update the unit test for updater.py after implementing versioninfo
2015-10-15 09:52:14 -04:00
Vladimir Diaz
3fc1e59000
Initial implementation of stored version numbers in snapshot.json
2015-09-22 07:31:30 -04:00
Vladimir Diaz
e9b2271e6d
Check the format of 'data' arguments in pycrypto_keys.py
2015-08-31 15:33:51 -04:00
Vladimir Diaz
398555f32e
Review edits up to create_rsa_encrypted_pem().
...
Add checks against invalid 'data' arguments in relevant functions.
2015-08-28 17:24:57 -04:00
Vladimir Diaz
bc0ba6b8d8
Add whitespace for readability
2015-08-26 17:31:21 -04:00
Vladimir Diaz
116f3b335b
Remove incorrectly loaded 'snapshot' key in test case
2015-08-26 11:09:30 -04:00
Vladimir Diaz
97d6f5edb8
Remove status() checks used during debugging
2015-08-26 11:08:18 -04:00
Vladimir Diaz
6cbebc0606
Temporarily disable check for non-string arguments to the rsa signature methods
...
TODO: Modify these functions to check for non-string arguments.
2015-08-26 11:07:30 -04:00
Vladimir Diaz
115b2d2bce
Ensure the PSS defaults used by PyCrypto match those set with pyca/cryptography's
2015-08-05 14:51:27 -04:00
Vladimir Diaz
b2132e3c72
Support enryption + decryption with pyca/cryptography
2015-07-30 10:19:44 -04:00
Vladimir Diaz
af85746713
Support for pyca/cryptography
2015-07-21 10:16:20 -04:00
Vladimir Diaz
7a07179279
Fix shebang statment in unit test module
2015-06-02 10:31:03 -04:00
Vladimir Diaz
47471db40f
Add import statements for unvendored dependencies in the unit tests
2015-06-02 10:28:02 -04:00
Vladimir Diaz
1c8f41b0c0
Update import statements of unvendored dependencies
2015-06-02 08:29:22 -04:00
Vladimir Diaz
6b0d060c48
Update test_util.py
...
Remove print statements.
2015-05-04 23:52:20 -04:00
Vladimir Diaz
2f49561aa4
Protect against timing attacks when comparing digests
...
Thank you Marcin W. for spotting this.
2015-05-04 23:07:52 -04:00
Vladimir Diaz
16685d2ff3
Add configuration option for supported URI schemes
...
Support only 'http' and 'https' by default. Thanks Marcin W.
2015-05-04 15:34:22 -04:00
Vladimir Diaz
d9e3ce4ce1
Expand comment for incomplete test case (testing consistent snapshots) in test_updater.py
2015-04-27 20:25:52 -04:00
Vladimir Diaz
c97d9a022d
Force build failure if any of the unit tests fail
2015-04-27 18:32:09 -04:00
Vladimir Diaz
230920f74e
Minor code coverage improvement to updater.py
2015-04-27 18:30:55 -04:00
Vladimir Diaz
98df2014b6
Fix minors issues with strings and remove print statements
2015-04-06 21:29:21 -04:00
Vladimir Diaz
110c8a196b
Improve code coverage for updater.py
2015-04-06 20:05:41 -04:00
Vladimir Diaz
75eb79534c
Improve code coverage for repository_lib.py
2015-04-03 13:46:43 -04:00
Vladimir Diaz
3293745d05
Improve code coverage for repository_tool.py
2015-04-02 16:38:18 -04:00
Vladimir Diaz
003847e73f
Improve code coverage for download.py
2015-04-02 16:37:47 -04:00
Vladimir Diaz
23083fae12
Improve code coverage for repository_lib.py
2015-04-02 16:37:11 -04:00
Vladimir Diaz
55e9e952b6
Improve code coverage for pycrypto_keys.py
2015-04-02 16:35:45 -04:00
Vladimir Diaz
f6b5927238
Improve code coverage for util.py
2015-04-02 16:34:52 -04:00
Vladimir Diaz
afd8bfd390
Improve code coverage for log.py
2015-04-02 16:33:39 -04:00
Vladimir Diaz
7e8cd6a56d
Add test module for tuf exceptions
2015-04-02 16:33:06 -04:00
Vladimir Diaz
3eb8f10710
More coverage improvements
2015-03-02 15:10:27 -05:00
Vladimir Diaz
b7cf7e6588
Improve each module's code coverage to at least 90%
...
Update unit tests for download.py, repository_lib.py, repository_tool.py, and updater.py.
Re-generate repository data so that compressed metadata may be tested.
2015-02-11 13:22:46 -05:00
Vladimir Diaz
fc80976fc4
Remove extraneous closing parenthesis
2015-02-06 14:51:57 -05:00
Vladimir Diaz
623820c6ac
Cosmetic edits to test_interpose_updater.py
2015-02-05 15:24:43 -05:00
Vladimir Diaz
90a283d589
Add initial Python 2+3 compatibility
2015-02-04 17:45:24 -05:00
Vladimir Diaz
4c4286cc63
Merge branch 'develop' of https://github.com/Pankh/tuf into Pankh-develop
2014-12-15 12:54:33 -05:00
Pankh
f6e0fecf07
Add header to test_interpose_updater
2014-10-22 14:44:31 -04:00
Pankh
b843684aee
To merge the updates of Master branch
2014-09-29 14:45:24 -04:00
Pankh
7f64aad061
Test cases for tuf.interposition.updater with 98% coverage
2014-09-29 14:34:11 -04:00
Vladimir Diaz
3c9b1d0068
Add missed test coverage for updater.py's init().
...
Add test condition for missing previous directory in init().
2014-09-02 14:46:36 -04:00
Vladimir Diaz
419b1ca85e
Log debug message for roles that are skipped in util.find_delegated_role().
2014-08-20 12:27:06 -04:00
Vladimir Diaz
30f551131f
Update test_keys.py
...
Strip PEM footer and reorder PEM header / footer test conditions.
2014-07-19 08:52:57 -04:00