Vladimir Diaz
d8b020c427
Clear role and key db in setup
...
to protect against test cases that did not clean up properly
2017-07-17 16:31:32 -04:00
Vladimir Diaz
8fe78f5ca8
Fix/uncomment tests for rebuild_key_and_role_db() and import_delegations()
...
These two unit tests were previously commented because they weren't working as expected. A bug in securesystemslib._get_keydb() was the cause of the issue, where the hash_algorithm argument wasn't being used and didn't allow multiple keyids to be generated.
2017-07-17 11:44:17 -04:00
Vladimir Diaz
64fdc399a5
Add test case for loading malformed metadata
2017-07-14 15:28:59 -04:00
Vladimir Diaz
97eccf5fb8
Remove chech for > py2.5 in download.py
...
implementation doesn't support < py2.6
2017-07-14 15:28:02 -04:00
Vladimir Diaz
30109fbbb1
Add unit test for unittest_toolbox.py
2017-07-14 11:26:52 -04:00
Vladimir Diaz
31e4f1ccf0
Add blank lines to improve readability
2017-07-14 11:24:53 -04:00
Vladimir Diaz
a1b61e9d6f
Add test case for tuf.exceptions.DecompressionError
2017-07-14 11:23:45 -04:00
Vladimir Diaz
48e412dee8
Add test_exceptions.py
2017-07-13 17:04:15 -04:00
Vladimir Diaz
c8413600f8
Remove check for
...
for unknown repository name in get_delegated_rolenames()
2017-07-13 16:40:46 -04:00
Vladimir Diaz
58ab40c203
Remove check for unknown repository name
...
roledb.get_role_paths() contains a check for an unknown repository name that is already done by _check_rolename()
2017-07-13 16:05:53 -04:00
Vladimir Diaz
e7de36b2df
Fix docstring to mention expected tuf.exceptions.UnknownRoleError
2017-07-13 15:39:23 -04:00
Vladimir Diaz
e5792a0cb2
Catch correct tuf.exceptions.UnknownRoleError
...
sig.get_signature_status() was incorrectly raising securesystemslib.exceptions.UnknownRoleError
2017-07-13 15:37:52 -04:00
Vladimir Diaz
4cc7c17232
Test that root.json.gz can be loaded
2017-07-13 14:40:52 -04:00
Vladimir Diaz
c76a371903
Merge branch '_type_role_lowercase' of github.com:vladimir-v-diaz/tuf into _type_role_lowercase
2017-07-13 11:46:11 -04:00
Vladimir Diaz
ce5e920a7d
Fix python3 error with string.lower()
2017-07-13 11:45:19 -04:00
Vladimir Diaz
2b5faf4a67
Merge branch 'develop' into _type_role_lowercase
2017-07-12 15:13:17 -04:00
Vladimir Diaz
151333935d
Merge pull request #470 from theupdateframework/vladimir-v-diaz-patch-1
...
Use consistent wording in the client workflow
2017-07-12 15:11:08 -04:00
Vladimir Diaz
d13a401678
Update specification
2017-07-12 15:09:15 -04:00
Vladimir Diaz
7d30763206
Ensure the client loads _type = targets metadata
2017-07-12 15:07:06 -04:00
Vladimir Diaz
a384933195
Edit the format of _type entries, which are now lowercase
2017-07-12 15:05:17 -04:00
Vladimir Diaz
639818a529
Add new project metadata that uses lowercase _type entries
2017-07-12 15:04:06 -04:00
Vladimir Diaz
41954acc5b
Remove obsolete backup files (used by developer tool)
2017-07-12 15:00:39 -04:00
Vladimir Diaz
25e23d4910
Import correct key files in generate_project_data.py
2017-07-12 14:59:02 -04:00
Vladimir Diaz
6e26c31f70
Add metadata where _type = lowercase
2017-07-12 14:56:01 -04:00
Vladimir Diaz
ca6a0422c3
Update tuf-spec.txt
...
Further edits to client workflow to replace instances of "this metadata file" with the specific metadata file.
2017-07-12 10:45:44 -04:00
Vladimir Diaz
7e71080156
Use consistent wording in the client workflow
...
Fixes issue #458 .
2017-07-11 17:01:09 -04:00
Vladimir Diaz
d28324fc6b
Merge pull request #467 from theupdateframework/vladimir-v-diaz-patch-5
...
Update METADATA.md
2017-07-11 10:30:39 -04:00
Vladimir Diaz
cc4577e05f
Merge branch 'develop' into vladimir-v-diaz-patch-5
2017-07-11 10:28:14 -04:00
Vladimir Diaz
af951d4d14
Merge pull request #469 from vladimir-v-diaz/fix_issue#468
...
Do not lis Root's hash and length in Snapshot. Fix issue #468
2017-07-11 10:26:02 -04:00
Vladimir Diaz
f6d0d07a0e
Add missing root.json.gz metadata
2017-07-11 10:19:32 -04:00
Justin Cappos
3f44d99354
Clarifying who runs the project.
2017-07-10 22:09:52 -04:00
Justin Cappos
ab81a381c6
Making it clearer who "owns" the project (in response to a CNCF question)
2017-07-10 22:05:58 -04:00
Vladimir Diaz
a0dc02a49e
List Root's version number in Snapshot
2017-07-10 17:10:37 -04:00
Vladimir Diaz
ee5c4fee08
Add new repository metadata
2017-07-10 17:08:35 -04:00
Vladimir Diaz
ec3edd0912
Update METADATA.md
...
Use up-to-date metadata examples.
2017-07-10 11:49:24 -04:00
Vladimir Diaz
4763f2d3c4
Merge pull request #466 from theupdateframework/vladimir-v-diaz-patch-4
...
Fix for issue #465
2017-07-07 10:08:06 -04:00
Vladimir Diaz
84713f366b
Fix for issue #465
...
Addresses issue #465 , where the hash and length of Root are no longer listed in Snapshot.
2017-07-06 16:55:19 -04:00
Trishank Karthik Kuppusamy
904fa9b8df
Merge pull request #461 from theupdateframework/vladimir-v-diaz-patch-4
...
What should happen when Root keys are compromised?
2017-06-20 21:10:01 -04:00
Vladimir Diaz
9025b90bac
Justify why a compromise of Root keys should be avoided
2017-06-20 11:27:06 -04:00
Vladimir Diaz
78c81c43a5
Merge branch 'develop' into vladimir-v-diaz-patch-4
2017-06-19 16:46:25 -04:00
Vladimir Diaz
0f40e7013f
Merge pull request #452 from trishankkarthik/add-detailed-workflow
...
Clarify checking for freeze attacks on the root metadata file.
2017-06-19 15:44:32 -04:00
Vladimir Diaz
5b2407b04e
Address what should happen when Root keys are compromised
2017-06-19 15:29:24 -04:00
Vladimir Diaz
a44551b77b
Merge branch 'develop' into add-detailed-workflow
2017-06-19 12:17:18 -04:00
Vladimir Diaz
ee770da10f
Merge pull request #460 from theupdateframework/lukpueh-fix-#412
...
Lukpueh fix #412
2017-06-15 14:37:26 -04:00
Vladimir Diaz
ef6716321e
Edits to PR
...
Use securesystemslib v0.10.5 dependency (includes Lukas' contributions and a fix).
Add blank line between function docstring and beginning of code.
2017-06-15 13:29:01 -04:00
Vladimir Diaz
b3b5f6348c
Merge pull request #439 from theupdateframework/configurable_hash_algo_hashed_bin_prefix
...
Add configurable setting for hashing algorithm used in hashed bin delegations
2017-06-14 15:56:26 -04:00
Vladimir Diaz
11ecaeba89
Merge branch 'develop' into configurable_hash_algo_hashed_bin_prefix
2017-06-14 15:23:51 -04:00
Vladimir Diaz
b5e7325be4
Edit comment/description for settings.HASH_FUNCTION
...
settings.HASH_FUNCTION is now only used to calculate path hash prefixes.
2017-06-14 15:18:11 -04:00
Trishank Karthik Kuppusamy
207a0a0bb6
Remove an extraneous step (thanks @heartsucker).
2017-06-03 14:21:15 -04:00
Vladimir Diaz
8ddc62c43f
Merge pull request #433 from theupdateframework/update_specification
...
Update specification
2017-06-02 11:22:25 -04:00