From 92c2bdfd3a57adbc0b3191b1ded2ea569f26efa0 Mon Sep 17 00:00:00 2001 From: VirtuBox Date: Mon, 7 Oct 2019 12:27:16 +0200 Subject: [PATCH] Fix for secure --- CHANGELOG.md | 5 +++++ wo/cli/plugins/secure.py | 3 +-- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 852f9c7..be081d7 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -8,6 +8,11 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), ### v3.9.x - [Unreleased] +#### Changed + +- WordOps is now installed from PyPI using pip [WordOps](https://pypi.org/project/wordops/) +- New Nginx package built with OpenSSL 1.1.1d and updated brotli module + ### v3.9.9.2 - 2019-10-04 #### Added diff --git a/wo/cli/plugins/secure.py b/wo/cli/plugins/secure.py index 889f765..e1c6797 100644 --- a/wo/cli/plugins/secure.py +++ b/wo/cli/plugins/secure.py @@ -3,7 +3,6 @@ import os from cement.core import handler, hook from cement.core.controller import CementBaseController, expose - from wo.core.fileutils import WOFileUtils from wo.core.git import WOGit from wo.core.logging import Log @@ -70,7 +69,7 @@ class WOSecureController(CementBaseController): WOGit.add(self, ["/etc/nginx"], msg="Add Nginx to into Git") pargs = self.app.pargs - passwd = RANDOM.gen(self, length='24') + passwd = RANDOM.gen(self) if not pargs.user_input: username = input("Provide HTTP authentication user " "name [{0}] :".format(WOVar.wo_user))