Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | PyPy's ssl module, the last missing macro and three macro functions (#3270) | Richard Plangger | 2016-11-21 | 2 | -1/+4 |
| | | | | | | | | * missing macro and three macro functions * removed space before function name (style issue) * remove macro which always will not be set by cryptography | ||||
* | bind a few things pypy ssl stdlib needs in x509v3 (#3255) | Paul Kehrer | 2016-11-19 | 1 | -0/+7 |
| | |||||
* | Add DHparams_dup to DH bindings (#3260) | Aviv Palivoda | 2016-11-19 | 1 | -0/+1 |
| | |||||
* | bind GENERAL_NAME_free and move GENERAL_NAME_new to macros... (#3257) | Paul Kehrer | 2016-11-19 | 1 | -1/+2 |
| | | | where it belongs! | ||||
* | add error codes and ERR_get_state for pypy stdlib ssl (#3256) | Paul Kehrer | 2016-11-19 | 1 | -2/+29 |
| | |||||
* | add some x509_object handling for pypy stdlib (#3254) | Paul Kehrer | 2016-11-19 | 2 | -0/+30 |
| | |||||
* | add two error codes for pypy ssl stdlib (#3253) | Paul Kehrer | 2016-11-19 | 1 | -0/+3 |
| | |||||
* | add OPENSSL_NPN_NEGOTIATED (#3252) | Paul Kehrer | 2016-11-19 | 1 | -0/+12 |
| | |||||
* | add some NIDs (#3251) | Paul Kehrer | 2016-11-18 | 1 | -0/+3 |
| | |||||
* | add SSL_CTX_set_ecdh_auto where supported (#3250) | Paul Kehrer | 2016-11-18 | 1 | -0/+9 |
| | | | | In 1.1.0 this is a noop and occurs by default, and this wasn't supported < 1.0.2 | ||||
* | add some BIO functions for pypy's ssl stdlib (#3249) | Paul Kehrer | 2016-11-18 | 2 | -0/+13 |
| | | | refs #3248 | ||||
* | C locking callback (#3226) | Alex Gaynor | 2016-11-13 | 1 | -1/+72 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Remove Python OpenSSL locking callback and replace it with one in C The Python OpenSSL locking callback is unsafe; if GC is triggered during the callback's invocation, it can result in the callback being invoked reentrantly, which can lead to deadlocks. This patch replaces it with one in C that gets built at compile time via cffi along with the rest of the OpenSSL binding. * fixes for some issues * unused * revert these changes * these two for good measure * missing param * sigh, syntax * delete tests that assumed an ability to mess with locks * style fixes * licensing stuff * utf8 * Unicode. Huh. What it isn't good for, absolutely nothing. | ||||
* | Name: add support for multi-value RDNs (#3202) | Fraser Tweedale | 2016-11-11 | 1 | -0/+10 |
| | | | | | | | | Update the Name class to accept and internally store a list of RelativeDistinguishedName objects. Add the 'rdns' attribute to give access to the RDNs. Update ASN.1 routines to correctly decode and encode multi-value RDNs. Fixes: https://github.com/pyca/cryptography/issues/3199 | ||||
* | Export missing OpenSSL `X509_VERIFY_PARAM_free` (#3221) | Thomas Sileo | 2016-11-06 | 1 | -0/+1 |
| | | | | | | * Export missing OpenSSL `X509_VERIFY_PARAM_free` * Remove un-needed export in conditional names | ||||
* | 1.0.2i changed the way COMP_METHOD is exported if NO_COMP is set (#3162) | Paul Kehrer | 2016-09-22 | 2 | -1/+8 |
| | | | | | | | | | | * 1.0.2i changed the way COMP_METHOD is exported if NO_COMP is set * add a comment explaining why we changed this * 1.0.2i handles NUMERICSTRING properly now so need only test < 1.0.2i * needs to be visible | ||||
* | Scrypt bindings (#3114) | Terry Chia | 2016-08-27 | 1 | -0/+14 |
| | | | | | | | | | | | | | | * Add Scrypt bindings. * Add check for OPENSSL_NO_SCRYPT. * Fix CUSTOMIZATIONS. * Account for LibreSSL. * Remove argument names. * Remove more argument names. | ||||
* | OpenSSL 1.1.0 support (#2826) | Paul Kehrer | 2016-08-26 | 1 | -0/+10 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * make pre5 work * add a blank line to make the diff happier * 1.1.0-pre6 working * support the changes since 1.1.0-pre6 * fixes * add 1.1.0 to travis * expose the symbol * better testing for numericstring * handle libre... * actually use the 1.1.0 we compile * cache the ossl-110 dir on travis * add some newlines * changelog entry for 1.1.0 support * note that we test on 1.1.0 * proper skip on this test * reorder | ||||
* | be a bit more robust about detecting locking callback declarations (#3107) | Paul Kehrer | 2016-08-26 | 1 | -3/+11 |
| | |||||
* | remove a few more unneeded and no longer extant functions for 1.1.0 (#3110) | Paul Kehrer | 2016-08-26 | 2 | -3/+0 |
| | |||||
* | opaque structs for 1.1.0 compatibility (#3109) | Paul Kehrer | 2016-08-26 | 3 | -48/+9 |
| | | | We're so close. | ||||
* | remove two more constants that no longer exist and we don't use (#3101) | Paul Kehrer | 2016-08-25 | 2 | -2/+0 |
| | |||||
* | two more functions that became const, one removed that we don't use (#3102) | Paul Kehrer | 2016-08-25 | 1 | -4/+6 |
| | |||||
* | constify and reorder getter args (#3103) | Paul Kehrer | 2016-08-24 | 1 | -17/+24 |
| | | | | | | | | | | * constify more things in x509 and reorder a few func args Post pre6 they changed some function argument order... * fix the function arg order where we call it * still need arg names when implementing the function...whoops | ||||
* | constify x509name functions (#3104) | Paul Kehrer | 2016-08-24 | 1 | -8/+12 |
| | |||||
* | const some more ASN1 (#3100) | Paul Kehrer | 2016-08-24 | 1 | -2/+2 |
| | |||||
* | ERR_load_RAND_strings changed function signature in 1.1.0 (#3093) | Paul Kehrer | 2016-08-16 | 1 | -1/+6 |
| | | | | | | | | * ERR_load_RAND_strings changed function signature in 1.1.0 Here is a hack to avoid breaking pyOpenSSL. * not sure how I managed that. I blame vim | ||||
* | move functions that were const-ified in 1.1.0-pre6 (#3090) | Paul Kehrer | 2016-08-16 | 3 | -19/+33 |
| | |||||
* | OPENSSL_no_config is a macro in 1.1.0 (#3091) | Paul Kehrer | 2016-08-16 | 1 | -1/+2 |
| | |||||
* | BIO_set has been removed in 1.1.0 (#3092) | Paul Kehrer | 2016-08-16 | 1 | -1/+0 |
| | | | Since we aren't using it bye bye | ||||
* | disable static callbacks on Python 3.5 (refs #2970) (#3063) | Maximilian Hils | 2016-07-29 | 1 | -1/+4 |
| | |||||
* | Fixed openssl binding if no-cmac (#3062) | Jeffery To | 2016-07-27 | 1 | -2/+2 |
| | |||||
* | Add OPENSSL_config binding (#2972) (#2974) | Anton | 2016-07-13 | 1 | -0/+23 |
| | | | | | | | >>> lib.EVP_get_digestbyname(b'md_gost94') <cdata 'EVP_MD *' NULL> >>> lib.OPENSSL_config(ffi.NULL) >>> lib.EVP_get_digestbyname(b'md_gost94') <cdata 'EVP_MD *' 0x10adc7440> | ||||
* | Use a series of constants for OpenSSL version checks (#3037) | Alex Gaynor | 2016-07-11 | 13 | -33/+91 |
| | | | | | | | | | | | | | | | | | | | | | | | | * Use a series of constants for OpenSSL version checks. N.B. I removed several qualifiers that were being used to express beta vs. release in OpenSSL version numbers. Reviewers please look closely! * Convert some python as well, also add the file * flake8 * Simplify code, remove functionality that can be expressed more simply * clean up the tests as well * more constants * wrap long lines * reflect feedback * unused * add this back? | ||||
* | Remove a few SSL fields which are unused (#3032) | Alex Gaynor | 2016-06-30 | 1 | -5/+0 |
| | |||||
* | Opaque everything else we can of X509 (#3027) | Alex Gaynor | 2016-06-30 | 1 | -11/+1 |
| | |||||
* | change X509V3_EXT_nconf function signature (#3024) | Paul Kehrer | 2016-06-30 | 1 | -1/+2 |
| | |||||
* | Opaque another OpenSSL struct (#3025) | Alex Gaynor | 2016-06-29 | 1 | -8/+1 |
| | |||||
* | AES_ctr128_encrypt needs to be in macros as it's a conditional binding (#3023) | Paul Kehrer | 2016-06-27 | 1 | -4/+4 |
| | |||||
* | update RSA opaque getters/setters to latest code from openssl 1.1.0 master ↵ | Paul Kehrer | 2016-06-27 | 1 | -22/+20 |
| | | | | | (#3022) constify + a few small changes to the null checks | ||||
* | update DH opaque getters/setters to latest code from openssl 1.1.0 master ↵ | Paul Kehrer | 2016-06-27 | 1 | -14/+10 |
| | | | | | (#3021) constify + a few small changes to the null checks | ||||
* | update DSA opaque getters/setters to latest code from openssl 1.1.0 master ↵ | Paul Kehrer | 2016-06-27 | 1 | -15/+17 |
| | | | | | (#3020) constify + a few small changes to the null checks | ||||
* | opaque x509 store context (#3019) | Paul Kehrer | 2016-06-27 | 1 | -15/+1 |
| | |||||
* | Refs #2826 -- remove a no longer needed DSA binding (#3017) | Alex Gaynor | 2016-06-26 | 1 | -2/+0 |
| | |||||
* | Opaquify RSA and DSA structs in OpenSSL (#3016) | Alex Gaynor | 2016-06-26 | 2 | -24/+2 |
| | |||||
* | Complete the removal of the string '0.9.8' (#3005) | Alex Gaynor | 2016-06-20 | 1 | -15/+13 |
| | | | We have always been at war with OpenSSL 0.9.8 | ||||
* | Added function to access and alter opaque DH struct (#2976) | Aviv Palivoda | 2016-06-20 | 1 | -0/+82 |
| | |||||
* | Remove some more 0.9.8isms from the ssl code (#3001) | Alex Gaynor | 2016-06-20 | 1 | -8/+4 |
| | |||||
* | More cleanup of the EVP module for 0.9.8isms (#3000) | Alex Gaynor | 2016-06-20 | 1 | -30/+9 |
| | |||||
* | first pass removing 0.9.8 things from the ssl bindings (#2986) | Paul Kehrer | 2016-06-20 | 1 | -48/+2 |
| | |||||
* | Remove a few 0.9.8isms from the ssl bindings (#2998) | Alex Gaynor | 2016-06-19 | 1 | -22/+0 |
| |