aboutsummaryrefslogtreecommitdiffstats
path: root/tests/hazmat
Commit message (Collapse)AuthorAgeFilesLines
...
* | use an error that's likely to be in all openssls we supportPaul Kehrer2016-03-081-12/+9
| |
* | review feedback + make the test actually test a thingPaul Kehrer2016-03-071-6/+15
| |
* | only call ERR_error_string if we're going to raise InternalErrorPaul Kehrer2016-03-071-1/+21
| |
* | require mode nonce/iv/tag data to be bytesPaul Kehrer2016-03-071-0/+30
| |
* | pass bytes to modes/algorithms like we shouldPaul Kehrer2016-03-0710-38/+38
| |
* | Merge pull request #2762 from alex/dedupe-doublesPaul Kehrer2016-03-0610-145/+42
|\ \ | | | | | | Un-double the test doubles
| * | Un-double the test doublesAlex Gaynor2016-03-0510-145/+42
| | |
* | | make the test function name make senseAlex Gaynor2016-03-051-1/+1
| | |
* | | move keyAlex Gaynor2016-03-052-73/+75
| | |
* | | wrap some very long linesAlex Gaynor2016-03-051-8/+80
| | |
* | | Added a failing test case for #2760Alex Gaynor2016-03-051-0/+36
|/ /
* / Send stderr someplaceAlex Gaynor2016-02-271-1/+2
|/ | | | Otherwise there's noise in the test output on python 2.6
* Actually allocate a buffer that is the correct size.Tristan Seligmann2016-02-081-2/+3
|
* support rsa key generation testing when key is not serializablePaul Kehrer2016-01-301-1/+10
|
* Write some tests for skip conditions in tests.Alex Gaynor2016-01-103-25/+63
| | | | Without this these branches aren't excersised without 0.9.8, but conceptually they are needed.
* give a real EVP_PKEY with an invalid default key type to the testPaul Kehrer2016-01-071-2/+0
|
* opaque EVP_PKEY since EVP_PKEY_id existsPaul Kehrer2016-01-071-1/+1
|
* move testPaul Kehrer2015-12-272-29/+38
|
* pep8 fix, rename test, add a comment to explain itPaul Kehrer2015-12-271-2/+6
|
* Move private key initialization out of pytest.raises blockChristopher Grebs2015-12-271-1/+3
|
* Fix test again and add pytest.raises statementChristopher Grebs2015-12-271-9/+8
|
* Fixed test scenario to use different key.Christopher Grebs2015-12-271-2/+2
|
* Add simple test that would fail on decryptionChristopher Grebs2015-12-271-0/+23
|
* Support EC and DSA signing of CRLs in the OpenSSL backendPaul Kehrer2015-12-271-0/+37
|
* move two tests to the openssl backend tests where they belongPaul Kehrer2015-12-261-1/+51
|
* RevokedCertificateBuilderPaul Kehrer2015-12-251-2/+2
|
* add create_x509_revoked_certificate to x509backend interfacePaul Kehrer2015-12-252-0/+12
|
* Merge pull request #2567 from alex/this-is-americaPaul Kehrer2015-12-241-1/+1
|\ | | | | Spell serialization consistently
| * Spell serialization consistentlyAlex Gaynor2015-12-241-1/+1
| |
* | CertificateRevocationListBuilderPaul Kehrer2015-12-241-3/+6
|/ | | | | RSA keys only. Currently does not support CRL extensions or CRLEntry extensions.
* coveragePaul Kehrer2015-12-241-0/+5
|
* add create_x509_crl interfacePaul Kehrer2015-12-241-0/+8
|
* Change password callback to use userdata pointerChristian Heimes2015-12-201-2/+15
| | | | | | | | | Instead of a closure the pem_password_cb now uses the void *userdata argument to exchange data with the callback function. It's a necessary step to port all callbacks to new static callbacks. See: #2477 Signed-off-by: Christian Heimes <christian@python.org>
* use the non-deprecated name for this functionAlex Gaynor2015-12-191-3/+3
|
* Add support for 160 bit ARC4 keysEhren Kret2015-11-281-0/+1
|
* Swapping modified x509 test with modified ec testPeter Hamilton2015-10-301-11/+2
|
* Adding elliptic curve test fixturesPeter Hamilton2015-10-291-0/+296
| | | | This change adds pre-generated elliptic curve keys to be used in elliptic curve tests.
* Error cleanly if the public and private keys to an ECDH key exchange are on ↵Alex Gaynor2015-10-281-1/+27
| | | | different curves
* add ellipticcurvepublicnumbers reprPaul Kehrer2015-10-281-0/+5
|
* address review feedbackPaul Kehrer2015-10-281-7/+0
|
* modify approach to use EllipticCurvePublicNumbers methodsPaul Kehrer2015-10-272-73/+76
|
* remove support for null points, improve docsPaul Kehrer2015-10-271-2/+4
|
* add support for encoding/decoding elliptic curve pointsPaul Kehrer2015-10-261-2/+71
| | | | Based on the work of @ronf in #2346.
* Merge pull request #2293 from reaperhulk/idempotent-engine-addAlex Gaynor2015-10-241-2/+2
|\ | | | | idempotent engine add
| * make engine addition idempotentPaul Kehrer2015-10-211-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.
* | add comments on test cases to explain reasons a bit betterPaul Kehrer2015-10-221-0/+5
| |
* | make skip message more verbosePaul Kehrer2015-10-211-11/+10
| |
* | AES keywrap supportPaul Kehrer2015-10-211-0/+112
|/
* Merge branch 'master' into crl_ossl_backendErik Trauschke2015-10-203-5/+146
|\
| * better place for this testAlex Gaynor2015-10-192-7/+16
| |