aboutsummaryrefslogtreecommitdiffstats
path: root/tests/test_x509.py
Commit message (Collapse)AuthorAgeFilesLines
* 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
|
* add support for equality testing to x509.CertificatePaul Kehrer2015-04-301-0/+30
|
* Replace the remaining occurrences of six.u with the u prefixEeshan Garg2015-04-291-4/+2
|
* let's make that repr actually goodPaul Kehrer2015-04-111-3/+4
|
* add repr for x509 namesPaul Kehrer2015-04-111-0/+12
|
* add load_der_x509_csr to support loading DER encoded CSRsPaul Kehrer2015-03-301-20/+51
|
* add test for invalid PEM CSRPaul Kehrer2015-03-291-0/+4
|
* rename request to CSRPaul Kehrer2015-03-291-4/+4
|
* basic support for parsing x509 requestsPaul Kehrer2015-03-291-0/+67
|
* Fixed the deprecation warnings being triggered by the testsAlex Gaynor2015-03-101-2/+2
|
* This module has been renamed.Alex Gaynor2015-02-231-9/+7
|
* implement signature_hash_algorithm insteadPaul Kehrer2015-02-141-4/+14
|
* add support for signature_algorithm in x509.CertificatePaul Kehrer2015-02-141-0/+4
|
* simplify things based on review feedbackPaul Kehrer2015-02-141-16/+4
|
* make x509.Name iterable and address other review feedbackPaul Kehrer2015-02-131-6/+20
|
* refactor x509.Name to use get_attributes_by_oidPaul Kehrer2015-02-121-146/+4
|
* X509 distinguished name parsing support in the OpenSSL backendPaul Kehrer2015-02-121-0/+332
|
* add repr for x509.NameAttributePaul Kehrer2015-02-121-0/+7
|
* Added test coverage for missing branch.Alex Gaynor2015-02-101-0/+4
|
* rename Attribute to NameAttribute and remove name from OIDPaul Kehrer2015-02-021-28/+23
|
* add attribute and objectidentifier classes for x509 namePaul Kehrer2015-01-291-0/+47
|
* add parsed_version attribute to InvalidVersionPaul Kehrer2014-12-151-1/+3
|
* rename X509 classes to remove X509 and improve some testsPaul Kehrer2014-12-151-10/+67
|
* update test with proper filenamePaul Kehrer2014-12-151-1/+1
|
* raise error on unnamed EC curve certificates when calling public_keyPaul Kehrer2014-12-151-0/+10
| | | | ...for now
* reorganize a bunch of things related to the x509certificate interfacePaul Kehrer2014-12-151-2/+2
|