Plugin source code protection

Community Beginner ,
Feb 23, 2022 Feb 23, 2022

Copy link to clipboard

Copied

Hello!

Could you help me if there is a way to protect (obfuscate) the Lightroom plugin source code?

TOPICS
macOS , SDK , Windows

Views

38

Likes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
LEGEND ,
Feb 23, 2022 Feb 23, 2022

Copy link to clipboard

Copied

LATEST

The easiest thing to do is to compile the source code into Lua bytecodes using "luac" (Mac and Win versions are included in the SDK).  That obfuscates the code and signals that you intend the source to be private.  But there are Lua bytecode decompilers that can make it easier for someone to reverse engineer your source.

 

Well-known plugin author Jeffrey Friedl may encrypt his compiled plugins. I don't know if he's written his own Lua loader or he has backdoor access to internal LR facilities.

Likes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines