Commit graph

2173 commits

Author SHA1 Message Date
Vladimir Diaz
3933232efc
Add new metadata that includes the signing scheme 2017-08-23 10:57:34 -04:00
Vladimir Diaz
467a1af5e9
Include missing argument to format_keyval_to_metadata() in test_repository_lib.py 2017-08-23 10:55:38 -04:00
Vladimir Diaz
5c17b59fc2
Incorporate securesystemslib changes into sig.py 2017-08-23 10:54:21 -04:00
Vladimir Diaz
f4fd98b851
Incorporate securesystemslib changes into sig.py and test_sig.py 2017-08-23 10:53:36 -04:00
Vladimir Diaz
8db447c3a6
Incorporate changes made to crypto library 2017-08-22 15:54:48 -04:00
Vladimir Diaz
5c90e8f853
Merge branch 'develop' of github.com:theupdateframework/tuf into tap9_signing_schemes 2017-08-03 13:35:46 -04:00
Vladimir Diaz
65e0aa1696 Merge pull request #481 from vladimir-v-diaz/disclaimer_spec_moved
Add disclaimer that tuf-spec.txt has been moved
2017-08-03 13:24:53 -04:00
Vladimir Diaz
645a5670ec
Add disclaimer that tuf-spec.txt has been moved 2017-08-03 13:24:05 -04:00
Vladimir Diaz
e9338aee2b Merge pull request #480 from vladimir-v-diaz/add_tuf_spec_txt
Re-add tuf-spec.txt
2017-08-03 12:54:21 -04:00
Vladimir Diaz
bb50bee58c
re-add tuf-spec.txt, otherwise it breaks existing links to this file 2017-08-03 12:52:24 -04:00
Vladimir Diaz
2bbaade39e
Add symlink (tuf-spec.txt) to tuf-spec.md 2017-08-03 11:56:52 -04:00
Vladimir Diaz
338c27c76c
remove 'method' from sig.py 2017-08-03 11:56:11 -04:00
Vladimir Diaz
1c8055acc9 Merge pull request #479 from vladimir-v-diaz/develop
Remove tuf-spec.txt
2017-08-03 10:34:52 -04:00
Vladimir Diaz
3312f306e5
Remove tuf-spec.txt
tuf-spec.md is the only specification that we should edit, not two.
2017-08-03 10:33:39 -04:00
Vladimir Diaz
6b9750cc8f Merge pull request #478 from theupdateframework/jhdalek55-patch-1
Edit pull request for tuf-spec.md
2017-08-02 15:35:43 -04:00
Vladimir Diaz
e121dbf595
Bold the version and last modified entries 2017-08-02 15:31:38 -04:00
Vladimir Diaz
9a77a35a46
Fix links in TOC 2017-08-02 15:25:59 -04:00
Vladimir Diaz
95e1e6e1b7
Add table of contents 2017-08-02 15:22:04 -04:00
Vladimir Diaz
1d677521fd
Edit more lists 2017-08-02 15:10:57 -04:00
Vladimir Diaz
da864ecb90
Format code block and rename markdown file 2017-08-02 14:55:56 -04:00
Vladimir Diaz
a2581dc193 Update TUF-spec.md 2017-08-02 14:34:34 -04:00
Vladimir Diaz
a9341260b1 Edit the lists in the Goals sections 2017-08-02 12:54:03 -04:00
Lois Anne DeLong
293989ce52 coverted spec to MD
Move text to Markdown format and did my best to add the correct formatting
2017-07-28 15:50:31 -04:00
Vladimir Diaz
2674d6e289 Merge pull request #475 from vladimir-v-diaz/append_external_signature
List missing exception in dump_signable_metadata()'s doctring
2017-07-26 15:17:49 -04:00
Vladimir Diaz
af6eda2e5b
List missing exception in dump_signable_metadata()'s doctring 2017-07-26 15:16:00 -04:00
Vladimir Diaz
115b9498d7 Merge pull request #474 from vladimir-v-diaz/append_external_signature
Allow external tools to sign and append signatures to metadata.
2017-07-26 13:58:22 -04:00
Vladimir Diaz
646eca5acc
Edit README to cover dump_signable_metadata and append_signature() 2017-07-26 13:55:46 -04:00
Vladimir Diaz
4eee116c41
Add test conditions for append_signature() 2017-07-26 12:30:10 -04:00
Vladimir Diaz
1acd440199
Add test conditions for dump_signable_metadata() 2017-07-24 17:16:43 -04:00
Vladimir Diaz
e606b9b5ff
Add missing function argument in docstring 2017-07-21 16:51:21 -04:00
Vladimir Diaz
c0e897aa8d
Add repository_tool.append_signature() 2017-07-21 16:40:39 -04:00
Vladimir Diaz
c641ad8637
Add function to dump signable metadata content 2017-07-21 15:40:32 -04:00
Vladimir Diaz
67eb57ae1c Merge pull request #473 from vladimir-v-diaz/coverage
Coverage and bug fixes
2017-07-19 11:02:22 -04:00
Vladimir Diaz
7408da683a
Add test case for _soft_check_file_length 2017-07-18 16:58:58 -04:00
Vladimir Diaz
70bdfb9c78
Fix syntax error in import_delegations and improve coverage 2017-07-18 16:09:22 -04:00
Vladimir Diaz
4c9d278da5
Merge branch 'coverage' of github.com:vladimir-v-diaz/tuf into coverage 2017-07-18 15:30:33 -04:00
Vladimir Diaz
4bcf513db0
Fix remaining bugs with loading multiple keyids 2017-07-18 15:29:16 -04:00
Vladimir Diaz
6cb2a249e1 Merge branch 'develop' into coverage 2017-07-18 11:00:18 -04:00
Vladimir Diaz
32aab8f5fb
Use securesystemslib v0.10.6
that contains bug fix for _get_keyid()
2017-07-17 17:04:35 -04:00
Vladimir Diaz
cab5514027
Edit test cases after bug fix in _get_keyid()
Modify _import_delegations() and rebuild_key_and_role_db() so that the correct number of keyids are detected
2017-07-17 16:36:31 -04:00
Vladimir Diaz
dbc8cbceb0
Fix bug in Updater
where adding a duplicate keyid failed to load valid multiple keyids
2017-07-17 16:33:38 -04:00
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