Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | | | Merge pull request #2081 from reaperhulk/move-int-from-bytes | Alex Gaynor | 2015-06-28 | 2 | -23/+30 | |
|\ \ \ | |/ / |/| | | move int_from_bytes so we can use it elsewhere | |||||
| * | | move int_from_bytes so we can use it elsewhere | Paul Kehrer | 2015-06-27 | 2 | -23/+30 | |
| | | | ||||||
* | | | Merge pull request #2080 from alex/test-coverage | Paul Kehrer | 2015-06-27 | 2 | -53/+48 | |
|\ \ \ | |/ / |/| | | Simplified code in the test loaders and improved branch coverage in the x509 tests | |||||
| * | | fix | Alex Gaynor | 2015-06-27 | 1 | -1/+2 | |
| | | | ||||||
| * | | Simplified code in the test loaders and improved branch coverage in the x509 ↵ | Alex Gaynor | 2015-06-27 | 2 | -53/+47 | |
|/ / | | | | | | | tests | |||||
* | | Merge pull request #2079 from reaperhulk/branch-fixes | Alex Gaynor | 2015-06-27 | 4 | -164/+70 | |
|\ \ | | | | | | | Branch fixes | |||||
| * | | require serialization in asym tests | Paul Kehrer | 2015-06-27 | 4 | -164/+70 | |
| | | | ||||||
* | | | Merge pull request #2078 from alex/ssh-load-coverage | Paul Kehrer | 2015-06-27 | 2 | -8/+6 | |
|\ \ \ | |/ / |/| | | Improvemed branch coverage for ssh public key loading | |||||
| * | | Improvemed branch coverage for ssh public key loading | Alex Gaynor | 2015-06-27 | 2 | -8/+6 | |
|/ / | ||||||
* | | Merge pull request #2076 from alex/more-branch-coverage | Paul Kehrer | 2015-06-27 | 2 | -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 test | Alex Gaynor | 2015-06-27 | 2 | -8/+27 | |
| | | | ||||||
* | | | Merge pull request #2075 from alex/x509-branch-coverage | Paul Kehrer | 2015-06-27 | 1 | -6/+6 | |
|\ \ \ | |/ / |/| | | Reorganized some code to improve branch coverage | |||||
| * | | Reorganized some code to improve branch coverage | Alex Gaynor | 2015-06-27 | 1 | -6/+6 | |
|/ / | ||||||
* | | Merge pull request #2074 from glyph/im-helping | Alex Gaynor | 2015-06-27 | 1 | -0/+1 | |
|\ \ | | | | | | | Add Glyph to AUTHORS.rst. | |||||
| * | | Add Glyph to AUTHORS.rst. | Glyph | 2015-06-26 | 1 | -0/+1 | |
| | | | ||||||
* | | | Merge pull request #2072 from alex/require-subject | Paul Kehrer | 2015-06-27 | 3 | -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 subject | Alex Gaynor | 2015-06-27 | 3 | -2/+14 | |
|/ / | ||||||
* | | Merge pull request #2071 from reaperhulk/wildcard-oh-no | Alex Gaynor | 2015-06-27 | 2 | -1/+42 | |
|\ \ | |/ |/| | handle wildcard DNSNames with IDNA. | |||||
| * | do this much more simply | Paul Kehrer | 2015-06-26 | 1 | -7/+4 | |
| | | ||||||
| * | handle wildcard DNSNames with IDNA. | Paul Kehrer | 2015-06-26 | 2 | -1/+45 | |
| | | | | | | | | fixes #2054 | |||||
* | | Merge pull request #2069 from alex/param-ordering | Paul Kehrer | 2015-06-26 | 3 | -20/+10 | |
|\ \ | |/ |/| | Make the parameter ordering in sign() consistent with other code | |||||
| * | fix this test | Alex Gaynor | 2015-06-26 | 1 | -1/+1 | |
| | | ||||||
| * | Merge branch 'master' into param-ordering | Alex Gaynor | 2015-06-26 | 2 | -3/+35 | |
| |\ | ||||||
| * | | fixed docs | Alex Gaynor | 2015-06-26 | 1 | -1/+1 | |
| | | | ||||||
| * | | Make the parameter ordering in sign() consistent with other code | Alex Gaynor | 2015-06-26 | 3 | -18/+8 | |
| | | | ||||||
* | | | Merge pull request #2068 from reaperhulk/wildcard-idna-san-vector | Alex Gaynor | 2015-06-26 | 2 | -0/+21 | |
|\ \ \ | |_|/ |/| | | add wildcard IDNA SAN | |||||
| * | | add wildcard IDNA SAN | Paul Kehrer | 2015-06-26 | 2 | -0/+21 | |
| |/ | ||||||
* | | Merge pull request #2066 from reaperhulk/csr-builder-set-subject | Alex Gaynor | 2015-06-26 | 2 | -3/+35 | |
|\ \ | |/ |/| | fix coverage in CSR builder | |||||
| * | test notimplementederror for unsupported csr extensions in backends | Paul Kehrer | 2015-06-26 | 2 | -0/+18 | |
| | | ||||||
| * | add test for CSR builder setting subject twice | Paul Kehrer | 2015-06-26 | 1 | -3/+17 | |
|/ | ||||||
* | Merge pull request #2064 from reaperhulk/simplify-x509 | Alex Gaynor | 2015-06-26 | 1 | -40/+0 | |
|\ | | | | | simplify x509 csr builder tests | |||||
| * | simplify x509 csr builder tests | Paul Kehrer | 2015-06-26 | 1 | -40/+0 | |
| | | ||||||
* | | Merge pull request #2063 from reaperhulk/improve-backend-docs | Alex Gaynor | 2015-06-26 | 1 | -0/+31 | |
|\ \ | |/ |/| | Improve backend interface docs | |||||
| * | add two missing methods to backend interface docs | Paul Kehrer | 2015-06-26 | 1 | -0/+31 | |
|/ | ||||||
* | Merge pull request #2045 from sigmavirus24/csr-builder | Paul Kehrer | 2015-06-26 | 9 | -3/+543 | |
|\ | | | | | Adds CSR Builder (Redux of #1927) | |||||
| * | Use SECP256R1 instead of SECT283K1 in CSR tests | Ian Cordasco | 2015-06-24 | 2 | -4/+4 | |
| | | ||||||
| * | Add test for unicode attributes in CSRs | Ian Cordasco | 2015-06-24 | 1 | -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 unsupported | Ian Cordasco | 2015-06-24 | 2 | -0/+3 | |
| | | ||||||
| * | Use utf8 to encode attribute values instead of ascii | Ian Cordasco | 2015-06-24 | 1 | -2/+2 | |
| | | ||||||
| * | Add tests to the CSR Builder for EC and DSA keys | Ian Cordasco | 2015-06-24 | 3 | -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 extensions | Ian Cordasco | 2015-06-24 | 1 | -9/+1 | |
| | | ||||||
| * | Address review comments around add_extension method | Ian Cordasco | 2015-06-24 | 3 | -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 Builder | Ian Cordasco | 2015-06-24 | 1 | -0/+2 | |
| | | ||||||
| * | Unconditionally encode values to ascii | Ian Cordasco | 2015-06-24 | 1 | -5/+2 | |
| | | ||||||
| * | Properly use RSA fixtures to generate private keys | Ian Cordasco | 2015-06-24 | 2 | -5/+11 | |
| | | ||||||
| * | Update registering pp with ffi.gc | Ian Cordasco | 2015-06-24 | 1 | -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 implementation | Ian Cordasco | 2015-06-24 | 3 | -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 NameAttribute | Ian Cordasco | 2015-06-24 | 1 | -20/+20 | |
| | | ||||||
| * | Address code review regarding style and gc | Ian Cordasco | 2015-06-24 | 3 | -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 Caron | 2015-06-24 | 1 | -5/+0 | |
| | |