lemur/lemur/common
Neil Schelly f13a3505f3 X509 extensions issue#646 (#666)
* Allowing that create_csr can be called with an additional flag in the csr_config to adjust the BasicConstraints for a CA.

* If there are no SANs, skip adding a blank list of SANs.

* Adding handling for all the extended key usage, key usage, and subject key identifier extensions.

* Fixing lint checks. I was overly verbose.

* This implements marshalling of the certificate extensions into x509 ExtensionType objects in the schema validation code.

* Will create x509 ExtensionType objects in the schema validation stage
* Allows errors parsing incoming options to bubble up to the requestor as ValidationErrors.
* Cleans up create_csr a lot in the certificates/service.py
* Makes BasicConstraints _just another extension_, rather than a hard-coded one
* Adds BasicConstraints option for path_length to the UI for creating an authority
* Removes SAN types which cannot be handled from the UI for authorities and certificates.
* Fixes Certificate() object model so that it doesn't just hard-code only SAN records in the extensions property and actually returns the extensions how you expect to see them. Since Lemur is focused on using these data in the "CSR" phase of things, extensions that don't get populated until signing will be in dict() form.* Trying out schema validation of extensions
2017-01-27 12:31:29 -08:00
..
__init__.py initial commit 2015-06-22 13:47:27 -07:00
defaults.py Gracefully handle importing certificates with missing data (#674) 2017-01-24 13:48:53 -08:00
fields.py X509 extensions issue#646 (#666) 2017-01-27 12:31:29 -08:00
health.py Pleasing the PEP8 gods 2015-07-21 13:06:13 -07:00
managers.py Allow Lemur "start" to use the global config. (#596) 2016-12-14 13:23:50 -08:00
missing.py Time (#482) 2016-11-09 10:56:22 -08:00
schema.py Ensuring that endpoints without output_schema work as expected (#568) 2016-12-07 15:40:29 -08:00
utils.py Ensuring that acme and cryptography respect different key types (#554) 2016-12-02 10:54:18 -08:00
validators.py Ensuring that CSRs are correctly validated under python3 (#565) 2016-12-06 12:25:43 -08:00