Releases: jmazzi/crypt_keeper
Releases · jmazzi/crypt_keeper
v2.3.0
v2.2.0
v2.1.0
v2.0.0.rc1
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
- Verify data can be decrypted
- Disable maintenance mode
- Let us know what happened :(