Redislabs-Solution-Architects / CryptoModule

1 stars 1 forks source link

Should allow the user to use standard Redis commands #2

Open gkorland opened 6 years ago

gkorland commented 6 years ago

User should be forced to user the crypto.* commands which will not be supported by most of the clients or will force the user to change his code.

crypto.get
crypto.set
...
crypto.hvals

But should override Redis commands (can be done by disabling the commands and resetting them by the module).

get
set
...
hvals
shkediy commented 6 years ago

The module cannot change the commands to their original names because it uses the original commands internally. The only way it may work is if the module changes the crypto commands to the original and call the original commands with a the same name that the server renames them to. That will probably not work with redis enterprise. Most clients support sending raw redis commands, so these will work, but that requires a code change on the client side.