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
Closed

ActiveSupport::MessageEncryptor' cipher option #13

nalabjp opened this issue Dec 18, 2018 · 0 comments

Comments

@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?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant