From e88cbab376ec5e26266ed021193b9d387b14dfa7 Mon Sep 17 00:00:00 2001 From: Tom Clegg Date: Wed, 7 Oct 2015 10:01:22 -0400 Subject: [PATCH 1/1] 6967: Treat blob_signing_key like a secret in `rake config:check`. --- services/api/lib/tasks/config_check.rake | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/services/api/lib/tasks/config_check.rake b/services/api/lib/tasks/config_check.rake index 1b386556e6..a01e1ea2ab 100644 --- a/services/api/lib/tasks/config_check.rake +++ b/services/api/lib/tasks/config_check.rake @@ -6,7 +6,7 @@ namespace :config do # Make sure we still check for the variable to exist eval("Rails.configuration.#{k}") else - if /(password|secret)/.match(k) then + if /(password|secret|signing_key)/.match(k) then # Make sure we still check for the variable to exist, but don't print the value eval("Rails.configuration.#{k}") $stderr.puts "%-32s %s" % [k, '*********'] -- 2.30.2