lp:~dreamhosters/txaws/920309-fix-ca-certs
- Get this branch:
- bzr branch lp:~dreamhosters/txaws/920309-fix-ca-certs
Branch merges
- Arsene Rei: Approve
- Jamu Kakar: Approve
-
Diff: 541 lines (+263/-146)7 files modifiedMakefile (+1/-1)
txaws/client/ssl.py (+44/-16)
txaws/client/tests/test_base.py (+8/-125)
txaws/client/tests/test_ssl.py (+199/-0)
txaws/exception.py (+6/-0)
txaws/s3/client.py (+1/-2)
txaws/s3/tests/test_acls.py (+4/-2)
Related bugs
Bug #920309: test_ssl_hostname_verification unit test error | Medium | Fix Released |
Related blueprints
Branch information
Recent revisions
- 132. By Duncan McGreggor
-
Per Jamu's review comment, made the shell env var something distinctly
txAWS-ey. - 130. By Duncan McGreggor
-
* Filled in the test case for the get_ca_certs function.
* Moved the import of txaws.client.ssl to the module-level.
* Removed temp docstring created for removing pyflakes. - 129. By Duncan McGreggor
-
Used trial.unittest.
patch to modify a unit test that was failing on a system
with no .pem files in the certs directory. - 127. By Duncan McGreggor
-
* Stubbed out unit tests for get_ca_certs.
* Renamed the txaws.client.base test module to reflect the name of the module
that it's testing.
* Added a note about fixing the test_ssl_hostname_ verification test. - 125. By Duncan McGreggor
-
* Added a custom exception for certs not found.
* Added a check for the presence of any cert files; if not, raise an error
(without this, an obscure Twisted exception is raised). - 124. By Duncan McGreggor
-
Tweaked the get_ca_certs function pretty heavily.
The default is now specified at the module-level (DEFAULT_
CERT_PATH) , and this
is over-ridable with an environment variable (CERT_PATH). Each may contain
multiple paths, separated by colons.
Branch metadata
- Branch format:
- Branch format 7
- Repository format:
- Bazaar repository format 2a (needs bzr 1.16 or later)
- Stacked on:
- lp:txaws