Commit Graph

185 Commits

Author SHA1 Message Date
dcb18a57c4 Adds option to restrict certificate expiration dates to weekdays. (#453)
* Adding ability to restrict certificate creation to weekdays.

* Ensuring that we test for weekends.
2016-10-15 00:04:35 -07:00
5cbf5365c5 Active S3 destination plugin (#433)
* Activate the AWS S3 destination plugin

Add the AWS S3 destination plugin to the list of available Lemur
plugins.

Update the S3 destination plugin's "accountNumber" option to be of type
'str' to handle account numbers starting with zeros.

Update Lemur's utils for parsing certificates to correctly encode the
X509 certificates before loading for python3.

* Add S3 destination plugin test

Added simple test to verify S3 destination plugin is available.
2016-10-08 17:06:20 -07:00
3ad7a37f95 Fix import certificate private key encoding (#434)
When importing a certificate, the private key is passed to the
import/upload process from the UI as a str object. In Python3 this
raises two issues when processing the private key - the private key
validation fails and database insert of the certificate fails.

The fix in both cases is to correctly encode the private key as a bytes
object.
2016-10-08 17:04:54 -07:00
1ea75a5d2d fix(certificates): import re module (#428) 2016-09-21 22:54:46 -07:00
39645a1a84 feat(certificates): add support for restricted domains (#424)
Lemur's documentation already mentions LEMUR_RESTRICTED_DOMAINS, a list
of regular expressions matching domains only administrators can issue
certificates for. An option to mark domains as sensitive existed in the
API, however the configuration option was not implemented.

Now both ways of sensitivity are checked in the same place.
2016-09-12 16:59:14 -07:00
2d7a6ccf3c Owner email (#414)
* Ensuring python2 works with unicode strings.

* adding in owner DN

* fixing tests

* Upgrading requests.

* Fixing tests.
2016-08-25 10:09:46 -07:00
29a330b1f4 Orphaned certificates (#406)
* Fixing whitespace.

* Fixing syncing.

* Fixing tests
2016-07-28 13:08:24 -07:00
4ee1c21144 Closes #372 (#389)
* Closes #372
2016-07-04 14:32:46 -07:00
54b888bb08 Adding a toy certificate authority. (#378) 2016-06-29 09:05:39 -07:00
5021e8ba91 Adding ACME Support (#178) 2016-06-27 15:57:53 -07:00
fe9703dd94 Closes #284 (#336) 2016-06-27 14:40:46 -07:00
9a653403ae Fix for Issue #352. 2016-06-08 16:41:31 -07:00
72e3fb5bfe Fixing several small issues. (#341)
* Fixing several small issues.

* Fixing tests.
2016-06-01 11:18:00 -07:00
656269ff17 Closes #147 (#328)
* Closes #147

* Fixing tests

* Ensuring we can validate max dates.
2016-05-23 11:28:25 -07:00
615df76dd5 Closes 262 (#324)
Moves the authority -> role relationship from a 1 -> many to a many -> many. This will allow one role to control and have access to many authorities.
2016-05-19 13:37:05 -07:00
b187d8f836 Adding a better comparison. (#320) 2016-05-16 19:03:10 -07:00
1763a1a717 254 duplication certificate name (#319) 2016-05-16 15:59:40 -07:00
df0ad4d875 Authorities marshmallow addition (#303) 2016-05-09 11:00:16 -07:00
52f44c3ea6 Closes #278 and #199, Starting transition to marshmallow (#299)
* Closes #278  and #199, Starting transition to marshmallow
2016-05-05 12:52:08 -07:00
574c4033ab Closes #120 2015-11-23 14:30:23 -08:00
d4bc6ae7a1 Fixes #105 2015-10-02 13:46:13 -07:00
fc68552d0f Making Lemur py3 compatible 2015-08-03 21:07:28 -07:00
7d8cac6605 Adding support for SMTP emails 2015-07-23 13:46:54 -07:00
a4ed83cb62 Refactoring out challenge 2015-07-23 08:52:30 -07:00
c75e20a1ea Pleasing the PEP8 gods 2015-07-21 13:06:13 -07:00
0c7204cdb9 Refactored 'accounts' to be more general with 'destinations' 2015-07-10 17:06:57 -07:00
b26de2b000 Adding support for marshaling bare lists. 2015-07-10 17:03:28 -07:00
8239aa55e1 fixing conflicts 2015-07-07 16:26:37 -07:00
82c4be29a4 fixing merge conflict 2015-07-07 15:36:39 -07:00
3f49bb95ff Starting to move to new plugin architecture. 2015-07-04 12:47:57 -07:00
95bab9331d Enabling CSR generation and reducing complexity of encryption/decrypting the 'key' dir. 2015-07-03 10:30:17 -07:00
8cbc6b8325 Initial work at removing openssl 2015-07-02 15:48:56 -07:00
8a6abc6f82 Adding for handling proxy-based errors 2015-07-02 15:48:55 -07:00
e2475fb024 Adding for handling proxy-based errors 2015-06-25 18:08:04 -07:00
4330ac9c05 initial commit 2015-06-22 13:47:27 -07:00