Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | move encode out of try blocks | Paul Kehrer | 2015-08-09 | 1 | -2/+2 | |
| | ||||||
* | simplify the CSRBuilder | Paul Kehrer | 2015-08-08 | 1 | -9/+4 | |
| | ||||||
* | remove a lot of if/elif chains in the certificate builder | Paul Kehrer | 2015-08-08 | 1 | -23/+19 | |
| | ||||||
* | support InhibitAnyPolicy in CertificateBuilder | Paul Kehrer | 2015-08-08 | 1 | -0/+13 | |
| | ||||||
* | add support for AuthorityKeyIdentifier in CertificateBuilder | Paul Kehrer | 2015-08-08 | 1 | -0/+32 | |
| | ||||||
* | add support for encoding SubjectKeyIdentifier to CertificateBuilder | Paul Kehrer | 2015-08-08 | 1 | -0/+13 | |
| | ||||||
* | move distpoint fullname/relativename to consts in backends.openssl.x509 | Paul Kehrer | 2015-08-08 | 2 | -5/+9 | |
| | ||||||
* | switch to _encode_general_names. | Paul Kehrer | 2015-08-08 | 1 | -8/+1 | |
| | | | | I knew I made that for a reason, thanks Alex | |||||
* | remove a double for loop that made literally no sense | Paul Kehrer | 2015-08-08 | 1 | -6/+5 | |
| | ||||||
* | switch ReasonFlags bit string setting to use a dict mapping | Paul Kehrer | 2015-08-08 | 1 | -40/+18 | |
| | ||||||
* | support relativename encoding using X509_NAME | Paul Kehrer | 2015-08-08 | 1 | -3/+6 | |
| | | | | X509_NAME contains a STACK_OF(X509_NAME_ENTRY) which we duplicate | |||||
* | support CRLDistributionPoints in the CertificateBuilder | Paul Kehrer | 2015-08-08 | 1 | -0/+93 | |
| | ||||||
* | Merge pull request #2222 from reaperhulk/memleak-partdeux | Alex Gaynor | 2015-08-06 | 1 | -0/+2 | |
|\ | | | | | X509_add_ext dupes the X509_EXTENSION when adding it. fix the leak | |||||
| * | X509_add_ext dupes the X509_EXTENSION when adding it. fix the leak | Paul Kehrer | 2015-08-06 | 1 | -0/+2 | |
| | | ||||||
* | | fix a memory leak in certificate creation during extension creation | Paul Kehrer | 2015-08-06 | 1 | -1/+1 | |
|/ | ||||||
* | rename sign_x509_certificate backend method to create_x509_certificate | Paul Kehrer | 2015-08-06 | 1 | -1/+1 | |
| | ||||||
* | we still need to gc in encode_subject_alt_name | Paul Kehrer | 2015-08-05 | 1 | -0/+3 | |
| | ||||||
* | refactor SAN encoding to separate out general names in openssl backend | Paul Kehrer | 2015-08-05 | 1 | -7/+8 | |
| | ||||||
* | Merge pull request #2193 from reaperhulk/encode-aia | Alex Gaynor | 2015-08-03 | 1 | -0/+30 | |
|\ | | | | | Support AuthorityInformationAccess in CertificateBuilder | |||||
| * | add support for AIA to CertificateBuilder and OpenSSL backend | Paul Kehrer | 2015-08-03 | 1 | -1/+7 | |
| | | ||||||
| * | encode authority information access | Paul Kehrer | 2015-08-03 | 1 | -0/+24 | |
| | | ||||||
* | | support keyusage and extendedkeyusage in certificatebuilder | Paul Kehrer | 2015-08-03 | 1 | -0/+4 | |
|/ | ||||||
* | Merge remote-tracking branch 'upstream/master' into cert-builder | Ian Cordasco | 2015-08-03 | 3 | -190/+234 | |
|\ | ||||||
| * | 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 | |
| |/ | ||||||
| * | 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 | 1 | -1/+10 | |
| | | ||||||
| * | refactor general name encoding to its own function | Paul Kehrer | 2015-07-24 | 1 | -83/+88 | |
| | | ||||||
| * | Support encoding ExtendedKeyUsage into certificate signing requests | Paul Kehrer | 2015-07-23 | 2 | -2/+29 | |
| | | ||||||
| * | Support encoding KeyUsage into certificate signing requests | Paul Kehrer | 2015-07-23 | 2 | -0/+41 | |
| | | ||||||
| * | 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 _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 | 1 | -1/+5 | |
| | | | | | | | | | | - Remove outdated/unnecessary/illegitimate TODOs - Fix up test for an RSA key that is too small | |||||
* | | 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 | |||||
* | | Use correct exception class in openssl backend | Ian Cordasco | 2015-07-20 | 1 | -1/+1 | |
| | | ||||||
* | | 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 | |||||
* | | Remove unnecessary helper functions | Ian Cordasco | 2015-07-18 | 1 | -17/+1 | |
| | | | | | | | | | | - Update documented methods - Do not mute the CertificateBuilder object if no version is set | |||||
* | | Adds certificate builder. | Andre Caron | 2015-07-18 | 1 | -0/+96 | |
|/ | ||||||
* | remove unused import | Paul Kehrer | 2015-07-14 | 1 | -2/+0 | |
| | ||||||
* | encode uri | Paul Kehrer | 2015-07-13 | 1 | -2/+12 | |
| | ||||||
* | Merge pull request #2137 from reaperhulk/encode-rfc822name | Alex Gaynor | 2015-07-12 | 1 | -0/+8 | |
|\ | | | | | Encode rfc822name |