From 9231d2a0b454d23ee7c735f9d1d6448396c94a55 Mon Sep 17 00:00:00 2001 From: "yuuji.yaginuma" Date: Mon, 12 Jun 2017 07:47:13 +0900 Subject: [PATCH] Fix `Message::Encryptor` default cipher [ci skip] Follow up of #29263 --- activesupport/lib/active_support/message_encryptor.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/activesupport/lib/active_support/message_encryptor.rb b/activesupport/lib/active_support/message_encryptor.rb index a24c557f1d..e576766c64 100644 --- a/activesupport/lib/active_support/message_encryptor.rb +++ b/activesupport/lib/active_support/message_encryptor.rb @@ -67,7 +67,7 @@ module ActiveSupport # # Options: # * :cipher - Cipher to use. Can be any cipher returned by - # OpenSSL::Cipher.ciphers. Default is 'aes-256-cbc'. + # OpenSSL::Cipher.ciphers. Default is 'aes-256-gcm'. # * :digest - String of digest to use for signing. Default is # +SHA1+. Ignored when using an AEAD cipher like 'aes-256-gcm'. # * :serializer - Object serializer to use. Default is +Marshal+.