Vladimir Diaz
a92f6c5a35
Avoid find(), use split() instead
2016-02-26 13:36:34 -05:00
Vladimir Diaz
acb2aa7d83
Avoid reusing/overwriting parameter _strip_consistent_snapshot_version_number()
2016-02-22 16:29:23 -05:00
Vladimir Diaz
ffd76ef2d6
Fix typo
...
All instances of embeded --> embedded
2016-02-22 16:21:16 -05:00
Vladimir Diaz
a41532e5c9
Review repository_lib.py
2015-10-28 11:36:18 -04:00
Vladimir Diaz
4cb851ca0a
Fix remaining issues with unit tests after implementing version numbers in snapshot.json
2015-10-27 16:11:11 -04:00
Vladimir Diaz
987411ff04
Resolve remaining issues with writing / loading the new changes
2015-10-20 09:16:39 -04:00
Vladimir Diaz
ed1f217022
Implement changes for _update_metadata()
2015-10-15 09:49:32 -04:00
Vladimir Diaz
e3847026c9
Fix issue where incorrect version number is added to versiondict in snapshot.json
2015-09-22 10:02:40 -04:00
Vladimir Diaz
3fc1e59000
Initial implementation of stored version numbers in snapshot.json
2015-09-22 07:31:30 -04:00
Vladimir Diaz
1c8f41b0c0
Update import statements of unvendored dependencies
2015-06-02 08:29:22 -04:00
Vladimir Diaz
75eb79534c
Improve code coverage for repository_lib.py
2015-04-03 13:46:43 -04:00
Vladimir Diaz
23083fae12
Improve code coverage for repository_lib.py
2015-04-02 16:37:11 -04:00
Vladimir Diaz
f5588e4fa0
Disable 'iso8601' logger.
...
Disable 'iso8601' logger messages so that the log file only contain TUF-related messages.
2014-08-20 07:52:24 -04:00
Vladimir Diaz
68b3344368
Fix default console log level so that status() prints INFO-level messages.
...
The default log level was switched to WARNING but prevents status() from printing messages as expected.
Modify the log level of 'Saving <role>.json' message so that it doesn't clog status().
Thank you @hrdarji for testing the documentation and reporting the non-printing behavior of status().
2014-08-19 15:20:59 -04:00
Vladimir Diaz
38005fe2ab
Address issue #244 .
...
Fix issue where hash algorithm name is prepended to the consistent snapshot filename. The actual hash value should be prepended instead.
2014-08-07 16:02:35 -04:00
Ruben Pollan
d25aa1edd2
Continue if the keyid is not in keydb while checking signatures
2014-07-10 20:20:10 -05:00
Vladimir Diaz
1985c450c9
Merge custom info changes, logger messages, and minor edits.
2014-07-02 11:10:50 -04:00
vladdd
7711649469
Merge branch 'develop' of https://github.com/vladimir-v-diaz/tuf into develop
2014-06-30 14:06:27 -04:00
vladdd
7be31965e7
Minor edits.
2014-06-29 21:33:22 -04:00
Vladimir Diaz
5d766d3d6f
Review and update docstrings and README.
2014-06-25 09:45:55 -04:00
vladdd
88d686b258
Initial implementation of custom FILEINFO
2014-06-23 13:33:01 -04:00
Vladimir Diaz
0c6b360952
Add missing test conditions for test_repository_lib.py and minor edits to modules.
2014-06-11 11:29:00 -04:00
Vladimir Diaz
80915a194e
Cosmetic edits to repository_lib.py.
2014-06-10 09:38:06 -04:00
Vladimir Diaz
cbde52c0f7
Allow partial metadata to be properly loaded with zero good signatures.
...
Previously, the repository tool allowed partial metadata to be written with zero good signatues and later successfully loaded. However, the partial metadata was not properly marked by load_repository(). The 'partial_loaded' flag is now set (if partial metadata is written with zero good signatures) and matches the behavior of partial_write().
2014-06-10 08:47:10 -04:00
vladdd
17b230abdd
Support Python 2.6.
2014-06-06 18:57:23 -04:00
Vladimir Diaz
797bab5ddc
Fix Python 2 + 3 JSON consistency issue and re-generate repository data.
...
Explicitly specify the JSON separators for Python 2 + 3 consistency.
2014-06-05 11:17:30 -04:00
Vladimir Diaz
66f4b88ef2
Update repository tool diagram and coverage.
...
Fix text box alignment in diagram.
Omit coverage of repository tool prompt and getpass.
Minor coverage update.
2014-06-03 14:59:56 -04:00
Vladimir Diaz
fbb10a36c9
Refactor repository_tool.py and improve test coverage.
...
Created repository_lib.py.
2014-06-03 14:32:44 -04:00