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

Remove all mentions of salt from repo and use :per_attribute_iv mode by default #19

Merged
merged 1 commit into from
Mar 12, 2019

Conversation

ribose-jeffreylau
Copy link
Contributor

fixes #18

@@ -47,7 +47,7 @@ def save_fingerprint; end

attr_encrypted :private,
key: Engine.config.encryption_key,
mode: :per_attribute_iv_and_salt
mode: Engine.config.try(:encryption_mode) || :per_attribute_iv

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Line is too long. [83/80]

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.

Use only iv column and not salt by default
2 participants