Welcome to the Pycom forum Forum
    • \[\[global:header.categories\]\]
    • \[\[global:header.recent\]\]
    • \[\[global:header.tags\]\]
    • \[\[global:header.popular\]\]
    • Login

    Explore Pybytes | Official Documentation | Report a Firmware Bug/Issue | GitHub

    Password Protection

    Scheduled Pinned Locked Moved Discussion
    security
    3 Posts 2 Posters 586 Views 2 Watching
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • S Offline
      SleepyOwl
      last edited by

      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-hhR 1 Reply Last reply Reply Quote 0
      • robert-hhR Offline
        robert-hh @SleepyOwl
        last edited by

        @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

        S 1 Reply Last reply Reply Quote 0
        • S Offline
          SleepyOwl @robert-hh
          last edited by

          @robert-hh Very good information! Thanks very much for your help!

          1 Reply Last reply Reply Quote 0

          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
          • 1 / 1
          • First post
            Last post

          Pycom on Twitter

          Pycom