Skip to content

v2.0.0.rc1

Pre-release
Pre-release
Compare
Choose a tag to compare
@itspriddle itspriddle released this 14 Dec 15:36
19d00a6

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:

  1. Enable maintenance mode in any live apps
  2. Backup database
  3. Decrypt tables: TableName.decrypt_table!
  4. Update to 2.0.0.rc1 in your app. Update the encryptor to use :active_support
  5. Encrypt tables: TableName.encrypt_table!
  6. Verify data can be decrypted: TableName.first
  7. Disable maintenance mode if necessary

In case you experience problems, the rollback procedure is as follows:

  1. Enable maintenance mode
  2. Backup database again
  3. Restore first database dump, from before CryptKeeper 2.0.0.rc1
  4. Verify data can be decrypted
  5. Disable maintenance mode
  6. Let us know what happened :(