Commit graph

1590 commits

Author SHA1 Message Date
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
JustinCappos
a6ca35622a Update README.md 2013-11-05 19:41:07 -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
vladdd
60574503fc Update keys.py with modified pycrypto_keys.py function names 2013-10-17 13:12:55 -04:00
vladdd
05f7826b59 Update test_pycrypto_keys.py after pycrypto_keys.py changes 2013-10-17 13:01:32 -04:00
vladdd
8a7d0d4baf Update docstrings and comments in pycrypto_keys.py
Minor change to function names and argument validation.
2013-10-17 12:56:58 -04:00
vladdd
7ae7f2ddc2 Add new tuf.formats.py schema for pycrypto_keys.py
Remove extra whitespace in __init__.py
2013-10-17 12:54:08 -04:00
vladdd
42ea506dc1 Update time_ed25519.py following configurable crypto changes 2013-10-16 13:07:10 -04:00
vladdd
2244b6cabc Merge changes following Monzur's review of ed25519_key.py
Updates to docstrings and comments.
2013-10-16 12:46:57 -04:00
Vladimir Diaz
3b8ac77bd9 Merge pull request #131 from theupdateframework/ed25519
Add support for ed25519 signatures.
Reviewed by Monzur.
2013-10-15 07:23:56 -07:00
vladdd
a3351b5f34 Update ed25519_key.py following Monzur's review
We now raise an exception instead of blindly passing.  The previous behavior of expecting the caller to verify the availability of PyNaCl is not ideal.

Expanded the comments related to hexlifying data.

Renamed create_in_metadata_format() and create_from_metadata_format().
2013-10-15 10:22:17 -04:00
vladdd
4400f6a57e Merge branch 'develop' of https://github.com/theupdateframework/tuf into ed25519 2013-10-15 10:16:13 -04:00
Vladimir Diaz
088effe5ed Merge pull request #124 from theupdateframework/integration-tests-python3
Updates to integration tests
Python 3 compatibility changes to the integration tests reviewed by Zane.
2013-10-14 06:45:10 -07:00
vladdd
76d7796c4e Merge branch 'develop' of https://github.com/theupdateframework/tuf into integration-tests-python3 2013-10-14 09:36:29 -04:00
Vladimir Diaz
f8b781b19b Merge pull request #123 from theupdateframework/log
log.py updates
log.py changes reviewed by both Trishank and Monzur.
2013-10-14 06:24:14 -07:00
vladdd
dc84e051e6 Update the valid expiration data 2013-10-14 09:20:49 -04:00
vladdd
7e593963a9 Complete test_verify_signature() in test_ed25519_keys.py 2013-10-14 08:41:38 -04:00
vladdd
7e948f342c Add initial test_ed25519_keys.py
test_verify_signature() incomplete.
2013-10-11 13:01:46 -04:00
vladdd
f76dfd4f4a Validate arguments and update doctests in ed2519_keys.py
Validate arguments using the newly added ed25519 schemas to formats.py.
2013-10-11 12:20:18 -04:00
vladdd
b831016abf Add ed25519 schemas to formats.py
New ed25519 schemas to validate public and seed keys, and signatures.
2013-10-11 12:06:20 -04:00
vladdd
8372100de8 Add a LengthString schema type to schema.py
Update docstring whitespace.
2013-10-11 12:03:21 -04:00
vladdd
81a15147b2 Add remaining test cases in test_pycrypto_keys.py 2013-10-11 10:15:09 -04:00
vladdd
2f61272c28 Update test cases moved over to test_pycrypto_keys.py
test cases updated with configurable crypto changes.
2013-10-11 09:07:25 -04:00