-
Notifications
You must be signed in to change notification settings - Fork 427
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
per_attribute_iv is ignoring the iv for -gcm algorithms #203
Comments
looks like this bug stems from the Encryptor gem attr-encrypted/encryptor#22 |
This was fixed in the Encryptor gem and they did a major version increase (link above). Please update the dependencies and you should probably put a nice big warning on the README explaining what happened. |
@trak3r Thanks for re-opening this. I'm working on bumping attr_encrypted to v3 but I've hit a speed bump because the bug in Encryptor v2 incorrectly caused a few tests in attr_encrypted to pass. So I'm trying to work fix those issues and as soon as I have everything working again I'll push attr_encrypted v3. Specifically, the new AR dirty methods aren't working correctly and there were a few failures related to incorrect test setup. Most of it has been resolved but I'm having trouble getting `"#{attribute}_changed?" working. Thank you for your patience. |
Thank you for everything. |
attr_encrypted (2.0.0)
The same data encrypted with per_attribute_iv and different iv should produce different results.
The text was updated successfully, but these errors were encountered: