Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
| * | | support openssl 0.9.8's nonsense hopefully | Paul Kehrer | 2016-03-13 | 1 | -1/+26 | |
| | | | ||||||
| * | | also bytes. | Paul Kehrer | 2016-03-13 | 1 | -1/+3 | |
| | | | ||||||
| * | | bytes, my nemesis | Paul Kehrer | 2016-03-13 | 1 | -1/+1 | |
| | | | ||||||
| * | | simplify extension creation by using X509V3_EXT_i2d | Paul Kehrer | 2016-03-13 | 2 | -69/+23 | |
| | | | ||||||
* | | | Merge pull request #2802 from reaperhulk/110-patch-23 | Alex Gaynor | 2016-03-13 | 1 | -4/+13 | |
|\ \ \ | |/ / |/| | | move crypto_ex_data to macros, add i2d_re_X509_tbs & X509_get0_signature | |||||
| * | | move crypto_ex_data to macros, add i2d_re_X509_tbs & X509_get0_signature | Paul Kehrer | 2016-03-10 | 1 | -4/+13 | |
| | | | | | | | | | | | | | | | | | | And, of course, use them in the openssl bindings. These changes are a start towards opaquing all the X509 structs. The actual opaquing won't take place until the very end though to minimize pyOpenSSL breakage | |||||
* | | | Merge pull request #2815 from reaperhulk/error-on-unusual-encodings | Alex Gaynor | 2016-03-12 | 1 | -1/+5 | |
|\ \ \ | | | | | | | | | Error on unusual encodings | |||||
| * | | | move NUMERICSTRING certificate test to test_openssl & make it more specific | Paul Kehrer | 2016-03-12 | 1 | -1/+1 | |
| | | | | ||||||
| * | | | raise type error rather than internalerror w/ unsupported asn1 in subject | Paul Kehrer | 2016-03-12 | 1 | -1/+5 | |
| | | | | ||||||
* | | | | Merge pull request #2794 from reaperhulk/110-patch-15 | Alex Gaynor | 2016-03-12 | 1 | -7/+6 | |
|\ \ \ \ | |/ / / |/| | | | opaque HMAC_CTX, which requires some helper functions | |||||
| * | | | opaque HMAC_CTX, which requires some helper functions | Paul Kehrer | 2016-03-09 | 1 | -7/+6 | |
| | | | | ||||||
* | | | | Merge pull request #2805 from reaperhulk/110-patch-25 | Alex Gaynor | 2016-03-11 | 1 | -3/+6 | |
|\ \ \ \ | | | | | | | | | | | modify how revocation date is set on X509_REVOKED in the openssl backend | |||||
| * | | | | modify how revocation date is set on X509_REVOKED in the openssl backend | Paul Kehrer | 2016-03-10 | 1 | -3/+6 | |
| | |_|/ | |/| | | | | | | | | | | | | | | | | | | In OpenSSL 1.1.0 there isn't a pre-existing ASN1_TIME object so we have ASN1_TIME_set make us a new one. In older OpenSSLs this is still safe because ASN1_TIME_set checks and frees any current value in the object. | |||||
* | | | | Merge pull request #2800 from reaperhulk/110-patch-21 | Alex Gaynor | 2016-03-11 | 1 | -7/+6 | |
|\ \ \ \ | |/ / / |/| | | | opaque EVP_MD_CTX and wrap EVP_MD_CTX_new + EVP_MD_CTX_free | |||||
| * | | | opaque EVP_MD_CTX and wrap EVP_MD_CTX_new + EVP_MD_CTX_free | Paul Kehrer | 2016-03-10 | 1 | -7/+6 | |
| | |/ | |/| | ||||||
* | | | Merge pull request #2798 from reaperhulk/110-patch-19 | Alex Gaynor | 2016-03-10 | 1 | -3/+6 | |
|\ \ \ | |/ / |/| | | opaque X509_EXTENSION | |||||
| * | | opaque X509_EXTENSION | Paul Kehrer | 2016-03-09 | 1 | -3/+6 | |
| |/ | ||||||
* / | opaque X509_NAME | Paul Kehrer | 2016-03-09 | 1 | -13/+30 | |
|/ | ||||||
* | SSLeay begone | Paul Kehrer | 2016-03-09 | 1 | -1/+1 | |
| | | | | | | | In OpenSSL 1.1.0 SSLeay is no longer a thing. Farewell Except not really farewell because we define them all again because old versions of pyOpenSSL will choke otherwise | |||||
* | Merge pull request #2670 from joernheissler/x509_req_verify | Paul Kehrer | 2016-03-06 | 1 | -0/+13 | |
|\ | | | | | Add verify method on CertificateSigningRequest | |||||
| * | Change method to property | Joern Heissler | 2016-01-18 | 1 | -3/+6 | |
| | | ||||||
| * | Add verify method on CertificateSigningRequest | Joern Heissler | 2016-01-13 | 1 | -1/+11 | |
| | | ||||||
* | | move key | Alex Gaynor | 2016-03-05 | 1 | -1/+1 | |
| | | ||||||
* | | added the correct error handling for the failing test | Alex Gaynor | 2016-03-05 | 1 | -0/+4 | |
| | | ||||||
* | | sigh | Alex Gaynor | 2016-02-27 | 1 | -1/+0 | |
| | | ||||||
* | | Write a function to write less code | Alex Gaynor | 2016-02-27 | 1 | -22/+20 | |
| | | ||||||
* | | Fixed #2732 -- added support for x.509 policy constraints extension | Alex Gaynor | 2016-02-27 | 1 | -0/+24 | |
| | | ||||||
* | | treat the RSA struct more opaquely when getting public key values | Paul Kehrer | 2016-02-02 | 1 | -3/+1 | |
|/ | ||||||
* | move more functions out of the openssl backend class | Paul Kehrer | 2016-01-10 | 3 | -77/+87 | |
| | ||||||
* | move openssl asn1 decode functions to a new module | Paul Kehrer | 2016-01-10 | 3 | -710/+723 | |
| | ||||||
* | remove duplicated memorybio namedtuple | Paul Kehrer | 2016-01-10 | 1 | -4/+0 | |
| | ||||||
* | move openssl asn1 encode functions to a new module | Paul Kehrer | 2016-01-10 | 2 | -587/+611 | |
| | ||||||
* | Merge pull request #2646 from reaperhulk/static-callbacks | Alex Gaynor | 2016-01-08 | 1 | -7/+15 | |
|\ | | | | | Static callbacks | |||||
| * | Port callbacks to new static callback | Christian Heimes | 2016-01-07 | 1 | -8/+15 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | cffi 1.4.0 will introduce a new API to create static callbacks. Contrary to the old callback API, static callbacks no longer depend on libffi's dynamic code generation for closures. Static code has some benefits over dynamic generation. For example the code is faster. Also it doesn't need writeable and executable memory mappings, which makes it compatible with SELinux's deny execmem policy. The branch depends on PR #2488. https://bitbucket.org/cffi/cffi/issues/232/static-callbacks Closes: #2477 Signed-off-by: Christian Heimes <cheimes@redhat.com> | |||||
| * | Change password callback to use userdata pointer | Christian Heimes | 2016-01-07 | 1 | -0/+1 | |
| | | | | | | | | | | | | | | | | | | 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> | |||||
* | | Merge pull request #2647 from reaperhulk/opaque-evp-pkey | Alex Gaynor | 2016-01-08 | 1 | -9/+10 | |
|\ \ | | | | | | | opaque EVP_PKEY since EVP_PKEY_id exists | |||||
| * | | add Cryptography_EVP_PKEY_id | Paul Kehrer | 2016-01-07 | 1 | -4/+6 | |
| | | | ||||||
| * | | opaque EVP_PKEY since EVP_PKEY_id exists | Paul Kehrer | 2016-01-07 | 1 | -9/+8 | |
| | | | ||||||
* | | | Merge pull request #2649 from reaperhulk/cleanup-naming | Alex Gaynor | 2016-01-08 | 2 | -8/+8 | |
|\ \ \ | |/ / |/| | | rename _create_mem_bio to _create_mem_bio_gc for consistency | |||||
| * | | rename _create_mem_bio to _create_mem_bio_gc for consistency | Paul Kehrer | 2016-01-07 | 2 | -8/+8 | |
| |/ | ||||||
* / | small cleanup to reduce code duplication for EVP_PKEY_new calls | Paul Kehrer | 2016-01-07 | 1 | -7/+7 | |
|/ | ||||||
* | support unrecognized extensions in x509 | Paul Kehrer | 2015-12-30 | 1 | -0/+9 | |
| | ||||||
* | RSA_R_OAEP_DECODING_ERROR is pretty ubiquitous | Paul Kehrer | 2015-12-27 | 1 | -3/+1 | |
| | ||||||
* | Add support for RSA_R_OAEP_DECODING_ERROR error flag. | Christopher Grebs | 2015-12-27 | 1 | -0/+3 | |
| | ||||||
* | Support EC and DSA signing of CRLs in the OpenSSL backend | Paul Kehrer | 2015-12-27 | 1 | -10/+11 | |
| | ||||||
* | fix a ptr liveness bug | Alex Gaynor | 2015-12-27 | 1 | -2/+2 | |
| | ||||||
* | Reduce duplication, write a function | Alex Gaynor | 2015-12-27 | 1 | -85/+39 | |
| | ||||||
* | _encode_alt_name already does this | Paul Kehrer | 2015-12-27 | 1 | -15/+1 | |
| | ||||||
* | move around a dict | Paul Kehrer | 2015-12-27 | 1 | -17/+4 | |
| | ||||||
* | support CRL entry extension encoding in the RevokedCertificateBuilder | Paul Kehrer | 2015-12-27 | 1 | -3/+77 | |
| |