Here is the dilemma we’re having: we developed proprietary bash scripts that do something, which is meant to be secure and closed source.
Our customers however will have to buy separate IOT devices and flash our software (i.e. bash scripts) into them. The IOTs will have a Linux running (alpine or the like).
What we want to do is to flash our scripts into these IOT devices without having to compromise our source codes and close the IOT device for any further modification.
As soon as we “flash” these devices we close SSH ports and close any network connection. The user will have to rip off the nands in order to read the code.
Of course the end user can hit erase and reinstall their devices. That’s fine as long as they don’t access our scripts.
How do we do this securely?