I see that each RPi has a serial number that is accessible by reading /proc/cpuinfo. How secure is it for me to tie such serial number to my C++ binary when I want to lock that binary to a single RPi board?
I know anyone will be able to alter the binary code to crack it (and stop checking for the SN), but can this be messed from the other side by letting the binary read something else from /proc/cpuinfo (I mean faking the /proc/cpuinfo itself)?
There is a post about editing the serial number - one comment on the question says "compile a custom kernel that returns whatever serial you like at /proc/cpuinfo". I guess this can be done quite easily since PRi kernel sources are widely available? Am I right?