From 93b4402bd1ed3ca66e8f8725dc2c149f7f2606a9 Mon Sep 17 00:00:00 2001 From: Stan Hu Date: Sat, 2 Jun 2018 01:25:14 -0700 Subject: Test revert of db_key_base truncation --- config/settings.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/config/settings.rb b/config/settings.rb index 58f38d103ea..925aa838544 100644 --- a/config/settings.rb +++ b/config/settings.rb @@ -93,7 +93,7 @@ class Settings < Settingslogic # # The default mode for the attr_encrypted gem is to use a 256-bit key. # We truncate the 128-byte string to 32 bytes. - Gitlab::Application.secrets.db_key_base[0..31] + Gitlab::Application.secrets.db_key_base end private -- cgit v1.2.1