ransack icon indicating copy to clipboard operation
ransack copied to clipboard

Search on Rails 7 encrypted columns

Open scarroll32 opened this issue 2 years ago • 4 comments

Search on Rails 7 encrypted columns encrypts :email, deterministic: true

As mentioned here

@MatthewKennedy do you want to take a stab at this?

scarroll32 avatar Mar 13 '22 16:03 scarroll32

Are you all planning to make search available on Rails 7 encrypted columns in any future release?

swatijadhav avatar Oct 14 '22 10:10 swatijadhav

@scarroll32, are you actively working on this?

pedrovinicius avatar Nov 16 '22 16:11 pedrovinicius

any news on this? it works for _eq but not _cont. Testing in console, i cant search for

where("first_name LIKE ?", "%" + 'nd' + "%")

.. so i'm guessing this is very hard to do as the underlying system is encrypting it and only exact matches are possible to search for?

asecondwill avatar Feb 16 '24 14:02 asecondwill

@scarroll32, are you actively working on this?

No - Pull Requests welcome

scarroll32 avatar Feb 25 '24 16:02 scarroll32