aboutsummaryrefslogtreecommitdiffstats
path: root/tests/test_x509_ext.py
Commit message (Collapse)AuthorAgeFilesLines
* Don't raise an UnsupportedExtension for critical extensions. (#3550)Alex Gaynor2017-05-201-4/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | * Don't raise an UnsupportedExtension for critical extensions. Fixes #2903 Fixes #2901 Fixes #3325 * Don't link * Revert "Don't link" This reverts commit 4fe847f91d9dd45cdc28a4984c4e44aad62a5de6. * fix * Revert "Revert "Don't link"" This reverts commit 856031b5a1fbad04ac218fa94ebf37dcd402f3ed. * fix * Deprecate this * Better changelog entry
* Remove API deprecated in 1.6, clean up the legacy deprecations (#3468)Alex Gaynor2017-03-211-11/+0
| | | | | | * Remove API deprecated in 1.6, clean up the legacy deprecations * flake8, unused import
* Make DistributionPoint relative_name a set of NameAttribute (#3210)Fraser Tweedale2016-11-071-14/+27
| | | | | | | | | | | * Add RelativeDistinguishedName class * Make relative_name a RelativeDistinguishedName DistributionPoint relative_name is currently a Name but RFC 5280 defines it as RelativeDistinguishedName, i.e. a non-empty SET OF name attributes. Change the DistributionPoint relative_name attribute to be a RelativeDistinguishedName.
* Allow passing iterators where collections are expected (#3078)Marti2016-08-261-11/+97
| | | | | | | | | | | | | | Iterators can only be enumerated once, breaking code like this in Python 3 for example: san = SubjectAlternativeName(map(DNSName, lst)) This is also a slight behavior change if the caller modifies the list after passing it to the constructor, because input lists are now copied. Which seems like a good thing. Also: * Name now checks that attributes elements are of type NameAttribute * NoticeReference now allows notice_numbers to be any iterable
* Add code style settings, new excludes, run 'test_x509_ext (Py3)' (#3041)Marti2016-08-021-0/+44
| | | | | | Fix DNSName wildcard encoding for NameConstraints Previously '.example.com' would get normalised to 'example.com', making it impossible to add wildcard NameConstraints.
* Add AuthorityKeyIdentifier.from_issuer_subject_key_identifierPaul Kehrer2016-03-111-0/+22
|
* added another testAlex Gaynor2016-02-271-3/+15
|
* better name for this testAlex Gaynor2016-02-271-1/+1
|
* whitespaceAlex Gaynor2016-02-271-1/+0
|
* Fixed #2732 -- added support for x.509 policy constraints extensionAlex Gaynor2016-02-271-0/+22
|
* add policy constraints classPaul Kehrer2016-02-261-0/+35
|
* Refs #2578 -- implement __hash__ on InhibitAnyPolicyEeshan Garg2016-02-011-0/+7
|
* Refs #2578 -- implement __hash__ on AccessDescriptionEeshan Garg2016-01-311-0/+16
|
* refactor the init validation of AuthorityKeyIdentifierPaul Kehrer2016-01-051-0/+7
| | | | Fixes #2640
* Merge pull request #2635 from alex/rfc-hashPaul Kehrer2016-01-031-0/+8
|\ | | | | Implement __hash__ on RFC822Name
| * Implement __hash__ on RFC822NameAlex Gaynor2016-01-031-0/+8
| |
* | Implement __hash__ on UniformResourceIdentifierAlex Gaynor2016-01-031-0/+8
|/
* Merge pull request #2607 from reaperhulk/unrecognized-extension-support-reduxAlex Gaynor2015-12-311-3/+19
|\ | | | | support unrecognized extensions in x509
| * support unrecognized extensions in x509Paul Kehrer2015-12-301-3/+19
| |
* | don't allow UnrecognizedExtension with get_extension_for_classPaul Kehrer2015-12-301-0/+5
|/
* py3 repr will be differentPaul Kehrer2015-12-301-4/+10
|
* add UnrecognizedExtension classPaul Kehrer2015-12-301-0/+51
|
* Merge pull request #2598 from reaperhulk/index-cpAlex Gaynor2015-12-271-0/+10
|\ | | | | support indexing in CertificatePolicies
| * support indexing in CertificatePoliciesPaul Kehrer2015-12-271-0/+10
| |
* | Merge pull request #2597 from reaperhulk/index-cdpAlex Gaynor2015-12-271-0/+26
|\ \ | | | | | | support indexing in CDP
| * | support indexing in CDPPaul Kehrer2015-12-271-0/+26
| |/
* / support indexing in AIAPaul Kehrer2015-12-271-0/+26
|/
* Merge pull request #2595 from alex/crl-reason-hashPaul Kehrer2015-12-271-0/+8
|\ | | | | Refs #2578 -- implement __hash__ on CRLReason
| * Refs #2578 -- implement __hash__ on CRLReasonAlex Gaynor2015-12-271-0/+8
| |
* | hash ne testPaul Kehrer2015-12-271-0/+2
| |
* | implement hash on basicconstraintsPaul Kehrer2015-12-271-0/+5
|/
* make CertificateIssuer and IssuerAlternativeName indexablePaul Kehrer2015-12-261-0/+22
|
* A handful of small cleanups and simplificationsAlex Gaynor2015-12-261-9/+3
|
* Merge pull request #2585 from reaperhulk/san-iterableAlex Gaynor2015-12-261-0/+26
|\ | | | | support indexing on GeneralNames and SubjectAlternativeName
| * support indexing on GeneralNames and SubjectAlternativeNamePaul Kehrer2015-12-261-0/+26
| |
* | Merge pull request #2583 from alex/ski-hashPaul Kehrer2015-12-261-0/+14
|\ \ | |/ |/| Refs #2578 -- implement __hash__ on SubjectKeyIdentifier
| * Refs #2578 -- implement __hash__ on SubjectKeyIdentifierAlex Gaynor2015-12-261-0/+14
| |
* | Merge pull request #2581 from reaperhulk/crlentry-invaliditydateAlex Gaynor2015-12-261-0/+31
|\ \ | |/ |/| add invaliditydate class for crl entry extensions
| * ...pep8Paul Kehrer2015-12-261-0/+1
| |
| * add __hash__ to InvalidityDatePaul Kehrer2015-12-261-0/+6
| |
| * add invaliditydate class for crl entry extensionsPaul Kehrer2015-12-261-0/+24
| |
* | Refs #2578 -- implement __hash__ on CRLNumberAlex Gaynor2015-12-261-0/+7
|/
* switch CRLReason to use a classPaul Kehrer2015-12-261-0/+23
|
* Merge pull request #2575 from reaperhulk/crlentry-extensions-classesAlex Gaynor2015-12-261-0/+38
|\ | | | | start switching the CRL entry extensions to be full-fledged classes
| * start switching the CRL entry extensions to be full-fledged classesPaul Kehrer2015-12-251-0/+38
| | | | | | | | first up: CertificateIssuer
* | make the Extensions class support indexingPaul Kehrer2015-12-261-0/+12
|/
* missed a test for CRLNumber not being an integer, oopsPaul Kehrer2015-12-221-0/+4
|
* CRLNumber needs to be a class for reasons.Paul Kehrer2015-12-221-0/+15
|
* Dangling pep8 fixNick Bastin2015-12-201-1/+1
|
* PEP8 fixesNick Bastin2015-12-201-1/+0
|