Skip to content
This repository has been archived by the owner on Jan 12, 2021. It is now read-only.

master|update from main repo #1

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

Conversation

julitrows
Copy link

@julitrows julitrows commented Nov 20, 2020

There's been some updates to the main repo that we could benefit from.

Well, ackchually...

This PR

attr-encrypted#320

Was the one that was left unmerged for so many time that prompted the creation of this fork with the fix. Check Anthony Rocco's comments on the PR. Anthony is a former member of RMD, and the one that built the encryption system in our Rails platform.

I think, if the base gem has the fix already on it, we should nuke this fork evaluate the discontinuation of this fork and use the base gem.

Word of caution, tho: the gem is getting as abandoned as it can be -> attr-encrypted#379

f3ndot and others added 16 commits February 15, 2018 15:33
This will freeze all strings so that they are not reallocated each time,
for example all of the string values in attr_encrypted_default_options
…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.
Rails provides hooks to configure its core classes without loading them:

https://api.rubyonrails.org/v5.2.0/classes/ActiveSupport/LazyLoadHooks.html

Referencing `ActiveRecord::Base` directly was forcing it to load before
the application had finished initializing, which can cause configuration
to be applied incorrectly.
Change version to 3.1.0 in Readme
…en_ssl_cipher_errors

Fix random OpenSSL::Cipher::CipherErrors/iv argument errors
- Fixes attr-encrypted#306, fixes attr-encrypted#323
Use a lazy load hook to configure Active Record
Make note about unique key/IV pair more prominent in docs
@Papipo
Copy link

Papipo commented Nov 20, 2020

@jantequera https://github.com/ankane/lockbox

Maximizes compatibility with existing code and libraries
Makes migrating existing data and key rotation easy

@iovis
Copy link

iovis commented Nov 20, 2020

I think we should just come back to the real gem, close this one and make plans to do the database level encryption soon™

@sbfaulkner
Copy link

if y'all are interested in maintaining, we can discuss on the linked issue about finding a new maintainer... attr-encrypted#379

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
enhancement New feature or request
Projects
None yet