Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | | check that required fields are present in builder when signing | Paul Kehrer | 2015-08-04 | 1 | -0/+18 | |
|/ | ||||||
* | Merge pull request #2180 from reaperhulk/easy-conditional-fix | Donald Stufft | 2015-08-04 | 44 | -515/+432 | |
|\ | | | | | create a ConditionalLibrary and remove unsupported items | |||||
| * | change approach for pypy performance reasons | Paul Kehrer | 2015-08-04 | 1 | -12/+13 | |
| | | ||||||
| * | only copy the attrs we know should exist (courtesy dstufft) | Paul Kehrer | 2015-08-03 | 1 | -7/+9 | |
| | | ||||||
| * | remove commoncrypto CONDITIONAL_NAMES | Paul Kehrer | 2015-08-03 | 12 | -25/+0 | |
| | | ||||||
| * | remove openssl CONDITIONAL_NAMES | Paul Kehrer | 2015-08-03 | 30 | -489/+0 | |
| | | ||||||
| * | pass in the imports to make it a bit clearer what's going on | Paul Kehrer | 2015-08-03 | 1 | -3/+3 | |
| | | ||||||
| * | move the attr setting to the __init__ of _ConditionalLibrary | Paul Kehrer | 2015-08-03 | 1 | -12/+10 | |
| | | ||||||
| * | create a ConditionalLibrary and remove unsupported items | Paul Kehrer | 2015-08-01 | 2 | -1/+431 | |
| | | ||||||
* | | Merge pull request #2193 from reaperhulk/encode-aia | Alex Gaynor | 2015-08-03 | 3 | -0/+40 | |
|\ \ | | | | | | | Support AuthorityInformationAccess in CertificateBuilder | |||||
| * | | add support for AIA to CertificateBuilder and OpenSSL backend | Paul Kehrer | 2015-08-03 | 2 | -1/+11 | |
| | | | ||||||
| * | | encode authority information access | Paul Kehrer | 2015-08-03 | 2 | -0/+30 | |
| | | | ||||||
* | | | Fixes #2199 -- allow SSH keys to have spaces in their comments | Alex Gaynor | 2015-08-03 | 1 | -2/+2 | |
| | | | ||||||
* | | | support keyusage and extendedkeyusage in certificatebuilder | Paul Kehrer | 2015-08-03 | 2 | -0/+8 | |
|/ / | ||||||
* | | reorder CertificateBuilder sign arguments | Paul Kehrer | 2015-08-03 | 1 | -1/+1 | |
| | | ||||||
* | | Add sign_x509_certificate to X509Backend interface | Ian Cordasco | 2015-08-03 | 1 | -0/+6 | |
| | | | | | | | | Add note about CertificateBuilder to the changelog | |||||
* | | Merge remote-tracking branch 'upstream/master' into cert-builder | Ian Cordasco | 2015-08-03 | 9 | -204/+276 | |
|\ \ | ||||||
| * \ | Merge pull request #2187 from reaperhulk/csr-decode-all-exts | Alex Gaynor | 2015-08-01 | 1 | -23/+21 | |
| |\ \ | | | | | | | | | allow certificate and CSR to both parse the same set of extensions | |||||
| | * | | allow certificate and CSR to both parse the same set of extensions | Paul Kehrer | 2015-08-01 | 1 | -23/+21 | |
| | | | | ||||||
| * | | | Merge pull request #2186 from reaperhulk/handle-corrupt-extensions | Alex Gaynor | 2015-08-01 | 1 | -1/+7 | |
| |\ \ \ | | | | | | | | | | | Handle invalid x509 extension payloads | |||||
| | * | | | corrupt -> invalid | Paul Kehrer | 2015-08-01 | 1 | -1/+2 | |
| | | | | | ||||||
| | * | | | check if the extension decoded to internal openssl repr | Paul Kehrer | 2015-08-01 | 1 | -1/+6 | |
| | |/ / | | | | | | | | | | | | | ...and if not, raise an error (plus consume the error stack) | |||||
| * | | | Merge pull request #2184 from reaperhulk/remove-more-branches | Alex Gaynor | 2015-08-01 | 3 | -10/+18 | |
| |\ \ \ | | |/ / | |/| | | Branch coverage to 100% | |||||
| | * | | Remove elifs and replace with else + assert | Paul Kehrer | 2015-08-01 | 3 | -10/+18 | |
| | |/ | | | | | | | | | | This is kind of ugly, but resolves many partial branch coverage issues. | |||||
| * / | simplify x509 extension decoding | Paul Kehrer | 2015-08-01 | 1 | -73/+28 | |
| |/ | ||||||
| * | Merge pull request #2177 from reaperhulk/cp-bindings | Alex Gaynor | 2015-07-27 | 1 | -0/+21 | |
| |\ | | | | | | | add many bindings we'll need to encode a certificate policies extension | |||||
| | * | add many bindings we'll need to encode a certificate policies extension | Paul Kehrer | 2015-07-26 | 1 | -0/+21 | |
| | | | ||||||
| * | | openssl error codes are clearly not considered part of the api contract | Paul Kehrer | 2015-07-25 | 1 | -5/+2 | |
| | | | ||||||
| * | | extra parens | Paul Kehrer | 2015-07-25 | 1 | -5/+3 | |
| | | | ||||||
| * | | == instead of in | Paul Kehrer | 2015-07-25 | 1 | -2/+2 | |
| | | | ||||||
| * | | handle RSA key too small and consume errors on CSR signature failure | Paul Kehrer | 2015-07-25 | 2 | -1/+11 | |
| |/ | ||||||
| * | remove windows link type, update docs | Paul Kehrer | 2015-07-24 | 1 | -14/+1 | |
| | | ||||||
| * | Merge pull request #2171 from reaperhulk/refactor-gn-encoding | Alex Gaynor | 2015-07-24 | 1 | -83/+88 | |
| |\ | | | | | | | refactor general name encoding to its own function | |||||
| | * | refactor general name encoding to its own function | Paul Kehrer | 2015-07-24 | 1 | -83/+88 | |
| | | | ||||||
| * | | let's also add the binding to make a new GENERAL_SUBTREE stack | Paul Kehrer | 2015-07-24 | 1 | -0/+1 | |
| | | | ||||||
| * | | bindings for CRL encoding | Paul Kehrer | 2015-07-24 | 1 | -0/+7 | |
| |/ | ||||||
| * | Support encoding ExtendedKeyUsage into certificate signing requests | Paul Kehrer | 2015-07-23 | 5 | -2/+36 | |
| | | ||||||
| * | Support encoding KeyUsage into certificate signing requests | Paul Kehrer | 2015-07-23 | 4 | -0/+45 | |
| | | ||||||
| * | when building a CSR adding > 1 extension would trigger a bug | Paul Kehrer | 2015-07-23 | 1 | -1/+1 | |
| | | | | | | | | | | | | We were checking sk_X509_EXTENSION_push for a value == 1, but in reality it returns the number of extensions on the stack. We now assert >= 1 and added a test. | |||||
* | | Add sign_x509_certificate to MultiBackend | Ian Cordasco | 2015-08-02 | 1 | -0/+9 | |
| | | | | | | | | Add example of CertificateBuilder to the reference documentation | |||||
* | | Add note to serial_number parameter about entropy | Ian Cordasco | 2015-08-02 | 1 | -0/+2 | |
| | | | | | | | | | | | | | | | | | | | | - Add reference to random-numbers.rst for easy intra-linking - Document critical parameter of CertificateBuilder.add_extension - Support InhibitAnyPolicy in the CertificateBuilder frontend but not in the backend - Slim down more tests - Fix up test that asserts the backend does not allow for unsupported extensions | |||||
* | | Add _encode_asn1_int_gc | Ian Cordasco | 2015-08-01 | 1 | -1/+7 | |
| | | | | | | | | Ensure the certificate serial number is freed | |||||
* | | Add check for an RSA Key being too small | Ian Cordasco | 2015-08-01 | 2 | -3/+5 | |
| | | | | | | | | | | - Remove outdated/unnecessary/illegitimate TODOs - Fix up test for an RSA key that is too small | |||||
* | | Document other two parameters from sign method | Ian Cordasco | 2015-07-31 | 1 | -11/+21 | |
| | | | | | | | | | | | | | | - Remove incorrect CertificateBuilder doc-string - Check that serial numbers are non-negative and < 160 bits - Check that dates passed aren't earlier than the unix epoch - Remove version from CertificateBuilder.__init__ and version method | |||||
* | | Check result of setting the serial number | Ian Cordasco | 2015-07-24 | 1 | -2/+14 | |
| | | | | | | | | | | - Add checks for private key types - Add tests around new checks for types of private keys | |||||
* | | Remove CertificateBuilder.version | Ian Cordasco | 2015-07-24 | 1 | -19/+2 | |
| | | | | | | | | Default CertificateBuilder to Version.v3 | |||||
* | | Use correct exception class in openssl backend | Ian Cordasco | 2015-07-20 | 1 | -1/+1 | |
| | | ||||||
* | | Remove unnecessary type check | Ian Cordasco | 2015-07-19 | 1 | -2/+0 | |
| | | ||||||
* | | Handle SubjectAlternativeName extensions in the backend | Ian Cordasco | 2015-07-19 | 1 | -0/+2 | |
| | | | | | | | | They are handled in cryptography.x509 so they need to be handled here | |||||
* | | Construct extensions like a CSR | Ian Cordasco | 2015-07-19 | 1 | -6/+9 | |
| | | | | | | | | | | | | - Use _encode_basic_constraints appropriately - Create an appropriate object from the oid dotted string - Create the X509 Extension appropriately |