aboutsummaryrefslogtreecommitdiffstats
path: root/tests/test_x509.py
Commit message (Collapse)AuthorAgeFilesLines
...
* | 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
* Properly use RSA fixtures to generate private keysIan Cordasco2015-06-241-4/+10
|
* Update CSR tests and implementationIan Cordasco2015-06-241-21/+5
| | | | | | | | | | - 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-241-2/+2
| | | | | | | | | - 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-241-4/+4
|
* Changes builder extension API.Andre Caron2015-06-241-31/+14
|
* Removes CSR builder version setter.Andre Caron2015-06-241-23/+18
|
* Adds method chaining to CSR builder.Andre Caron2015-06-241-29/+30
|
* Adds CSR builder.Andre Caron2015-06-241-0/+147
|
* Added a repr() method to x509._CertificateMajor Hayden2015-06-211-0/+33
|
* Conditionally construct the repr of NameAttributesIan Cordasco2015-06-161-10/+26
|
* Correct x509.NameAttribute test passing bytesIan Cordasco2015-06-161-116/+116
|
* Enforce text type of NameAttribute.valueIan Cordasco2015-06-161-0/+7
|
* Adds certificate encoding to PEM and DER.Andre Caron2015-05-191-0/+84
|
* Adds public bytes comparison test.Andre Caron2015-05-181-0/+24
|
* Renames test cases.Andre Caron2015-05-181-3/+3
|
* Adds support for writing CSRs.Andre Caron2015-05-181-1/+65
|
* Adds support for CSR extensions.Andre Caron2015-05-171-0/+58
|