This pull requests adds ActiveRecord::Encryption to models to enable the encrypting of member data like names/emails/public key credentials/etc.
Steps to migrate your data
Add config.active_record.encryption.support_unencrypted_data = true to your config/application.rb temporarily to allow for accessing cleartext data.
Add config.active_job.queue_adapter = :solid_queue to app/environments/development.rb & allow for solid queue in config/puma.rb to start solid queue in development
Start the rails server
Run bin/rake mass_encryption:encrypt_all_in_parallel_jobs EXCEPT="ActionText::EncryptedRichText" --trace to create jobs that will encrypt all the data
Run SolidQueue::Job.all.first.dispatch to start the job
Check Mission Control to check on it
You're done (hopefully)
If someone could write a rake task that would be greatly appreciated!
This pull requests adds ActiveRecord::Encryption to models to enable the encrypting of member data like names/emails/public key credentials/etc.
Steps to migrate your data
config.active_record.encryption.support_unencrypted_data = true
to your config/application.rb temporarily to allow for accessing cleartext data.config.active_job.queue_adapter = :solid_queue
toapp/environments/development.rb
& allow for solid queue inconfig/puma.rb
to start solid queue in developmentbin/rake mass_encryption:encrypt_all_in_parallel_jobs EXCEPT="ActionText::EncryptedRichText" --trace
to create jobs that will encrypt all the dataSolidQueue::Job.all.first.dispatch
to start the jobIf someone could write a rake task that would be greatly appreciated!
Closes #90