You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
CryptKeeper 2.0.0 removes the old AES encryptor (aes_new) due to security issues in the underlying AES gem. Note that this is a breaking change for users of the aes_new encryptor. Data will need to be re-encrypted.
Steps from the README:
Migrating from CryptKeeper 1.x to 2.0
The general migration path is as follows:
Enable maintenance mode in any live apps
Backup database
Decrypt tables: TableName.decrypt_table!
Update to 2.0.0.rc1 in your app. Update the encryptor to use :active_support
Encrypt tables: TableName.encrypt_table!
Verify data can be decrypted: TableName.first
Disable maintenance mode if necessary
In case you experience problems, the rollback procedure is as follows:
Enable maintenance mode
Backup database again
Restore first database dump, from before CryptKeeper 2.0.0.rc1