Commit graph

3274 commits

Author SHA1 Message Date
Vladimir Diaz
c2805cc628 Fix remaining unit test failure for test_updater.py
Make sure <digest>.target_filename can be requested by clients.  Writing a new targets.json causes consistent target files to be written to disk.
2016-08-05 15:42:08 -04:00
Vladimir Diaz
f05fdd9c05 Fix remaining test failures 2016-08-04 15:37:49 -04:00
Vladimir Diaz
81a147614b Add initial support for specifying Unix shell-style wildcards in paths 2016-08-04 10:59:15 -04:00
Vladimir Diaz
89bb03c9f6 Merge pull request #349 from ecordell/fix-update
Fix all_targets in updater
2016-08-04 10:09:51 -04:00
Vladimir Diaz
1b62f23b7c Merge pull request #350 from vladimir-v-diaz/update_roles_without_needing_targets
Allow roles to be written without needing target files to exist on the repository
2016-08-04 09:50:32 -04:00
Vladimir Diaz
39ffc7c0f8 Allow repository tool to write() without needing target files to exist 2016-08-04 09:40:54 -04:00
Evan Cordell
1f2a81997b Fix all_targets in updater 2016-08-04 08:15:29 -04:00
Vladimir Diaz
aceb1a87b4 Merge branch 'develop' of github.com:theupdateframework/tuf into update_roles_without_needing_targets 2016-08-03 16:48:41 -04:00
Vladimir Diaz
2cbeff15e9 Merge pull request #345 from akanbrown/patch-3
Update README.rst
2016-08-03 16:11:59 -04:00
Vladimir Diaz
aba7155e7e Merge pull request #348 from vladimir-v-diaz/fix_log_status_timestamp
Use correct timestamp filename in _log_status()
2016-08-03 14:31:56 -04:00
Vladimir Diaz
9be717239f Use correct timestamp filename in _log_status(). Fix issue #347 2016-08-03 14:02:25 -04:00
Vladimir Diaz
668f2d8772 Update comments and variable names in repository_tool.py 2016-08-03 10:52:47 -04:00
Akan Brown
d6d1746819 Update README.rst 2016-08-02 14:49:09 -04:00
Akan Brown
486c4aeb82 Update README.rst 2016-08-02 14:46:30 -04:00
Akan Brown
fe41b3c706 Update README.rst 2016-08-02 13:58:25 -04:00
Vladimir Diaz
6550583eef Merge pull request #344 from akanbrown/patch-2
Update METADATA.md
2016-08-02 10:20:45 -04:00
Akan Brown
5f9bfdcc40 Update README.rst
I did "pip install libsodium" instead of "pip install libNaCl". New users might make the same mistake.
2016-08-02 10:19:26 -04:00
Akan Brown
e31aa4dfe2 Update METADATA.md 2016-08-02 10:10:49 -04:00
Vladimir Diaz
2540cf70b3 Add function to print/log the dirty roles 2016-08-01 15:55:00 -04:00
Vladimir Diaz
0dc6665c77 Merge pull request #343 from akanbrown/patch-1
Update README.rst
2016-07-30 21:18:10 -04:00
akanbrown
ae46c58c51 Update README.rst 2016-07-30 21:05:10 -04:00
Vladimir Diaz
15bbbb7b53 List fast-forward attack in the specification, including those missing. Alphabetize the attacks. 2016-07-28 16:06:59 -04:00
Vladimir Diaz
3ded5ed5df Add description of fast-forward attack to SECURITY.md 2016-07-28 14:43:07 -04:00
Vladimir Diaz
ece53b413d Mark the version 1.0 specification as a draft 2016-07-28 13:12:58 -04:00
Vladimir Diaz
9c48d9c002 Remove merge conflict markers 2016-07-28 10:26:10 -04:00
Vladimir Diaz
c3a5af09b3 Merge branch 'develop' of github.com:theupdateframework/tuf into develop
Conflicts:
	tuf/client/updater.py
2016-07-27 17:08:23 -04:00
Vladimir Diaz
4ccd446901 Return unique list in _targets_of_role()
Previous code updated the 'targets' argument with new values, but the calling code treated the return value as unique
2016-07-27 17:02:04 -04:00
Vladimir Diaz
4d2c302cce Merge pull request #326 from vladimir-v-diaz/remaining-1.0-tasks
Remaining TUF 1.0 tasks
2016-07-27 16:58:20 -04:00
Vladimir Diaz
6ec2f8a7a4 Merge branch 'develop' of github.com:theupdateframework/tuf into remaining-1.0-tasks
Conflicts:
	tuf/download.py
2016-07-27 16:56:05 -04:00
Vladimir Diaz
02d2bf1f6b Expand a comment for the change made in the previous commit 2016-07-27 16:39:42 -04:00
Vladimir Diaz
ae4bbfdbfc Remove tuf.Error exception raised in create_keydb_from_root_metadata()
To simplify the addition of keys to keydb, add all of the valid keyids to keydb in the for loop instead of adding the default keyid separately
2016-07-27 16:33:35 -04:00
Vladimir Diaz
876ced3279 Remove invalid test case (hmm, only py35 caught this mistake) 2016-07-26 14:28:08 -04:00
Vladimir Diaz
f57a0bb1a9 Save version 0.9 of specification 2016-07-26 12:21:49 -04:00
Vladimir Diaz
2f909f695f Add Spec 1.0 2016-07-26 12:17:31 -04:00
Vladimir Diaz
fae1fb6965 Improve code coverage for __init__.py pyca_crypto_keys.py, repository_lib.py 2016-07-25 11:20:30 -04:00
Vladimir Diaz
e0a4f18223 Improve code coverage 2016-07-21 10:28:46 -04:00
Vladimir Diaz
596969ab2e Improve code coverage of keydb.py and util.py 2016-07-19 08:06:53 -04:00
Vladimir Diaz
a59008cf2b Use the 'clear_all' argument with clear_roledb.py and clear_keydb.py 2016-07-15 15:24:45 -04:00
Vladimir Diaz
9c659b633c Clear keydb and roledb (using the 'clear_all' argument) in the teardown() calls of unit tests 2016-07-15 13:53:31 -04:00
Vladimir Diaz
1c72cb2c20 Add 'clear_all' argument to clear_keydb() in keydb.py 2016-07-15 13:47:46 -04:00
Vladimir Diaz
11ae261ffd Rename 'clear_all_except_default' to 'clear_all' in roledb.py 2016-07-15 13:47:04 -04:00
Vladimir Diaz
1474dd8277 Update unit test for roledb following addition of 'clear_all_except_default' argument to clear_roledb() 2016-07-15 13:25:15 -04:00
Vladimir Diaz
000e77a3c9 Reference global values in roledb 2016-07-15 13:23:17 -04:00
Vladimir Diaz
65d23fa5a7 Reference all metadata in <version>.rolename.json format 2016-07-14 10:31:16 -04:00
Vladimir Diaz
70cc1b8abd Clear roledb and keydb of 'test_repository' entries after each test case 2016-07-11 13:53:16 -04:00
Vladimir Diaz
6936432790 Update download.py 2016-07-05 17:20:57 -04:00
Vladimir Diaz
80c3022edf Fix mismatched key objects in test_keydb.py 2016-07-01 15:09:58 -04:00
Vladimir Diaz
e072cd9961 Verify non-None role name supplied to tuf.sig.get_signature_status() 2016-07-01 13:26:46 -04:00
Vladimir Diaz
5c7333b062 Fix unit tests for developer_tool.py 2016-07-01 12:52:04 -04:00
Vladimir Diaz
872ff7c1a1 Use correct key import function to load non-root keys in test_indefinite_freeze_attack.py 2016-06-28 17:01:38 -04:00