aboutsummaryrefslogtreecommitdiffstats
path: root/tests/test_x509.py
Commit message (Collapse)AuthorAgeFilesLines
* Add check for an RSA Key being too smallIan Cordasco2015-08-011-12/+3
| | | | | - Remove outdated/unnecessary/illegitimate TODOs - Fix up test for an RSA key that is too small
* Add extra CertificateBuilder test using SHA512 and 512-bit RSA keyIan Cordasco2015-07-241-1/+49
|
* Check result of setting the serial numberIan Cordasco2015-07-241-0/+126
| | | | | - Add checks for private key types - Add tests around new checks for types of private keys
* Remove CertificateBuilder.versionIan Cordasco2015-07-241-17/+1
| | | | Default CertificateBuilder to Version.v3
* Add tests to test_openssl backend for extra coverageIan Cordasco2015-07-201-0/+9
|
* Add another extension to our CertificateBuilder testIan Cordasco2015-07-201-0/+9
|
* Add test coverage for x509.CertificateBuilderIan Cordasco2015-07-191-0/+133
|
* Use explicit keyword args in the testsIan Cordasco2015-07-191-1/+1
|
* Use test fixtures instead of generating private keysIan Cordasco2015-07-191-10/+2
|
* Fix x509.Name creation in CertificateBuilder testsIan Cordasco2015-07-181-10/+10
|
* Make the CertificateBuilder interface more like the CSRBuilderIan Cordasco2015-07-181-17/+19
|
* Adds certificate builder.Andre Caron2015-07-181-0/+50
|
* encode uriPaul Kehrer2015-07-131-5/+23
|
* support rfc822Name general name encodingPaul Kehrer2015-07-121-1/+7
|
* 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
| |
* | Fixed #2127 -- added __hash__ to CSRAlex Gaynor2015-07-081-0/+20
|/
* 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
|
* 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
|\
| * Added support for SANs in CSRsAlex Gaynor2015-07-031-0/+14
| |
* | fixed mergeAlex Gaynor2015-07-031-13/+0
| |
* | Merge branch 'master' into encode-sanAlex Gaynor2015-07-031-0/+13
|\|
| * Added a test with two extensions, and added key usage support to the frontendAlex Gaynor2015-07-031-0/+13
| |
* | fix the not implemeneted testAlex Gaynor2015-06-281-1/+11
| |
* | Initial code to encode SANsAlex Gaynor2015-06-281-0/+24
|/
* Simplified code in the test loaders and improved branch coverage in the x509 ↵Alex Gaynor2015-06-271-49/+47
| | | | tests
* Fixed #2067 -- raise an error if a CSRbuilder doesn't hav a subjectAlex Gaynor2015-06-271-1/+11
|
* fix this testAlex Gaynor2015-06-261-1/+1
|
* Merge branch 'master' into param-orderingAlex Gaynor2015-06-261-3/+31
|\
| * test notimplementederror for unsupported csr extensions in backendsPaul Kehrer2015-06-261-0/+14
| |
| * add test for CSR builder setting subject twicePaul Kehrer2015-06-261-3/+17
| |
* | Make the parameter ordering in sign() consistent with other codeAlex Gaynor2015-06-261-16/+6
|/
* simplify x509 csr builder testsPaul Kehrer2015-06-261-40/+0
|
* Use SECP256R1 instead of SECT283K1 in CSR testsIan Cordasco2015-06-241-2/+2
|
* 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-241-0/+1
|
* Add tests to the CSR Builder for EC and DSA keysIan Cordasco2015-06-241-3/+84
| | | | | | 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-241-2/+3
| | | | | | | | | - 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