lemur/lemur
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
..
auth Ensures that in-active users are not allowed to login. (#618) 2016-12-19 22:58:57 -08:00
authorities Correcting grammar for subca ValidationError message for clarity (#657) 2017-01-18 12:34:16 -08:00
certificates X509 extensions issue#646 (#666) 2017-01-27 12:31:29 -08:00
common X509 extensions issue#646 (#666) 2017-01-27 12:31:29 -08:00
defaults Minor documentation fixes/tweaks (#597) 2016-12-14 09:29:04 -08:00
deployment Fixing issues with rotation. (#603) 2016-12-14 17:30:13 -08:00
destinations Minor documentation fixes/tweaks (#597) 2016-12-14 09:29:04 -08:00
domains Minor documentation fixes/tweaks (#597) 2016-12-14 09:29:04 -08:00
endpoints Modifying the way rotation works. (#629) 2016-12-23 13:18:42 -08:00
logs Minor documentation fixes/tweaks (#597) 2016-12-14 09:29:04 -08:00
migrations Added migration to cover what seem to be missing fields. (#676) 2017-01-27 09:07:20 -08:00
notifications Fixing configuration value. (#610) 2016-12-18 18:21:12 -08:00
plugins Chains are not always a given. (#645) 2017-01-08 17:27:50 -08:00
reporting Adding additional reporting and refactoring existing setup. (#620) 2016-12-20 12:48:14 -08:00
roles Minor documentation fixes/tweaks (#597) 2016-12-14 09:29:04 -08:00
sources Fixing elb sync issues. (#641) 2017-01-05 16:06:34 -08:00
static/app X509 extensions issue#646 (#666) 2017-01-27 12:31:29 -08:00
tests X509 extensions issue#646 (#666) 2017-01-27 12:31:29 -08:00
users Rotation ui (#633) 2016-12-26 15:55:11 -08:00
__about__.py version bump (#520) 2016-11-21 15:29:31 -08:00
__init__.py adding additional status code metrics (#555) 2016-12-02 13:02:59 -08:00
constants.py Pleasing the PEP8 gods 2015-07-21 13:06:13 -07:00
database.py [WIP] - 422 elb rotate (#493) 2016-11-18 11:27:46 -08:00
decorators.py Fixing a few syntax errors 2015-08-03 21:16:55 -07:00
default.conf.py clean out ADMINS references (#495) 2016-11-15 16:43:28 -08:00
exceptions.py installing the digicert CIS plugin (#537) 2016-11-29 10:02:40 -08:00
extensions.py Closes #278 and #199, Starting transition to marshmallow (#299) 2016-05-05 12:52:08 -07:00
factory.py Allow Lemur "start" to use the global config. (#596) 2016-12-14 13:23:50 -08:00
manage.py Adding additional reporting and refactoring existing setup. (#620) 2016-12-20 12:48:14 -08:00
metrics.py Closes #216 2016-04-01 16:54:33 -07:00
models.py Closes #284 (#336) 2016-06-27 14:40:46 -07:00
pytest.py adding test utils 2015-07-07 15:32:55 -07:00
schemas.py X509 extensions issue#646 (#666) 2017-01-27 12:31:29 -08:00
utils.py Minor documentation fixes/tweaks (#597) 2016-12-14 09:29:04 -08:00