Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Add SSL_get0_verified_chain to cffi lib (#4965) | arjenzorgdoc | 2019-08-14 | 1 | -0/+9 |
| | | | | | | | | * Add SSL_get0_verified_chain to cffi lib OpenSSL 1.1.0 supports SSL_get0_verified_chain. This gives the full chain from the peer cert including your trusted CA cert. * Work around no support for #if in cdef in old cffi | ||||
* | fix osrandom/builtin switching methods for 1.1.0+ (#4955) | Paul Kehrer | 2019-07-27 | 1 | -3/+3 |
| | | | | | | | | | | * fix osrandom/builtin switching methods for 1.1.0+ In 1.1.0 RAND_cleanup became a no-op. This broke changing to the builtin random engine via activate_builtin_random(). Fixed by directly calling RAND_set_rand_method. This works on 1.0.x and 1.1.x * missed an assert | ||||
* | add bindings to parse and create challenge passwords in X509 CSRs (#4943) | Paul Kehrer | 2019-07-09 | 2 | -1/+11 |
| | | | | | | * add bindings to parse and create challenge passwords in X509 CSRs * moved away from the 1.1.0 section | ||||
* | Switch to new notBefore/After APIs (#4914) | Rosen Penev | 2019-06-07 | 1 | -0/+9 |
| | | | Introduced in OpenSSL 1.1. Added compatibility for older versions. | ||||
* | add BIO_free_all (#4874) | Dominic Chen | 2019-05-06 | 1 | -0/+1 |
| | |||||
* | Use generic DTLS functions added in LibreSSL 2.9.1 (#4855) | Charlie Li | 2019-04-23 | 2 | -3/+9 |
| | | | | | | | | | | * Use generic DTLS functions added in LibreSSL 2.9.1 While here, bump travis. * Remove LibreSSL 2.9.0 from travis now that 2.9.1 exists. Requested by: @reaperhulk | ||||
* | fix a memory leak in AIA parsing (#4836) | Paul Kehrer | 2019-04-11 | 1 | -0/+3 |
| | | | | | | * fix a memory leak in AIA parsing * oops can't remove that | ||||
* | Added BN_is_negative -- refs #4830 (#4831) | Alex Gaynor | 2019-04-05 | 1 | -0/+1 |
| | |||||
* | Try to use getrandom even in manylinux1 wheels (#4816) | Alex Gaynor | 2019-03-19 | 1 | -0/+12 |
| | | | | | | * Try to use getrandom even in manylinux1 wheels * typo | ||||
* | add poly1305 NID/EVP, and EVP_DigestSign{Update,Final} for incremental (#4799) | Paul Kehrer | 2019-03-07 | 2 | -0/+17 |
| | |||||
* | ed25519 support (#4114) | Paul Kehrer | 2019-02-26 | 1 | -0/+3 |
| | | | | | | * ed25519 support * review feedback | ||||
* | remove unused x509 bindings (#4776) | Paul Kehrer | 2019-02-26 | 1 | -87/+1 |
| | |||||
* | remove unused locking functions (#4780) | Paul Kehrer | 2019-02-26 | 1 | -24/+2 |
| | | | | | | | | * remove unused locking functions we do all this in C when necessary * oops, need this | ||||
* | remove unused DH bindings (#4779) | Paul Kehrer | 2019-02-26 | 1 | -7/+0 |
| | |||||
* | remove unused PEM bindings (#4778) | Paul Kehrer | 2019-02-26 | 1 | -10/+0 |
| | |||||
* | how about we have less NIDs (#4777) | Paul Kehrer | 2019-02-26 | 1 | -204/+0 |
| | | | | | | * how about we have less NIDs * pyopenssl needs these two NIDs still | ||||
* | strip out unused EVP functions (#4775) | Paul Kehrer | 2019-02-26 | 1 | -51/+0 |
| | |||||
* | Remove unused constant binding from ecdh.py (#4774) | Alex Gaynor | 2019-02-26 | 1 | -3/+0 |
| | |||||
* | Remove unused constant from ec.py bindings (#4773) | Alex Gaynor | 2019-02-26 | 1 | -3/+0 |
| | |||||
* | Remove unused bindings from aes.py (#4772) | Alex Gaynor | 2019-02-26 | 1 | -7/+1 |
| | |||||
* | Removed unused constant from bindings (#4771) | Alex Gaynor | 2019-02-26 | 1 | -2/+0 |
| | |||||
* | Polish off removal of unused engine bindings (#4769) | Alex Gaynor | 2019-02-25 | 1 | -12/+0 |
| | |||||
* | reduce our engine bindings even more (#4768) | Paul Kehrer | 2019-02-25 | 3 | -78/+18 |
| | |||||
* | support NO_ENGINE (#4763) | Paul Kehrer | 2019-02-25 | 2 | -1/+68 |
| | | | | | | | | * support OPENSSL_NO_ENGINE * support some new openssl config args * sigh | ||||
* | Remove a bunch of unused engine bindings (#4766) | Alex Gaynor | 2019-02-25 | 1 | -61/+0 |
| | |||||
* | Run wycheproof RSA tests on LibreSSL>=2.8 (#4737) | Alex Gaynor | 2019-01-24 | 1 | -1/+10 |
| | | | | | | | | * Run wycheproof RSA tests on LibreSSL>=2.8 * Define it this way * These are errors on libressl | ||||
* | Use O_CLOEXEC when it's available (#4733) | Alex Gaynor | 2019-01-23 | 1 | -10/+16 |
| | | | | | | | | * Use O_CLOEXEC when it's available * Don't have two vars with the same name * A normal person would be emberassed | ||||
* | bind EVP_R_MEMORY_LIMIT_EXCEEDED and update a test (#4726) | Paul Kehrer | 2019-01-21 | 1 | -0/+9 |
| | | | | | | | | | | | * bind EVP_R_MEMORY_LIMIT_EXCEEDED and update a test This will allow OpenSSL 1.1.1 on 32-bit (including our Windows 32-bit builders) to fail as expected. Technically this isn't a malloc error, but rather failing because the allocation requested is larger than 32-bits, but raising a MemoryError still seems appropriate * what you want an endif too? | ||||
* | expose the ed448 nid (#4717) | Paul Kehrer | 2019-01-19 | 1 | -0/+1 |
| | | | | we already did all the conditional binding, but forgot to actually expose it. | ||||
* | Fixes #4683 -- fixed linux kernel version that has getrandom (#4684) | Alex Gaynor | 2019-01-12 | 2 | -2/+2 |
| | |||||
* | Add bindings to get SRTP protection profile (#4679) | Jeremy Lainé | 2019-01-11 | 1 | -0/+6 |
| | | | | | This adds the ability to retrieve the selected SRTP protection profile after the DTLS handshake completes. This is needed to perform the correct key derivation if multiple profiles were offered. | ||||
* | Fixes #4645 -- poll() on /dev/random before reading from /dev/urandom on ↵ | Alex Gaynor | 2018-12-29 | 1 | -17/+55 |
| | | | | | | | | | | | | | | | | | | Linux (#4656) * Fixes #4645 -- select() on /dev/random before reading from /dev/urandom on linux * whoops * Missing header * whoops * Review notes * Potential uninitialized fix * Signals are literally impossible | ||||
* | Raise MemoryError when backend.derive_scrypt can't malloc enough (#4592) | Tux | 2018-12-08 | 1 | -0/+2 |
| | | | | | | | | | | | | * Raise MemoryError when backend.derive_scrypt can't malloc enough * Expose ERR_R_MALLOC_FAILURE and use the reason_match pattern to catch it * Add test_scrypt_malloc_failure in test_scrypt * let's see if this passes * add comment to filippo's blog post about scrypt's params | ||||
* | switch osrandom engine to blocking mode when getting entropy (#4620) | Paul Kehrer | 2018-12-02 | 2 | -15/+3 |
| | | | | | | | | * switch osrandom engine to blocking mode when getting entropy * review feedback * we can remove this too | ||||
* | reuse the libressl branch for OpenSSL built with OPENSSL_NO_PSK (#4619) | Paul Kehrer | 2018-12-01 | 1 | -1/+1 |
| | |||||
* | Adjust DTLS check (#4593) | Rosen Penev | 2018-11-19 | 1 | -1/+1 |
| | | | OpenSSL defines these even with OPENSSL_NO_DTLS. | ||||
* | add EVPDigestFinalXOF for extendable output functions (#4589) | Paul Kehrer | 2018-11-13 | 1 | -0/+5 |
| | |||||
* | Ed bindings (#4586) | Paul Kehrer | 2018-11-13 | 2 | -0/+21 |
| | | | | | | * add evp_pkey_ed25519 * ed448 bindings | ||||
* | add bindings for early data (#4582) | Paul Kehrer | 2018-11-12 | 1 | -0/+9 |
| | | | | | | * add bindings for early data * remove final var name | ||||
* | x448 bindings (#4577) | Paul Kehrer | 2018-11-12 | 2 | -0/+16 |
| | |||||
* | add EVP raw key bindings (#4578) | Paul Kehrer | 2018-11-12 | 1 | -0/+18 |
| | |||||
* | Revert O_CLOEXEC change to fix builds (#4570) | Alex Gaynor | 2018-11-11 | 1 | -2/+9 |
| | |||||
* | add various new TLS bindings (#4555) | Paul Kehrer | 2018-11-03 | 1 | -0/+19 |
| | | | | | | | | | | * add SSL_OP_NO_TLSv1_3 * compiling now * bind SSL_CTX_set_ciphersuites as well * add some more | ||||
* | add SCT_get0_signature (#4540) | Paul Kehrer | 2018-10-28 | 1 | -0/+3 |
| | |||||
* | add bindings for supporting the issuing distribution point CRL extension (#4532) | Paul Kehrer | 2018-10-27 | 1 | -0/+12 |
| | |||||
* | bind a constant for an error check (#4514) | Paul Kehrer | 2018-10-23 | 1 | -0/+1 |
| | | | I hate it when we have to do this. | ||||
* | Fixes #4500 -- use O_CLOEXEC when opening the /dev/urandom file descriptor ↵ | Alex Gaynor | 2018-10-23 | 1 | -9/+2 |
| | | | | | | | | (#4507) * Fixes #4500 -- use O_CLOEXEC when opening the /dev/urandom file descriptor * Unused variable | ||||
* | Remove branch for old libressl versions that we don't support any more (#4505) | Alex Gaynor | 2018-10-20 | 1 | -2/+1 |
| | |||||
* | Add definitions that help with hostname checking (#4492) | Kai Engert | 2018-10-10 | 2 | -0/+41 |
| | | | | | | | | | | | | | | * Add definitions for SSL_get0_param and X509_CHECK_FLAG_NO_PARTIAL_WILDCARDS * remove unnecessary parameter name * Add version conditionals and more flags * extend cryptography_has_102_verification_params * X509_CHECK_FLAG_NEVER_CHECK_SUBJECT only available with openssl 1.1.0+ * add missing declaration | ||||
* | additional OCSP bindings for the response builder (#4480) | Paul Kehrer | 2018-10-06 | 1 | -3/+5 |
| | | | | | | * additional OCSP bindings for the response builder * use the OCSP extension funcs that match the rest of x509 |