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

Closed
nalabjp opened this Issue Dec 18, 2018 · 0 comments

Comments

Projects
None yet
1 participant
@nalabjp
Copy link

nalabjp commented Dec 18, 2018

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

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.

@alpaca-tc
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.