Vladimir Diaz
a434652143
Edit test repo scripts to exclude target files with leading os.sep
...
Signed-off-by: Vladimir Diaz <vladimir.v.diaz@gmail.com>
2018-04-06 11:08:45 -04:00
Vladimir Diaz
f460f46ef6
Add new repo data that excludes paths with a leading os.sep
...
Signed-off-by: Vladimir Diaz <vladimir.v.diaz@gmail.com>
2018-04-06 11:06:30 -04:00
Vladimir Diaz
67af7a0da6
Add first draft of README for unit tests
...
Signed-off-by: Vladimir Diaz <vladimir.v.diaz@gmail.com>
2017-12-14 11:57:59 -05:00
Vladimir Diaz
ec95a0d30f
Resolve conflicts
...
Signed-off-by: Vladimir Diaz <vladimir.v.diaz@gmail.com>
2017-12-08 16:53:57 -05:00
Vladimir Diaz
60912e2280
Tweak map file to improve test coverage
...
Signed-off-by: Vladimir Diaz <vladimir.v.diaz@gmail.com>
2017-12-08 16:32:49 -05:00
Vladimir Diaz
ade2b777fe
Modify repository names in map.json
...
Signed-off-by: Vladimir Diaz <vladimir.v.diaz@gmail.com>
2017-12-08 16:31:53 -05:00
Vladimir Diaz
ee0ef5d4c5
Add second local repository dir (for map file)
...
Signed-off-by: Vladimir Diaz <vladimir.v.diaz@gmail.com>
2017-12-08 16:31:46 -05:00
Vladimir Diaz
57313fbf6e
Fix map.json
...
The map file contains invalid elements. Format map JSON similar to metadata for readability
Signed-off-by: Vladimir Diaz <vladimir.v.diaz@gmail.com>
2017-12-08 16:31:07 -05:00
Vladimir Diaz
1c8e9e4404
Add the missing 'threshold' attribute to map.json
...
Signed-off-by: Vladimir Diaz <vladimir.v.diaz@gmail.com>
2017-12-08 16:30:44 -05:00
Vladimir Diaz
c53449c086
Add working copy of map.json
...
Signed-off-by: Vladimir Diaz <vladimir.v.diaz@gmail.com>
2017-12-08 16:27:19 -05:00
Vladimir Diaz
b38858b0c9
Minor edits to MultiRepoUpdater and map.json
...
Incorrect variable names, expand comments, etc.
Signed-off-by: Vladimir Diaz <vladimir.v.diaz@gmail.com>
2017-12-08 16:26:54 -05:00
Vladimir Diaz
28421ae2df
Add map.json (needed for testing TAP 4 behavior)
...
Signed-off-by: Vladimir Diaz <vladimir.v.diaz@gmail.com>
2017-12-08 16:26:44 -05:00
Vladimir Diaz
25ccb769b5
Add copyright and license to unit test scripts
...
Signed-off-by: Vladimir Diaz <vladimir.v.diaz@gmail.com>
2017-11-30 13:26:44 -05:00
Vladimir Diaz
c897a43238
Add valid developer_tool.py metadata
2017-08-29 09:54:31 -04:00
Vladimir Diaz
d4f6362dcf
Add metadata that contains 'spec_version'
2017-08-28 15:12:57 -04:00
Vladimir Diaz
924b97d1d7
Resolve conflicts
2017-08-28 13:07:54 -04:00
Vladimir Diaz
419569c6d6
Re-generate metadata that doesn't reference compressed metadata
2017-08-25 17:26:02 -04:00
Vladimir Diaz
33721556ed
Do not generate compressed top-level repository data
2017-08-25 15:59:08 -04:00
Vladimir Diaz
bcf43e63a2
Edit metadata and code for developer_tool.py
2017-08-23 12:47:20 -04:00
Vladimir Diaz
3933232efc
Add new metadata that includes the signing scheme
2017-08-23 10:57:34 -04:00
Vladimir Diaz
4cc7c17232
Test that root.json.gz can be loaded
2017-07-13 14:40:52 -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
f6d0d07a0e
Add missing root.json.gz metadata
2017-07-11 10:19:32 -04:00
Vladimir Diaz
ee5c4fee08
Add new repository metadata
2017-07-10 17:08:35 -04:00
Vladimir Diaz
17ea827e76
Add repository data where the client directory is reorganized
2017-02-06 16:14:35 -05:00
Vladimir Diaz
5e22d02b17
Fix import statements for the repository_data tools
2017-01-12 15:23:16 -05:00
Vladimir Diaz
2bfc799439
Add test metadata that includes the spec version number
2016-12-01 11:28:42 -05:00
Artiom Baloian
b0156944bb
Moved util.py, now it is common
2016-11-02 09:49:37 -04:00
Vladimir Diaz
8882dc5b7b
Merge branch 'root-versioning' of https://github.com/ecordell/tuf into ecordell-root-versioning
...
Conflicts:
tests/test_key_revocation.py
tests/test_replay_attack.py
tests/test_repository_tool.py
tests/test_updater.py
tuf/formats.py
tuf/repository_lib.py
2016-10-17 15:57:48 -04:00
Evan Cordell
0e93c3a7d2
Enforce root version signature chaining in client updater
2016-09-19 15:18:33 -04:00
Vladimir Diaz
b5a0cc413b
Add test repository
...
compressed metadata was incorrectly listed in snapshot.json. List on roles with '.json' extension
2016-09-15 16:33:20 -04:00
Vladimir Diaz
26016479e9
Add test repository following changes to repository writing and backtracking
2016-09-15 15:19:27 -04:00
Julian Hille
e80f352259
Handles broken metadata files gracefully like they would be missing. Should be part of #366
2016-08-29 16:51:10 +02:00
Vladimir Diaz
65d23fa5a7
Reference all metadata in <version>.rolename.json format
2016-07-14 10:31:16 -04:00
Vladimir Diaz
bd5b398ee4
Remove repository.status() (used for testing) from generate.py
2016-06-28 16:54:18 -04:00
Vladimir Diaz
2a9e4c28ad
Add latest repository example and unit test fixes
2016-06-27 17:02:27 -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
ba0f9ca936
Initial changes for multihash keyid algorithms support on write
2016-06-08 16:49:13 -04:00
Vladimir Diaz
e27371113f
Update developer tool
2016-04-14 16:53:48 -04:00
Vladimir Diaz
c0958f11f2
Modify repository data to use new snapshot format
...
snapshot.json should list the hash(es) of root metadata, rather than version number
2016-04-14 08:11:34 -04:00
Vladimir Diaz
28e738ed8c
Repository data that contains the correct number of delegated roles in snapshot.json
2016-03-28 17:51:43 -04:00
Vladimir Diaz
6611efbf09
Add the new delegation structure to repository_data
2016-03-02 12:03:39 -05:00
Vladimir Diaz
14ca0d1565
Update the repository test data following the addition of the 'compression algorithms' key in root.json
2015-10-20 09:14:21 -04:00
Vladimir Diaz
d993ccf35e
Generate a repository for the unit tests that contains the changes to the snapshot role
2015-10-15 09:53:54 -04:00
Vladimir Diaz
b7cf7e6588
Improve each module's code coverage to at least 90%
...
Update unit tests for download.py, repository_lib.py, repository_tool.py, and updater.py.
Re-generate repository data so that compressed metadata may be tested.
2015-02-11 13:22:46 -05:00
Vladimir Diaz
59b45fdfe5
Merge branch 'SantiagoTorres-developer-tools' of https://github.com/vladimir-v-diaz/tuf into develop
2014-07-01 07:47:47 -04:00