Commit graph

3274 commits

Author SHA1 Message Date
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
ttgump
eccc6b3201 unicode fix in python2 2013-08-08 16:24:03 -04:00
ttgump
aa6f2b6ddf unicode fix in python2 2013-08-08 16:24:03 -04:00
dachshund
65125bd401 Accommodate including compressed versions of release in timestamp. 2013-08-08 14:46:33 -04:00
dachshund
4e524a7dbf Accommodate including compressed versions of release in timestamp. 2013-08-08 14:46:33 -04:00
ttgump
1d30e94480 Merge remote-tracking branch 'upstream/master' 2013-08-08 13:52:28 -04:00
ttgump
976f281f0b Merge remote-tracking branch 'upstream/master' 2013-08-08 13:52:28 -04:00
dachshund
75d8945d96 Merge branch 'master' into path_hash_prefix 2013-08-08 12:59:40 -04:00
dachshund
9eb5df65c7 Merge branch 'master' into path_hash_prefix 2013-08-08 12:59:40 -04:00
dachshund
4943fef8ed Merge remote-tracking branch 'origin/master' 2013-08-08 12:59:13 -04:00
dachshund
94502d05e2 Merge remote-tracking branch 'origin/master' 2013-08-08 12:59:13 -04:00
dachshund
8479d462df Fix bugs with a library and a few unit tests.
Include a missing import for a library so that it does not throw a
runtime error.

Include missing imports for unit tests so that they are standalone.
2013-08-08 12:57:47 -04:00
dachshund
06082bb86c Fix bugs with a library and a few unit tests.
Include a missing import for a library so that it does not throw a
runtime error.

Include missing imports for unit tests so that they are standalone.
2013-08-08 12:57:47 -04:00
dachshund
eda6cfb8bc Fix some bugs with tests. 2013-08-08 12:52:19 -04:00
dachshund
d4a381ce3d Fix some bugs with tests. 2013-08-08 12:52:19 -04:00
vladdd
bb94f426f2 Update updater.py to also check for compressed versions of targets.txt
Also added a comment to make it obvious that referenced_metadata should always be release for delegated roles.
2013-08-08 12:23:40 -04:00
vladdd
74120cc507 Update updater.py to also check for compressed versions of targets.txt
Also added a comment to make it obvious that referenced_metadata should always be release for delegated roles.
2013-08-08 12:23:40 -04:00