code security question
code security question
Is it possible to compile a program and place the binary version on the SD card for code security? The situation is that I will be using a proprietary algorithm on the pyboard which must be more secure than a text script on the SD card.
Re: code security question
In order to make anything secure generally requires encryption.
In its default configuration, its essentially trivial to put the board in DFU mode and grab the entire flash contents (including the internal file system). You could also easily write a simple python script which you put on an sdcard which copies the contents of the internal flash onto the sdcard.
So you'd need to make a number of changes to the firmware (to prevent sdcard booting) and modify some of the fuses in order to disable DFU mode.
There are a bunch of other issues that come with that (like how do you update your firmware when DFU mode is disabled).
In its default configuration, its essentially trivial to put the board in DFU mode and grab the entire flash contents (including the internal file system). You could also easily write a simple python script which you put on an sdcard which copies the contents of the internal flash onto the sdcard.
So you'd need to make a number of changes to the firmware (to prevent sdcard booting) and modify some of the fuses in order to disable DFU mode.
There are a bunch of other issues that come with that (like how do you update your firmware when DFU mode is disabled).