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
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
Vladimir Diaz
5a3f515c4a
Use correct key import statements from rest_replay_attack.py
2016-06-28 16:54:53 -04:00
Vladimir Diaz
bd5b398ee4
Remove repository.status() (used for testing) from generate.py
2016-06-28 16:54:18 -04:00
Vladimir Diaz
b52876ac9f
Sleep for a short amount of time in download.py's while loop to release CPU
2016-06-28 14:12:10 -04:00
Vladimir Diaz
2a9e4c28ad
Add latest repository example and unit test fixes
2016-06-27 17:02:27 -04:00
Vladimir Diaz
80ade8f201
Minor fixes for key expiry and loading an rsa key in a test module
2016-06-17 16:05:25 -04:00
Vladimir Diaz
13bf2de347
Merge branch 'remaining-1.0-tasks' of github.com:vladimir-v-diaz/tuf into keyids_multihash_algorithms
...
Conflicts:
tuf/formats.py
2016-06-17 10:11:44 -04:00
Vladimir Diaz
b777188a54
Update tests following the change to Ed25519 keys
2016-06-17 09:57:54 -04:00
Vladimir Diaz
8e0e5a19e8
Generate metadata following change to Ed25519 keys
2016-06-17 09:56:13 -04:00
Vladimir Diaz
c55f548551
Generate Ed25519 keys for tests/repository_data
2016-06-17 09:54:46 -04:00
Vladimir Diaz
4605f68af9
Raise tuf.Error when a public key is loaded (but a private one is expected).
2016-06-17 09:49:57 -04:00
Vladimir Diaz
45afab517f
Set the expected default keyid in _get_keyid()
2016-06-17 09:44:40 -04:00
Vladimir Diaz
577e75a6aa
Add support for key expiration
2016-06-13 12:21:09 -04:00
Vladimir Diaz
54f14552a5
Merge branch 'remaining-1.0-tasks' of github.com:vladimir-v-diaz/tuf into keyids_multihash_algorithms
2016-06-09 11:03:25 -04:00
Vladimir Diaz
8bd9ca8a8d
Minor edits to PR #318 (prevent cycles when visiting roles)
2016-06-09 10:58:19 -04:00
Vladimir Diaz
b9e83a2e8a
Fix conflict
2016-06-09 10:53:39 -04:00
Vladimir Diaz
a048ca1630
Merge branch 'tighten-preorder-dfs' of https://github.com/trishankkarthik/tuf into trishankkarthik-tighten-preorder-dfs
2016-06-09 10:49:11 -04:00
Vladimir Diaz
93a0d006c5
strip version / digest data that is prepended to filenames
2016-06-09 10:48:00 -04:00
Vladimir Diaz
ba0f9ca936
Initial changes for multihash keyid algorithms support on write
2016-06-08 16:49:13 -04:00
Vladimir Diaz
685e6a2d33
Proof of concept
...
Initial implementation: key IDs may be generated with multiple hash algorithms
2016-05-18 16:12:58 -04:00
Vladimir Diaz
005531d9eb
Finish implementing test_key_revocation
...
Following the design change to roledb and keydb (where multiple repositories are supported), test_key_revocation is updated to verify that outdated clients (e.g., root keys that are no longer trusted) are able to perform a software update, detect new keys, etc.
2016-05-16 16:05:24 -04:00
Vladimir Diaz
1bf5aa2396
Add repository_name parameters to sig.py
2016-05-16 14:26:38 -04:00
Vladimir Diaz
cc6609f3f6
Implement remaining test conditions in test_roledb.py
2016-05-11 17:50:19 -04:00
Vladimir Diaz
ad08f499e9
Add missing unit test, and update tests in roledb.py to verify 'repository_name' argument
2016-05-11 16:57:46 -04:00
Vladimir Diaz
99062dc27a
Minor edit to comment in test_keydb.py
2016-05-11 16:55:52 -04:00
Vladimir Diaz
8e4a036f56
Implement tests for create_roledb() and remove_roledb()
2016-05-09 18:00:28 -04:00
Vladimir Diaz
4b9f469230
Implement add and remove roledb functions to roledb.py
2016-05-09 17:28:43 -04:00
Vladimir Diaz
9d57139aee
Implement remaining test functions for keydb.py
2016-05-09 16:31:37 -04:00
Vladimir Diaz
aa62fc5862
Verify the 'repository_name' argument in test_clear_keydb()
2016-05-09 15:10:42 -04:00
Vladimir Diaz
decfa5558e
Expand test conditions in test_keydb.py to verify named repositories
2016-05-09 14:19:53 -04:00
Vladimir Diaz
34365bca51
Implement add and remove keydb functions to keydb.py
2016-05-09 14:18:46 -04:00
Vladimir Diaz
223993c43e
Update test_keydb.py following refactoring of keydb.py
...
keydb.py was refactored to allow multiple sets of keys to be tracked
2016-05-06 17:33:18 -04:00