Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | don't reuse a variable, it's confusing | Paul Kehrer | 2015-12-24 | 1 | -4/+6 | |
| | ||||||
* | refactor x509 extension creation to make it a bit more reusable | Paul Kehrer | 2015-12-24 | 1 | -38/+39 | |
| | | | | | Unfortunately X509 certs and CSRs add extensions differently, so we can't reuse quite as much as we'd like to... | |||||
* | CertificateRevocationListBuilder | Paul Kehrer | 2015-12-24 | 1 | -1/+67 | |
| | | | | | RSA keys only. Currently does not support CRL extensions or CRLEntry extensions. | |||||
* | coverage | Paul Kehrer | 2015-12-24 | 1 | -1/+1 | |
| | ||||||
* | add create_x509_crl interface | Paul Kehrer | 2015-12-24 | 3 | -0/+19 | |
| | ||||||
* | please the great flake8 in the sky | Alex Gaynor | 2015-12-24 | 1 | -3/+1 | |
| | ||||||
* | full indexing support + testsg | Alex Gaynor | 2015-12-24 | 1 | -4/+12 | |
| | ||||||
* | Make indexing a CRL O(1) instead of O(n). | Alex Gaynor | 2015-12-24 | 1 | -2/+5 | |
| | | | | This drops support for slicing, if that's important someone say something and I can add it back | |||||
* | Simplify implementation of CRL indexing and iteration. | Alex Gaynor | 2015-12-24 | 1 | -13/+8 | |
| | | | | No longer allocates a list just to iterate over it. | |||||
* | coverage fix | Alex Gaynor | 2015-12-24 | 1 | -8/+7 | |
| | ||||||
* | Improve the performance of len(crl) | Alex Gaynor | 2015-12-23 | 1 | -3/+6 | |
| | ||||||
* | fix a potential memory issue when retaining revoked certs from a CRL | Paul Kehrer | 2015-12-23 | 1 | -2/+13 | |
| | ||||||
* | CRLNumber needs to be a class for reasons. | Paul Kehrer | 2015-12-22 | 1 | -1/+1 | |
| | ||||||
* | add support for parsing AuthorityInfoAccess and IssuerAltName CRL exts | Paul Kehrer | 2015-12-22 | 1 | -0/+4 | |
| | | | | Expand the CRL extensions test to check the value | |||||
* | support parsing CRL extensions in the OpenSSL backend | Paul Kehrer | 2015-12-21 | 1 | -1/+18 | |
| | ||||||
* | add a CRL public_bytes method | Paul Kehrer | 2015-12-20 | 1 | -0/+14 | |
| | ||||||
* | support CRLs with no revoked certificates | Paul Kehrer | 2015-12-20 | 1 | -7/+6 | |
| | ||||||
* | Change password callback to use userdata pointer | Christian Heimes | 2015-12-20 | 1 | -33/+48 | |
| | | | | | | | | | 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 #2532 from reaperhulk/fix-memory-leak | Alex Gaynor | 2015-12-15 | 1 | -2/+2 | |
|\ | | | | | X509_set_subject_name and X509_set_issuer_name copy the object | |||||
| * | X509_set_subject_name and X509_set_issuer_name copy the object | Paul Kehrer | 2015-12-15 | 1 | -2/+2 | |
| | | | | | | | | | | So we need to register our own copy for gc. This fixes a memory leak reported by Wulf. | |||||
* | | Remove SSLv2 bindings. | Cory Benfield | 2015-12-14 | 1 | -6/+0 | |
|/ | | | | | | | | | This commit removes bindings that allow users to set SSLv2 handshake methods. These are regarded as unnecessary and out-of-date: see #2527. This commit does leave in a few options that refer to SSLv2 in order to avoid breaking deployments that rely on them, and in order to allow users to continue to request that SSLv2 not be enabled at all in their OpenSSL. | |||||
* | Merge pull request #2515 from reaperhulk/sigbus | Alex Gaynor | 2015-12-09 | 1 | -6/+0 | |
|\ | | | | | remove the bindings for these x86_64 specific EC functions | |||||
| * | remove the bindings for these x86_64 specific EC functions | Paul Kehrer | 2015-12-09 | 1 | -6/+0 | |
| | | | | | | | | | | | | | | | | We have no need to invoke them directly and their presence triggers a bug related to Fedora 23's hobbling of openssl EC functions (uugh) This also fixes the SIGBUS issue in #2503, although that is more appropriately resolved via header fixes for universal libraries on OS X. | |||||
* | | fix the comment so that it is no longer nonsense | Paul Kehrer | 2015-12-03 | 1 | -1/+1 | |
| | | ||||||
* | | expose tbs_certrequest_bytes and signature on CertificateSigningRequest | Paul Kehrer | 2015-12-03 | 1 | -0/+15 | |
| | | ||||||
* | | Merge pull request #2504 from reaperhulk/encode-name-constraints | Alex Gaynor | 2015-12-03 | 1 | -0/+37 | |
|\ \ | | | | | | | implement support for encoding name constraints | |||||
| * | | move _encode_name_constraints and _encode_general_subtrees | Paul Kehrer | 2015-12-02 | 1 | -36/+36 | |
| | | | ||||||
| * | | implement support for encoding name constraints | Paul Kehrer | 2015-12-02 | 1 | -0/+37 | |
| |/ | ||||||
* / | fix a warning in cffi | Paul Kehrer | 2015-12-01 | 1 | -0/+3 | |
|/ | | | | | cffi doesn't want to guess the type, so we'll deopaque the enum and strip the values out of the lib if EC is unavailable | |||||
* | Add support for 160 bit ARC4 keys | Ehren Kret | 2015-11-28 | 1 | -1/+1 | |
| | ||||||
* | add tbsCertList and signature interfaces to CRLs | Erik Trauschke | 2015-11-19 | 1 | -0/+15 | |
| | ||||||
* | reorganize and rename | Paul Kehrer | 2015-11-12 | 1 | -1/+1 | |
| | ||||||
* | these functions were added in 1.0.0, while CMS was added in 0.9.8h | Paul Kehrer | 2015-11-12 | 1 | -0/+5 | |
| | | | | | We didn't catch this in our CI because all our 0.9.8 targets have CMS disabled or are older than 0.9.8h | |||||
* | Include the full OpenSSL error in the exception message | Alex Gaynor | 2015-11-08 | 1 | -1/+1 | |
| | ||||||
* | rename tbs_certificate to tbs_certificate_bytes, add a comment | Paul Kehrer | 2015-11-03 | 1 | -1/+2 | |
| | ||||||
* | add support for Certificate signature and tbs_certificate | Paul Kehrer | 2015-11-03 | 1 | -0/+14 | |
| | ||||||
* | flake8 | Alex Gaynor | 2015-11-01 | 1 | -2/+2 | |
| | ||||||
* | corrected a few typos in comments | Alex Gaynor | 2015-11-01 | 1 | -3/+3 | |
| | ||||||
* | please flake8 | Alex Gaynor | 2015-10-29 | 1 | -1/+1 | |
| | ||||||
* | Error cleanly if the public and private keys to an ECDH key exchange are on ↵ | Alex Gaynor | 2015-10-28 | 1 | -0/+5 | |
| | | | | different curves | |||||
* | add ellipticcurvepublicnumbers repr | Paul Kehrer | 2015-10-28 | 1 | -0/+6 | |
| | ||||||
* | Merge pull request #2447 from reaperhulk/encode-decode-point | Alex Gaynor | 2015-10-27 | 1 | -0/+25 | |
|\ | | | | | add support for encoding/decoding elliptic curve points | |||||
| * | address review feedback | Paul Kehrer | 2015-10-28 | 1 | -5/+2 | |
| | | ||||||
| * | modify approach to use EllipticCurvePublicNumbers methods | Paul Kehrer | 2015-10-27 | 2 | -34/+28 | |
| | | ||||||
| * | remove support for null points, improve docs | Paul Kehrer | 2015-10-27 | 1 | -4/+4 | |
| | | ||||||
| * | add support for encoding/decoding elliptic curve points | Paul Kehrer | 2015-10-26 | 1 | -0/+34 | |
| | | | | | | | | Based on the work of @ronf in #2346. | |||||
* | | Merge pull request #2435 from reaperhulk/fix-2407 | Alex Gaynor | 2015-10-27 | 1 | -6/+8 | |
|\ \ | | | | | | | encode countryName with PrintableString | |||||
| * | | update comment to include a bit more detail | Paul Kehrer | 2015-10-27 | 1 | -2/+2 | |
| | | | ||||||
| * | | encode countryName with PrintableString | Paul Kehrer | 2015-10-20 | 1 | -6/+8 | |
| | | | | | | | | | | | | | | | | | | | | | This commit adds a dependency on asn1crypto for testing purposes to parse the certificate and confirm that countryName is encoded with PrintableString while other fields are UTF8String. This is a test only dep. | |||||
* | | | Merge pull request #2446 from reaperhulk/init-locks | Alex Gaynor | 2015-10-26 | 2 | -2/+8 | |
|\ \ \ | |_|/ |/| | | move lock initialization to during binding import |