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!
-
@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
-
@robert-hh Very good information! Thanks very much for your help!
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better 💗
Register Login