Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | review feedback + make the test actually test a thing | Paul Kehrer | 2016-03-07 | 1 | -6/+15 |
| | |||||
* | only call ERR_error_string if we're going to raise InternalError | Paul Kehrer | 2016-03-07 | 1 | -1/+21 |
| | |||||
* | make engine addition idempotent | Paul Kehrer | 2015-10-21 | 1 | -2/+2 |
| | | | | | | | | | | | Threading issues keep cropping up. ENGINE_add already acquires a lock at the C layer via CRYPTO_w_lock (provided you have registered the locking callbacks) so let's try to use that. As part of this we'll try to init the openssl locks, but of course there's potentially a race there as well. Clearly this isn't the real fix but it might improve the situation while we try to determine what to do. | ||||
* | Merge pull request #2180 from reaperhulk/easy-conditional-fix | Donald Stufft | 2015-08-04 | 1 | -0/+18 |
|\ | | | | | create a ConditionalLibrary and remove unsupported items | ||||
| * | add test for conditional removal | Paul Kehrer | 2015-08-01 | 1 | -0/+18 |
| | | |||||
* | | move urandom engine test | Paul Kehrer | 2015-08-01 | 1 | -30/+0 |
|/ | | | | | | | | | | This test was in the bindings dir, which is incorrect. We do not set the urandom engine to default unless the openssl backend is loaded. The reason the test wasn't failing (even in the random test case) is that the backends are loaded during pytest_generate_tests by a call to _available_backends. So no matter what order it occurred in the engine was already set to default. I discovered this when I tried to run the test_openssl.py bindings tests directly via pytest. Hooray global state. | ||||
* | test libressl when there is no libressl | Glyph | 2015-06-30 | 1 | -2/+15 |
| | |||||
* | pep8 | Glyph | 2015-06-30 | 1 | -0/+1 |
| | |||||
* | Detect and ignore LibreSSL. | Glyph | 2015-06-30 | 1 | -1/+3 |
| | |||||
* | the output of RAND_bytes is os.urandom's result | Glyph | 2015-06-29 | 1 | -0/+14 |
| | |||||
* | handle previous registration by raising RuntimeError | Glyph | 2015-06-27 | 1 | -2/+2 |
| | |||||
* | remove remaining vestiges, make adding twice work | Glyph | 2015-06-26 | 1 | -1/+1 |
| | |||||
* | convert to cffi 1.0 precompile system | Paul Kehrer | 2015-06-07 | 1 | -18/+1 |
| | |||||
* | use setenv so we don't have to import os | Paul Kehrer | 2015-01-14 | 1 | -3/+1 |
| | |||||
* | monkeypatch PYCA_WINDOWS_LINK_TYPE in the tests to fix #1624 | Paul Kehrer | 2015-01-14 | 1 | -1/+4 |
| | |||||
* | Update the license header for every source file, as well as the documentation. | Alex Gaynor | 2014-11-16 | 1 | -12/+3 |
| | | | | Fixes #1209 | ||||
* | We can test this, we have the power! Fixes #874 | Alex Gaynor | 2014-11-07 | 1 | -1/+5 |
| | |||||
* | test_ssl_mode should get current mode as well | Paul Kehrer | 2014-09-26 | 1 | -2/+4 |
| | |||||
* | In tests for setting SSL and SSL_CTX options, get current options first | Paul Kehrer | 2014-09-26 | 1 | -4/+8 |
| | | | | Fixes #1352 | ||||
* | Fix test failures | Terry Chia | 2014-07-28 | 1 | -3/+0 |
| | |||||
* | change env variable name, handle empty string | Paul Kehrer | 2014-07-05 | 1 | -0/+2 |
| | |||||
* | improve unit tests for _get_windows_libraries | Paul Kehrer | 2014-07-03 | 1 | -2/+2 |
| | |||||
* | switch to env variable based static/dynamic switch for windows | Paul Kehrer | 2014-07-02 | 1 | -1/+11 |
| | |||||
* | Fix some typos. | Alex Gaynor | 2014-04-25 | 1 | -1/+1 |
| | | | | Found with https://github.com/intgr/topy/ | ||||
* | move some comments | Paul Kehrer | 2014-04-20 | 1 | -3/+3 |
| | |||||
* | fix SSL_OP_ALL being unusable on Windows due to long being 32-bit signed | Paul Kehrer | 2014-04-20 | 1 | -0/+34 |
| | |||||
* | Added future imports and licenses that are missing | Alex Gaynor | 2014-03-08 | 1 | -0/+2 |
| | |||||
* | test to confirm calling Cryptography_add_osrandom_engine > 1 is safe | Paul Kehrer | 2014-02-20 | 1 | -0/+5 |
| | |||||
* | Remove the contenious test of contention | Alex Stapleton | 2014-01-24 | 1 | -46/+0 |
| | |||||
* | Split a test in half | Alex Stapleton | 2014-01-24 | 1 | -6/+18 |
| | |||||
* | Also test the locking cb directly | Alex Stapleton | 2014-01-24 | 1 | -19/+20 |
| | |||||
* | Python implementation of OpenSSL locking callback | Alex Stapleton | 2014-01-24 | 1 | -0/+106 |
| | |||||
* | add commoncrypto mark to skip on non-OS X platforms | Paul Kehrer | 2014-01-04 | 1 | -0/+3 |
| | |||||
* | Split OpenSSL binding | Alex Stapleton | 2014-01-01 | 1 | -0/+22 |
| | |||||
* | Also rename teh tests | Alex Gaynor | 2013-12-13 | 1 | -97/+0 |
| | |||||
* | Renamed bindings to backends | Alex Gaynor | 2013-12-13 | 1 | -2/+2 |
| | |||||
* | Merge pull request #227 from dreid/explicit-backend-in-hazmat | Alex Gaynor | 2013-11-26 | 1 | -0/+4 |
|\ | | | | | Explicit backend | ||||
| * | Test that openssl is the default backend. | David Reid | 2013-11-20 | 1 | -0/+4 |
| | | |||||
* | | Fixed branch coverage | Alex Gaynor | 2013-11-23 | 1 | -0/+17 |
| | | |||||
* | | Coverage | Alex Gaynor | 2013-11-22 | 1 | -0/+4 |
|/ | |||||
* | Move interfaces.register to utils.register_interface in preparation for more ↵ | David Reid | 2013-11-18 | 1 | -1/+2 |
| | | | | interface modules. | ||||
* | Implement and document an interface for cipher algorithms | David Reid | 2013-11-15 | 1 | -5/+7 |
| | |||||
* | Also remove teh ciphers specific class | Alex Gaynor | 2013-11-13 | 1 | -3/+3 |
| | |||||
* | block cipher rename | Paul Kehrer | 2013-11-06 | 1 | -4/+4 |
| | | | | | | * block renamed to ciphers * ciphers renamed to algorithms * base moved into algorithms | ||||
* | 79 cols | Alex Gaynor | 2013-11-04 | 1 | -1/+3 |
| | |||||
* | Replace assumption with some fakes | Alex Gaynor | 2013-11-04 | 1 | -7/+12 |
| | |||||
* | Merge branch 'master' into more-error-condition | Alex Gaynor | 2013-11-04 | 1 | -0/+5 |
|\ | | | | | | | | | Conflicts: tests/hazmat/bindings/test_openssl.py | ||||
| * | Rewrite this test to be good | Alex Gaynor | 2013-11-04 | 1 | -2/+4 |
| | | |||||
| * | coverage | Alex Gaynor | 2013-11-04 | 1 | -1/+4 |
| | | |||||
* | | typo fix | Alex Gaynor | 2013-11-03 | 1 | -1/+1 |
| | |