Commit graph

1590 commits

Author SHA1 Message Date
ttgump
39291759e3 Merge remote-tracking branch 'zanefork/master' 2013-08-13 18:48:30 -04:00
ttgump
8232ab0394 Merge remote-tracking branch 'zanefork/master' 2013-08-13 18:48:30 -04:00
zanefisher
280d7a0362 Randomized order of aggragate tests. Added teardown code to some unit tests. 2013-08-13 18:41:38 -04:00
zanefisher
f8d699e62b Randomized order of aggragate tests. Added teardown code to some unit tests. 2013-08-13 18:41:38 -04:00
ttgump
64e23b7f84 Merge remote-tracking branch 'upstream/master'
borts
2013-08-13 18:09:11 -04:00
ttgump
34aed4baee Merge remote-tracking branch 'upstream/master'
borts
2013-08-13 18:09:11 -04:00
ttgump
1bf884ab68 Pull from upstream 2013-08-13 14:57:03 -04:00
ttgump
1e3b9cfcad Pull from upstream 2013-08-13 14:57:03 -04:00
dachshund
cef4f8df87 Merge branch 'master' into path_hash_prefix 2013-08-13 13:40:21 -04:00
dachshund
e86f458a2f Merge branch 'master' into path_hash_prefix 2013-08-13 13:40:21 -04:00
vladdd
5cbb8c48f9 Refactor log.py and change the default logging behavior
Previously, logging messages were written to "tuf.log" *and* and the console, by default.  Modules had to explicitly disable the logger to silence console messages.  TUF, when integrated by a software updater, should not log messages to console by default.  The design change now forces modules to call tuf.log.add_console_handler() to enable logging messages to console.  The logger, file, and console handlers may have independent logging levels.
2013-08-13 12:19:31 -04:00
vladdd
54e7ba0f32 Refactor log.py and change the default logging behavior
Previously, logging messages were written to "tuf.log" *and* and the console, by default.  Modules had to explicitly disable the logger to silence console messages.  TUF, when integrated by a software updater, should not log messages to console by default.  The design change now forces modules to call tuf.log.add_console_handler() to enable logging messages to console.  The logger, file, and console handlers may have independent logging levels.
2013-08-13 12:19:31 -04:00
dachshund
3ec3b8bc05 Return interposition configurations. 2013-08-12 19:18:54 -04:00
dachshund
8d70be920c Return interposition configurations. 2013-08-12 19:18:54 -04:00
dachshund
7936324dff Updaters now clean up after deconfiguration. 2013-08-12 17:29:57 -04:00
dachshund
853331b4ff Updaters now clean up after deconfiguration. 2013-08-12 17:29:57 -04:00
vladdd
ae3b51ab3d Confirm unit tests run properly individually & fix test_keystore
"test_keystore.py" logged TUF messages if run individually.
2013-08-12 12:47:26 -04:00
vladdd
a6ccdc9eec Confirm unit tests run properly individually & fix test_keystore
"test_keystore.py" logged TUF messages if run individually.
2013-08-12 12:47:26 -04:00
vladdd
28601181cf Review and confirm issue #63 2013-08-12 12:20:48 -04:00
vladdd
dc3f9680fe Review and confirm issue #63 2013-08-12 12:20:48 -04:00
dachshund
5fb9bc3cd2 Better formatting of error message. 2013-08-12 12:03:41 -04:00
dachshund
a823464ad9 Better formatting of error message. 2013-08-12 12:03:41 -04:00
dachshund
4cf2041bc8 Merge remote-tracking branch 'origin/path_hash_prefix' into path_hash_prefix
Conflicts:
	tuf/client/updater.py
2013-08-12 06:09:29 -04:00
dachshund
36c7b17d13 Merge remote-tracking branch 'origin/path_hash_prefix' into path_hash_prefix
Conflicts:
	tuf/client/updater.py
2013-08-12 06:09:29 -04:00
dachshund
b082f7af19 Read from and write to a list of path hash prefixes. 2013-08-12 00:47:08 -04:00
dachshund
77a868c58d Read from and write to a list of path hash prefixes. 2013-08-12 00:47:08 -04:00
vladdd
38b9cd8cb6 Fix mistaken argument to method and reduce logger messages
The argument to metadata_object.move() should have been the uncompressed filename.  metadata_object was saving the uncompressed version of targets but naming them as if it was compressed.  Modified a few logger calls to reduce the number of messages.
2013-08-11 17:47:37 -04:00
vladdd
8d53442cb0 Fix mistaken argument to method and reduce logger messages
The argument to metadata_object.move() should have been the uncompressed filename.  metadata_object was saving the uncompressed version of targets but naming them as if it was compressed.  Modified a few logger calls to reduce the number of messages.
2013-08-11 17:47:37 -04:00
dachshund
113cff4791 Merge remote-tracking branch 'origin/path_hash_prefix' into path_hash_prefix 2013-08-10 20:07:45 -04:00
dachshund
6c40457f59 Merge remote-tracking branch 'origin/path_hash_prefix' into path_hash_prefix 2013-08-10 20:07:45 -04:00
dachshund
3d61a05762 Correctly mock some HTTP headers. 2013-08-10 20:07:21 -04:00
dachshund
d3eb6de8a7 Correctly mock some HTTP headers. 2013-08-10 20:07:21 -04:00
vladdd
989168a8d7 Allow compressed versions of release.txt to properly update 2013-08-09 16:05:49 -04:00
vladdd
9599f3e58c Allow compressed versions of release.txt to properly update 2013-08-09 16:05:49 -04:00
dachshund
4d66ea3fee Fixed a few bugs and refactored the target workflow. 2013-08-09 14:10:21 -04:00
dachshund
5c1290611f Fixed a few bugs and refactored the target workflow. 2013-08-09 14:10:21 -04:00
dachshund
24ef7665ad Interim bugfixes in updating. 2013-08-09 12:48:42 -04:00
dachshund
58a6b5e337 Interim bugfixes in updating. 2013-08-09 12:48:42 -04:00
vladdd
e5731749bf Modify _ensure_all_targets_allowed() to also work with path_hash_prefix 2013-08-09 12:13:01 -04:00
vladdd
7f8bbd4003 Modify _ensure_all_targets_allowed() to also work with path_hash_prefix 2013-08-09 12:13:01 -04:00
vladdd
f214d9019e Expand comment and add missing prefix comparison in updater.target() 2013-08-09 10:43:26 -04:00
vladdd
be669795f9 Expand comment and add missing prefix comparison in updater.target() 2013-08-09 10:43:26 -04:00
vladdd
37a38d5a11 Merge branch 'master' of https://github.com/theupdateframework/tuf 2013-08-09 08:30:41 -04:00
vladdd
121fca7a6d Merge branch 'master' of https://github.com/theupdateframework/tuf 2013-08-09 08:30:41 -04:00
vladdd
45203d25d1 Update tuf-spec.txt and implement "lazy bin walk"
tuf-spec.txt was updated to include the latest metadata changes, such as version numbers, and the "lazy bin walk" scheme was implemented in updater.py.
2013-08-09 08:29:57 -04:00
vladdd
609bbe084e Update tuf-spec.txt and implement "lazy bin walk"
tuf-spec.txt was updated to include the latest metadata changes, such as version numbers, and the "lazy bin walk" scheme was implemented in updater.py.
2013-08-09 08:29:57 -04:00
dachshund
ce96d6c168 Try decompressing alleged JSON files with gzip in some cases. 2013-08-08 17:41:46 -04:00
dachshund
d9c10c3eed Try decompressing alleged JSON files with gzip in some cases. 2013-08-08 17:41:46 -04:00
dachshund
f8bbc6b7ce Fix bug due to typo. 2013-08-08 17:07:00 -04:00
dachshund
c3cc968594 Fix bug due to typo. 2013-08-08 17:07:00 -04:00