Commit graph

3274 commits

Author SHA1 Message Date
Vladimir Diaz
6cb230af21 Add whitespace to log messages and update the top-level role objects in libtuf.py 2013-12-19 14:10:03 -05:00
Vladimir Diaz
1a1f9ced49 Update README.md 2013-12-18 14:58:54 -05:00
Vladimir Diaz
246d2e7ece Merge branch 'repository-tools' of https://github.com/theupdateframework/tuf into repository-tools 2013-12-18 14:57:24 -05:00
Vladimir Diaz
4647d4a01d Address Issue #120 2013-12-18 14:57:17 -05:00
Vladimir Diaz
6c7a758ff2 Update README.md 2013-12-18 14:16:27 -05:00
Vladimir Diaz
47c4364339 Update METADATA.md 2013-12-18 13:51:53 -05:00
Vladimir Diaz
4e8f5b1801 Update SECURITY.md 2013-12-18 13:36:20 -05:00
Vladimir Diaz
ba2a5dba13 Update SECURITY.md 2013-12-18 13:34:16 -05:00
Vladimir Diaz
ee2ce4c8a7 Update SECURITY.md 2013-12-18 13:30:32 -05:00
Vladimir Diaz
b64a905f07 Merge branch 'repository-tools' of https://github.com/theupdateframework/tuf into repository-tools 2013-12-18 13:25:13 -05:00
Vladimir Diaz
52e9e08a60 Move documentation to root directory 2013-12-18 13:24:53 -05:00
Vladimir Diaz
ec550ff3da Update README.md 2013-12-18 13:22:29 -05:00
Vladimir Diaz
89dbd38304 Initial metadata and security documentation 2013-12-18 13:21:49 -05:00
Vladimir Diaz
03dcb3fb1e Update the Targets methods in libtuf.py 2013-12-18 11:49:28 -05:00
Vladimir Diaz
4aee4bff95 Continue documentation updates to libtuf.py
Update _delete_obsolete_metadata(), _remove_invalid_and_duplicate_signatures(), and _check_role_keys().
2013-12-17 09:22:40 -05:00
Vladimir Diaz
d07d0b2139 Fix typo 2013-12-16 15:00:02 -05:00
Vladimir Diaz
d3abb07092 Update formats.py readability
Ensure consistent spacing in all SCHEMA definitions.
2013-12-16 14:57:48 -05:00
Vladimir Diaz
45c65c9178 Merge branch 'develop' into repository-tools 2013-12-16 14:22:31 -05:00
Vladimir Diaz
5c614f3d17 Add create_new_repository() docstring in libtuf.py 2013-12-16 14:20:09 -05:00
Vladimir Diaz
8199033207 Merge branch 'repository-tools' of https://github.com/theupdateframework/tuf into repository-tools 2013-12-16 13:40:13 -05:00
Vladimir Diaz
182368e973 Update README.md
Minor updated to comments.
2013-12-16 13:39:54 -05:00
Vladimir Diaz
d22c48fcb2 Add missing docstring to updater.py
Add missing docstring for refresh_targets_metadata_chain().
Minor updates to comments.
2013-12-16 13:38:38 -05:00
Vladimir Diaz
ac2192f228 Update README.md
Lines: Add simple integration example and its output.

Minor updates to comments.
2013-12-16 11:59:42 -05:00
Vladimir Diaz
026daacb7d Update README.md
Line 18:  Fix heading.
Lines 76-78: Expand comment on refresh().
Lines 81-83: Expand comment on all_targets().
Lines 103: Fix heading.
Lines 111-113: Add refresh_targets_metadata_chain() example.
115-116: Expand comment on refreshing target files and determining
the ones that have changed.
128: Add refresh() comment.
2013-12-16 10:48:03 -05:00
Vladimir Diaz
bf1c319f4a Update README.md
Line 41: Add sub-heading.
Lines 100-110: Add targets of role example.
Lines 113-123: Add downloading specific target file example.
2013-12-16 10:15:11 -05:00
Vladimir Diaz
18ce211ff4 Update README.md
Line 13: Fix typo.
Line 14: Add Bold text.
Lines 94-96: Add remove_obsolete_targets() example.
2013-12-16 09:48:58 -05:00
Vladimir Diaz
ae55f0a769 Add initial tuf.client.updater.py README documentation 2013-12-16 09:42:54 -05:00
Vladimir Diaz
d27543258e Update libtuf.py documentation and address issues #143 and #144
Add support for encrypted (and public ed25519 keys) TUF key files.
Add support for ed25519 keys, signatures, and key files in libtuf.py.
Update libtuf.py diagram.
Move canonical encoding operations to the create and verify key functions.
2013-12-16 08:45:40 -05:00
Vladimir Diaz
3ab19eeb7e Merge branch 'develop' of https://github.com/theupdateframework/tuf into develop 2013-12-12 10:08:37 -05:00
Vladimir Diaz
70afb5d4f3 Add comment to the open() call in tuf.interposition.updater.py
Add link and explain why 'rb' mode is used rather than 'r'.  Prevent newcomers, or future edits, from mistakenly/accidently opening files in text mode.
2013-12-12 10:06:37 -05:00
Vladimir Diaz
8b7745cb09 Add final comment+docstring updates to keys.py
Minor comment change to libtuf.py
2013-12-12 09:26:25 -05:00
Vladimir Diaz
7a08bad781 Continue documentation effort and fix outdated libtuf.py 2013-12-11 14:14:16 -05:00
Vladimir Diaz
79c0c5d90b Re-add generate_rsa_encrypted_pem 2013-12-09 12:46:45 -05:00
Vladimir Diaz
56bdd48b53 Add comments and re-add ed25519 to conf.py 2013-12-09 11:22:37 -05:00
Vladimir Diaz
68eedeb477 Initial commit for Issue #143 and #144 2013-12-09 11:11:23 -05:00
Vladimir Diaz
8fdf029001 Fix for issue #148
Update comments and docstrings following testing (self-tested with low-level updater.py, @nekt tested with interposition and C-bridge).
Complete refactored changes.
2013-12-05 13:14:47 -05:00
Vladimir Diaz
6de2fdca5c Initial re-implementation of compressed metadata verification in updater.py 2013-12-04 09:14:06 -05:00
dachshund
c9ee77ee38 Merge remote-tracking branch 'upstream/develop' into develop 2013-12-03 18:11:00 -05:00
Trishank Karthik Kuppusamy
69fb92ddcb Merge pull request #161 from nekt/develop
Modified the maximum timestamp.txt size (fix #159).
2013-12-03 14:48:19 -08:00
Nektarios Tsoutsos
9f0f80fab4 Modified the maximum timestamp.txt size (#bug 159) 2013-12-03 16:46:24 -05:00
dachshund
ed4fe44530 Fix #150. 2013-11-28 11:22:50 -05:00
dachshund
4eeb8575de Fix #139. 2013-11-28 10:59:07 -05:00
PandaSPUR
17924213fd Update SlowRetrievalError
Updating on behalf of "Red Team" of App. Sec.
Undescriptive error found while testing gemsontuf.
2013-11-27 15:30:41 -05:00
Vladimir Diaz
738fa4d4a7 Remove test import statement changes from previous commit 2013-11-27 12:16:21 -05:00
Vladimir Diaz
c58906f9c2 Fix for issue #153
Update the key modules and their unit tests so that only the signature scheme is included in the signature label.

PyCrypto-PKCS#1 PSS -> RSASSA-PSS
ed25519-python and ed25519-pynacl -> ed25519
2013-11-27 12:11:16 -05:00
Vladimir Diaz
8d34b7aff8 Continue updating the comments and docstrings of libtuf.py 2013-11-26 15:19:12 -05:00
Vladimir Diaz
21e9291ba7 Implement enhancement outlined in issue #136
1. write_partial() increments version numbers if metadata is new or the first to be written.
2. write() increments version numbers if partial metadata is not loaded and a partial_write() is not needed.
2013-11-26 12:11:58 -05:00
Vladimir Diaz
191f32aa74 Continue refactor of libtuf.py 2013-11-25 15:01:27 -05:00
Vladimir Diaz
46a3b9b4ac Resolve merge conflict 2013-11-25 12:09:39 -05:00
Vladimir Diaz
a76a247ef3 Refactor Repository.write(), and write_delegated_metadata() 2013-11-25 12:04:21 -05:00