Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | 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 | ||||
* | | Fix copy-paste errors | Ian Cordasco | 2015-07-19 | 1 | -3/+3 |
| | | |||||
* | | Remove unnecessary helper functions | Ian Cordasco | 2015-07-18 | 2 | -19/+4 |
| | | | | | | | | | | - Update documented methods - Do not mute the CertificateBuilder object if no version is set | ||||
* | | Make the CertificateBuilder interface more like the CSRBuilder | Ian Cordasco | 2015-07-18 | 1 | -27/+92 |
| | | |||||
* | | Adds certificate builder. | Andre Caron | 2015-07-18 | 2 | -0/+186 |
|/ | |||||
* | remove unused import | Paul Kehrer | 2015-07-14 | 1 | -2/+0 |
| | |||||
* | encode uri | Paul Kehrer | 2015-07-13 | 1 | -2/+12 |
| | |||||
* | Merge pull request #2149 from reaperhulk/better-uri | Alex Gaynor | 2015-07-13 | 1 | -0/+26 |
|\ | | | | | expand UniformResourceIdentifier to parse and internally IDNA encode | ||||
| * | expand UniformResourceIdentiier to parse and internally IDNA encode | Paul Kehrer | 2015-07-12 | 1 | -0/+26 |
| | | |||||
* | | Merge pull request #2137 from reaperhulk/encode-rfc822name | Alex Gaynor | 2015-07-12 | 1 | -0/+8 |
|\ \ | | | | | | | Encode rfc822name | ||||
| * | | support rfc822Name general name encoding | Paul Kehrer | 2015-07-12 | 1 | -0/+8 |
| | | | |||||
* | | | Merge pull request #2148 from reaperhulk/fix-random-order | Alex Gaynor | 2015-07-12 | 1 | -0/+1 |
|\ \ \ | |_|/ |/| | | clear the error stack if d2i_ASN1_TYPE fails | ||||
| * | | clear the error stack if d2i_ASN1_TYPE fails | Paul Kehrer | 2015-07-12 | 1 | -0/+1 |
| |/ | | | | | | | The random order jenkins job found a bug! |