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

Optional update encrypted attributes only when values changed #301

Open
wants to merge 24 commits into
base: master
Choose a base branch
from

Conversation

twanmaus
Copy link

Currently all encrypted attributes are updated each time the record is saved. This means that also unchanges values are encrypted again. When creating an audit log for changed attributes this is unwanted behaviour.

This pull request makes it is possible to change this default behaviour and encrypt only the changed attributes again.

twan.maus and others added 2 commits March 9, 2018 14:35
@lvangool
Copy link

This is awesome - would be great to see this merged! 👍

bfreese and others added 3 commits September 10, 2018 16:28
…l instances of a given class due to shallow dup. This caused random OpenSSL::Cipher::CipherError errors, particularly in cases in which concurrent encrypts/decrypts were occurring.
@saghaulor
Copy link
Contributor

This seems to duplicate #284 However, I'm leaning more towards this approach.

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

Successfully merging this pull request may close these issues.

None yet

7 participants