Commit f629b8ef authored by Stan Hu's avatar Stan Hu

Remove the use of AEAD in CBC ciphers because it's not supported by OpenSSL

Ruby 2.3.7 fails when attempting to set `auth_data`. Previous versions would
not complain.
parent 68083a03
......@@ -78,7 +78,6 @@ module Gitlab
cipher.__send__(operation) # rubocop:disable GitlabSecurity/PublicSend
cipher.iv = salt
cipher.key = Gitlab::Application.secrets.db_key_base
cipher.auth_data = ''
cipher
end
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment