lemur/lemur/certificates
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
cli.py Rotation ui (#633) 2016-12-26 15:55:11 -08:00
models.py X509 extensions issue#646 (#666) 2017-01-27 12:31:29 -08:00
schemas.py Rotation ui (#633) 2016-12-26 15:55:11 -08:00
service.py X509 extensions issue#646 (#666) 2017-01-27 12:31:29 -08:00
verify.py Gracefully handle importing certificates with missing data (#674) 2017-01-24 13:48:53 -08:00
views.py Adding additional metrics for when destinations fail to upload. (#637) 2016-12-28 09:52:23 -08:00