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
I realize the readme calls out the ability to use cloak_ecto to create hashed searchable columns but it would be nice to offer more of a first-class option for this similar to this ruby lib https://github.com/ankane/blind_index
@kdawgwilk Cloak.Ecto already supports blind indexes. The differences from blind_index are mainly due to Elixir / Ecto doing things differently than ActiveRecord.
As you noted, you can already use this library to create fields for blind indexes and keep them up to date, like so:
This is functionally the same as the blind_index gem, and I don't currently see any way to make it simpler within the constraints of Ecto's design. If you have any specific suggestions, let me know!
I realize the readme calls out the ability to use cloak_ecto to create hashed searchable columns but it would be nice to offer more of a first-class option for this similar to this ruby lib https://github.com/ankane/blind_index
They reference this article which breaks down what this would look like https://www.sitepoint.com/how-to-search-on-securely-encrypted-database-fields
The text was updated successfully, but these errors were encountered: