aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* add test vector from #2183Paul Kehrer2015-08-012-0/+18
|
* Merge pull request #2185 from reaperhulk/simplify-x509-decodeAlex Gaynor2015-08-011-73/+28
|\ | | | | simplify x509 extension decoding
| * simplify x509 extension decodingPaul Kehrer2015-08-011-73/+28
| |
* | Merge pull request #2181 from reaperhulk/move-urandom-testAlex Gaynor2015-08-012-30/+27
|\ \ | |/ |/| move urandom engine test
| * this is gonna be unicode nowPaul Kehrer2015-08-011-3/+3
| |
| * move urandom engine testPaul Kehrer2015-08-012-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-bindingsAlex Gaynor2015-07-271-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 extensionPaul Kehrer2015-07-261-0/+21
| |
* | Merge pull request #2175 from reaperhulk/csr-better-err-msgAlex Gaynor2015-07-253-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 contractPaul Kehrer2015-07-251-5/+2
| |
| * py3 fixin'Paul Kehrer2015-07-251-1/+1
| |
| * extra parensPaul Kehrer2015-07-251-5/+3
| |
| * == instead of inPaul Kehrer2015-07-251-2/+2
| |
| * handle RSA key too small and consume errors on CSR signature failurePaul Kehrer2015-07-253-1/+24
|/
* Merge pull request #2174 from reaperhulk/remove-windows-link-typeAlex Gaynor2015-07-242-31/+9
|\ | | | | remove windows link type, update docs
| * remove windows link type, update docsPaul Kehrer2015-07-242-31/+9
|/
* Merge pull request #2171 from reaperhulk/refactor-gn-encodingAlex Gaynor2015-07-241-83/+88
|\ | | | | refactor general name encoding to its own function
| * refactor general name encoding to its own functionPaul Kehrer2015-07-241-83/+88
| |
* | Merge pull request #2170 from reaperhulk/crl-encode-bindingsAlex Gaynor2015-07-241-0/+8
|\ \ | |/ |/| bindings for CRL encoding
| * let's also add the binding to make a new GENERAL_SUBTREE stackPaul Kehrer2015-07-241-0/+1
| |
| * bindings for CRL encodingPaul Kehrer2015-07-241-0/+7
|/
* Merge pull request #2169 from reaperhulk/encode-ekuAlex Gaynor2015-07-236-2/+59
|\ | | | | Support encoding ExtendedKeyUsage into certificate signing requests
| * Support encoding ExtendedKeyUsage into certificate signing requestsPaul Kehrer2015-07-236-2/+59
|/
* Merge pull request #2168 from reaperhulk/encode-kuAlex Gaynor2015-07-235-2/+109
|\ | | | | Support encoding KeyUsage into certificate signing requests
| * Support encoding KeyUsage into certificate signing requestsPaul Kehrer2015-07-235-2/+109
| |
* | Merge pull request #2166 from reaperhulk/fix-multi-extension-bugAlex Gaynor2015-07-232-1/+26
|\| | | | | when building a CSR adding > 1 extension would trigger a bug
| * when building a CSR adding > 1 extension would trigger a bugPaul Kehrer2015-07-232-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.
* Merge pull request #2154 from alex/generating-a-csrPaul Kehrer2015-07-162-0/+80
|\ | | | | Fixed #2091 -- describe how to generate a CSR.
| * fixAlex Gaynor2015-07-161-1/+1
| |
| * fixed indentAlex Gaynor2015-07-131-1/+1
| |
| * line length and grammarAlex Gaynor2015-07-131-5/+7
| |
| * spellingAlex Gaynor2015-07-131-2/+2
| |
| * Fixed #2091 -- describe how to generate a CSR.Alex Gaynor2015-07-132-0/+78
| |
* | Merge pull request #2150 from reaperhulk/encode-uriAlex Gaynor2015-07-142-7/+33
|\ \ | | | | | | support URI general name encoding
| * | remove unused importPaul Kehrer2015-07-141-2/+0
| | |
| * | encode uriPaul Kehrer2015-07-132-7/+35
|/ /
* | Merge pull request #2149 from reaperhulk/better-uriAlex Gaynor2015-07-132-0/+58
|\ \ | |/ |/| expand UniformResourceIdentifier to parse and internally IDNA encode
| * expand UniformResourceIdentiier to parse and internally IDNA encodePaul Kehrer2015-07-122-0/+58
| |
* | Merge pull request #2137 from reaperhulk/encode-rfc822nameAlex Gaynor2015-07-122-1/+15
|\ \ | | | | | | Encode rfc822name
| * | support rfc822Name general name encodingPaul Kehrer2015-07-122-1/+15
| | |
* | | Merge pull request #2148 from reaperhulk/fix-random-orderAlex Gaynor2015-07-121-0/+1
|\ \ \ | |_|/ |/| | clear the error stack if d2i_ASN1_TYPE fails
| * | clear the error stack if d2i_ASN1_TYPE failsPaul Kehrer2015-07-121-0/+1
| |/ | | | | | | The random order jenkins job found a bug!
* | Merge pull request #2147 from reaperhulk/there-are-two-partsAlex Gaynor2015-07-121-4/+3
|\ \ | | | | | | parts can't be > 2, so let's not pretend it could be
| * | parts can't be > 2, so let's not pretend it could bePaul Kehrer2015-07-121-4/+3
| | | | | | | | | | | | (famous last words)
* | | Merge pull request #2139 from alex/remove-fast-pathPaul Kehrer2015-07-121-3/+0
|\ \ \ | | | | | | | | Removed the fastpath from binding initialization. These aren't instantiated frequently enough for this to be worth it, and it improves our coverage.
| * | | Removed the fastpath from binding initialization. These aren't instantiated ↵Alex Gaynor2015-07-121-3/+0
| | | | | | | | | | | | | | | | frequently enough for this to be worth it, and it improves our coverage.
* | | | Merge pull request #2146 from alex/coveragePaul Kehrer2015-07-122-1/+11
|\ \ \ \ | |_|_|/ |/| | | Don't try to upload coverage on builds which don't produce coverage
| * | | Don't try to upload coverage on builds which don't produce coverageAlex Gaynor2015-07-122-1/+11
| | | |
* | | | Merge pull request #2141 from reaperhulk/better-rfc822nameAlex Gaynor2015-07-122-0/+37
|\ \ \ \ | | | | | | | | | | expand RFC822Name to validate and (internally) IDNA encode
| * | | | simplify logic, it doesn't appear parts > 2 is possiblePaul Kehrer2015-07-121-4/+3
| | | | |