Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | | | | 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 | 4 | -1/+40 | |
|\ \ \ \ | | | | | | | | | | | Handle invalid x509 extension payloads | |||||
| * | | | | corrupt -> invalid | Paul Kehrer | 2015-08-01 | 2 | -2/+3 | |
| | | | | | ||||||
| * | | | | check if the extension decoded to internal openssl repr | Paul Kehrer | 2015-08-01 | 2 | -1/+21 | |
| | | | | | | | | | | | | | | | | | | | | ...and if not, raise an error (plus consume the error stack) | |||||
| * | | | | add test vector from #2183 | Paul Kehrer | 2015-08-01 | 2 | -0/+18 | |
| |/ / / | ||||||
* | | | | Merge pull request #2184 from reaperhulk/remove-more-branches | Alex Gaynor | 2015-08-01 | 5 | -17/+27 | |
|\ \ \ \ | |/ / / |/| | | | Branch coverage to 100% | |||||
| * | | | add test to cover partial branch in load_kasvs_ecdh_vectors | Paul Kehrer | 2015-08-01 | 1 | -0/+4 | |
| | | | | | | | | | | | | | | | | The loop to find supported parameter sets is partially covered otherwise | |||||
| * | | | remove some more branching in the vector loaders | Paul Kehrer | 2015-08-01 | 1 | -7/+4 | |
| | | | | ||||||
| * | | | add a line for the ecdh vector loader to cover a missed branch | Paul Kehrer | 2015-08-01 | 1 | -0/+1 | |
| | | | | ||||||
| * | | | 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. | |||||
* | | | Merge pull request #2185 from reaperhulk/simplify-x509-decode | Alex Gaynor | 2015-08-01 | 1 | -73/+28 | |
|\ \ \ | | | | | | | | | simplify x509 extension decoding | |||||
| * | | | simplify x509 extension decoding | Paul Kehrer | 2015-08-01 | 1 | -73/+28 | |
| |/ / | ||||||
* | | | Merge pull request #2181 from reaperhulk/move-urandom-test | Alex Gaynor | 2015-08-01 | 2 | -30/+27 | |
|\ \ \ | |/ / |/| | | move urandom engine test | |||||
| * | | this is gonna be unicode now | Paul Kehrer | 2015-08-01 | 1 | -3/+3 | |
| | | | ||||||
| * | | move urandom engine test | Paul Kehrer | 2015-08-01 | 2 | -30/+27 | |
|/ / | | | | | | | | | | | | | | | | | | | This test was in the bindings dir, which is incorrect. We do not set the urandom engine to default unless the openssl backend is loaded. The reason the test wasn't failing (even in the random test case) is that the backends are loaded during pytest_generate_tests by a call to _available_backends. So no matter what order it occurred in the engine was already set to default. I discovered this when I tried to run the test_openssl.py bindings tests directly via pytest. Hooray global state. | |||||
* | | 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 | |
| | | | ||||||
* | | | Merge pull request #2175 from reaperhulk/csr-better-err-msg | Alex Gaynor | 2015-07-25 | 3 | -1/+19 | |
|\ \ \ | |/ / |/| | | handle RSA key too small and consume errors on CSR signature failure | |||||
| * | | openssl error codes are clearly not considered part of the api contract | Paul Kehrer | 2015-07-25 | 1 | -5/+2 | |
| | | | ||||||
| * | | py3 fixin' | Paul Kehrer | 2015-07-25 | 1 | -1/+1 | |
| | | | ||||||
| * | | 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 | 3 | -1/+24 | |
|/ / | ||||||
* | | Merge pull request #2174 from reaperhulk/remove-windows-link-type | Alex Gaynor | 2015-07-24 | 2 | -31/+9 | |
|\ \ | | | | | | | remove windows link type, update docs | |||||
| * | | remove windows link type, update docs | Paul Kehrer | 2015-07-24 | 2 | -31/+9 | |
|/ / | ||||||
* | | 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 | |
| | | | ||||||
* | | | Merge pull request #2170 from reaperhulk/crl-encode-bindings | Alex Gaynor | 2015-07-24 | 1 | -0/+8 | |
|\ \ \ | |/ / |/| | | bindings for CRL encoding | |||||
| * | | 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 | |
|/ / | ||||||
* | | Merge pull request #2169 from reaperhulk/encode-eku | Alex Gaynor | 2015-07-23 | 6 | -2/+59 | |
|\ \ | | | | | | | Support encoding ExtendedKeyUsage into certificate signing requests | |||||
| * | | Support encoding ExtendedKeyUsage into certificate signing requests | Paul Kehrer | 2015-07-23 | 6 | -2/+59 | |
|/ / | ||||||
* | | Merge pull request #2168 from reaperhulk/encode-ku | Alex Gaynor | 2015-07-23 | 5 | -2/+109 | |
|\ \ | | | | | | | Support encoding KeyUsage into certificate signing requests | |||||
| * | | Support encoding KeyUsage into certificate signing requests | Paul Kehrer | 2015-07-23 | 5 | -2/+109 | |
| | | | ||||||
* | | | Merge pull request #2166 from reaperhulk/fix-multi-extension-bug | Alex Gaynor | 2015-07-23 | 2 | -1/+26 | |
|\| | | | | | | | | when building a CSR adding > 1 extension would trigger a bug | |||||
| * | | when building a CSR adding > 1 extension would trigger a bug | Paul Kehrer | 2015-07-23 | 2 | -1/+26 | |
|/ / | | | | | | | | | | | 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 test coverage for MultiBackend.sign_x509_certificate | Ian Cordasco | 2015-08-02 | 1 | -0/+8 | |
| | | ||||||
| * | Use :doc: instead of :ref: for random-numbers | Ian Cordasco | 2015-08-02 | 2 | -4/+1 | |
| | | ||||||
| * | Add sign_x509_certificate to MultiBackend | Ian Cordasco | 2015-08-02 | 2 | -0/+51 | |
| | | | | | | | | Add example of CertificateBuilder to the reference documentation | |||||
| * | Add note to serial_number parameter about entropy | Ian Cordasco | 2015-08-02 | 4 | -15/+17 | |
| | | | | | | | | | | | | | | | | | | | | - 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 | |||||
| * | Check for subject alternative name in test | Ian Cordasco | 2015-08-02 | 1 | -5/+18 | |
| | | | | | | | | Slim RSA key too small test | |||||
| * | Update the docs to be more accurate | Ian Cordasco | 2015-08-02 | 1 | -3/+7 | |
| | | ||||||
| * | Add some extra test coverage | Ian Cordasco | 2015-08-01 | 1 | -0/+19 | |
| | | ||||||
| * | Slim tests by removing extra NameAttributes | Ian Cordasco | 2015-08-01 | 1 | -32/+0 | |
| | | ||||||
| * | Minor pep8 and doc fixes | Ian Cordasco | 2015-08-01 | 2 | -3/+3 | |
| | | ||||||
| * | Add _encode_asn1_int_gc | Ian Cordasco | 2015-08-01 | 1 | -1/+7 | |
| | | | | | | | | Ensure the certificate serial number is freed | |||||
| * | Fix up parameter names in the docs | Ian Cordasco | 2015-08-01 | 1 | -4/+4 | |
| | | ||||||
| * | Add check for an RSA Key being too small | Ian Cordasco | 2015-08-01 | 3 | -15/+8 | |
| | | | | | | | | | | - 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 | 2 | -11/+32 | |
| | | | | | | | | | | | | | | - 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 |