Skip to content

Latest commit

 

History

History
31 lines (21 loc) · 1.5 KB

CHANGLOG.md

File metadata and controls

31 lines (21 loc) · 1.5 KB

Revision history

1.2.2

  • Accepted pull request to support aliased fields with the uniqueness validator (@johnnyshields)

1.2.1

  • Uniqueness validator fails if developer attempts to use case-insensitive option for an encrypted field

1.2 - Add EncryptedHash

  • Accepted pull request to add support for encrypted hashes (@ashirazi)

1.1 - Breaking changes - PLEASE READ

encrypted-strings gem

During performance testing, we've found the encrypted-strings gem to be very slow under load, and it's patching the == method on String so it has been removed as the default cipher option.

Gibberish

Gibberish was found to be very fast, but uses a unique salt for each encryption. This is normally great for security, but becomes problematic for searching for encrypted fields in Mongoid because each search would generate a unique value that wouldn't match what's stored in the database.

We've included classes in the examples folder to show implementations of using either of these Gems, but remember that we only require a class that implements encrypt and decrypt so you can use any gem of your choice.

Modifications

1.0 - Initial release