From cede75d104df13dbf7f4af0b7df30e146f56e774 Mon Sep 17 00:00:00 2001 From: Derek Higgins Date: Thu, 17 Jan 2013 02:40:04 -0500 Subject: [PATCH] Increase the length of generated passwords https://bugzilla.redhat.com/show_bug.cgi?id=893007 Change-Id: Ied31f701721f630e612520c3364d0a52f1cf2d38 --- packstack/plugins/keystone_100.py | 2 +- packstack/plugins/mysql_001.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/packstack/plugins/keystone_100.py b/packstack/plugins/keystone_100.py index f3209361e..7f5ac93be 100644 --- a/packstack/plugins/keystone_100.py +++ b/packstack/plugins/keystone_100.py @@ -59,7 +59,7 @@ def initConfig(controllerObject): "PROMPT" : "Enter the password for the Keystone admin user", "OPTION_LIST" : [], "VALIDATION_FUNC" : validate.validateStringNotEmpty, - "DEFAULT_VALUE" : uuid.uuid4().hex[:6], + "DEFAULT_VALUE" : uuid.uuid4().hex[:16], "MASK_INPUT" : True, "LOOSE_VALIDATION": False, "CONF_NAME" : "CONFIG_KEYSTONE_ADMINPASSWD", diff --git a/packstack/plugins/mysql_001.py b/packstack/plugins/mysql_001.py index 8bd71c478..00776c362 100644 --- a/packstack/plugins/mysql_001.py +++ b/packstack/plugins/mysql_001.py @@ -58,7 +58,7 @@ def initConfig(controllerObject): "PROMPT" : "Enter the password for the MySQL admin user", "OPTION_LIST" : [], "VALIDATION_FUNC" : validate.validateStringNotEmpty, - "DEFAULT_VALUE" : uuid.uuid4().hex[:6], + "DEFAULT_VALUE" : uuid.uuid4().hex[:16], "MASK_INPUT" : True, "LOOSE_VALIDATION": True, "CONF_NAME" : "CONFIG_MYSQL_PW",