aboutsummaryrefslogtreecommitdiffstats
path: root/tests/hazmat/backends
Commit message (Collapse)AuthorAgeFilesLines
...
| * move urandom engine testPaul Kehrer2015-08-011-0/+27
| | | | | | | | | | | | | | | | | | | | 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.
* | Add test coverage for MultiBackend.sign_x509_certificateIan Cordasco2015-08-021-0/+8
| |
* | Add note to serial_number parameter about entropyIan Cordasco2015-08-021-11/+3
| | | | | | | | | | | | | | | | | | | | - Add reference to random-numbers.rst for easy intra-linking - Document critical parameter of CertificateBuilder.add_extension - Support InhibitAnyPolicy in the CertificateBuilder frontend but not in the backend - Slim down more tests - Fix up test that asserts the backend does not allow for unsupported extensions
* | Remove CertificateBuilder.versionIan Cordasco2015-07-241-3/+1
| | | | | | | | Default CertificateBuilder to Version.v3
* | Add tests to test_openssl backend for extra coverageIan Cordasco2015-07-201-0/+39
|/
* pointer shenanigansGlyph2015-06-261-9/+8
| | | | | | | | apparently (?) ENGINE_by_id treats its ID as an opaque *pointer* key and not actually as a string, and while CPython's CFFI support seems to manage to preserve the pointer identity when using the same Python string, PyPy doesn't. Fix things to use a cffi-wrapped pointer again and tests pass on PyPy.
* remove remaining vestiges, make adding twice workGlyph2015-06-261-3/+1
|
* compare contents and not pointersGlyph2015-06-261-9/+12
|
* Use SECP256R1 instead of SECT283K1 in CSR testsIan Cordasco2015-06-241-2/+2
|
* Skip tests when the EC curve is unsupportedIan Cordasco2015-06-241-0/+2
|
* Add tests to the CSR Builder for EC and DSA keysIan Cordasco2015-06-241-1/+24
| | | | | | This skips certain tests on certain versions of differences in how X509_REQ_sign works on those versions. A separate pull request will address those differences.
* Renames sign_509_request to create_x509_csr.Andre Caron2015-06-241-0/+6
|
* convert to cffi 1.0 precompile systemPaul Kehrer2015-06-071-2/+6
|
* add load_der_x509_csr to support loading DER encoded CSRsPaul Kehrer2015-03-301-0/+6
|
* rename request to CSRPaul Kehrer2015-03-291-3/+3
|
* basic support for parsing x509 requestsPaul Kehrer2015-03-291-0/+6
|
* allow zero value bn using _bn_to_int in the openssl backendPaul Kehrer2015-03-251-0/+4
|
* pep8! *shakes fist at the sky*Paul Kehrer2015-03-141-1/+1
|
* DER serialization of DSA private keysPaul Kehrer2015-03-141-16/+0
|
* support RSA DER private key serializationPaul Kehrer2015-03-131-4/+11
|
* support DER serialization of public keysPaul Kehrer2015-03-101-8/+0
|
* support RSA public key serializationPaul Kehrer2015-03-071-1/+9
|
* s/Format/PrivateFormatPaul Kehrer2015-03-011-2/+2
|
* change as_bytes to private_bytes, link more thingsPaul Kehrer2015-02-281-2/+2
|
* rename dump to as_bytesPaul Kehrer2015-02-251-2/+2
|
* address review commentsPaul Kehrer2015-02-251-7/+5
|
* Support for traditional OpenSSL and PKCS8 RSA private key serializationPaul Kehrer2015-02-251-2/+27
|
* Pass the sys.path into the subprocessDonald Stufft2015-02-191-0/+10
| | | | | | | | | If we're running tests via ``python setup.py test`` in a clean environment then all of our dependencies are going to be installed into either the current directory or the .eggs directory. However the subprocess won't know to activate these dependencies, so we'll get it to do so by passing our entire sys.path into the subprocess via the PYTHONPATH environment variable.
* Allow the OpenSSL version string to begin with LibreSSLSteven McDonald2015-02-191-3/+6
| | | | | LibreSSL aims to be source-compatible with OpenSSL, so there is no good reason to fail this test simply because the name has changed.
* move asymmetric padding interface to primitives.asymmetric.paddingPaul Kehrer2015-02-161-2/+2
|
* export interfaces from base in ciphers, update docsPaul Kehrer2015-02-142-5/+4
|
* move cipher and mode interfacesPaul Kehrer2015-02-132-7/+8
|
* move hash interfacesPaul Kehrer2015-02-131-1/+1
|
* Move around bits of the EC test suite to work around awful PyPy bugAlex Stapleton2015-01-221-13/+13
|
* add multibackend support for DERSerializationBackendPaul Kehrer2015-01-171-3/+24
|
* remove fully deprecated items from 0.6 deprecation cyclePaul Kehrer2014-12-182-129/+3
|
* add X509Backend support to multibackendPaul Kehrer2014-11-261-1/+22
|
* Update the license header for every source file, as well as the documentation.Alex Gaynor2014-11-164-48/+12
| | | | Fixes #1209
* Make sure algorithm classes fully implement their interfaceAlex Gaynor2014-10-302-4/+3
|
* Added attributes that are part of hte interface to several test fakesAlex Gaynor2014-10-272-0/+4
|
* Merge pull request #1434 from alex/requires-backend-interfacePaul Kehrer2014-10-241-1/+2
|\ | | | | Change how we represented that a test requires a backend.
| * Change how we represented that a test requires a backend.Alex Gaynor2014-10-231-1/+2
| | | | | | | | This way is more extensible and requires less maintaince
* | Changed methods on interface providers to have argument names match the ↵Alex Gaynor2014-10-231-7/+7
|/ | | | | | interface. This is important because it means passing things as keyword arguments will work consistently
* add load_dsa_parameter_numbers on multibackendPaul Kehrer2014-10-211-0/+9
|
* Merge pull request #1381 from alex/stop-generating-keysPaul Kehrer2014-10-011-21/+6
|\ | | | | Replace key generation with fixture usage in some tests
| * Replace key generation with fixture usage in some testsAlex Gaynor2014-10-011-21/+6
| |
* | update multibackend to remove deprecated methodsPaul Kehrer2014-10-011-75/+0
|/
* remove deprecated DSA classes/methods and update testsPaul Kehrer2014-09-301-28/+8
|
* Remove deprecated RSA methods from backends, update testsPaul Kehrer2014-09-291-58/+9
|
* Move _ec_key_curve_sn to openssl/ec.pyAlex Stapleton2014-09-281-1/+2
|