-
Notifications
You must be signed in to change notification settings - Fork 30
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
The version 1.2.0
generates an unexpected error
#26
Comments
1.2.0
generates an unexpected error
We have the same error after upgrading from Cloak 1.1.0 and OTP 23 to Cloak 1.2.0 and OTP 24. The Elixir version remained unchanged on 1.12.2 during the update. |
Here's a stack trace:
|
I noticed that this error can occur if a key with an invalid length is used. I wonder whether the new |
Solved in our case by rotating the key on cloak_ecto 1.1.1 / OTP 23 and upgrading to 1.2.0 / OTP 24 after that. |
It sounds like the invalid key length was likely the problem. If anyone else encounters this feel free to comment and I'll reopen for more investigation. |
Recently testing the version
1.2.0
, before update the library. I received the error bellow, when I try to persist a new row or read something fromPostgres
already encrypt.Elixir version
1.11.3 + OTP 23
The tests pass but when I run the application the error happens.
The text was updated successfully, but these errors were encountered: