Skip to content

Releases: jmazzi/crypt_keeper

v2.3.0

30 Dec 14:58

Choose a tag to compare

  • Fixed searching for certain column names in #192
  • Added Rails 7 support in #193

v2.2.0

09 Apr 15:18

Choose a tag to compare

Rails 6.1 support

v2.1.0

28 Feb 21:05

Choose a tag to compare

  • Adds ActiveRecord 6 support

v2.0.0.rc1

14 Dec 15:36
19d00a6

Choose a tag to compare

v2.0.0.rc1 Pre-release
Pre-release

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 :(

v0.22.0

01 Sep 13:40

Choose a tag to compare

v0.21.0

21 Jun 14:57

Choose a tag to compare

  • Fix STI table encryption #117
  • Add CryptKeeper#stub_encryption for stubbing encryption for faster tests #112

v0.20.0

16 Apr 14:36

Choose a tag to compare

  • Adds decrypt_table! class method for decrypting the table #87

v0.19.0

02 Feb 20:52

Choose a tag to compare

  • Add ActiveRecord 4.2 support #94

v0.18.4

20 Oct 16:25

Choose a tag to compare

  • Fixes bug with STI models #82
  • Fixes a migration bug for records with blank fields #82

v0.18.3

20 Oct 12:20

Choose a tag to compare

Skip string encodings when the attribute is missing #81