| Commit message (Collapse) | Author | Age | Files | Lines | |
|---|---|---|---|---|---|
| * | Initialize a context at instantiation time | Stephen Holsapple | 2015-02-12 | 1 | -0/+18 |
| | | | | | | | | | | | | | | | To maintain a Pythonic API, we need to initialize the store context object at object instantiation time so that it is possible to modify the trust store (a legitable use case) after the object is created. As the store context implementation becomes more featureful, this will become more important. E.g., when we add support for `X509_STORE_CTX_get0_param` and X509_STORE_CTX_set0_param` to change verification parameters, we'll want to do this. This change also adds a very simple `set_store` method mostly to make the initialization and modification changes easier to test. | ||||
| * | Refactoring verify_cert | Stephen Holsapple | 2015-01-30 | 1 | -17/+17 |
| | | | | | | | | | | | | Apply the changes that we've been talking about in https://github.com/pyca/pyopenssl/pull/155 regarding the placement of verify_cert, viz., moving verify_cert from top level of crypto into X509StoreContext. This makes the pyOpenSSL API slightly different than the OpenSSL API, but the plan will be to add back a verify_cert to the top level that is nice to use. | ||||
| * | Make a more specific assertion about where the failure reason shows up. | Jean-Paul Calderone | 2015-01-30 | 1 | -3/+3 |
| | | |||||
| * | remove unused import | Jean-Paul Calderone | 2015-01-30 | 1 | -1/+0 |
| | | |||||
| * | Small test method docstring fixes and fixes for tests of exceptional cases. | Jean-Paul Calderone | 2015-01-30 | 1 | -20/+14 |
| | | |||||
| * | Four space indentation and other whitespace fixes. | Jean-Paul Calderone | 2015-01-30 | 1 | -10/+17 |
| | | |||||
| * | Add OpenSSL.crypto.verify_chain method. | Stephen Holsapple | 2015-01-30 | 1 | -2/+154 |
| | | | | | | | | | | | | | | | | This change adds support for verifying a certificate or a certificate chain. This implementation uses OpenSSL's underlying X509_STORE_CTX_* class of functions to accomplish this. This change also adds an intermediate signing certificate/key and a service certificate/key signed with the intermediate signing certificate, to make testing the OpenSSL.crypto.verify_chain method easier to test. I figured I would add it to the top level module so other people can use an intermediate signing certificate in their own tests. Issue: https://github.com/pyca/pyopenssl/issues/154 | ||||
| * | Merge pull request #179 from exarkun/Context.check_privatekey | Jean-Paul Calderone | 2015-01-19 | 2 | -4/+41 |
| |\ | | | | | Fix a regression in Context.check_privatekey which caused it to always succeed. | ||||
| | * | merge master | Jean-Paul Calderone | 2015-01-18 | 1 | -0/+14 |
| | |\ | |||||
| | * | | Give assertIs and assertIsNot their stdlib-preferred names. | Jean-Paul Calderone | 2014-12-12 | 1 | -4/+4 |
| | | | | |||||
| | * | | Add tests for Context.check_privatekey. | Jean-Paul Calderone | 2014-12-11 | 1 | -0/+37 |
| | | | | |||||
| * | | | Merge pull request #172 from alex/fix-typos | Jean-Paul Calderone | 2015-01-18 | 1 | -2/+2 |
| |\ \ \ | |_|/ |/| | | Fix several typos. | ||||
| | * | | Fixed several typos | Alex Gaynor | 2014-11-15 | 1 | -2/+2 |
| | | | | |||||
| * | | | Add test for Connection.shutdown on closed socket | Paul Aurich | 2015-01-08 | 1 | -0/+14 |
| | |/ |/| | |||||
| * | | verisign.org turned off SSLv3 (Happy Days!) | Alex Gaynor | 2014-11-15 | 1 | -2/+2 |
| |/ | |||||
| * | Added a docstring | Alex Gaynor | 2014-08-14 | 1 | -0/+4 |
| | | |||||
| * | Py3k fix | Alex Gaynor | 2014-08-14 | 1 | -2/+2 |
| | | |||||
| * | Added a test for loading ASN1 data | Alex Gaynor | 2014-08-14 | 1 | -2/+30 |
| | | |||||
| * | the minimal documentation requirements | Jean-Paul Calderone | 2014-05-06 | 1 | -0/+4 |
| | | |||||
| * | merge master | Jean-Paul Calderone | 2014-05-05 | 3 | -15/+433 |
| |\ | |||||
| | * | Merge pull request #108 from pyca/pkcs12-without-passphrase | Jean-Paul Calderone | 2014-05-05 | 1 | -8/+79 |
| | |\ | | | | | | | Re-enable support for loading PKCS12 containers that have no passphrase or an empty passphrase and let this be the default when no passphrase is passed to `load_pkcs12`. | ||||
| | | * | Fix too-long lines and fix repeated spelling error. | Jean-Paul Calderone | 2014-05-05 | 1 | -13/+21 |
| | | | | |||||
| | | * | Cleaner support PKCS#12 without passphrase. | Stephen Holsapple | 2014-04-22 | 1 | -8/+71 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | The upgrade from 0.13 -> 0.14 had a small backwards incompatible API change that, in 0.14, requires `load_pkcs12` to pass in a passphrase. This change makes the API backwards compatible by setting a default value for the passphrase argument. Add test cases and change log entry for changes. | ||||
| | * | | Merge pull request #101 from pyca/ecdhe | Jean-Paul Calderone | 2014-05-01 | 3 | -4/+315 |
| | |\ \ | | |/ | |/| | Add basic support for using ECDHE. | ||||
| | | * | Add some Python 2.6 compatibility. | Jean-Paul Calderone | 2014-05-01 | 1 | -0/+17 |
| | | | | |||||
| | | * | Directly test that curves work well as set elements. | Jean-Paul Calderone | 2014-05-01 | 1 | -0/+32 |
| | | | | |||||
| | | * | Use that helper to define tests for equality of _EllipticCurve instances. | Jean-Paul Calderone | 2014-04-30 | 1 | -1/+42 |
| | | | | |||||
| | | * | Add a helper for testing equality. | Jean-Paul Calderone | 2014-04-30 | 1 | -0/+130 |
| | | | | |||||
| | | * | Merge branch 'master' into ecdhe | Jean-Paul Calderone | 2014-04-19 | 1 | -0/+32 |
| | | |\ | |||||
| | | * | | restore even more python 3.2 compat! | Jean-Paul Calderone | 2014-04-19 | 1 | -1/+1 |
| | | | | | |||||
| | | * | | restore python 3.2 compatibility | Jean-Paul Calderone | 2014-04-19 | 1 | -3/+3 |
| | | | | | |||||
| | | * | | Mirror the OpenSSL API as is our idiom. | Jean-Paul Calderone | 2014-04-19 | 1 | -3/+3 |
| | | | | | |||||
| | | * | | Switch to an explicit curve object. | Jean-Paul Calderone | 2014-04-18 | 2 | -98/+85 |
| | | | | | | | | | | | | | | | | | Happily, this eliminates just about all of the error cases. | ||||
| | | * | | Some versions of Python do not support the unicode literal syntax. | Jean-Paul Calderone | 2014-04-17 | 1 | -1/+1 |
| | | | | | |||||
| | | * | | Add a test for the failure condition of EC_KEY_new_by_curve_name | Jean-Paul Calderone | 2014-04-17 | 1 | -2/+22 |
| | | | | | |||||
| | | * | | Support for Python 2.6 - which lacks addCleanup | Jean-Paul Calderone | 2014-04-17 | 1 | -8/+9 |
| | | | | | |||||
| | | * | | explicitly fail with a useful message | Jean-Paul Calderone | 2014-04-17 | 1 | -2/+6 |
| | | | | | |||||
| | | * | | Some docstring cleanups. | Jean-Paul Calderone | 2014-04-17 | 1 | -8/+7 |
| | | | | | |||||
| | | * | | Add a test for the False case of Cryptography_HAS_EC. | Jean-Paul Calderone | 2014-04-17 | 1 | -0/+18 |
| | | | | | |||||
| | | * | | Merge remote-tracking branch 'pyca/master' into ecdhe | Jean-Paul Calderone | 2014-04-17 | 2 | -1/+158 |
| | | |\ \ | |||||
| | | * | | | ecdh: Use different exception types for different errors | Andy Lutomirski | 2014-04-04 | 1 | -3/+40 |
| | | | | | | | | | | | | | | | | | | | | | This sneakily fixes some test cases typos, too. | ||||
| | | * | | | Move test that checks for curve descriptions to a separate test | Laurens Van Houtven | 2014-04-03 | 1 | -5/+11 |
| | | | | | | | | | | | | | | | | | | | | | This also ninja-fixes the typo that was in the previous comment. | ||||
| | | * | | | Merge branch 'ecdhe' of git://github.com/amluto/pyopenssl into ecdhe | Laurens Van Houtven | 2014-03-29 | 1 | -0/+19 |
| | | |\ \ \ | |||||
| | | | * | | | Identify elliptic curves by short name, not NID | Andy Lutomirski | 2014-03-13 | 1 | -10/+17 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Using NIDs is awkward and requires updating pyOpenSSL every time a new curve is added. This approach avoids needing to update pyOpenSSL each time a new curve is added, and it results in more readable code and a more readable dict ELLIPTIC_CURVE_DESCRIPTIONS. | ||||
| | | | * | | | Merge branch 'master' into ecdhe-support | Alex Gaynor | 2014-02-22 | 1 | -2/+2 |
| | | | |\ \ \ | |||||
| | | | * \ \ \ | Merge branch 'master' into ecdhe-support | Alex Gaynor | 2014-02-20 | 3 | -55/+252 |
| | | | |\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Conflicts: .gitignore OpenSSL/test/test_ssl.py | ||||
| | | | * | | | | | Use the internal name | Alex Gaynor | 2014-01-17 | 1 | -2/+2 |
| | | | | | | | | | |||||
| | | | * | | | | | Added tests | Alex Gaynor | 2014-01-17 | 1 | -0/+12 |
| | | | | | | | | | |||||
| | * | | | | | | | Merge remote-tracking branch 'pyca/master' into wantwritetest-37+67 | Jean-Paul Calderone | 2014-04-21 | 2 | -1/+190 |
| | |\ \ \ \ \ \ \ | | | |_|_|_|_|/ | | |/| | | | | | |||||
| | | * | | | | | | Also accept buffer in Connection.send and .sendall | Markus Unterwaditzer | 2014-04-19 | 1 | -0/+32 |
| | | | |_|_|_|/ | | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Not at all sure what i am doing, but according to http://hg.python.org/cpython/rev/9e718d8f71e8/, buffers are a accepted type to pass to sendall in Python 2.6. | ||||
