Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ActiveSupport::MessageEncryptor' cipher option #13

nalabjp opened this Issue Dec 18, 2018 · 0 comments


None yet
1 participant
Copy link

nalabjp commented Dec 18, 2018

The default cipher of ActiveSupport::MessageEncryptor changed in rails 5.2.

If we are using the encryptor of ActiveRecordEncryption::Encryptor::ActiveSupport with aes-256-cbc in rails 5.1, raising the rails version to 5.2 will cause an error due to cipher changing to aes-256-gcm.

So, I think that we need to pass cipher options to the encryptor or directly specify the encryptor class with cipher.

What do you think about this?

@alpaca-tc alpaca-tc closed this in bf7ca3c Dec 18, 2018

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.