Commit graph

1590 commits

Author SHA1 Message Date
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
Vladimir Diaz
1da95b885b Add missing exceptions to the docstring of verify_rsa_signature() 2016-01-25 11:30:24 -05:00
Vladimir Diaz
2c8dead51a Do not store exception messages in a temp variable 2016-01-25 11:17:21 -05:00
Vladimir Diaz
1e0fe452d9 Raise ValueError, rather than TypeError, in create_rsa_signature() 2016-01-25 11:14:25 -05:00
Vladimir Diaz
4cf3b971b2 Fix comments related to exceptions for create_rsa_signature() 2016-01-22 15:33:23 -05:00
Vladimir Diaz
5a7acd571f Merge pull request #309 from vladimir-v-diaz/develop
Update `tox.ini` and `setup.py`
2016-01-22 11:42:08 -05:00
Vladimir Diaz
2517bd1341 Update MANIFEST.in
Remove iso8601 entry
2016-01-22 11:09:55 -05:00
Vladimir Diaz
c83cc32578 Update setup.py
* Bump version number to 0.10.0 (pre-release)
* Update URL
* Remove classifier for Python 3.2
2016-01-22 10:59:21 -05:00
Vladimir Diaz
b2177aaaad Update tox.ini
Test and build against Python 3.5
2016-01-22 10:35:59 -05:00
Vladimir Diaz
b69330743e Do not store exception messages (before raising) in a variable 2016-01-21 17:31:26 -05:00
Vladimir Diaz
284e8008a4 Fix comment for generate_rsa_public_and_private test case
The incorrect comment  was previously written for PyCrypto.  Also remove a call to generate_rsa_public_and_private(2050) that is actually valid under pyca/cryptography
2016-01-21 16:57:42 -05:00
Vladimir Diaz
8ce6031ced Add a note to extract_pem() to state the expected format of the returned pem 2016-01-21 16:39:26 -05:00
Vladimir Diaz
0c05e36030 Delete unneeded variable in keys.py 2016-01-21 16:21:29 -05:00
Vladimir Diaz
faf1a18a99 Remove extraneous blank line 2016-01-21 16:12:55 -05:00
Vladimir Diaz
f0e3f76adc Explain that a subset of crypto libraries can be used for general-purpose crypto and RSA 2016-01-21 16:11:56 -05:00
Vladimir Diaz
75f1b93b37 Fix UnsupportedLibraryError messages in keys.py
The error messages raised when a crypto library specified in conf.py is unavailable were expanded.  Modified the message to not use backslashes (explicit line continuation)
2016-01-21 16:09:33 -05:00
Vladimir Diaz
13c97442c7 Merge branch 'develop' of https://github.com/theupdateframework/tuf into 1.0-review 2016-01-21 13:27:42 -05:00
Vladimir Diaz
ddec8ab44a Update aggregate_tests.py
Decrease the verbosity of the test runner so that only test failures are shown.
2016-01-21 13:25:58 -05:00
Vladimir Diaz
5d19975029 Update tox.ini
Drop support for Python 3.2.  No longer supported by coverage and others.
2016-01-21 13:04:29 -05:00
Vladimir Diaz
6a9c209381 pyca_crypto_keys.py is not used to generate Ed25519 keys (ed25519_keys.py is) 2016-01-21 12:39:46 -05:00
Vladimir Diaz
f6d7302293 Tweak the comment blocks for the crypto import statements in keys.py 2016-01-21 12:36:15 -05:00
Vladimir Diaz
294def9ade Update tox.ini 2016-01-21 11:23:32 -05:00
Vladimir Diaz
c45ce4f060 Merge branch 'develop' of https://github.com/theupdateframework/tuf into test_https_connection 2016-01-21 11:12:22 -05:00
Vladimir Diaz
91af494f12 Merge pull request #308 from vladimir-v-diaz/develop
Import `tuf.log` in `test_init.py` and fix logger name.  Issue #303.
2016-01-20 15:58:07 -05:00
Vladimir Diaz
25ba4001c2 Merge branch 'develop' of https://github.com/theupdateframework/tuf into develop 2016-01-20 10:52:26 -05:00
Vladimir Diaz
84fed901e3 Merge pull request #307 from davedoesdev/davedoesdev-log-fix
Don't import tuf.log in __init__.py so importing tuf.conf doesn't start logging
2016-01-20 10:33:22 -05:00
Vladimir Diaz
cb687b4c2f Import tuf.log in test_init and fix logger name. Issue #303.
In PR #307, tuf.log is no longer imported by __init__.py.  Add an import statement for tuf.log to fix missing handler warning in 'test_init.py.  The logger name specified is also incorrect.
2016-01-20 10:29:58 -05:00
David Halls
1c51b8d732 Don't import tuf.log in __init__.py so importing tuf.conf doesn't start logging 2016-01-19 07:12:07 +00:00
Vladimir Diaz
0c26e030e8 Merge pull request #304 from vladimir-v-diaz/configurable-log-filename
Allow users to specify (via conf.py) the path to save log files.  Issue #303
2016-01-15 15:52:53 -05:00
Vladimir Diaz
86b7af94f2 Remove 'import os' statement (the os module is not needed) 2016-01-15 11:04:21 -05:00
Vladimir Diaz
61c4012539 Merge branch 'develop' of https://github.com/theupdateframework/tuf into configurable-log-filename 2016-01-15 10:59:25 -05:00
Vladimir Diaz
4d8c1de911 Merge pull request #305 from davedoesdev/davedoesdev-more-python3-fixes
Fix Python 3 encoding issues in pcyca_crypto_keys.py
2016-01-15 10:58:06 -05:00
David Halls
015deb4570 Fix Python 3 encoding issues in pcyca_crypto_keys.py 2016-01-15 09:18:25 +00:00
Vladimir Diaz
d992c5dd3e Set the logger (prior to adding a potential file handler) to avoid multiple if-else statements 2016-01-14 17:58:46 -05:00
Vladimir Diaz
47cae502fa Allow users to specify the path (via conf.py) to save log files 2016-01-14 17:25:08 -05:00