projects
/
arvados.git
/ commitdiff
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
71db992
)
6967: Treat blob_signing_key like a secret in `rake config:check`.
author
Tom Clegg <tom@curoverse.com>
Wed, 7 Oct 2015 14:01:22 +0000
(10:01 -0400)
committer
Tom Clegg <tom@curoverse.com>
Wed, 7 Oct 2015 15:11:49 +0000
(11:11 -0400)
services/api/lib/tasks/config_check.rake
patch
|
blob
|
history
diff --git
a/services/api/lib/tasks/config_check.rake
b/services/api/lib/tasks/config_check.rake
index 1b386556e62ca1363e0c31bad1645236687602b0..a01e1ea2ab6727370823ba36987a59ae31c15383 100644
(file)
--- 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, '*********']