Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | Use teardown since we ignore the method arg anyways (#2928) | Alex Gaynor | 2016-05-30 | 1 | -2/+1 | |
| | ||||||
* | KBKDF cleanup (#2929) | Paul Kehrer | 2016-05-29 | 1 | -5/+7 | |
| | | | | | | | | * unicode characters make everything angry * changelog entry and make skip msgs more informative * typo fix | |||||
* | NIST SP 800-108 Counter Mode KDF (#2748) | Jared | 2016-05-29 | 3 | -0/+226 | |
| | | | | | | | | | | | | | | | | | | * NIST SP 800-108 Counter Mode and Feedback Mode KDF * CounterKDF unit tests * Refactor to support multiple key based KDF modes. * Extracting supported algorithms for KBKDF Counter Mode test vectors * Adding support for different rlen and counter location in KBKDF * support for multiple L lengths and 24 bit counter length. * Adding KBKDF Documentation. * Refactoring KBKDF to KBKDFHMAC to describe hash algorithm used. | |||||
* | Replacing test_osrandom_engine_is_default. (#2905) | Andreas Moser | 2016-05-29 | 1 | -0/+12 | |
| | | | | | | | | | | | | | | | | | | | * Removing test_osrandom_engine_is_default. test_osrandom_engine_is_default depends on having a valid sys.executable. This attribute is not always set (see https://docs.python.org/2/library/sys.html#sys.executable ) so, in some environments, this test fails. I moved the functionality of the test into the setup and teardown methods so the correct behavior is still tested. * Fixing some style issues. * Removing an unnecessary newline. * Putting back the test. * Moving the assert from teardown to setup. | |||||
* | Fixed #2887 -- implement __hash__ on EC numbers classes (#2888) | Alex Gaynor | 2016-04-30 | 1 | -0/+24 | |
| | ||||||
* | Handle two more error conditions correctly | Alex Gaynor | 2016-04-02 | 1 | -0/+11 | |
| | | | | | | * Handle two more error conditions correctly * fixed test case | |||||
* | Use runtimeerror for this | Alex Gaynor | 2016-03-19 | 1 | -2/+1 | |
| | ||||||
* | test for verify_openssl_version | Alex Gaynor | 2016-03-19 | 1 | -1/+8 | |
| | ||||||
* | Merge pull request #2736 from cedk/ANSI_X.923 | Paul Kehrer | 2016-03-16 | 1 | -0/+92 | |
|\ | | | | | Added support for padding ANSI X.923 | |||||
| * | Add more tests since there is no more sub-classing | Cédric Krier | 2016-03-16 | 1 | -0/+29 | |
| | | ||||||
| * | Add padding check for ANSI X.923 | Cédric Krier | 2016-02-27 | 1 | -0/+15 | |
| | | | | | | | | All padding bytes must be 0. | |||||
| * | Added support for padding ANSI X.923 | Cédric Krier | 2016-02-27 | 1 | -0/+48 | |
| | | ||||||
* | | Merge pull request #2815 from reaperhulk/error-on-unusual-encodings | Alex Gaynor | 2016-03-12 | 1 | -0/+21 | |
|\ \ | | | | | | | Error on unusual encodings | |||||
| * | | py3 is a thing | Paul Kehrer | 2016-03-12 | 1 | -1/+1 | |
| | | | ||||||
| * | | move NUMERICSTRING certificate test to test_openssl & make it more specific | Paul Kehrer | 2016-03-12 | 1 | -0/+21 | |
| | | | ||||||
* | | | make multibackend error with an empty list. fixes #2717 | Paul Kehrer | 2016-03-11 | 1 | -5/+15 | |
|/ / | ||||||
* | | use an error that's likely to be in all openssls we support | Paul Kehrer | 2016-03-08 | 1 | -12/+9 | |
| | | ||||||
* | | 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 | |
| | | ||||||
* | | require mode nonce/iv/tag data to be bytes | Paul Kehrer | 2016-03-07 | 1 | -0/+30 | |
| | | ||||||
* | | pass bytes to modes/algorithms like we should | Paul Kehrer | 2016-03-07 | 10 | -38/+38 | |
| | | ||||||
* | | Merge pull request #2762 from alex/dedupe-doubles | Paul Kehrer | 2016-03-06 | 10 | -145/+42 | |
|\ \ | | | | | | | Un-double the test doubles | |||||
| * | | Un-double the test doubles | Alex Gaynor | 2016-03-05 | 10 | -145/+42 | |
| | | | ||||||
* | | | make the test function name make sense | Alex Gaynor | 2016-03-05 | 1 | -1/+1 | |
| | | | ||||||
* | | | move key | Alex Gaynor | 2016-03-05 | 2 | -73/+75 | |
| | | | ||||||
* | | | wrap some very long lines | Alex Gaynor | 2016-03-05 | 1 | -8/+80 | |
| | | | ||||||
* | | | Added a failing test case for #2760 | Alex Gaynor | 2016-03-05 | 1 | -0/+36 | |
|/ / | ||||||
* / | Send stderr someplace | Alex Gaynor | 2016-02-27 | 1 | -1/+2 | |
|/ | | | | Otherwise there's noise in the test output on python 2.6 | |||||
* | Actually allocate a buffer that is the correct size. | Tristan Seligmann | 2016-02-08 | 1 | -2/+3 | |
| | ||||||
* | support rsa key generation testing when key is not serializable | Paul Kehrer | 2016-01-30 | 1 | -1/+10 | |
| | ||||||
* | Write some tests for skip conditions in tests. | Alex Gaynor | 2016-01-10 | 3 | -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 test | Paul Kehrer | 2016-01-07 | 1 | -2/+0 | |
| | ||||||
* | opaque EVP_PKEY since EVP_PKEY_id exists | Paul Kehrer | 2016-01-07 | 1 | -1/+1 | |
| | ||||||
* | move test | Paul Kehrer | 2015-12-27 | 2 | -29/+38 | |
| | ||||||
* | pep8 fix, rename test, add a comment to explain it | Paul Kehrer | 2015-12-27 | 1 | -2/+6 | |
| | ||||||
* | Move private key initialization out of pytest.raises block | Christopher Grebs | 2015-12-27 | 1 | -1/+3 | |
| | ||||||
* | Fix test again and add pytest.raises statement | Christopher Grebs | 2015-12-27 | 1 | -9/+8 | |
| | ||||||
* | Fixed test scenario to use different key. | Christopher Grebs | 2015-12-27 | 1 | -2/+2 | |
| | ||||||
* | Add simple test that would fail on decryption | Christopher Grebs | 2015-12-27 | 1 | -0/+23 | |
| | ||||||
* | Support EC and DSA signing of CRLs in the OpenSSL backend | Paul Kehrer | 2015-12-27 | 1 | -0/+37 | |
| | ||||||
* | move two tests to the openssl backend tests where they belong | Paul Kehrer | 2015-12-26 | 1 | -1/+51 | |
| | ||||||
* | RevokedCertificateBuilder | Paul Kehrer | 2015-12-25 | 1 | -2/+2 | |
| | ||||||
* | add create_x509_revoked_certificate to x509backend interface | Paul Kehrer | 2015-12-25 | 2 | -0/+12 | |
| | ||||||
* | Merge pull request #2567 from alex/this-is-america | Paul Kehrer | 2015-12-24 | 1 | -1/+1 | |
|\ | | | | | Spell serialization consistently | |||||
| * | Spell serialization consistently | Alex Gaynor | 2015-12-24 | 1 | -1/+1 | |
| | | ||||||
* | | CertificateRevocationListBuilder | Paul Kehrer | 2015-12-24 | 1 | -3/+6 | |
|/ | | | | | RSA keys only. Currently does not support CRL extensions or CRLEntry extensions. | |||||
* | coverage | Paul Kehrer | 2015-12-24 | 1 | -0/+5 | |
| | ||||||
* | add create_x509_crl interface | Paul Kehrer | 2015-12-24 | 1 | -0/+8 | |
| | ||||||
* | Change password callback to use userdata pointer | Christian Heimes | 2015-12-20 | 1 | -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 function | Alex Gaynor | 2015-12-19 | 1 | -3/+3 | |
| |