Commit graph

742 commits

Author SHA1 Message Date
vladdd
eb7f8a58f5 Update old repository tools affected by renamed function 2013-11-16 12:13:25 -05:00
vladdd
6073cb559c Merge branch 'repository-tools' of https://github.com/theupdateframework/tuf into repository-tools 2013-11-15 18:05:00 -05:00
vladdd
9f75253d0a Add libtuf-diagram.png 2013-11-15 18:04:29 -05:00
Vladimir Diaz
49e7db2387 Update README.md
Reviewed "Create Root" and "Create RSA Keys" sections.
2013-11-15 13:02:36 -05:00
Vladimir Diaz
f1d72f0b82 Update README.md
9-10: Remove extra whitespace.
58: Add missing period.

Update a few comments.

Add examples for nested delegations, restricted paths, metadata compression, and selection of target paths.
2013-11-14 20:43:34 -05:00
vladdd
d2d6794dad Support compressed metadata for all role types and minor edits 2013-11-14 20:36:28 -05:00
vladdd
ba69b2394f Merge branch 'repository-tools' of https://github.com/theupdateframework/tuf into repository-tools 2013-11-14 14:32:38 -05:00
vladdd
85d2b7fb19 Add updates and features following review
Add support for compressed metadata, path hash prefixes, delegated role revocation fix, removal of obsolete metadata files, and other minor changes.
2013-11-14 14:24:07 -05:00
Vladimir Diaz
9acebfa1be Update README.md
Add sections, comments, and command-line output related to target files.

Fix garbled section heading.
2013-11-13 14:46:28 -05:00
vladdd
6cc0b90672 Remove invalid signatures from signables prior to final repository.write()
signables may contain signatures (now invalid) from previous versions of metadata loaded with load_repository().
2013-11-13 14:28:34 -05:00
vladdd
691081cb26 Merge branch 'repository-tools' of https://github.com/theupdateframework/tuf into repository-tools 2013-11-13 11:52:41 -05:00
vladdd
c860d27787 Add 'tuf/client/basic_client.py' to setup.py 2013-11-13 11:52:15 -05:00
dachshund
b2e9fca142 Remove evpy. 2013-11-13 11:48:22 -05:00
vladdd
4a124746dc Merge branch 'repository-tools' of https://github.com/theupdateframework/tuf into repository-tools 2013-11-13 11:44:46 -05:00
vladdd
86e8f0b771 Switch default ed25519 cryptography library to 'ed25519'
Modify so that testing the repository tools does not raise errors for users without pynacl installed.
2013-11-13 11:44:00 -05:00
Vladimir Diaz
8520c49cf3 Update README.md
238: Remove full rolename argument to revoke().
2013-11-13 11:21:59 -05:00
Vladimir Diaz
19c659f5c0 Update README.md
91-92: Move Metadata file output to new line to avoid wrapping.
153-154: Fix length of comment block to avoid wrapping.
159-160: Fix garbled comment block.
199-200: Shorten lengthy comment.
2013-11-13 11:12:07 -05:00
Vladimir Diaz
fff486d134 Update README.md
Add directory listing of a successful update test.
2013-11-13 09:58:51 -05:00
Vladimir Diaz
6bcaee3926 Update README.md
34, 37-38: Fix indentation, add missing period, and expand comment.
93: Add missing period.
152-153: Expand comment to make it clear that target files are not created and previous target paths are not replaced.
245: Fix typo.
2013-11-13 09:46:42 -05:00
Vladimir Diaz
8b16b00ab8 Update README.md
79-82: Add repository.status() example.
2013-11-13 09:27:00 -05:00
Vladimir Diaz
cff05ad4ec Update README.md
14: Add spacing to argument list.
16-18: Fix comment formatting and garbled text.
38: Add missing quotation mark.
71: Fix spacing.
75: Fix indentation.
233-234: Add comments and update command.
246-248, 256-259: Modify quotation marks.
2013-11-13 09:19:46 -05:00
vladdd
52e879e62f Merge branch 'repository-tools' of https://github.com/theupdateframework/tuf into repository-tools 2013-11-13 08:07:01 -05:00
Trishank Karthik Kuppusamy
6c376a3442 Update README.md with correct import statements 2013-11-13 01:15:12 -05:00
dachshund
cbca42818a Merge remote-tracking branch 'origin/repository-tools' into repository-tools 2013-11-13 00:57:31 -05:00
dachshund
f490e68fa2 Add the bundled cryptographic library bindings. 2013-11-13 00:56:19 -05:00
Trishank Karthik Kuppusamy
4f990f3f36 Merge pull request #134 from SantiagoTorres/repository-tools
Add documentation for repository tools
2013-11-12 21:54:46 -08:00
santiago
00e9e3aec3 Merge branch 'repository-tools' of github.com:SantiagoTorres/tuf into repository-tools 2013-11-12 19:02:36 -05:00
santiago
788f2ed587 Added the client-side codeblocks and section 2013-11-12 19:01:34 -05:00
SantiagoTorres
306769d38d Update README.md
fixed the broken link for the image
2013-11-12 18:52:51 -05:00
santiago
bab3e5c436 Added the diagram in the beginning 2013-11-12 18:49:54 -05:00
santiago
dedf18d78f Added the "Revoke Delegated Role" codeblock/section 2013-11-12 18:25:23 -05:00
santiago
21d245bd46 added the "create a delegated role" codeblock 2013-11-12 18:20:51 -05:00
santiago
363d170b86 Added the "remove targets" section and codeblock 2013-11-12 18:17:53 -05:00
santiago
7aeeeb884a added the "add target" codeblock/section 2013-11-12 18:15:47 -05:00
santiago
0cc8841ead Added the targets,root and timestamp metadata codeblock 2013-11-12 18:02:40 -05:00
santiago
8ab4f9c2da Added the root metadata codeblock 2013-11-12 17:52:11 -05:00
santiago
a20dd921ae Merge branch 'repository-tools' of github.com:SantiagoTorres/tuf into repository-tools 2013-11-12 17:39:06 -05:00
santiago
45c7ac3e01 Added the import key codeblock 2013-11-12 17:38:33 -05:00
SantiagoTorres
ab09a28a12 Update README.md 2013-11-12 17:24:41 -05:00
santiago
7049c7359e Added the first code block for RSA key creation 2013-11-12 17:23:31 -05:00
santiago
973ed15a96 Added base markdown file 2013-11-12 17:07:08 -05:00
vladdd
d6b9e187b7 Fix repository.targets.revoke() 2013-11-12 16:55:51 -05:00
vladdd
01deddfd18 Initial implementation of the repository tools.
Delegations and repository loading now implemented.  Updates to comments, docstrings, and a unit test needed.
2013-11-12 15:00:26 -05:00
vladdd
4bd0b6d07e Continue delegate() changes 2013-11-05 08:22:21 -05:00
vladdd
298dc46eba Remove roleinfo+Metadata.keys side effect
Updating the Metadata.keys attribute should not modify the keyids of the role in tuf.roledb.py
2013-10-30 10:32:56 -04:00
vladdd
b4db0f1770 [WIP] Continue libtuf.py implementation 2013-10-29 15:23:26 -04:00
vladdd
df8d84d3da [WIP] Add libtuftools.py skeleton 2013-10-22 14:02:01 -04:00
vladdd
5eb0858e45 Add import and export functions for passphrase-protected pem files in keys.py 2013-10-22 14:01:06 -04:00
vladdd
45af91191a Update docstrings and comments in keys.py
Configurable crypto changes previously implemented but the docstrings and comments of keys.py still needed updating.  Minor edit to test_keys.py and a note added about a missing test case.
2013-10-18 14:01:51 -04:00
vladdd
760cd62d4e Rename functions in keys.py and update test_keys.py
create_in_metadata_format --> format_keyval_to_metadata
create_from_metadata_format --> format_metadata_to_key
2013-10-17 14:05:26 -04:00