Commit graph

1785 commits

Author SHA1 Message Date
Vladimir Diaz
f50fa2a4fe Merge pull request #376 from theupdateframework/fix_key_typos
DOC: Fixes PBKDF1 typo throughout modules
2016-10-07 10:26:18 -04:00
Santiago Torres
a96f0036e3
DOC: Fixes PBKDF1 typo throughout modules
tuf/keys.py,  pyca_crypto_keys.py and pycrypto_keys.py was missing the
"D" on PBKDF1.
2016-10-02 18:21:09 -04:00
Vladimir Diaz
3ec0e517e6 Update README.rst
Update list of non-Python dependencies that should be installed
2016-09-30 14:09:44 -04:00
Vladimir Diaz
5d2c8fdc76 Update tuf-spec.txt
Remove mention of a "private" dictionary key in metadata.  Public TUF metadata consumed by clients would never include a "private" field, so it shouldn't be specified here in the specification.
2016-09-15 14:23:44 -04:00
Vladimir Diaz
f8e56d29e6 Add favicons
Add two favicons that are easier to see in the browser.
2016-09-02 10:22:58 -04:00
Vladimir Diaz
6e4a69162f Update README.md
Use a wildcard in the `restricted_paths` argument to delegate() and in the argument to add_restricted_paths()
2016-09-01 15:40:40 -04:00
Vladimir Diaz
fbc1265170 Merge pull request #370 from vladimir-v-diaz/develop
Code coverage
2016-09-01 10:25:16 -04:00
Vladimir Diaz
e0d5dd0ee1 Minor edit to length of commented line 2016-09-01 10:15:55 -04:00
Vladimir Diaz
5a35e797fc Improve code coverage for test_signature() 2016-09-01 10:12:56 -04:00
Vladimir Diaz
13e118b7d2 Merge branch 'develop' of github.com:theupdateframework/tuf into develop 2016-09-01 10:11:09 -04:00
Vladimir Diaz
b049c6b59b Update updater.py 2016-09-01 09:49:59 -04:00
Vladimir Diaz
4a9e5f1b9a Update util.py
Expand comment for the flush() and os.fsync() calls in util.move().
2016-09-01 09:39:53 -04:00
Vladimir Diaz
2382dadd3b Merge pull request #365 from julianhille/feature/fix_sync_issues
Fixes data loss on unplug the power on download files. If we would no…
2016-09-01 09:32:30 -04:00
Vladimir Diaz
dbc63770ed Merge pull request #367 from julianhille/ignore_json_load_error
Handles broken metadata files gracefully like they would be missing. …
2016-09-01 09:24:46 -04:00
Vladimir Diaz
98c386083a Improve code coverage for pyca_crypto_keys.py (functions for encrypted PEMs) 2016-08-31 16:11:07 -04:00
Vladimir Diaz
2a0365d332 Add test cases for _decrypt() and encrypt_key() 2016-08-31 16:09:00 -04:00
Vladimir Diaz
37dcfba999 Improve test coverage for keys.py and pyca_cryptography.py 2016-08-31 15:20:02 -04:00
Vladimir Diaz
f5cfe163b6 Update updater.py
Add missing text in comment.
2016-08-31 14:45:08 -04:00
Vladimir Diaz
a3c482691c Add code coverage for pyca_cryptography via keys.py 2016-08-31 13:38:00 -04:00
Vladimir Diaz
5e2d177f4d Add test case for _load_top_level_metadata() and debug statements to missing else clauses 2016-08-30 17:09:03 -04:00
Vladimir Diaz
c369329d93 Log debug messages for missing else statements and cover branch case in _delete_obsolete_metadata() 2016-08-30 10:56:07 -04:00
Vladimir Diaz
d4fc091da5 Add test case for newly-added tuf.roledb.mark_dirty() 2016-08-29 11:42:19 -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
6ec7197002 Fix issues with writting non-dirty'd consistent snapshots
Improve coverage for _delete_obsolete_metadata()
2016-08-26 16:42:21 -04:00
Vladimir Diaz
5f358e7300 Fix list of scripts in setup.py 2016-08-26 16:38:59 -04:00
Julian Hille
3cdfe630d2 Fixes data loss on unplug the power on download files. If we would not fsync here and update a metadata and then unplug power we lose data. 2016-08-26 12:02:24 +02:00
Vladimir Diaz
f6ec7fb578 Remove _delete_obsolete_metadata() from developer_tool.py and update MANIFEST.in to list scripts. 2016-08-25 14:34:36 -04:00
Vladimir Diaz
f9e22f0b36 Add function to mark roles as dirty and update setup.py to list tuf.py 2016-08-25 14:22:31 -04:00
Vladimir Diaz
e17550873f Create scripts directory. Store basic_client.py and tuf.py (CLI). 2016-08-25 14:19:19 -04:00
Vladimir Diaz
158f452b1b Create new folder
Add a `proposals` folder to keep track of changes made to specification.
2016-08-25 14:09:31 -04:00
Vladimir Diaz
1bb4387656 Add CLI tool. The repository tool functions remain to be called. 2016-08-25 10:40:15 -04:00
Vladimir Diaz
fbd901422f Update tuf-spec.txt
Address issue #364.  The specification includes examples of metadata with version numbers listed, but the description of snapshot.json does not.  The `custom` field is listed only in targets metadata.
2016-08-25 07:02:00 -04:00
Vladimir Diaz
0608571f20 Merge branch 'develop' of github.com:theupdateframework/tuf into develop 2016-08-24 14:40:01 -04:00
Vladimir Diaz
af17421709 Merge pull request #363 from akanbrown/patch-1
Update README.rst
2016-08-23 10:24:02 -04:00
Akan Brown
1792d8055a Update README.rst 2016-08-22 16:15:11 -04:00
Akan Brown
63277f4839 Update README.rst 2016-08-22 16:13:29 -04:00
Vladimir Diaz
0dac8e7b19 Update tuf-spec.txt
Move text explaining where delegated roles live on the repository
2016-08-22 15:23:19 -04:00
Vladimir Diaz
0673eb6ac5 Test coverage for _delete_obsolete_metadata() 2016-08-18 08:26:53 -04:00
Vladimir Diaz
6797db9d25 Finish coverage for sign_metadata() and generate_targets_metadata() 2016-08-17 09:55:25 -04:00
Vladimir Diaz
abbda071a1 Test for invalid keytype in sign_metadata() 2016-08-16 14:32:04 -04:00
Vladimir Diaz
d312e3eeaf Compare all digest (and cover remaining lines of write_metadata_file()) 2016-08-16 13:11:48 -04:00
Vladimir Diaz
90477a0517 Cover remaining test cases of _write_compressed_metadata() and remove code related to prepended digests 2016-08-16 12:20:28 -04:00
Vladimir Diaz
47d94c6fc4 Fix exception raised in _write_compressed_metadata() 2016-08-16 10:40:34 -04:00
Vladimir Diaz
4e8e8dca7f Try to hit more lines of _write_compressed_metadata() 2016-08-15 17:13:18 -04:00
Vladimir Diaz
f4941a2f4e Add whitespace in generate_root_metadata() 2016-08-15 14:32:06 -04:00
Vladimir Diaz
de63311a0c Reference global temporary directory variable by correct name 2016-08-15 14:29:56 -04:00
Vladimir Diaz
c8ffd6f8b1 Write 'interposition.json' to temporary location so that it gets auto-removed after testing 2016-08-15 14:26:50 -04:00
Vladimir Diaz
2380499029 Coverage for remaining lines of _log_status_of_top_level_roles() 2016-08-15 14:05:05 -04:00
Vladimir Diaz
2ef5f3eb68 Add test case for _write_compressed_metadata() 2016-08-15 14:02:10 -04:00
Vladimir Diaz
53b16aefd1 Update tuf-spec.txt
All delegated metadata is stored in one flat directory.
2016-08-09 15:02:14 -04:00