aboutsummaryrefslogtreecommitdiffstats
path: root/tests/hazmat/backends/test_openssl.py
Commit message (Collapse)AuthorAgeFilesLines
...
* better place for this testAlex Gaynor2015-10-191-7/+0
|
* another testAlex Gaynor2015-10-191-0/+7
|
* a refactor to the APIAlex Gaynor2015-10-171-11/+3
|
* Add an Elliptic Curve Key Exchange Algorithm(ECDH)Simo Sorce2015-10-171-0/+14
| | | | | | | | | The ECDH Key Exchange algorithm as standardized in NIST publication 800-56A Revision 2 Includes tests with vectors from NIST. Signed-off-by: Simo Sorce <simo@redhat.com>
* Use InternalError for stuffAlex Gaynor2015-09-261-19/+1
|
* fix the testsAlex Gaynor2015-09-261-1/+2
|
* add test for openssl_assertPaul Kehrer2015-09-251-1/+6
|
* pep8 fixPaul Kehrer2015-08-091-2/+0
|
* move a testPaul Kehrer2015-08-091-26/+0
|
* support issuer alternative name encodingPaul Kehrer2015-08-091-1/+6
|
* fix unsupported testPaul Kehrer2015-08-081-1/+1
|
* rename sign_x509_certificate backend method to create_x509_certificatePaul Kehrer2015-08-061-1/+1
|
* fix a few tests that were missedPaul Kehrer2015-08-051-0/+2
|
* missed onePaul Kehrer2015-08-031-1/+1
|
* Merge remote-tracking branch 'upstream/master' into cert-builderIan Cordasco2015-08-031-0/+27
|\
| * this is gonna be unicode nowPaul Kehrer2015-08-011-3/+3
| |
| * 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 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.
* convert to cffi 1.0 precompile systemPaul Kehrer2015-06-071-2/+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-141-4/+3
|
* move cipher and mode interfacesPaul Kehrer2015-02-131-4/+6
|
* 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
|
* remove fully deprecated items from 0.6 deprecation cyclePaul Kehrer2014-12-181-42/+2
|
* Update the license header for every source file, as well as the documentation.Alex Gaynor2014-11-161-12/+3
| | | | Fixes #1209
* Make sure algorithm classes fully implement their interfaceAlex Gaynor2014-10-301-2/+1
|
* Added attributes that are part of hte interface to several test fakesAlex Gaynor2014-10-271-0/+3
|
* 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