Commit graph

3274 commits

Author SHA1 Message Date
Vladimir Diaz
2a7bd8248f Merge branch 'develop' of github.com:theupdateframework/tuf into 1.0-review2 2016-02-11 12:31:06 -05:00
Vladimir Diaz
5059e0514e Merge pull request #311 from vladimir-v-diaz/1.0-review
Address comments to the `pyca/Cryptography` pull request
2016-02-11 12:29:57 -05:00
Vladimir Diaz
2612ab6856 Minor edit to comment in create_rsa_signature() 2016-02-11 12:19:15 -05:00
Vladimir Diaz
e007507e0b Expand comment to say that users have the option to update tuf.conf if a required library is unavailable 2016-02-11 12:17:52 -05:00
Vladimir Diaz
5b1a931177 Remove unneeded import statement ('Crypto') 2016-02-11 11:25:35 -05:00
Vladimir Diaz
91208fd6ff Merge branch 'develop' of github.com:theupdateframework/tuf into 1.0-review 2016-02-11 10:07:57 -05:00
Vladimir Diaz
541279be7a Minor cosmetic edit to repository_tool.py 2016-02-11 10:07:32 -05:00
Vladimir Diaz
a7a021899a Update README.rst
Fix typo in previous commit.
2016-02-05 16:51:02 -05:00
Vladimir Diaz
a206dccd7f Update README.rst 2016-02-05 16:48:25 -05:00
Vladimir Diaz
3cfa141101 Update README.rst
Fix links
2016-02-04 11:09:09 -05:00
Vladimir Diaz
665aa68a5b Update README.rst 2016-02-04 11:04:04 -05:00
Vladimir Diaz
a4e29c7422 Merge branch '1.0-review2' of github.com:vladimir-v-diaz/tuf into role_metadata_one_directory 2016-02-03 10:11:08 -05:00
Vladimir Diaz
efb73a2bd2 Merge branch 'develop' of github.com:theupdateframework/tuf into 1.0-review2 2016-02-03 10:10:32 -05:00
Vladimir Diaz
0f16c943f1 Merge branch 'develop' of github.com:theupdateframework/tuf into role_metadata_one_directory 2016-02-02 17:15:50 -05:00
Vladimir Diaz
b5e75ab277 Raise an exception if a required privat key is unset 2016-01-29 10:57:25 -05:00
Vladimir Diaz
3f1bb37560 Clarify that keys with sizes lower than what we recommend may still be imported 2016-01-28 17:46:28 -05:00
Vladimir Diaz
6953fd758b Delete irrelevant comment in import_rsakey_from_encrypted_pem() 2016-01-28 17:36:26 -05:00
Vladimir Diaz
c99bb0fe01 Reduce redundant info in a comment, but emphasize what is excluded in keyid 2016-01-28 15:48:29 -05:00
Vladimir Diaz
35ce49707c Do not store exception message in temporary variables 2016-01-28 15:22:20 -05:00
Vladimir Diaz
39535f82e1 Do not store exception messages in temporary variables 2016-01-28 14:39:43 -05:00
Vladimir Diaz
75b8b66523 Fix doc test failures in two functions of keys.py 2016-01-28 14:26:56 -05:00
Vladimir Diaz
d9ecbc851f Do not store private key material in exception messages 2016-01-28 14:03:49 -05:00
Vladimir Diaz
2452076467 Update comment to list PyCA's newly supported crypto library 2016-01-28 13:41:15 -05:00
Vladimir Diaz
1380b67642 conformat --> conformant 2016-01-28 13:30:17 -05:00
Vladimir Diaz
68e863835b Fix comment in generate_ed25519_key()
Fix comment to explain that PyCA's pure python implmentation of ed25519 is used as a fall back only in the verification of Ed25519 signatures
2016-01-28 13:26:48 -05:00
Vladimir Diaz
76efd83439 Update .travis.yml
Set Python 3.5 as the base interpreter to fix the following build failure:

py26: commands succeeded
py27: commands succeeded
py33: commands succeeded
py34: commands succeeded
ERROR:   py35: InterpreterNotFound: python3.5
2016-01-27 19:19:33 -05:00
Vladimir Diaz
854b7ce74c Merge branch 'develop' of github.com:theupdateframework/tuf into 1.0-review 2016-01-27 17:37:49 -05:00
Vladimir Diaz
5a0a911a87 Merge branch 'develop' of github.com:theupdateframework/tuf into 1.0-review2 2016-01-27 17:37:28 -05:00
Vladimir Diaz
f978802b70 Update tox.ini
Decrease coverage's `fail-under %` until TUF v1.0 changes are fully implemented.
Note: Coverage under Python 2.7 is currently at 95%
2016-01-27 17:36:58 -05:00
Vladimir Diaz
c2d1a0e9d6 Merge branch 'develop' of github.com:theupdateframework/tuf into 1.0-review2 2016-01-27 17:11:50 -05:00
Vladimir Diaz
55f1a5bad3 Merge branch 'develop' of github.com:theupdateframework/tuf into 1.0-review 2016-01-27 17:11:16 -05:00
Vladimir Diaz
8534c18534 Merge pull request #312 from vladimir-v-diaz/test_https_connection
Resolve `test_https_connection` test case failure
2016-01-27 17:09:14 -05:00
Vladimir Diaz
b1ff51a5fc Merge branch 'develop' of github.com:theupdateframework/tuf into test_https_connection 2016-01-27 17:08:21 -05:00
Vladimir Diaz
58a14d4ad5 Merge pull request #295 from vladimir-v-diaz/tuf1.0_version_numbers
Specify version numbers, rather than file lengths and hashes, in snapshot.json
2016-01-27 17:08:12 -05:00
Vladimir Diaz
2f77fbccb6 Merge branch 'develop' of github.com:theupdateframework/tuf into tuf1.0_version_numbers 2016-01-27 17:07:06 -05:00
Vladimir Diaz
f38d99ab27 Add the new path to the SSL certificate used for testing 2016-01-27 16:35:23 -05:00
Vladimir Diaz
b435618878 Remove extra whitespace around argument 2016-01-27 16:34:13 -05:00
Vladimir Diaz
5ce17a3945 Add the newly-generated SSL cert and key to simple_https_server.py 2016-01-27 16:32:59 -05:00
Vladimir Diaz
dfbdc5aaea Add SSL certificate and key used to test https connections 2016-01-27 16:31:33 -05:00
Vladimir Diaz
1f06c656ea Remove certificates used to test https connections 2016-01-27 16:30:52 -05:00
Vladimir Diaz
50a65e56ba Merge branch 'develop' of github.com:theupdateframework/tuf into test_https_connection 2016-01-26 15:26:45 -05:00
Vladimir Diaz
8d5a7cb8c1 Do not reference the current module by name in the header block 2016-01-26 15:01:50 -05:00
Vladimir Diaz
69bcd16680 Explain in formats.py that functions may set further restrictions on schemas 2016-01-26 14:49:37 -05:00
Vladimir Diaz
85c229fd3b Remove temp variables to store exception messages
And move links for RSA and Ed225519 to a more suitable location in the doctsring.
2016-01-25 17:02:20 -05:00
Vladimir Diaz
d3c1631f79 Minor edit to comment to insert semi-colon 2016-01-25 12:18:34 -05:00
Vladimir Diaz
9e8d6822fb Remove variable to hold result of signature verification 2016-01-25 12:12:55 -05:00
Vladimir Diaz
28e2f947b3 Raise correct exception (tuf.Cryptography --> tuf.CryptoError) in verify_rsa_signature() 2016-01-25 11:56:44 -05:00
Vladimir Diaz
5aabfaf094 Remove unused exception variable (as e) 2016-01-25 11:54:31 -05:00
Vladimir Diaz
ac03844b8b Move (earlier) the raised exception statement for an invalid 'signature_method' 2016-01-25 11:51:52 -05:00
Vladimir Diaz
b50960a056 Update the test case for create_rsa_signature()
Verify that ValueError is now raised
2016-01-25 11:42:15 -05:00