obfuscate/protect Lightroom plugins
Dear,
I would like to know how to obfuscate or protect Lua Lightroom plugins. The SDK manual tells just to compile, but with well known decompilers I can recover the source code without any problem.
I have tried Hercules-Obfuscator, and some online obfuscators, but they do corrupt the code. They brake the code in:
- Changing the names of table’s keys that Lightroom need to know (for instance “LrPluginName” in Info.Lua
- Changing names of exported functions/variables in one file and then it can not be recognized in another one. If I make a file “helpers” that returns “{ onefunc(), anotherfunc()}” the obfuscators I tryed change the exported names and can not call them from another file with requiere(‘helper’) and helpers.onefunc()
- Probably other parts
I have tried turning on and off hercules options, but failed to be able to run the plugin
Is there any way to protect the code?
