aboutsummaryrefslogtreecommitdiffstats
path: root/tests
Commit message (Collapse)AuthorAgeFilesLines
* 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.
* py3 fixin'Paul Kehrer2015-07-251-1/+1
|
* handle RSA key too small and consume errors on CSR signature failurePaul Kehrer2015-07-251-0/+13
|
* Support encoding ExtendedKeyUsage into certificate signing requestsPaul Kehrer2015-07-231-0/+23
|
* Support encoding KeyUsage into certificate signing requestsPaul Kehrer2015-07-231-2/+64
|
* when building a CSR adding > 1 extension would trigger a bugPaul Kehrer2015-07-231-0/+25
| | | | | | 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.
* encode uriPaul Kehrer2015-07-131-5/+23
|
* Merge pull request #2149 from reaperhulk/better-uriAlex Gaynor2015-07-131-0/+32
|\ | | | | expand UniformResourceIdentifier to parse and internally IDNA encode
| * expand UniformResourceIdentiier to parse and internally IDNA encodePaul Kehrer2015-07-121-0/+32
| |
* | support rfc822Name general name encodingPaul Kehrer2015-07-121-1/+7
|/
* Merge pull request #2141 from reaperhulk/better-rfc822nameAlex Gaynor2015-07-121-0/+18
|\ | | | | expand RFC822Name to validate and (internally) IDNA encode
| * expand RFC822Name to validate and (internally) IDNA encodePaul Kehrer2015-07-121-0/+18
| | | | | | | | This will be used in the CSR builder
* | Merge pull request #2145 from alex/numbers-hashPaul Kehrer2015-07-121-0/+16
|\ \ | | | | | | Fixed #2143 -- added __hash__ to RSA{Public,Private}Numbers
| * | Fixed #2143 -- added __hash__ to RSA{Public,Private}NumbersAlex Gaynor2015-07-121-0/+16
| | |
* | | Don't try to load backends if the test doesn't need itAlex Gaynor2015-07-121-3/+3
|/ /
* | Merge pull request #2095 from reaperhulk/nc-the-hard-part-reduxAlex Gaynor2015-07-121-0/+54
|\ \ | |/ |/| name constraints - support IP addresses with netmask
| * simplify and handle /32 and /128Paul Kehrer2015-07-101-0/+19
| |
| * name constraints - support IP addresses with netmaskPaul Kehrer2015-07-101-0/+35
| |
* | raise a nice error if bad ASN.1 is providedPaul Kehrer2015-07-111-0/+19
| |
* | support for OtherName encoding for general namesPaul Kehrer2015-07-111-0/+8
| |
* | support IPAddress encoding for general namesPaul Kehrer2015-07-111-0/+5
| |
* | Merge pull request #2134 from reaperhulk/encode-dirnameAlex Gaynor2015-07-111-0/+12
|\ \ | |/ |/| support DirectoryName encoding for general names
| * support DirectoryName encoding for general namesPaul Kehrer2015-07-101-0/+12
| |
* | Merge pull request #2129 from alex/hash-csrPaul Kehrer2015-07-091-0/+20
|\ \ | |/ |/| Fixed #2127 -- added __hash__ to CSR
| * Fixed #2127 -- added __hash__ to CSRAlex Gaynor2015-07-081-0/+20
| |
* | Merge pull request #2108 from mail-in-a-box/masterPaul Kehrer2015-07-081-0/+72
|\ \ | |/ |/| support othername in general names
| * special-case GeneralNames.get_values_for_type to return OtherName instances ↵Joshua Tauberer2015-07-061-5/+4
| | | | | | | | directly rather than their value properties; tests updated
| * additional tests and doc spelling error fix for OtherNameJoshua Tauberer2015-07-061-0/+49
| |
| * parse SAN otherNames into OtherName instances rather than raising an exceptionJoshua Tauberer2015-07-061-0/+24
| | | | | | | | Test added.
* | Merge pull request #2124 from alex/hash-certPaul Kehrer2015-07-081-0/+23
|\ \ | | | | | | Fixed #2120 -- added __hash__ to x509.Cert
| * | Fixed #2120 -- added __hash__ to x509.CertAlex Gaynor2015-07-061-0/+23
| | |
* | | fixed testAlex Gaynor2015-07-061-1/+1
| | |
* | | Fixed #2121 -- added __eq__ and __ne__ to CSRsAlex Gaynor2015-07-061-0/+29
|/ /
* | support registeredID general name encodingPaul Kehrer2015-07-051-0/+2
| |
* | Merge pull request #2085 from alex/encode-sanPaul Kehrer2015-07-051-0/+43
|\ \ | |/ |/| Initial code to encode SANs
| * Wildcards. Also fixed a bug with multiple GNsAlex Gaynor2015-07-051-2/+4
| |
| * flake8 for the flkae8 godAlex Gaynor2015-07-051-1/+0
| |
| * Organize code a bit betterAlex Gaynor2015-07-051-0/+18
| |
| * add this part of the test backAlex Gaynor2015-07-031-0/+3
| |
| * Merge branch 'master' into encode-sanAlex Gaynor2015-07-031-0/+14
| |\
| * | fixed mergeAlex Gaynor2015-07-031-13/+0
| | |
| * | Merge branch 'master' into encode-sanAlex Gaynor2015-07-031-0/+13
| |\ \
| * \ \ Merge branch 'master' into encode-sanAlex Gaynor2015-07-038-17/+186
| |\ \ \
| * | | | fix the not implemeneted testAlex Gaynor2015-06-281-1/+11
| | | | |
| * | | | Initial code to encode SANsAlex Gaynor2015-06-281-0/+24
| | | | |
* | | | | change unsupported generalname test to use x400addressPaul Kehrer2015-07-051-6/+4
| |_|_|/ |/| | |
* | | | Added support for SANs in CSRsAlex Gaynor2015-07-031-0/+14
| |_|/ |/| |
* | | Added a test with two extensions, and added key usage support to the frontendAlex Gaynor2015-07-031-0/+13
| |/ |/|
* | fixed testsAlex Gaynor2015-07-022-9/+7
| |