aboutsummaryrefslogtreecommitdiffstats
path: root/tests/test_x509.py
Commit message (Collapse)AuthorAgeFilesLines
* support unrecognized extensions in x509Paul Kehrer2015-12-301-1/+5
|
* move two tests to the openssl backend tests where they belongPaul Kehrer2015-12-261-51/+0
|
* add invaliditydate class for crl entry extensionsPaul Kehrer2015-12-261-3/+3
|
* switch CRLReason to use a classPaul Kehrer2015-12-261-5/+5
|
* start switching the CRL entry extensions to be full-fledged classesPaul Kehrer2015-12-251-7/+6
| | | | first up: CertificateIssuer
* full indexing support + testsgAlex Gaynor2015-12-241-3/+8
|
* tests on indexingAlex Gaynor2015-12-241-1/+12
|
* address review commentsPaul Kehrer2015-12-231-8/+3
|
* add test that fails if CRL references aren't properly retainedPaul Kehrer2015-12-231-0/+19
| | | | | | If the X509_CRL reference is not properly retained then this test will return an openssl error or potentially a crash as it's reading freed memory to obtain the revocation_date and serial_number
* CRLNumber needs to be a class for reasons.Paul Kehrer2015-12-221-1/+1
|
* add support for parsing AuthorityInfoAccess and IssuerAltName CRL extsPaul Kehrer2015-12-221-3/+18
| | | | Expand the CRL extensions test to check the value
* support parsing CRL extensions in the OpenSSL backendPaul Kehrer2015-12-211-5/+17
|
* add test for byte matchingPaul Kehrer2015-12-211-0/+24
|
* add a CRL public_bytes methodPaul Kehrer2015-12-201-0/+42
|
* Merge pull request #2538 from reaperhulk/empty-crls-are-beautiful-tooAlex Gaynor2015-12-201-0/+8
|\ | | | | support CRLs with no revoked certificates
| * support CRLs with no revoked certificatesPaul Kehrer2015-12-201-0/+8
| |
* | Dealing with the pedantry of pep8Nick Bastin2015-12-201-2/+0
| |
* | Test for non-standard AIA support in CertificateBuilderNick Bastin2015-12-201-0/+32
|/
* Merge pull request #2530 from nbastin/20151214-oid-valPaul Kehrer2015-12-181-27/+50
|\ | | | | OID validation
| * Avoid IndexError on too-short OIDs, add test for regressionNick Bastin2015-12-171-0/+4
| |
| * OID validationNick Bastin2015-12-141-27/+46
| |
* | require not_valid_after >= not_valid_beforePaul Kehrer2015-12-131-0/+22
|/
* add some missing skipsPaul Kehrer2015-12-031-0/+2
|
* expose tbs_certrequest_bytes and signature on CertificateSigningRequestPaul Kehrer2015-12-031-0/+132
|
* implement support for encoding name constraintsPaul Kehrer2015-12-021-0/+35
|
* test name fixErik Trauschke2015-11-191-1/+1
|
* add tbsCertList and signature interfaces to CRLsErik Trauschke2015-11-191-0/+38
|
* rename tbs_certificate to tbs_certificate_bytes, add a commentPaul Kehrer2015-11-031-9/+9
|
* skip checkPaul Kehrer2015-11-031-0/+1
|
* add support for Certificate signature and tbs_certificatePaul Kehrer2015-11-031-1/+184
|
* Merge pull request #2435 from reaperhulk/fix-2407Alex Gaynor2015-10-271-0/+41
|\ | | | | encode countryName with PrintableString
| * work on py3Paul Kehrer2015-10-271-2/+2
| |
| * remove unneeded strPaul Kehrer2015-10-271-2/+2
| |
| * switch to using pyasn1_modules for the testPaul Kehrer2015-10-271-12/+14
| |
| * encode countryName with PrintableStringPaul Kehrer2015-10-201-0/+39
| | | | | | | | | | | | | | This commit adds a dependency on asn1crypto for testing purposes to parse the certificate and confirm that countryName is encoded with PrintableString while other fields are UTF8String. This is a test only dep.
* | support encoding certificate policies in CertificateBuilderPaul Kehrer2015-10-241-0/+89
| |
* | typoAlex Gaynor2015-10-241-1/+1
| |
* | Fixed #2444 -- added an __hash__ to x509 NamesAlex Gaynor2015-10-241-0/+17
| |
* | fix some indentationPaul Kehrer2015-10-211-2/+2
| |
* | test fixErik Trauschke2015-10-211-0/+2
| |
* | remove convenience functions for revoked extensionsErik Trauschke2015-10-211-10/+11
| | | | | | | | fix docs regarding CRL PEM format
* | Merge branch 'crl_ossl_backend' of github.com:etrauschke/cryptography into ↵Erik Trauschke2015-10-201-0/+246
|\ \ | |/ |/| | | crl_ossl_backend
| * removing caching mechanism for x509 propertiesErik Trauschke2015-10-151-19/+18
| | | | | | | | | | | | undo name change of CRLExtensionOID use custom parsing mechanism for certIssuer entry extension add new crl to vectors for testing invalid certIssuer entry ext
| * use X509ExtensionParser for Revoked extensionsErik Trauschke2015-10-141-17/+12
| | | | | | | | | | | | remove revoked_certificates property from RevokedCertificate class CRLExtensions should actually be RevokedExtensions doctest cleanup for RevokedCertificate
| * fix indentationsErik Trauschke2015-10-131-0/+3
| | | | | | | | | | | | | | | | change docs to indicate CRL objects are iterable fix docs for revoked certs make _decode_crl_reason more readable add __getitem__ method to CRL object remove double underscores
| * use openssl assertErik Trauschke2015-09-281-2/+5
| | | | | | | | | | | | change _build* to _decode* make CRLs into iterators various fixes
| * OpenSSL backend code for CRLsErik Trauschke2015-09-241-0/+246
| |
* | Fixed #2404 -- handle a certificate with an unknown public keyAlex Gaynor2015-10-101-0/+15
| |
* | test build ca request with path_length Nonevicente.fiebig2015-10-011-0/+24
|/
* Adds _name property to ObjectIdentifierBrendan McCollam2015-09-061-0/+6
|