From 8783c2af884aec01c6605e0293c9f9d44548fd48 Mon Sep 17 00:00:00 2001 From: Mike Cronce Date: Mon, 7 Aug 2017 18:32:03 -0400 Subject: [PATCH] src/manage.py: Added check to see whether or not encryption is enabled before prompting for passphrase if it's empty --- src/manage.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/manage.py b/src/manage.py index db13d9d62..040af1249 100755 --- a/src/manage.py +++ b/src/manage.py @@ -11,7 +11,7 @@ if __name__ == "__main__": # The runserver and consumer need to have access to the passphrase, so it # must be entered at start time to keep it safe. if "runserver" in sys.argv or "document_consumer" in sys.argv: - if not settings.PASSPHRASE: + if(settings.ENABLE_ENCRYPTION and not settings.PASSPHRASE): settings.PASSPHRASE = input( "settings.PASSPHRASE is unset. Input passphrase: ")