Password Protection
-
Hi Guys,
I'm new to MicroPython and have a question about the best practices to passwords or certificates.
If I use a Pycom board as an HTTP or MQTT client, I need to put the password in the code or put the certificates in the board. Does that mean that anyone who has access to my board can open my .py files and read my password or download my certificates?
Thank you!
-
@robert-hh Very good information! Thanks very much for your help!
-
@sleepyowl Yes. You can make it harder if you compile these .py files as frozen bytecode into the flash and us memory encryption. Then dumping the flash would not gice access to that data. See also the discussion here: https://forum.pycom.io/topic/3153/security-ip-protection