dachshund
c0f8ecc75c
Correctly check metadata of both compressed and uncompressed files.
2013-09-06 19:08:57 -04:00
dachshund
561ad496b7
Rename UpdateError exception to NoWorkingMirrorError.
2013-09-06 16:58:18 -04:00
dachshund
fa9b7ab632
Document new functions in updater.
2013-09-06 16:34:27 -04:00
dachshund
cdffedb8fb
Remove unnecessary code from test_updater.
2013-09-06 15:22:32 -04:00
dachshund
cba602a503
Try fix for updater unit test.
2013-09-06 14:46:48 -04:00
dachshund
def41f76bb
Shorter code.
2013-09-06 14:43:15 -04:00
dachshund
53f893781c
Fix a couple of bugs.
...
Read file before it is closed.
Remove incorrect slow retrieval defense.
2013-09-06 14:38:30 -04:00
dachshund
8d271bbb50
Better metadata verification.
2013-09-06 13:25:46 -04:00
dachshund
be749877dd
Remove MetadataNotAvailableError.
2013-09-06 11:17:33 -04:00
dachshund
0428a13969
Some WIP hacks for updater.
2013-09-05 18:13:11 -04:00
dachshund
3db83a7b73
Merge branch 'refactor-download-update' into demo2
...
Conflicts:
tuf/client/updater.py
2013-09-05 17:57:47 -04:00
dachshund
eacbe7ccd5
Merge branch 'develop' into refactor-download-update
2013-09-05 17:55:30 -04:00
dachshund
b681c54ee4
Merge branch 'develop' into path_hash_prefix
2013-09-05 17:53:01 -04:00
dachshund
c4557c2a0c
WIP on refactoring the updater and downloader.
2013-09-05 15:44:29 -04:00
dachshund
36a11f7f0a
Adapt the updater unit test against latest changes.
2013-09-05 00:23:23 -04:00
dachshund
74e5764a53
Merge with updater/download refactoring from @zanefisher.
...
Update download unit test to work after refactoring, but it is a little
incomplete (in particular, the unsafe_download function needs more testing).
2013-09-04 23:45:08 -04:00
dachshund
e7c2426f3c
Merge branch 'refactor-download-update' of https://github.com/zanefisher/tuf into refactor-download-update
2013-09-04 22:58:17 -04:00
dachshund
bc2af95baa
Merge https://github.com/zanefisher/tuf into refactor-download-update
2013-09-04 22:53:32 -04:00
zanefisher
5970ad8c25
Refactor client.updater, removing verification from download.py.
2013-09-04 20:12:51 -04:00
dachshund
3bbe4672d7
Replace generic exception with a specific one.
2013-09-04 17:29:06 -04:00
dachshund
d5272cfc7c
Add some exceptions for more fine-grained exception handling.
2013-09-04 16:48:38 -04:00
dachshund
70097a71cb
Revert "Check out my cool code."
...
This reverts commit 7497502087 .
2013-09-03 18:11:48 -04:00
dachshund
89e0b76ff6
Check out my cool code.
2013-09-03 18:11:00 -04:00
dachshund
f1b2b26dc1
Merge branch 'develop' into refactor-download-update
...
Conflicts:
tuf/tests/aggregate_tests.py
tuf/tests/test_signercli.py
tuf/tests/test_signerlib.py
tuf/tests/test_updater.py
2013-09-03 13:06:32 -04:00
dachshund
9734b68d15
Merge #99 .
2013-09-03 12:52:47 -04:00
vladdd
a11d26091f
Merge branch 'zanefisher-fix_tests' into develop
2013-08-30 14:59:45 -04:00
vladdd
1b367116da
Review Zane's unit test fixes and resolve merge conflicts
2013-08-30 14:58:41 -04:00
vladdd
c99a8d1a0c
Review Zane's unit test fixes and resolve merge conflicts
2013-08-30 14:56:33 -04:00
dachshund
5795348d51
Merge #96 .
2013-08-28 16:40:13 -04:00
dachshund
0eb31e05a8
Merge branch 'develop' into refactor-download-update
...
Conflicts:
tuf/client/updater.py
tuf/tests/test_download.py
tuf/tests/test_updater.py
2013-08-28 13:44:21 -04:00
zhengyuyu
dcae72c19d
delete signal import
2013-08-28 05:53:00 -04:00
zhengyuyu
6638089b99
Fix the slow retrieval attack issue
...
download.py:Add a timeout and rewrite the _fileobject.read()
test_slow_retrieval_attack.py:Add a new kind of slow retrieval attack
slow_retrieval_server.py:Modification for new kind of slow retrieval attack
2013-08-28 05:43:47 -04:00
ttgump
74c1d29a37
Update fix for endless-data-attack test.
2013-08-27 17:02:42 -04:00
ttgump
a50f759370
Merge remote-tracking branch 'upstream/develop'
...
Conflicts:
tuf/tests/system_tests/test_endless_data_attack.py
2013-08-27 15:59:32 -04:00
dachshund
76971e0e0d
Undo a line in tuf.log.
2013-08-27 15:22:08 -04:00
dachshund
5cdffa5bd7
Import chain-of-trust function from @vladdd.
2013-08-27 15:13:55 -04:00
dachshund
982684365a
Merge branch 'chain-of-trust' into path_hash_prefix
2013-08-27 14:54:06 -04:00
dachshund
9943599aab
Merge branch 'develop' into chain-of-trust
...
Conflicts:
tuf/log.py
2013-08-27 14:53:33 -04:00
dachshund
742417e48e
Merge branch 'develop' into path_hash_prefix
2013-08-27 14:52:24 -04:00
zanefisher
748da1eb58
Make aggregate tests randomization optional.
2013-08-26 15:35:28 -04:00
zanefisher
f10d970a75
Removed stray debug code.
2013-08-26 14:25:25 -04:00
zanefisher
4eb4b80182
Aggregate tests now passes. Moved various unit test code that ran on import into setup and teardown functions that are called at the appropriate time when run with other tests.
2013-08-26 14:18:20 -04:00
zanefisher
2ed03ee751
Merge remote-tracking branch 'upstream/master'
2013-08-19 17:16:41 -04:00
zanefisher
a990059329
Rewrote extraneous dependencies test, based on arbitrary package test.
2013-08-19 17:10:13 -04:00
zanefisher
794ba94b2d
Removed unnecessary imports from aggregate_tests.py.
2013-08-15 17:40:48 -04:00
vladdd
00ee27aeec
Update system tests following design change to log.py
2013-08-15 15:48:12 -04:00
zanefisher
51f491ede2
Merge remote-tracking branch 'upstream/master'
2013-08-15 14:56:49 -04:00
vladdd
6f6f60fdff
Update the unit tests affected by the design change to log.py
2013-08-15 14:33:35 -04:00
dachshund
02e5fa6206
Log to console when tuf.interposition is imported.
...
Reduce logging noise.
2013-08-14 13:22:34 -04:00
dachshund
e7ca5ef60a
Workaround hashing target paths with Unicode characters.
2013-08-14 11:06:13 -04:00