Commit graph

1590 commits

Author SHA1 Message Date
Vladimir Diaz
6e1023ea29 Merge pull request #301 from davedoesdev/fix-python3
Fix Python 3 errors
2016-01-14 11:07:41 -05:00
David Halls
c859eeb258 Address code review comments 2016-01-13 23:02:17 +00:00
David Halls
4172479d39 Fix Python 3 errors
- Signing data should be byte strings
- Don't log exception outside handler (#300)
2016-01-04 22:00:13 +00:00
Vladimir Diaz
6f7a7dfa80 Merge branch 'develop' of https://github.com/theupdateframework/tuf into test_https_connection 2015-11-18 15:27:49 -05:00
Vladimir Diaz
1f4f7d4b63 Add a README to the "examples" directory.
Also warn users that the examples might not be fully up-to-date, and
to please consult the examples used by the unit tests.
2015-11-17 15:28:18 -05:00
Vladimir Diaz
b60b741261 Update tuf-spec.txt
* @jawi recommended that the specification say that it is up to implementers to decide how keys should be securely stored.

* Python implementation -> reference implementation: for clarity and to be consistent with other documents.
2015-11-17 15:19:24 -05:00
Vladimir Diaz
cb1591e63d Update tuf-spec.txt
Fix for issue #296.  We should document which underlying hash function is used with PKCS #1 RSA PSS signatures to maintain compatibility with different clients, or integrators that wish to verify/test our metadata.
2015-11-11 12:55:30 -05:00
Vladimir Diaz
b5f7a1aa8d Review test_updater.py 2015-10-28 14:26:49 -04:00
Vladimir Diaz
cba763239f Review updater.py 2015-10-28 13:58:14 -04:00
Vladimir Diaz
fab23480b3 Review 'test_repository_lib.py' 2015-10-28 11:45:01 -04:00
Vladimir Diaz
a41532e5c9 Review repository_lib.py 2015-10-28 11:36:18 -04:00
Vladimir Diaz
1f16868775 Review repository_tool.py 2015-10-27 17:49:25 -04:00
Vladimir Diaz
7bf14b3bc4 Review 'test_replay_attack' 2015-10-27 17:24:57 -04:00
Vladimir Diaz
2541276320 Review 'test_mix_and_match_attack.py 2015-10-27 17:22:14 -04:00
Vladimir Diaz
25d98780fb Review 'test_extraneous_dependencies_attack.py' 2015-10-27 17:15:46 -04:00
Vladimir Diaz
7f91f56802 Review conf.py 2015-10-27 17:04:29 -04:00
Vladimir Diaz
af6f5c9d83 Review __init__.py 2015-10-27 17:00:56 -04:00
Vladimir Diaz
0912495b2b Review 'test_formats.py' 2015-10-27 16:55:51 -04:00
Vladimir Diaz
d027d88312 Review of 'formats.py' changes 2015-10-27 16:40:02 -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
14ca0d1565 Update the repository test data following the addition of the 'compression algorithms' key in root.json 2015-10-20 09:14:21 -04:00
Vladimir Diaz
f9f44d7f04 Request the expected file lengths for the different metadata roles 2015-10-15 10:58:10 -04:00
Vladimir Diaz
d993ccf35e Generate a repository for the unit tests that contains the changes to the snapshot role 2015-10-15 09:53:54 -04:00
Vladimir Diaz
7bbdd87117 Update the unit test for updater.py after implementing versioninfo 2015-10-15 09:52:14 -04:00
Vladimir Diaz
ed1f217022 Implement changes for _update_metadata() 2015-10-15 09:49:32 -04:00
Vladimir Diaz
2dfaa090d6 Merge pull request #292 from awwad/develop
Just fixing a link in the readme that pointed to a moved webpage for Virtualenv.
2015-10-05 17:34:39 -04:00
awwad
da14861342 Removing temp file cruft
Removing temp file cruft
2015-10-05 17:20:13 -04:00
awwad
7aef036f3a Link correction
Correcting the Virtualenv links (introduction and installation).
2015-10-05 17:16:30 -04:00
Vladimir Diaz
26f5dbc181 Merge pull request #291 from bennofs/patch-1
tuf-spec.txt: fix duplicate 'the'
2015-10-03 10:41:12 -04:00
Benno Fünfstück
6ae6a0cda0 tuf-spec.txt: fix duplicate 'the' 2015-10-03 15:40:24 +02:00
Vladimir Diaz
89dfda1f11 self.fileinfo ---> self.versioninfo 2015-09-24 10:52:14 -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
a75db24b67 Update repository_tool.py
Fix typographical error.
2015-08-31 18:21:04 -04:00
Vladimir Diaz
8aa465f69e Merge pull request #289 from vladimir-v-diaz/develop
Support pyca/Cryptography
2015-08-31 16:15:35 -04:00
Vladimir Diaz
ef2ab091db Bump cryptography to 1.0 in dev-requirements.txt 2015-08-31 15:56:47 -04:00
Vladimir Diaz
e9b2271e6d Check the format of 'data' arguments in pycrypto_keys.py 2015-08-31 15:33:51 -04:00
Vladimir Diaz
9d9658eaf9 Edits to the end of pyca_crypto_keys.py 2015-08-31 12:02:02 -04:00
Vladimir Diaz
0b4217fbe7 Edits up to _encrypt() 2015-08-31 11:33:19 -04:00
Vladimir Diaz
84d70f8d3b Edits up to _generate_derived_key() 2015-08-31 11:21:27 -04:00
Vladimir Diaz
6b3861fdea Edits up to encrypt_key() 2015-08-31 11:14:35 -04:00
Vladimir Diaz
302ddd27ce Edits up to create_rsa_public_and_private_from_encrypted_pem(). 2015-08-28 17:35:48 -04:00
Vladimir Diaz
398555f32e Review edits up to create_rsa_encrypted_pem().
Add checks against invalid 'data' arguments in relevant functions.
2015-08-28 17:24:57 -04:00
Vladimir Diaz
0f8d4bea45 Edit documentation up to create_rsa_signature() in pyca_crypto_keys.py 2015-08-27 16:37:07 -04:00
Vladimir Diaz
9285fb07fa Update README.rst
Add sections to list the home page and mailing list.
2015-08-27 15:52:54 -04:00
Vladimir Diaz
bc0ba6b8d8 Add whitespace for readability 2015-08-26 17:31:21 -04:00
Vladimir Diaz
d146570099 Encode and decode the public/private pems returned in a function 2015-08-26 17:30:44 -04:00
Vladimir Diaz
5f2ee2f3ad Remove commented lines used for testing 2015-08-26 17:27:15 -04:00
Vladimir Diaz
21eeed3c94 Add extract_pem(), which was previously in format_rsakey_from_pem() 2015-08-26 17:26:29 -04:00