Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Prepare 17.0.017.0.0 | Hynek Schlawack | 2017-04-20 | 2 | -2/+2 |
| | |||||
* | Remove code for checking if EC support is present (#616) | Alex Chan | 2017-04-20 | 1 | -11/+9 |
| | |||||
* | Prepare for 17.0.0 (#615) | Hynek Schlawack | 2017-04-20 | 5 | -8/+8 |
| | | | | | | | | * Prepare for 17.0.0 Fix a bunch URLs and account for the non-existance of 16.3. * Fix codecov link | ||||
* | Assorted cheap coverage wins (#602) | Alex Chan | 2017-04-20 | 2 | -24/+96 |
| | |||||
* | Fix broken links in the documentation (#611) | Alex Chan | 2017-03-21 | 2 | -3/+3 |
| | | | | | | * Fix broken link described in #610 * Fix two other broken links | ||||
* | Fix up some pytest-related stuff (#601) | Hynek Schlawack | 2017-02-18 | 3 | -9/+5 |
| | |||||
* | Limit SSL_write bufsize to avoid OverflowErrors (#603) | Maximilian Hils | 2017-02-10 | 2 | -1/+33 |
| | | | | | | * limit SSL_write bufsize to avoid OverflowErrors * fix .send() truncation, add test | ||||
* | Rip out the last vestages of unittest from the test suite (#599) | Alex Chan | 2017-01-30 | 2 | -648/+282 |
| | |||||
* | Python 3.6 (#600) | Hynek Schlawack | 2017-01-30 | 4 | -6/+15 |
| | |||||
* | Convert the remaining tests in test_crypto.py to be pytest-style (#593) | Alex Chan | 2017-01-30 | 1 | -617/+461 |
| | |||||
* | Convert the rest of TestConnection to be pytest-style (#594) | Alex Chan | 2017-01-30 | 1 | -377/+286 |
| | |||||
* | Patch up easy TypeError-based coverage gaps (#598) | lymanZerga11 | 2017-01-30 | 1 | -4/+16 |
| | |||||
* | Convert more classes in test_crypto.py to pytest-style (#591) | Alex Chan | 2017-01-25 | 1 | -216/+193 |
| | |||||
* | Prevent _PassphraseHelper.raise_if_problem() from eating exceptions (#581) | Greg Bowser | 2017-01-25 | 4 | -13/+18 |
| | | | | | | | | | | | | | | | | | | | | | | | * Modify tests to detect empty crypto.Errors from load_privatekey This reproduces #119 and #456. * Prevent _PassphraseHelper.raise_if_problem() from eating exceptions. This resolves #119, resolves #456. `_PassphraseHelper.raise_if_problem()` always flushes the OpenSSL exception queue, but does not always raise an exception. In some cases, other code attempts to raise an error from OpenSSL after `raise_if_problem()` has flushed the queue, thus causing an empty exception to be raised (i.e. `raise Error([])`). This commit modifies `_PassphraseHelper.raise_if_problem` to flush the OpenSSL error queue only if it has en exception to raise. Subsequent code that detects an error should now be able to raise an non-empty exception. * Add CHANGELOG entry for #581. | ||||
* | Convert another couple of test classes to pytest-style (#586) | Alex Chan | 2017-01-24 | 1 | -174/+120 |
| | |||||
* | Convert TestContext to be pytest-style (#589) | Alex Chan | 2017-01-24 | 1 | -395/+284 |
| | |||||
* | Link to PR #580 in changelog. (#590) | Cory Benfield | 2017-01-24 | 1 | -0/+1 |
| | |||||
* | Add support for OCSP stapling. (#580) | Cory Benfield | 2017-01-24 | 5 | -2/+456 |
| | | | | | | | | | | | | | | | | | | | | | | | | * Define the OCSPCallbackHelper. * Define set_ocsp_status_callback function. * Reframe this as the "server" helper. * Add OCSP helper. * Allow clients to request OCSP * Some tests for OCSP. * Don't forget to throw callback errors. * Add changelog entry for OCSP stapling. * Require at least cryptography 1.7 * Sorry Flake8, won't happen again. * How does spelling work? | ||||
* | Convert a few more small test classes to be pytest-style (#585) | Alex Chan | 2016-12-19 | 3 | -80/+47 |
| | | | | | | | | * Rewrite test_tsafe to be pytest-style * Rewrite TestRevoked to be pytest-style * Convert TestConnection to be pytest-style | ||||
* | automatically set SSL_CTX_set_ecdh_auto when available (#575) | Paul Kehrer | 2016-12-19 | 2 | -0/+11 |
| | |||||
* | Convert the elliptic curve tests to be pytest-style (#576) | Alex Chan | 2016-12-19 | 2 | -68/+45 |
| | |||||
* | Document supported OpenSSL versions (#584) | Hynek Schlawack | 2016-12-11 | 1 | -0/+17 |
| | | | | | | | | * Document supported OpenSSL versions Fixes #485 * More precise version tuples | ||||
* | Activate intersphinx (#583) | Hynek Schlawack | 2016-12-11 | 2 | -18/+32 |
| | | | | | | | | | | | * Activate intersphinx That adds links to CPython docs and cryptography. Also let the copyright at 2001 which seems to be just fine and gives us reproducible builds. * Appease docs builder | ||||
* | Don't zero memory when we don't have to. (#578) | Cory Benfield | 2016-11-28 | 3 | -7/+18 |
| | |||||
* | We should consider *actually* testing Twisted. (#579) | Cory Benfield | 2016-11-28 | 1 | -1/+1 |
| | |||||
* | Add the ability to set a custom verification time on X509Store (#567) | Thomas Sileo | 2016-11-22 | 5 | -3/+47 |
| | |||||
* | Clarify error message (#573) | Hynek Schlawack | 2016-11-18 | 1 | -2/+6 |
| | |||||
* | Convert X509ExtTests to use pytest-style tests (#564) | Alex Chan | 2016-11-18 | 6 | -160/+171 |
| | |||||
* | Convert ALPN and SessionTests to use pytest-style tests (#570) | Alex Chan | 2016-11-10 | 1 | -37/+25 |
| | | | | | | * Convert ALPN tests to be pytest-style * Convert SessionTests to be pytest-style | ||||
* | Convert NextProtoNegotiationTests to use pytest-style tests (#569) | Alex Chan | 2016-11-10 | 2 | -152/+128 |
| | | | | | | | | | | | | | | | | | | * Convert NextProtoNegotiationTests to use pytest-style tests Addresses #340. * Fix Twisted test suite See https://twistedmatrix.com/trac/ticket/8876 * Remove tests for OpenSSL with no NPN support NPN was added in OpenSSL 1.0.1. As of version 16.1.0, PyOpenSSL only supports OpenSSL 1.0.1 or later, so this test is: 1. Testing a use case that's no longer supported. 2. Dead code in CI. | ||||
* | Ensure the LICENSE file is part of our wheel (#557) | Hynek Schlawack | 2016-11-06 | 1 | -1/+9 |
| | | | Also add some comments the other options. | ||||
* | Convert ServerNameCallbackTests to use pytest-style tests (#565) | Alex Chan | 2016-11-05 | 1 | -67/+59 |
| | | | | | | | | | | | | | | | | | | | * Convert ServerNameCallbackTests to use pytest-style tests As well as pytest-ifying up the tests, remove a few redundant tests and tidy up docstrings as per feedback in #563. Addresses #340. * Remove a stray ':py:obj:' in test docstring * Remove _LoopbackMixin from TestServerNameCallback Per @hynek feedback. This test class only depended on one method, which can be broken out as a separate function anyway -- I'll gradually disassemble the loopback as I pytest-ify other tests. * Re-wrap a few comments | ||||
* | Convert test_util to use pytest-style tests (#562) | Alex Chan | 2016-10-24 | 1 | -6/+5 |
| | | | | | | | Fix up the assert helpers, subclass from `object` rather than `TestCase`, and then I had to rename the class -- pytest doesn't pick it up with the original name. Addresses #340. | ||||
* | Convert test_rand to use pytest-style tests (#563) | Alex Chan | 2016-10-24 | 4 | -97/+98 |
| | | | | | | | | | | Fix up the assert helpers, subclass form `object` rather than test case, and use parametrization where appropriate. One helper method on the original `TestCase` was the ability to create temporary directories that were cleaned up at the end of the test -- now we use a pytest fixture instead: http://doc.pytest.org/en/latest/tmpdir.html Addresses #340. | ||||
* | Start new release cycle (#556) | Hynek Schlawack | 2016-10-16 | 2 | -1/+26 |
| | |||||
* | Prepare 16.2.0 (#555)16.2.0 | Hynek Schlawack | 2016-10-15 | 6 | -9/+10 |
| | | | | | | | | * Add empty line to CHANGELOG so extraction works * Fix a bunch of links * Prepare 16.2.0 | ||||
* | add changelog entry for fix (#553) | Paul Kehrer | 2016-10-06 | 1 | -0/+2 |
| | |||||
* | move our cryptography backend import (#552) | Paul Kehrer | 2016-10-06 | 1 | -1/+13 |
| | | | sad trombone | ||||
* | Fixes #546 -- use the latest xcode (#548) | Alex Gaynor | 2016-09-25 | 1 | -0/+2 |
| | |||||
* | Changelog entry for 1.1.0 (#547) | Alex Gaynor | 2016-09-24 | 1 | -2/+1 |
| | |||||
* | Test on OpenSSL 1.1.0 with travis. Fixes #524 (#526) | Alex Gaynor | 2016-09-24 | 4 | -26/+71 |
| | |||||
* | fix cffi warnings for proper buffer types (#545) | Paul Kehrer | 2016-09-20 | 3 | -5/+5 |
| | |||||
* | Update PyPy (#540) | Hynek Schlawack | 2016-09-12 | 1 | -2/+2 |
| | |||||
* | Nudge people towards better hashes in a few places (#538) | Alex Gaynor | 2016-09-11 | 2 | -4/+4 |
| | |||||
* | Use our docs to point people towards modern hashes (#537) | Alex Gaynor | 2016-09-11 | 1 | -1/+1 |
| | |||||
* | Fixed #529 -- use the native bytes syntax (#536) | Alex Gaynor | 2016-09-11 | 4 | -237/+237 |
| | |||||
* | Don't use SSLv3 (#534) | Alex Gaynor | 2016-09-10 | 1 | -1/+1 |
| | |||||
* | Pass an explicit nameopt to be resillient to OpenSSL default changes (#533) | Alex Gaynor | 2016-09-10 | 1 | -2/+4 |
| | | | | | | * fix two tests for OpenSSL 1.1.0's new defaults * flake8 | ||||
* | make these tests pass if OP_NO_SSLv2 is 0 (#532) | Alex Gaynor | 2016-09-10 | 1 | -2/+2 |
| | |||||
* | bump the size of some test keys (#531) | Alex Gaynor | 2016-09-10 | 1 | -3/+3 |
| |