aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Merge pull request #2078 from alex/ssh-load-coveragePaul Kehrer2015-06-272-8/+6
|\ | | | | Improvemed branch coverage for ssh public key loading
| * Improvemed branch coverage for ssh public key loadingAlex Gaynor2015-06-272-8/+6
|/
* Merge pull request #2076 from alex/more-branch-coveragePaul Kehrer2015-06-272-8/+27
|\ | | | | More branch coverage improvements. By virtue of reorganization and a new test
| * More branch coverage improvements. By virtue of reorganization and a new testAlex Gaynor2015-06-272-8/+27
| |
* | Merge pull request #2075 from alex/x509-branch-coveragePaul Kehrer2015-06-271-6/+6
|\ \ | |/ |/| Reorganized some code to improve branch coverage
| * Reorganized some code to improve branch coverageAlex Gaynor2015-06-271-6/+6
|/
* Merge pull request #2074 from glyph/im-helpingAlex Gaynor2015-06-271-0/+1
|\ | | | | Add Glyph to AUTHORS.rst.
| * Add Glyph to AUTHORS.rst.Glyph2015-06-261-0/+1
| |
* | Merge pull request #2072 from alex/require-subjectPaul Kehrer2015-06-273-2/+14
|\ \ | |/ |/| Fixed #2067 -- raise an error if a CSRbuilder doesn't hav a subject
| * Fixed #2067 -- raise an error if a CSRbuilder doesn't hav a subjectAlex Gaynor2015-06-273-2/+14
|/
* Merge pull request #2071 from reaperhulk/wildcard-oh-noAlex Gaynor2015-06-272-1/+42
|\ | | | | handle wildcard DNSNames with IDNA.
| * do this much more simplyPaul Kehrer2015-06-261-7/+4
| |
| * handle wildcard DNSNames with IDNA.Paul Kehrer2015-06-262-1/+45
| | | | | | | | fixes #2054
* | Merge pull request #2069 from alex/param-orderingPaul Kehrer2015-06-263-20/+10
|\ \ | |/ |/| Make the parameter ordering in sign() consistent with other code
| * fix this testAlex Gaynor2015-06-261-1/+1
| |
| * Merge branch 'master' into param-orderingAlex Gaynor2015-06-262-3/+35
| |\
| * | fixed docsAlex Gaynor2015-06-261-1/+1
| | |
| * | Make the parameter ordering in sign() consistent with other codeAlex Gaynor2015-06-263-18/+8
| | |
* | | Merge pull request #2068 from reaperhulk/wildcard-idna-san-vectorAlex Gaynor2015-06-262-0/+21
|\ \ \ | |_|/ |/| | add wildcard IDNA SAN
| * | add wildcard IDNA SANPaul Kehrer2015-06-262-0/+21
| |/
* | Merge pull request #2066 from reaperhulk/csr-builder-set-subjectAlex Gaynor2015-06-262-3/+35
|\ \ | |/ |/| fix coverage in CSR builder
| * test notimplementederror for unsupported csr extensions in backendsPaul Kehrer2015-06-262-0/+18
| |
| * add test for CSR builder setting subject twicePaul Kehrer2015-06-261-3/+17
|/
* Merge pull request #2064 from reaperhulk/simplify-x509Alex Gaynor2015-06-261-40/+0
|\ | | | | simplify x509 csr builder tests
| * simplify x509 csr builder testsPaul Kehrer2015-06-261-40/+0
| |
* | Merge pull request #2063 from reaperhulk/improve-backend-docsAlex Gaynor2015-06-261-0/+31
|\ \ | |/ |/| Improve backend interface docs
| * add two missing methods to backend interface docsPaul Kehrer2015-06-261-0/+31
|/
* Merge pull request #2045 from sigmavirus24/csr-builderPaul Kehrer2015-06-269-3/+543
|\ | | | | Adds CSR Builder (Redux of #1927)
| * Use SECP256R1 instead of SECT283K1 in CSR testsIan Cordasco2015-06-242-4/+4
| |
| * Add test for unicode attributes in CSRsIan Cordasco2015-06-241-0/+32
| | | | | | | | | | This creates a CSR, converts it to bytes, and then loads it again to ensure that the unicode strings are parsed properly.
| * Skip tests when the EC curve is unsupportedIan Cordasco2015-06-242-0/+3
| |
| * Use utf8 to encode attribute values instead of asciiIan Cordasco2015-06-241-2/+2
| |
| * Add tests to the CSR Builder for EC and DSA keysIan Cordasco2015-06-243-5/+120
| | | | | | | | | | | | This skips certain tests on certain versions of differences in how X509_REQ_sign works on those versions. A separate pull request will address those differences.
| * Simplify test for unsupported extensionsIan Cordasco2015-06-241-9/+1
| |
| * Address review comments around add_extension methodIan Cordasco2015-06-243-6/+8
| | | | | | | | | | | | | | | | | | - Fix typo in the docs (s/buidlder/builder/) - Remove default from the method declaration and docs - Replace ValueError with NotImpelementedError for unsupported X.509 extensions - Add TODO comment as requested by Alex - Fix test to pass critical=False since it no longer is a default value
| * Only allow subject_name to be set once on a BuilderIan Cordasco2015-06-241-0/+2
| |
| * Unconditionally encode values to asciiIan Cordasco2015-06-241-5/+2
| |
| * Properly use RSA fixtures to generate private keysIan Cordasco2015-06-242-5/+11
| |
| * Update registering pp with ffi.gcIan Cordasco2015-06-241-4/+3
| | | | | | | | | | This makes it more in-line with existing functions, e.g., L40-L47 of src/cryptography/hazmat/backends/openssl/x509.py @ b0e8ffa
| * Update CSR tests and implementationIan Cordasco2015-06-243-23/+8
| | | | | | | | | | | | | | | | | | | | - Use keyword arguments for x509.BasicConstraints in tests (missed in b790edbdc8fb9a026353d6fb99994326197705c7). - Place X509_request garbage collection under assertion. - Assert that X509 extensions created are not null. - Don't copy the extensions list in CertificateSigningBuilder. They're never appended to, so copying isn't necessary. - Use RSA key fixtures instead of generating new ones on each test run
| * Fix new tests to pass text value to NameAttributeIan Cordasco2015-06-241-20/+20
| |
| * Address code review regarding style and gcIan Cordasco2015-06-243-20/+17
| | | | | | | | | | | | | | | | | | - Use keyword arguments for x509.BasicConstraints in several places - Use SHA256 instead of SHA1 in documented examples - Give function variables meaningful names in _encode_asn1_str - Accept a x509.BasicConstraints object in _encode_basic_constraints - Properly garbage-collect some things - Raise a NotImplementedError instead of a ValueError
| * Fixes PEP8 issue in tests.Andre Caron2015-06-241-5/+0
| |
| * Removes set_ prefix on CSR builder method.Andre Caron2015-06-243-7/+7
| |
| * Lists support for DSA and EC in CSR builder.Andre Caron2015-06-241-1/+3
| |
| * Fully qualifies symbols in doc references.Andre Caron2015-06-241-5/+10
| |
| * Changes builder extension API.Andre Caron2015-06-243-40/+25
| |
| * Polishes builder documentation,Andre Caron2015-06-241-5/+28
| |
| * Removes CSR builder version setter.Andre Caron2015-06-243-40/+22
| |
| * Fixes memory leak,Andre Caron2015-06-241-0/+6
| |